:root {
  --primary: #f59c3d;
  --primary-light: #f9b266;
  --secondary: #616161;
  --secondary-light: #b0b0b0;
  --background: #000;
  --text: #343434;
  --text-light: #FFFFFF;
  --error: #BD2929;
}

@font-face {
  font-family: 'SpaceGrotesk';
  src: url('/assets/fonts/SpaceGrotesk-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* width */
::-webkit-scrollbar {
  width: .5dvw !important;
}

/* Track */
::-webkit-scrollbar-track {
  background: #fff;
  width: .5dvw !important;
  background: var(--background);
}

/* Handle */
::-webkit-scrollbar-thumb {
  width: .5dvw !important;
  background: #fff;
  border-radius: 12px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
  width: .75dvw !important;
}

a,
button,
input,
select,
h1,
h2,
h3,
h4,
h5,
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  text-decoration: none;
  background: none;
  -webkit-font-smoothing: antialiased;
  font-family: "SpaceGrotesk", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #000;
}

.main_wrapper {
  display: grid;
  grid-template-columns: 90dvw 10dvw;
  overflow: hidden;
}

/****** MENU ******/
.menu {
  width: auto;
  height: auto;
  padding: 5dvh 5dvh 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: end;
  min-width: 10rem;
}

.nav-bar-menu {
  display: flex;
  flex-direction: column;
  gap: 5dvh;
  margin-top: 2.5dvh;
  text-align: right;
  width: 100%;
}

.menu-label {
  text-align: unset;
  font-weight: 600;
  font-size: clamp(1.25rem, 0.75rem + 2vw, 1.5rem);
  line-height: 25px;
  color: var(--primary);
  transition: all 0.3s ease-in-out;
}

.menu-label.active {
  color: var(--text-light);
  scale: 1.2;
}

.menu-label:hover {
  color: var(--text-light);
  text-decoration: none;
  scale: 1.15;
  cursor: pointer;
}

/****** MENU MOVIL ******/
.mobile-menu {
  display: none;
}

.menu-toggle {
  display: none;
}

.nav-screen-menu {
  display: none;
}

.menu-toggle .line {
  background: var(--primary);
  height: 6px;
  width: 50px;
  margin: 5px 0;
}

.main-container {
  width: 100%;
  height: auto;
  padding: 5dvh 0 0 5dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  grid-column: 1
}

.logo_description_container {
  display: flex;
  flex-direction: column;
  background-color: var(--primary);
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  padding: 3dvh;
  width: 50%;
}

.logo_description_container img {
  width: 50%;
}

.g-iframe {
  width: 50%;
  height: 50dvh;
  border-radius: 12px;
}

.text-field input {
  color: var(--secondary);
  font-size: 12pt;
  font-weight: 500;
  max-width: 100%;
  width: 100%;
  border: 1px solid var(--primary);
  height: 3rem;
  letter-spacing: .03rem;
  background-color: #FFF;
  outline: none;
  transition: .25s;
  border-radius: 8px;
  text-indent: 3rem;
  margin-top: .25rem;
}

.text-field {
  position: relative;
  margin-bottom: .5rem;
}

.text-field input {
  color: var(--background);
}

.text-field input:disabled {
  background-color: #eee;
}

.text-field label {
  color: var(--primary);
  font-size: 12pt;
  font-weight: 600;
  letter-spacing: .03rem;
  margin-bottom: unset;
}

.text-field i.left {
  position: absolute;
  left: 25px;
  bottom: -5px;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  transform-origin: left;
  color: var(--primary);
}

.text-field i.right {
  position: absolute;
  right: -2px;
  bottom: -4px;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  transform-origin: center;
  color: var(--primary);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  max-width: max-content;
}

.btn-primary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
}

.btn-primary:focus,
.btn-primary.focus {
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(245, 156, 61, 0.5);
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show>.btn-primary.dropdown-toggle {
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show>.btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(245, 156, 61, 0.5);
}

.btn-secondary {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  border-color: var(--secondary-light);
}

.class-header h1,
.class-header h2 {
  color: var(--primary);
  font-weight: 600;
}

.class-header h4 {
  color: var(--secondary-light);
}

.general-class-container {
  display: flex;
  flex-direction: column;
  gap: 2dvh;
  align-items: center;
  width: 100%;
}

hr {
  border-top: 1px solid var(--primary-light);
  width: 50%;
  align-self: center;
}

.class-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  background-color: #242424;
  border-radius: 12px;
  width: 100%;
}

.class-content {
  display: flex;
  justify-content: space-between;
}

.class-content-text p {
  color: var(--text-light);
  text-align: justify;
}

.class-content-text {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 2rem;
  align-items: center;
  min-width: 60%;
}

.class-content-image {
  min-width: 40%;
}

.class-content-image img {
  border-radius: 12px;
  max-width: 50dvw;
  max-height: 35dvh;
}

.specific-class-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: hidden;
  align-items: center;
}

.return-div {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-bottom: 2rem;
}

.class-content-videos {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  max-width: 100%;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.content-video {
  flex: 0 0 auto;
  width: 20dvw;
  background-color: #191919;
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.3s ease-in-out;
}

.content-video:hover {
  scale: 1.05;
  cursor: pointer;
}

.content-video img {
  width: 100%;
  border-radius: 4px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* MATERIAL DE APOYO*/
.support_container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  color: var(--text-light);
}

.material_apoyo {
  margin-left: 1rem;
  color: var(--primary);
  font-size: clamp(1.125rem, 1.1018rem + 0.0619vw, 1.875rem);
  transition: all 0.3s ease-in-out;
}

.material_apoyo:hover {
  color: var(--primary-light);
  scale: 1.15;
  cursor: pointer;
}

.class-title {
  text-align: center;
  color: var(--primary);
  font-weight: 600;
  font-size: clamp(1.25rem, 0.75rem + 2vw, 1.5rem);
}

.note-title {
  text-align: center;
  color: var(--primary);
  font-weight: 600;
  font-size: clamp(1.125rem, 1.1018rem + 0.0619vw, 1.875rem);
}

.class-description {
  text-align: justify;
  color: var(--text-light);
  font-size: clamp(0.625rem, 0.5rem + 0.5vw, 1rem);
  font-weight: 500;
}

.divPlayScreen {
  position: relative;
  overflow: hidden;
}

.divPlayScreen img {
  width: 100%;
  height: auto;
  display: block;
}

.overlay-dark {
  position: absolute;
  top: 5%;
  left: 0;
  width: 100%;
  height: 90%;
  z-index: 1;
}

.playIcon {
  position: absolute;
  color: var(--text-light);
  padding: 1.5rem 3.5rem;
  border-radius: 4px;
}

.playIcon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-light);
  z-index: 2;
  /* Por encima del overlay */
  opacity: 0.9;
}

.video-percentage {
  position: absolute;
  bottom: 5%;
  left: 0;
  height: .25rem;
  z-index: 1;
  background-color: var(--primary);
}

.error-field {
  background-color: #fae0e0;
  border-radius: 12px;
  padding: 1rem;
  display: none;
}

.error-field p {
  margin: unset;
}

.class-content-notes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 5dvh;
}

.note {
  width: 20%;
  padding: 1rem;
  background-color: #212121;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin: 0 10px;
  border-radius: 8px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.note img {
  width: 100%;
  border-radius: 4px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.note:hover {
  scale: 1.05;
  cursor: pointer;
}

.video-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .0 2rem;
  border-bottom: var(--primary) solid 1px;
}

.video-header h3 {
  color: var(--primary);
  font-weight: 600;
  font-size: clamp(1.25rem, 0.75rem + 2vw, 1.5rem);
}

.video-close {
  color: var(--primary);
  font-size: 2.5rem;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.video-close:hover {
  scale: 1.2;
}

.video-body video {
  width: 100%;
  height: 91dvh;
}

.modal-overlay {
  position: fixed;
  top: 2.5%;
  left: 0;
  width: 100%;
  height: 97.5%;
  background-color: #343434;
  border-top-right-radius: 12px;
  border-top-left-radius: 12px;
}

.fullModalBackground {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(33, 33, 33, 0.6);
  display: none;
  z-index: 1000;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out;
}

.fullModalBackground.show {
  transform: translateY(0);
}

.profile-container {
  display: flex;
  flex-direction: column;
  width: 90%;
  height: 100%;
  padding: 2rem;
  border-radius: 12px;
  background-color: var(--primary);
}

.picture {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  background-color: #000000;
  box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
}

.mask-group {
  width: 120%;
  height: 120%;
  right: 10%;
  top: -5%;
  border-radius: 50%;
  position: relative;
  object-fit: cover;
  z-index: 1;
}

.user-info {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.user-data {
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 2rem;
  margin-left: 1rem;
}

/* MI PROGRESO */
.user-progress-container{
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  background-color: var(--text-light);
  padding: 1rem;
  border-radius: 12px;
}
.progress-title {
  color: var(--text);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.user-progress {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
}

.mentor-progress {
  background-color: var(--primary);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  width: 350px;
}

.mentor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.mentor-name {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.mentor-stats {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
}

.progress-bar-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.progress-bar {
  flex: 1;
  height: 12px;
  background-color: var(--secondary-light);
  border-radius: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--secondary);
  border-radius: 6px;
  transition: width 0.5s ease-in-out;
}

.progress-percentage {
  color: var(--text);
  font-weight: 600;
  min-width: 45px;
  text-align: right;
}

.classes-detail {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.class-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 8px;
  background-color: var(--text-light);
}

.class-status {
  font-size: 1rem;
  font-weight: bold;
  min-width: 20px;
  text-align: center;
}

.class-item.completed .class-status {
  color: #4CAF50;
}

.class-item.in-progress .class-status {
  color: var(--primary);
}

.class-item.not-started .class-status {
  color: var(--secondary-light);
}

.class-title-progress {
  flex: 1;
  color: var(--text);
  font-size: 0.9rem;
}

.class-progress {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  min-width: 40px;
  text-align: right;
}

@media (max-width: 600px) {
  .main_wrapper {
    display: flex;
    flex-direction: column-reverse;
  }

  .menu {
    display: none;
  }

  .mobile-menu {
    width: auto;
    height: auto;
    padding: 2.5dvh 2.5dvh 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: end;
    min-width: 10rem;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    cursor: pointer;
    margin-bottom: 1rem;
  }

  .main-container {
    padding: 0 0 5dvh 0;
  }

  .menu-label.active {
    color: var(--text-light);
    scale: 1.05;
  }

  .nav-screen-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(33, 33, 33, 1);
    z-index: 1000;
    overflow: hidden;
    transform: translateY(-100%);
    transition: transform 0.5s ease-in-out;
    padding: 2rem;
    display: flex;
    justify-content: flex-end;
  }

  .nav-screen-menu {
    display: flex;
    flex-direction: column;
    gap: 5dvh;
    margin-top: 2.5dvh;
    text-align: right;
    width: 100%;
  }

  .menu-mob-label {
    text-align: unset;
    font-weight: 600;
    font-size: 32pt;
    line-height: 25px;
    color: var(--primary);
    transition: all 0.3s ease-in-out;
  }

  .menu-mob-label.active {
    text-decoration: none;
    color: var(--text-light);
    scale: 1.2;
  }

  .nav-screen-mobile.open {
    transform: translateY(0);
  }

  .logo_description_container {
    width: 90%;
    padding: 1.5dvh;
  }

  .logo_description_container img {
    width: 80%;
  }

  .g-iframe {
    width: 90%;
    height: 50dvh;
    border-radius: 12px;
  }

  .class-container {
    gap: 1rem;
    width: 90%;
  }

  .class-content {
    display: flex;
    flex-direction: column;
  }

  .class-content-image {
    min-width: 100%;
  }

  .class-content-image img {
    max-width: 100%;
    max-height: unset;
    margin-bottom: 1rem;
  }

  .return-div {
    justify-content: start;
    margin-bottom: 1rem;
    margin-left: 10%;
  }

  .note {
    width: 95%;
    padding: 1rem;
  }

  .note-title {
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    font-size: clamp(0.9375rem, 0.5rem + 2.3333vw, 1.375rem);
  }

  .mentor-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .progress-bar-container {
    gap: 0.5rem;
  }

  .class-item {
    gap: 0.5rem;
  }

  .user-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
  }

  .picture {
    align-self: center;
    width: 100px;
    height: 100px;
    
  }

  .user-data {
    align-self: center;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 2rem;
    margin-left: 1rem;
  }
}