@font-face {
    font-family: 'orbitron';
    src: url(/fuentes/Orbitron-VariableFont_wght.ttf);
}

@font-face {
    font-family: 'oswald';
    src: url(/fuentes/Oswald-VariableFont_wght.ttf);
}
@font-face {
    font-family: 'monserrat';
    src: url(/fuentes/Montserrat-VariableFont_wght.ttf);
}
:root{
     --migris: rgb(104, 103, 103);
     --grisOscuro: rgb(66, 66, 66);
     --alturaHeader:70px;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}

a{
    text-decoration: none;
    color: black;
}

header{
    height: var(--alturaHeader);
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family:'orbitron';
    letter-spacing: 1px;
    background:transparent;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    transition: all 1s linear;
    z-index: 3;
}

header h1{
    color:rosybrown;
    text-shadow: 2px 2px 2px white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:0.8rem;
}
header h1:hover{
    color:white;
    text-shadow: 2px 2px 2px  rosybrown;
}
header h1 span:nth-child(1){
    background-color:antiquewhite;
    border-radius: 100%;
    box-shadow: 2px 2px 3px rosybrown;
    transition: all 0.5s linear;
}

header h1 span:nth-child(1):hover{
  transform: scale(1.06);
}

nav{
    position: relative;
}
.menu-hamburguesa {
    width: 40px;
    height: 40px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap:6px;
}
.menu-hamburguesa span{
    height: 2px;
    width: 100%;
    background-color: white;
    box-shadow: 1px 1px 1px rosybrown;
    transition: all 1s linear;
}

.menu-nav{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(0);
}
.menu-nav a{
   letter-spacing: 2px;
    color: white;
     margin-left: 30px;
   position: relative;
}

#btn-sesion{
    background-color: rosybrown;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    padding: 8px 16px;
    outline: 1px solid gray;
    transition: all 0.5s ease-in-out;
}
#btn-sesion:hover{
    background-color: antiquewhite;
    color: rosybrown;
    outline: 1px solid rosybrown;
}
.menu-nav a:not(#btn-sesion)::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    background: rosybrown;
    width: 100%;
    height: 2px;
    transform: scale(0);
    transform-origin: left;
    transition: all 0.5s linear;
}
.menu-nav a:hover:not(#btn-sesion)::after{
    transform: scale(1);
   
}

@media (max-width:970px) {
    header{
        padding: 0 10px;

    }
    .menu-hamburguesa{
        display: flex;
        position: fixed;
        cursor: pointer;
        top:13px;
        right: 30px;
        z-index: 3;
      
     
    }
    header h1{
        font-size: 1.3rem;
    }
    .menu-nav{
        flex-direction: column;
        gap: 2rem;
         position: fixed;
         top: 0;
         right: 0;
         bottom: 0;
         width: 75%;
         background-color: rosybrown;
         transform: translateX(100%);
         transition: all 1s linear;

    }
    .ver-menu-nav {
    transform: translateX(0);
    }

}
.primerRayaCerrar{
    transform: rotate(45deg) translateY(10px);
}
.segundaRayaCerrar{
    opacity: 0;
}
.tercerRayaCerrar{
    transform: rotate(-45deg) translateY(-10px);
}

.oscurecer{
    background-color: var(--migris);
}
#primera{
     height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap:2rem;
    color:white;
     font-family: 'oswald';
     letter-spacing: 1px;
     position: relative;
  

}
.fondo{
    height: 100vh;
    background: url(/imagenes/fondo.webp);
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    inset: 0;
}
#primera .transparencia{
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.3);
}
#primera h1{
    text-align: center;
    font-size: 100px;
    z-index: 1;
    animation: mostrar 2s ease-in-out;
   
}
@media (max-width:970px) {

    #primera h1{
        font-size: 60px;
    }
}
#primera h2{
    opacity: 0;
    font-weight: 300;
    z-index: 1;
    animation: aparecer 3s ease forwards;
  
}

#primera a{
    background-color: rosybrown;
    border-radius: 10px;
    padding: 20px 40px;
    color: white;
    outline: 2px solid violet;
  
    letter-spacing: 2px;
    font-size: larger;
    z-index: 1;
    transition: all 0.5s linear;
    animation: subir 0.8s ease-in-out;
}
#primera a:hover{
    color:violet;
    background-color: gray;
    outline: 2px solid rosybrown;
    box-shadow: 2px 2px 4px white, 0 0 10px white, 0 0 20px white , 0 0 30px white;
}

@keyframes mostrar {
  0%{
    visibility: 0.8;
    transform: scale(0);
  }    
  100%{
    visibility: 1;
    transform: scale(1);
  }
}

@keyframes aparecer {
  0%{
    opacity: 0;

  }    
  100%{
    opacity: 1;
  
  }
}

@keyframes subir {
    0%{
        visibility: 0;
        transform: translateY(500%);
    }
    100%{
        visibility: 1;
        transform: translateY(0);
    }
    
}

#segunda{
    min-height: 100vh ;
    background-color:antiquewhite;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

footer{
    height: 200px;
    width: 100%;
    background-color: var(--grisOscuro);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color:white;
}

#contenedor-flecha{
    height: 60px;
    width: 60px;
    position: fixed;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    display: none;
    transition: all 1s linear;
  
}
#flecha {
    position: relative;
    animation: moverse 4s linear infinite;
 }
#punta{
    width: 0;
    height: 0;
    position: absolute;
    top:0;
    border-bottom: 30px solid rosybrown;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
}
#tronco{
    width: 18px;
    height: 30px;
    background-color: rosybrown;
    position: absolute;
    top:30px;
    left:50%;
    transform: translateX(-50%) ;  
}

@keyframes moverse {
    
    0%{
        transform: translateY(0);
    }
    50%{
        transform: translateY(10px);
    }
    100%{
        transform: translateY(0);
    }
} 

.contenedor-tarjetas{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:1rem;
   
}
@media (max-width:970px) {
    .contenedor-tarjetas{
        flex-direction: column;
    }
}

.tarjeta{
    width: 350px;
    height: 500px;
    border:  2px solid rosybrown;
    border-radius: 10px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    
}
.tarjeta:hover{
    box-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}
.tarjeta .contenedor-imagen{
    height: 250px;
    width: 100%;

  
}
.tarjeta .contenedor-imagen .imagen-tarjeta{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.tarjeta .contenido-tarjeta h2{
    position: absolute;
    top:40%;
    left: 50%;
    background-color: rosybrown;
    padding: 40px 40px;
    transform: translateX(-50%);
    border-radius: 100%;
    color: white;
    letter-spacing: 2px;
    font-weight: 300;
    box-shadow: 2px 2px 2px rgba(0,0,0,0.3);
}
.tarjeta .contenido-tarjeta{
    height: 250px;
    padding-bottom: 30px;
    padding-left: 10px;
    padding-right: 10px;
    display:  flex;
    flex-direction: column;
    justify-content: end;
    gap:20px;
}
.tarjeta .contenido-tarjeta a {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    background-color: rosybrown;
    outline: 1px solid violet;
    width:fit-content;
    color: white;
    text-align: center;
    margin: 0 auto;
    letter-spacing: 1px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    font-family: 'oswald';
    font-size:large;
    cursor: pointer;
    transition: all 0.5s linear;
}
.tarjeta .contenido-tarjeta a:hover{
    background-color: antiquewhite;
    color: rosybrown;
    outline: 3px solid rosybrown;
    box-shadow: 3px 3px 3px white, 0 0 10px white, 0 0 20px white, 0 0 30px white, 0 0 40px white;
}
.tarjeta .contenido-tarjeta p{
    line-height: 1.5;
    font-family: 'oswald';
    letter-spacing: 1px;
}

footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'oswald';
    font-style: italic;
    letter-spacing: 2px;
}

#tercera{
    min-height: 100vh ;
    background: radial-gradient( rosybrown, var(--migris));

    padding-bottom: 30px;
    padding-top: 30px;
  
}



#tercera .titulo-tercera{
   
    font-family: 'oswald';
    font-size: xx-large;
    margin-bottom: 20px;
}
#tercera .titulo-tercera h2{
    font-weight: 300;
    color: white;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.6);
    text-align: center;
    margin-bottom: 50px;
}
#tercera .contenedor-cuadros{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap:20px;
}
#tercera .cuadro{
    width: 500px;
    background-color: antiquewhite;
    line-height: 1.5;
    letter-spacing: 0.2px;
    font-size: large;
    font-family: 'oswald';
    padding: 20px 30px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap:20px;
    text-align: justify;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transition: all 5s linear;
   
}
@media (max-width:970px) {
    #tercera .cuadro{
       width: 350px;
    }
}
#tercera .cuadro:hover{
    box-shadow: 4px 4px 8px rgba(0,0,0,0.6);
}

#tercera .cuadro .pregunta{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#tercera .cuadro .pregunta button{
    border: none;
    background: transparent;
    transition: all 1s linear;
}
#tercera .cuadro .pregunta button:hover{
    transform: rotate(90deg);
}
#tercera .cuadro .pregunta span{
    color:rosybrown;
    font-size: xx-large;
    cursor: pointer;
}



/* esconder la respuesta*/
.respuesta {
  /* display: none; */
  height: 0;
  overflow: hidden;
  transition: all 1s ease-in-out;
 

}
.show-text .respuesta {
  /* display: block; */
  height: 160px;
  

}
.minus-icon {
  display: none;
}
.show-text .minus-icon {
  display: inline;
}
.show-text .plus-icon {
  display: none;
}

#cuarta{
    min-height: calc(100vh - var(--alturaHeader));
    background: linear-gradient(to bottom, rosybrown, antiquewhite);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
   
}

.tarjetaconTab{
    width: 800px;
    height: 400px;
    border-radius: 10px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;

}


#cuarta .laFoto{
    width: 50%;
    height: 100%;
   
}

#cuarta .laFoto img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#cuarta .detalle-tarjetaTab{
    width: 50%;
    height: 100%;
    background-color: antiquewhite;
  
}

@media (max-width:970px) {
    .tarjetaconTab{
        flex-direction: column;
        height: auto;
    }
    #cuarta .laFoto{
        width: 100%;
    }
    #cuarta .detalle-tarjetaTab{
        width: 100%;
    }
}

#cuarta .detalle-tarjetaTab .losTitulos{
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'orbitron';
    font-size: small;

}
#cuarta .detalle-tarjetaTab .losTitulos .titulo:nth-child(1){
    background-color: rosybrown;
    color:white;
}
#cuarta .detalle-tarjetaTab  .detalles{
   

   padding: 40px 20px;
   line-height: 1.5;
   font-family: Verdana, Geneva, Tahoma, sans-serif;
   font-size: small;
   text-align: justify;
   
}


#cuarta .detalle-tarjetaTab .losTitulos div{
    width: 33.5%;
    padding: 20px;
    background-color: white;
    border: 1px solid lightgrey;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
 #sesion{
    min-height: calc(100vh - var(--alturaHeader));
    scroll-margin-top: var(--alturaHeader);
    border-bottom: 4px solid rosybrown;
    display: flex;
    justify-content: center;
    align-items: center;
}

#nosotros{
 scroll-margin-top: calc(var(--alturaHeader) + 2.5px);
}

.nosotros{
  
    outline: 3px solid rosybrown;
    display: grid;
    grid-template-columns: 1fr 1fr;
   
   }

   .nosotros:nth-child(1){
    grid-template-areas: "foto detalle";
   }
   .nosotros:nth-child(2){
    grid-template-areas: "detalle foto";
   }
.nosotros .foto-equipo{

    display: flex;
    justify-content: center;
    align-items: center;
    grid-area: foto;
  
}

.nosotros .detalle-equipo{
    padding: 50px;
    font-family: 'monserrat';
    line-height: 1.5;
    border-left: 4px solid rosybrown;
    grid-area: detalle;
   

  
    
}
.nosotros .foto-equipo img{
    width: 100%;
    height: 420px;
    object-fit:cover;
}

@media (max-width:970px) {
    .nosotros:nth-child(1){
       grid-template-columns: 1fr;
       padding-top: 40px;
        grid-template-areas:
          "foto"
          "detalle"
    }
      .nosotros:nth-child(2){
       grid-template-columns: 1fr;
       padding-top: 40px;
        grid-template-areas:
          "foto"
          "detalle"
    }
    .nosotros .detalle-equipo{
     
        border: none;
    } 
}


#proyectos{
    min-height: calc(100vh - var(--alturaHeader));
    scroll-margin-top: var(--alturaHeader);
    display: flex;
    justify-content: center;
    align-items: stretch;
    background-color: violet;
}

#proyectos .menu-lateral-proyecto{
    width: min(380px,25%);
    background:rgba(250,235,215,0.89);
    border-right: 1px solid rosybrown;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: right;
    font-family: 'monserrat';
    font-weight: 600;
   
  
    overflow: hidden;
}
#proyectos .menu-lateral-proyecto p{
    display: flex;
    justify-content: left;
    align-items: center;
    gap:1rem;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 5px;
    letter-spacing: 1px;
  
}
#proyectos .menu-lateral-proyecto p:hover{
    transform: scale(1.05);
    color:rosybrown;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.6);
    background-color: antiquewhite;
    outline:  1px solid rosybrown;
    border: 1px solid rosybrown;
    box-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

@media (max-width:970px) {
    #proyectos .menu-lateral-proyecto p span:nth-child(2){
        display: none;
    }
    #proyectos .menu-lateral-proyecto{
        width:max(80px,20%);
        padding: 0;
    }
    #proyectos .menu-lateral-proyecto p{
        justify-content: center;
    }
}

#proyectos .detalle-opcion-elegida{
    width: 80%;
    background-color: antiquewhite;
    display: flex;
    justify-content: center;
    align-items: center;
}
#proyectos .detalle-opcion-elegida .proyecto-galeria{
    display: flex;
    flex-direction: column;
    gap:10px;
    justify-content: center;
    align-items: center;
}
#proyectos .detalle-opcion-elegida .proyecto-galeria .btn{
    background-color: rosybrown;
    color:white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: large;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
    }
#proyectos .detalle-opcion-elegida .proyecto-galeria .btn:hover{
    background-color: antiquewhite;
    color: rosybrown;
    outline: 1px solid rosybrown;
    border:  1px solid rosybrown;
}
#proyectos .detalle-opcion-elegida .proyecto-galeria-fotos{
    width: 60vw;
    height: 400px;
    display: flex;
    position: relative;
    overflow: hidden;
  

}
#proyectos .detalle-opcion-elegida .foto-galeria{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 10px;
    display: center;
    justify-content: center;
    align-items: center;
    font-size: 100px;
    transition:  all 1s linear;
}

#proyectos .detalle-opcion-elegida .foto-galeria img{

    width: 100%;
    height: 100%;
    object-fit: cover;
}

#proyectos .detalle-opcion-elegida .proyecto-flex{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#proyectos .detalle-opcion-elegida .proyecto-tarjetas{
    width: 60vw;
    height: 70vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:10px;
   
    
}

#proyectos img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#proyectos .detalle-opcion-elegida .proyecto-tarjetas .tarjeta-grande{
   border: 1px solid rosybrown;
   border-radius: 10px; 
   cursor: pointer;
   transition: all 1s ease-in-out;
   display: grid;
   place-items: center;
   overflow: hidden;
}
#proyectos .detalle-opcion-elegida .proyecto-tarjetas .tarjeta-grande span  {
    font-size: 100px;
    display: none;
    transition: all 1s ease-in-out;
   
}
#proyectos .detalle-opcion-elegida .proyecto-tarjetas .tarjeta-grande:hover , #proyectos .detalle-opcion-elegida .proyecto-tarjetas .tarjeta-chica:hover  {
    background-color: rgba(188, 143, 143, 0.3);
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

@keyframes mostrarDespacio {
     0%{
        visibility: 0;
        transform: scale(0);
     }
     100%{
        visibility: 1;
        transform: scale(1);
     }

    
}
#proyectos .detalle-opcion-elegida .proyecto-tarjetas .tarjeta-grande:hover span {
    display: block;
    animation: mostrarDespacio 2s linear;
}


#proyectos .detalle-opcion-elegida .proyecto-tarjetas .otras-tarjetas{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#proyectos .detalle-opcion-elegida .proyecto-tarjetas .otras-tarjetas .tarjeta-chica{
    width: 100%;
    height: 30%;
    border: 1px solid rosybrown;
    border-radius: 10px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 1s ease-in-out;
}



.banner {
    width: 60vw;
  overflow: hidden;
  white-space: nowrap;
  background: rosybrown;
  color:white;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
  font-family: 'orbitron';
  font-weight: bold;
  letter-spacing: 2px;
  padding: 10px 0;
 box-shadow: 4px 4px 4px 8px rgba(0,0,0,0.1);
  border: 5px solid antiquewhite;
  border-radius: 5px;
  cursor: grab;
}

.track {
  display: inline-block;
  animation: scroll 40s linear infinite;
}

.track span {
  margin: 0 40px;
  font-size: 60px;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


.banner:hover .track {
  animation-play-state: paused;
}
/* otro */

#subopciones {
  margin: 0;
  scroll-margin-top:calc(var(--alturaHeader) + 250px) ;
  font-family:'monserrat';
}

#subopciones .menu {
  background: var(--migris);
  /* border: 1px solid rosybrown; */
  min-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

#subopciones .menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

#subopciones .menu li {
  position: relative;
}

#subopciones .menu a {
  display: block;
  padding: 15px 30px;
  color: white;
  font-size: large;
  letter-spacing: 1px;
  text-decoration: none;
}

#subopciones .menu a:hover {
  background: var(--grisOscuro);
}

/* SUBMENÚ */
#subopciones .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--migris);
  flex-direction: column;
  min-width: 173px;

  border-left:  2px solid rosybrown;
  border-right:  2px solid rosybrown;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  height: 0;
  overflow: hidden;
  transition: all 1s linear;
}

#subopciones .submenu li a {
  padding: 10px;
 
}

/* mostrar al hover */
#subopciones .dropdown:hover .submenu {
  display: flex;

}

@media (max-width: 976px) {
 #subopciones  .menu{
    min-width:fit-content;
 }
  #subopciones .menu ul {
   
    flex-direction: column;
  }

  .submenu {
    position: static;
    z-index: 2;
    transform: translateX(30px);
   
  }
}

.dropdown a span:last-child{
    display: inline-block;
    transition: transform 0.9s ease;
}

.dropdown a span:last-child.rotate{
    transform: rotate(180deg);
}


/* pseudos */

#pseudos{
    width: 70vw;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:1rem;
}


@media (max-width:976px) {
    #pseudos{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem 10px;
    }
    
}
#pseudos .pseudo-1{
    width: 100%;
    display:grid;
    place-items: center;
  
}

#pseudos .pseudo-1 .recuadro{
    border: 5px solid rosybrown;
    position: relative;
    display: flex;
  
}
#pseudos .pseudo-1 .recuadro::before{
    content: "";
    position: absolute;
    top:-15px;
    right:10px;
    width: 100%;
    height: 100%;
    border: 5px solid rosybrown;
   
  
}

#pseudos .pseudo-1 img{
    position: relative; /* 👈 clave */
    width: 100%;
    object-fit: cover;
  
} 
#pseudos .pseudo-2{
    width: 100%;
    height: 100%;
    display:grid;
    place-items: center;
    padding: 3rem;

}
#pseudos .pseudo-2 .fondo-tarjeta{

    width: 100%;
    height: 100%;
    border-radius: 20px;
    display:grid;
    place-items: center;
    background-color: var(--migris);

}
#pseudos .pseudo-2 .tarjeta-brillo{
    position: relative;
    width: 250px;
    height: 300px;
    background:  rosybrown;
    color:white;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
}
#pseudos .pseudo-2 .tarjeta-brillo:hover h2{
    transform: scale(1.2);
    text-shadow:  3px 3px 1px violet;
}

#pseudos .pseudo-2 .tarjeta-brillo .lineas{

    position: absolute;
    inset: 0;
    background-color: black;
    overflow: hidden; 
}

#pseudos .pseudo-2 .tarjeta-brillo .lineas::before{
    content: "";
    position: absolute;
    background:linear-gradient(violet, rosybrown,white,violet, rosybrown);
    top:50%;
    right: -50%;
    width: 600px;
    height:120px;
    animation: rotar 3s ease-in-out infinite;
   
}
@keyframes rotar {
    0%{
        transform: rotate(0);
    }
    100%{
        transform: rotate(360deg);
    }
    
}

#pseudos .pseudo-2 .tarjeta-brillo .lineas::after{
    content: "";
    position: absolute;
    inset: 3px;
    background-color: var(--grisOscuro)
   
}

#pseudos .pseudo-2 .tarjeta-brillo h2{
        position: absolute;
        color: white;
        font-size: large;
        font-family: 'orbitron';
        font-weight: 400;
        letter-spacing: 2px;
        transition: all 1s ease-in-out;
}


#sesion {
  margin: 0;
  font-family:'orbitron';
  background: linear-gradient(135deg, rosybrown, antiquewhite);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.glass {
  position: relative;
  width: 520px;
  padding: 2rem;
  border-radius: 20px;

  /* TRANSPARENCIA */
  background: rgba(255, 255, 255, 0.15);

  /* DESENFOQUE REAL */
  /* backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); */

  /* BORDE DE VIDRIO */
  border: 1px solid rgba(255, 255, 255, 0.3);

  /* SOMBRA EXTERNA */
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 0 0 rgba(255,255,255,0.2);

  /* SUAVIZADO */
  overflow: hidden;
}


@media (max-width:970px) {
    .glass{
        width: 320px;
    }
}


.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;

  /* brillo tipo reflejo */
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.4),
    rgba(255,255,255,0.05) 40%,
    transparent 60%
  );

  pointer-events: none;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

.glass h2 {
  text-align: center;
  margin-bottom: 2rem;
}

/* Inputs */
.input-group {

  display: flex;
  align-items: center;
  margin-bottom: 1rem;

  background: rgba(255,255,255,0.6);
  border-radius: 10px;
  padding: 8px;
/* 
  backdrop-filter: blur(10px); */
  border: 1px solid rgba(255,255,255,0.3);

  transition: 0.3s;
}

.input-group:focus-within {
  background: rgba(255,255,255,0.65);
  transform: scale(1.02);
}

.input-group span {
  margin-right: 8px;
}

.input-group input {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  padding: 6px;
}
.input-group input::placeholder{
    font-family: 'orbitron';
}

.input-group button {
  background: none;
  border: none;
  cursor: pointer;
}
/* Button */
button[type="submit"] {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: none;
  font-family: 'orbitron';
  font-size: medium;
  letter-spacing: 2px;
  font-weight: bold;
  margin-top: 2rem;
  background: rgba(188, 143, 143, 0.9); /* rosybrown */
  color: white;

  /* backdrop-filter: blur(10px); */

  box-shadow: 0 4px 15px rgba(0,0,0,0.2);

  cursor: pointer;
  transition: 0.3s;
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  background: rgba(188, 143, 143, 1);
}

.error {
  font-size: 12px;
  color: red;
  height: 14px;
  margin-bottom: 3px;
}





/* sorpresa */

#sorpresa{
    scroll-margin-top: calc(var(--alturaHeader) + 60px);
}
li{
    list-style: none;
}
.cursos{
    width: 60vw;
    height: 60vh;
    background: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
.menu-sorpresa{
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.cursos .menu-sorpresa li{
    position: absolute;
    left:0;
    transition: 0.5s;
    transition-delay: calc(0.1s * var(--i));
    transform-origin: 140px;
    transform: rotate(0deg) translateX(110px);
    width: 110px;
}
 
.cursos .menu-sorpresa li a{
    display: flex;
    font-family: 'orbitron';
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 0.2rem;
    letter-spacing: 0.5px;
    transform: rotate(calc(360deg / -8 * var(--i))) ;
    font-size: 0.9em;
}
.cursos .menu-sorpresa li a:hover{
  
    background: var(--clr);
    color:#333;
    box-shadow: 0 0 20px var(--clr), 0 0 30px var(--clr), 0 0 40px var(--clr);
  

  
}
.cursos .menu-sorpresa .toggle-sorpresa{
    position: absolute;
    padding-bottom: 10px;
    width: 160px;
    height: 100px;
    background: var(--grisOscuro);
    border: 2px solid #fff;
    color:#fff;
    text-shadow: 2px 2px 1px rgba(0,0,0,0.3);
    border-radius: 50%;
    box-shadow: 0 0 20px violet, 0 0 30px violet, 0 0 30px violet, 0 0 40px violet, 0 0 50px violet, 0 0 60px violet;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9000;
    font-size: 2em;
    transform: rotate(0deg) translateX(-5px); 
    transition: transform 1.25s;
 

}

.menu-sorpresa.active .toggle-sorpresa{
 transform: rotate(315deg);
} 
.menu-sorpresa.active li{
    transform: rotate(calc(360deg / 8 * var(--i))) translateX(-60px);
}

.menu-sorpresa.active li a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 60px;
    color:var(--clr);
    font-size: 1.2em;
    
}



.ocultar{
    display: none;
}

.ver{
    display: block;

}

.card {
    position: relative;
    width: 300px;
    padding: 30px 20px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
     font-family: 'monserrat';
    }

    /* Papelito */
    .etiqueta {
    position: absolute;
    top: 0;
    left: 20px;
    transform: translateY(-50%);

    background: #ffcc00;
    color: #000;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;

    box-shadow: 0 5px 10px rgba(0,0,0,0.15);
    /* ✨ Variante más “realista” (tipo sticker inclinado) */
    transform: translateY(-50%) rotate(-3deg);
    }

    .etiqueta::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 6px;
        box-shadow: inset 0 -2px 4px rgba(0,0,0,0.2);
        }


        /* Papelito */
    .tag {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(50%, -30%);
        background: #e30613;
        color: white;
        text-align: center;
        padding: 12px 18px;
        font-weight: bold;

        /* forma */
        clip-path: polygon(
            0 0, 
            85% 0, 
            100% 20%, 
            100% 100%, 
            0 100%
        );

        box-shadow: 0 8px 15px rgba(0,0,0,0.25);
        }

    .tag span {
        display: block;
        font-size: 16px;
       
        }

    .tag small {
        font-size: 14px;
        }
    .tag::before {
        content: "";
        position: absolute;
        top: -8px;
        right: 0;
        width: 20px;
        height: 8px;
        background: #b0040f;
       
        clip-path: polygon(0 100%, 100% 0, 100% 100%);
        }
    .tag::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 6px;
        box-shadow: inset 0 -2px 4px rgba(0,0,0,0.2);
        }
