/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  --black-color: hsl(220, 24%, 12%);
  --black-color-light: hsl(220, 24%, 15%);
  --black-color-lighten: hsl(220, 20%, 18%);
  --white-color: #fff;
  --body-color: hsl(220, 100%, 97%);
  --body-font: "Montserrat", sans-serif;
  --normal-font-size: .938rem;

  --font-regular: 400;
  --font-semi-bold: 600;

  --fondouno: white;
  --fondodos:black;
  --fondooscuro:#05224a;
  --fondofuerte: #f71c14;
  --fondoboton:#0167fe;
  --z-tooltip: 10;
  --z-fixed: 10;
}
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
  }
}


* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  background: var(--fondouno);
  width: 100%;
  height: 100vh;
  position: relative;
  overflow-x: hidden;

}

ul {
  list-style: none;
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--black-color);
  background: var(--fondooscuro);
background: linear-gradient(0deg, var(--fondooscuro) 90%, rgb(254, 1, 1) 100%);
  box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
 z-index: var(--z-fixed);
  
}

/* Estilo del logo */
.logoavisstur {
  position: fixed; 
  width: 200px;
  height: 200px;
  background-color: transparent;
  top: -30px;
  margin-left: 80px;
  opacity: 1;           
  z-index: 12; 
  border-radius: 10px;   
  transition: opacity 0.3s ease; /* Transición para opacidad */
}

/* Imagen dentro del logo */
#logoavisstur img {
  position: absolute;      
  height: 100%;
  width: 100%;
  border-radius: 0 0 10px 10px;
  filter: drop-shadow(0 0 5px red);
  transition: opacity 0.3s ease; /* Transición para opacidad */
}

/* Título del logo */
.title-logouno {
  position: fixed;
  z-index: 12;
  color: var(--fondouno);
  left: 2%;
  top: 30px;
  opacity: 0; /* Comienza con el texto oculto */
  transition: opacity 0.3s ease; /* Transición para opacidad */
}

/* Estado activo para cuando el texto es visible */
.title-logouno.visible {
  opacity: 1; /* El texto se vuelve visible cuando se añade esta clase */
}

#animacion-pro span:nth-child(2),
#animacion-pro span:nth-child(4),
#animacion-pro span:nth-child(6){
  background-color: var(--fondoboton);
}
/* Animación para los spans */
@keyframes moveSpan {
  0% {
    left: 400px;
  }
  100% {
    left: -75px;
  }
}
/* Estilo para el texto h2 */
#animacion-pro h2 {
  position: absolute;
  font-size: 24px;
  color: white;
  z-index: 10;
  margin-top: 10px;
}
#animacion-pro h2 {
  position: absolute;
  font-size: 24px;
  color: white;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
}


.nav__logo, 
.nav__burger, 
.nav__close {
  color: var(--white-color);
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  width: 300px;
  column-gap: .25rem;
  font-weight: var(--font-semi-bold);

}
/* Contenedor con el logo */
/* Estilo del logo */
#logoavisstur {
  position: fixed; 
  width: 200px;
  height: 200px;
  background-color: transparent;
  top: -30px;
  margin-left: 80px;
  opacity: 1;           
  z-index: 11; 
  border-radius: 10px;   
  transition: opacity 0.3s ease; /* Añadido transición para la opacidad */
}

/* Imagen dentro del logo */
.logoavisstur img {
  position: absolute;      
  height: 100%;
  width: 100%;
  border-radius: 0 0 10px 10px;
  filter: drop-shadow(0 0 5px red);
  transition: opacity 1s ease; /* Añadido transición para la opacidad */
}

/* Título del logo */
.title-logouno {
  position: fixed;
  z-index: 12;
  color: var(--fondouno);
  left: 2%;
  top: 30px;
  opacity: 0; /* Comienza con el texto oculto */
  transition: opacity 0.5s ease; /* Añadido transición para la opacidad */
}

/* Estado activo para cuando el texto es visible */
.title-logouno.visible {
  opacity: 1; /* El texto se vuelve visible cuando se añade esta clase */
}


.nav-containerboton{
  position: fixed;
  z-index: 15;
  right: 5px;
   background-color: transparent;
   top: 10px;
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
  z-index: 13;
  filter: drop-shadow(0 0 10px rgb(247, 10, 10));
}
.nav__toggle i{
  color: white;
  z-index: 13;
  padding: 5px;
  border-radius: 6px;
  background-color: var(--fondoboton);
}
.nav__burger, 
.nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity .1s, transform .4s;
}

.nav__close {
  opacity: 0;
}
#Verificar-alumno, #img-veridos{
  position: relative;
}
#img-verificado{
  width: 20px;
  height: 20px;
  position: relative;
}
#img-veridos{
  width: 30px;
  height: 30px;
  position: relative;
  left: 0;
  top: 0;
}
/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
  .nav__menu {
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top .4s, opacity .3s;
  }
  .nav__menu::-webkit-scrollbar {
    width: 0;
  }
  .nav__list {
    background-color: var(--black-color);
    padding-top: 1rem;
  }
  #logoavisstur{
    height: 90px;
    z-index: 11;
    left: -20px;
  }
}

.nav__link {
  color: var(--white-color);
  background-color: transparent;
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color .3s;
}

.nav__link:hover {
  background-color: var(--black-color-light);
}

/* Show menu */
.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
}
.show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__item {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.25rem;
  font-weight: initial;
  transition: transform .4s;
}

.dropdown__link, 
.dropdown__sublink {
  padding: 1.25rem 1.25rem 1.25rem 2.5rem;
  color: var(--white-color);
  background-color: var(--black-color-light);
  display: flex;
  align-items: center;
  column-gap: .5rem;
  font-weight: var(--font-semi-bold);
  transition: background-color .3s;
}

.dropdown__link i, 
.dropdown__sublink i {
  font-size: 1.25rem;
  font-weight: initial;
}

.dropdown__link:hover, 
.dropdown__sublink:hover {
  background-color: var(--black-color);
}

.dropdown__menu, 
.dropdown__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease-out;
}

/* Show dropdown menu & submenu */
.dropdown__item:hover .dropdown__menu, 
.dropdown__subitem:hover > .dropdown__submenu {
  max-height: 1000px;
  transition: max-height .4s ease-in;
}

/* Rotate dropdown icon */
.dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== DROPDOWN SUBMENU ===============*/
.dropdown__add {
  margin-left: auto;
}

.dropdown__sublink {
  background-color: var(--black-color-lighten);
}



/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .nav__link {
    padding-inline: 1rem;
  }
}

/* For large devices */
@media screen and (min-width: 1118px) {
  .container {
    margin-inline: auto;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }
  .nav__toggle {
    display: none;
  }
  .nav__list {
    height: 100%;
    display: flex;
    column-gap: 1.4rem;
  }
  .nav__link {
    height: 100%;
    padding: 0;
    justify-content: initial;
    column-gap: .25rem;
  }
  .nav__link:hover {
    background-color: transparent;
  }

  .dropdown__item, 
  .dropdown__subitem {
    position: relative;
  }

  .dropdown__menu, 
  .dropdown__submenu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    top: 6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, top .3s;
  }

  .dropdown__link, 
  .dropdown__sublink {
    padding-inline: 1rem 3.5rem;
  }

  .dropdown__subitem .dropdown__link {
    padding-inline: 1rem;
  }

  .dropdown__submenu {
    position: absolute;
    left: 100%;
    top: .5rem;
  }

  /* Show dropdown menu */
  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    top: 5.5rem;
    pointer-events: initial;
    transition: top .3s;
  }

  /* Show dropdown submenu */
  .dropdown__subitem:hover > .dropdown__submenu {
    opacity: 1;
    top: 0;
    pointer-events: initial;
    transition: top .3s;
  }
}