.student-dashboard-container {
  display: grid;
  grid-template-columns: 3fr 9fr;
}

@media (max-width: 992px) {
  .student-dashboard-container {
    grid-template-columns: 1fr;
  }
}

.student-dashboard-container .student-dashboard-content {
  overflow-y: auto;
}

.student-dashboard-menu ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

@media (max-width: 992px) {
  .student-dashboard-menu ul {
    flex-direction: row;
    width: 720px;
    padding-bottom: 3rem;
    overflow-x: auto;
    padding-inline: 1rem;
  }

  .student-dashboard-menu ul a {
    height: 100%;
    flex-direction: column;
    width: 150px;
  }
}

@media (max-width: 768px) {
  .student-dashboard-menu ul {
    flex-direction: row;
    width: 516px;
    padding-bottom: 1rem;
  }
}


.student-dashboard-menu ul li a {
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sec-color);
}

.student-dashboard-menu ul li:hover,
.student-dashboard-menu ul li.active {
  background-color: var(--main-color);
}

.student-dashboard-menu ul li.active a,
.student-dashboard-menu ul li:hover a {
  color: #fff;
}

.student-dashboard-head-title h3,
.student-dashboard-head-title h5,
.student-dashboard-head-title i {
  color: var(--main-color);
}

.student-dashboard-head-title .head-unit i {
  font-size: 2rem;
}

.student-dashboard-head-title .head-chapter i {
  font-size: 1.5rem;
}

.student-dashboard-head-title .head-chapter {
  position: relative;
  width: fit-content;
  padding-inline: 10px;
  margin-block: 1rem;
}

.student-dashboard-head-title .head-chapter::before {
  position: absolute;
  content: "";
  width: 120%;
  height: 4px;
  bottom: -10px;
  background-color: var(--main-color);
}

.student-dashboard-my-videos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  position: relative;
}

@media (max-width: 992px) {
  .student-dashboard-my-videos {

    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .student-dashboard-my-videos {

    grid-template-columns: 1fr;
  }
}

.student-dashboard-my-videos .card-videos {
  position: relative;
  height: 100%;
}

.student-dashboard-my-videos a::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 40%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 6.69%, rgba(0, 0, 0, 0.6) 49.62%, rgba(0, 0, 0, 0.8) 100%);
  bottom: 30px;
  left: 0;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .student-dashboard-my-videos a::before {
    bottom: 50px;
  }
}

@media (max-width: 576px) {
  .student-dashboard-my-videos a::before {
    bottom: 30px;
  }
}

.student-dashboard-my-videos a:hover::before {
  height: 50%;
}

.student-dashboard-my-videos a svg {
  width: 30px;
  fill: #fff;
}

.student-dashboard-my-videos a i,
.student-dashboard-my-videos a svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: #fff;
  transition: 0.3s;
  z-index: 12;
}


.student-dashboard-my-videos p {
  color: var(--main-color);
}

.student-dashboard-my-videos .lock-card {
  position: relative;
}

.student-dashboard-my-videos .lock-card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 999;
  background-color: #fff;
  opacity: .7;
}

.student-dashboard-my-videos .lock-card svg {
  fill: var(--main-color);
  z-index: 9999;
  pointer-events: none;
}

.student-dashboard-my-videos img {
  width: 100%;
  width: 100%;
}


/* Start Navbar */
.navbar {
  border-bottom: 1px solid #676767;
  height: 72px;
  background-color: var(--sec-color) !important;
}

.navbar .nav-link {
  color: #fff !important;
}

.navbar-nav {
  gap: 2rem;
}

@media (max-width: 768px) {
  .navbar {
    height: unset;
  }
}

@media (max-width: 992px) {
  .dark-btn {
    margin-top: 1rem;
  }

  .navbar .buttons {
    margin-right: 2rem;
  }

  .navbar-nav {
    gap: unset;
  }
}

.navbar-nav li {
  width: fit-content;
}

.navbar-nav li.active {}

.navbar-nav li a {
  /* transition: 0.3s; */
  color: var(--sec-color);
  font-size: var(--fs-size);
}

.navbar-nav li a:hover {
  color: var(--main-color);
}

.navbar .buttons a:first-child {
  background-color: var(--main-color);
  color: white;
}



.navbar .buttons a:last-child {
  border: 1px solid var(--sec-color);
}

.navbar .buttons a:last-child:hover {
  background-color: var(--main-color);
  color: white;
  border: 1px solid var(--main-color);
}

.dark-btn {
  /* position: absolute; */
  z-index: 100;
  background-color: #fff;
  width: 4rem;
  height: 2rem;
  top: 10%;
  left: 5%;
  border-radius: 5rem;
  box-shadow: inset 0 8px 60px rgba(0, 0, 0, 0.1),
    inset 0 8px 8px rgba(0, 0, 0, 0.1), inset 0 -4px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  cursor: pointer;
}

.dark-btn .btn-indecator {
  width: 1.5rem;
  height: 1.5rem;
  background-color: #fff;
  border-radius: 50%;
  transition: 0.3s;
}

.dark-btn .btn-indecator .btn-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark-btn .btn-indecator .btn-container .btn-icon {
  font-size: 0.9rem;
  color: #ffcc00;
}

.dark-btn .btn-indecator .btn-container .btn-icon.spin {
  animation: spin 0.5s;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* End Navbar */