
@font-face {
    font-family: Poppins-I;
    src: url(fuentes/Poppins-Italic.ttf);
}


@font-face {
    font-family: Poppins-R;
    src: url(fuentes/Poppins-Regular.ttf);
}

@font-face {
    font-family: Poppins-B;
    src: url(fuentes/Poppins-SemiBold.ttf);
}

@font-face {
    font-family: Poppins-L;
    src: url(fuentes/Poppins-Light.ttf);
}


*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: Poppins-R;
    }

    
img {
    width: 100%;
    height: auto;
    vertical-align: middle;
}

body {

    animation-name: aparecer;
    animation-duration: 2s;
    
}

h1 {
    font-size: 16em;
    transition: opacity 0.3s ease-in-out; 
    opacity: 1;
}

h1.hidden {
    opacity: 0;
}

h2 {
    color: rgb(255, 255, 255);
    font-size: 4em;
}


h3 {
    color: rgb(0, 0, 0);
    font-size: 5em;
    font-weight: 150;
}



#menu2 .cuadrados-layout2 {
    margin: 20px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 5vw;
}



/* /////////////MENU Y VIDEO//////////// */
#menu2 > * {
    position: relative;
    z-index: 3; /* Por encima del video */
    color: white; /* Asegúrate de que el texto sea visible sobre el video */
}


#menu2 {
    width: 100%;
    display: flex;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    overflow: hidden;
}

#menu2 #videoFondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 1; 
}

#menu2::before {
    content: ''; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.20); 
    z-index: 2; 
    pointer-events: none;
}
/* /////////////FIN MENU Y VIDEO //////////// */





.cuadrados2 {
    width: 4em;
    height: 4em;
    background-color: white;
    transition: transform 0.3s ease-in-out;


    opacity: 0; 
  transform: translateY(-50px); 
  animation: aparecer-cuadrados 1s ease-out forwards;
}

.cuadrados2:nth-child(1) {
    animation-delay: 0.2s;
  }
  .cuadrados2:nth-child(2) {
    animation-delay: 0.4s;
  }
  .cuadrados2:nth-child(3) {
    animation-delay: 0.6s;
  }
  .cuadrados2:nth-child(4) {
    animation-delay: 0.8s;
  }

.cuadrados2:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.cuadrados2 img {
    width: 3vw;
    height: 3vw;
    opacity: 0;
}
.subtitulo {
    font-family: Poppins-L;
}


.cabecera {
    display: flex;
    padding: 2rem ;
    flex-direction: column;
    width: 100%;
    justify-content: flex-end;
    letter-spacing: -1px;
    line-height: 100px;
}




/* contenedor-enalces */
.contenedor-enlaces {
    display: flex;
    padding: 2rem ;
    gap: 20px;
    width: 100%;
    height: 200px; 
}



/* fin contenedor-enalces */


.slider {
  width: 100%;
  cursor: grab;
  overflow: hidden;
}

.slider-wrapper {
  white-space: nowrap;
}

.slider-item {
  display: inline-block;
  width: 50vw;
  padding: 3vw;
}

.slider-item figure {
  position: relative;
  padding-bottom: 50%;
  overflow: hidden;
}

.slider-item figure img {
  position: absolute;
  width: 100%;
  object-fit: cover;
}




.tarjetas {
    padding-top: 2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    
}

.tarjeta-giratoria {
    width: 600px;
    height: 300px;
    perspective: 1000px;
    font-family: Poppins-I;
    line-height: 30px;
  }
  
  .titulo {
    font-size: 1.5em;
    font-family: Poppins-I;

    text-align: center;
    margin: 0;
  }
  
  .tarjeta-giratoria-interior {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  
  .tarjeta-giratoria:hover .tarjeta-giratoria-interior {
    transform: rotateY(180deg);
  }
  
  .tarjeta-giratoria-frente, .tarjeta-giratoria-dorso {
    box-shadow: 0 8px 14px 0 rgba(0,0,0,0.05);
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    gap: 6px;
    cursor: pointer;
  }


  .tarjeta-giratoria-dorso img {
    overflow: hidden;
    object-fit: cover;
  }
  
  
  .tarjeta-giratoria-dorso {
    color: black;
    transform: rotateY(180deg);
  }
  



  .newsletter {
    text-align: left;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.titulo-newsletter {
    font-size: 3rem;
    font-family: Poppins-B; 
    margin-bottom: 30px;
    color: #000;
}

.formulario-newsletter {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    padding-bottom: 4rem;
}

.campo {
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(33% - 20px); 
}

.etiqueta {
    font-size: 1rem;
    font-family: Poppins-L;
    color: #333;
    margin-bottom: 5px;
}

.input-texto {
    padding: 12px;
    font-size: 1rem;
    font-family: Poppins-R; 
    border: 2px solid #000;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s ease-in-out;
}


.boton-enviar {
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-family: Poppins-B; 
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.boton-enviar:hover {
    background-color: #000;
    color: #fff;
}



/* //////////footer///////////// */

.footer {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border-top: 1px solid black;
}

.info-footer {
    display: flex;
    justify-content: space-between;
}
.info-footer div {
    width: 33%;
}

.info-footer :nth-child(3){
    text-decoration: underline;
}

.logo {
    font-size: 10em;
}


/* ////////////////////popup//////////////// */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-contenido {
    background-color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Poppins-R'; 
}

.popup-contenido h5 {
    font-size: 2rem;
    font-family: 'Poppins-B'; 
    margin-bottom: 10px;
}

.popup-contenido p {
    font-size: 1rem;
    line-height: 50px;
    font-family: 'Poppins-R';
    color: #555;
    margin-bottom: 10px;
}

.cerrar-popup {
    padding: 10px 20px;
    font-size: 1rem;
    font-family: 'Poppins-B';
    color: #fff;
    background-color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cerrar-popup:hover {
    background-color: #333;
}

/* ////////////////////fin popup//////////////// */


/* //////////cultura///////////// */
/* ///////////////recomendaciones/////////// */
.valores {
    padding: 6rem 2rem 6rem 2rem;
    cursor: pointer;
}


.valores .contenedor {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}



.contenedor-flex-valores {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; 
    gap: 10px; 
}

.valor {
    flex: 1 1 calc(33.333% - 40px); 
    max-width: 600px;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 8px 14px 0 rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valor:hover {
    transform: translateY(-10px); 
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.valor .icono {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.valor h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #222;
}

.valor p {
    font-size: 1rem;
    color: #000000; 
    line-height: 1.6;
}

/* ///////////////fin recomendaciones/////////// */


.barras-cont {
    display: flex;
    align-items: baseline;
    justify-content: center;
    border-top: 1px solid black;
    margin: 2rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
    width: 95%;
    height: 500px;
    flex-direction: column;
}









@keyframes aparecer-cuadrados {
  0% {
    opacity: 0;
    transform: translateY(-50px); /* Empieza más arriba */
  }
  

  100% {
    opacity: 1;
    transform: translateY(0); /* Vuelve a su posición original */
  }
  
  
}






@keyframes aparecer{
    0%{
        opacity: 0%;

    }

    100%{
        opacity: 100%;
    }
}


@keyframes tilt-shaking {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(0eg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
  }



  
  /* MEDIA QUERIES */

@media screen and (max-width: 1354px ) {
    .slider-item {

        width: 60vw;
   
      }

      h1 {
        font-size: 10em;
    }

    
    h3 {
        font-size: 3em;
        font-weight: 300;
    }
    
    .cabecera {


        letter-spacing: -1px;
        line-height: 60px;
    }

    .contenedor-enlaces {
        flex-direction: column; 
        height: 300px;
    }


    .tarjetas {
        flex-direction: column;
        align-items: center;
    }

    .cuadrados2 img {
        width: 13vw;
        height: 13vw;

    }

    }
    

    
@media screen and (max-width: 834px ) { 

    .slider-item {

        width: 75vw;
   
      }

    .innov {
        font-size: 4em;
    }

    h1 {
        font-size: 6em;
    }

    h3 {
        font-size: 1.5em;
        font-weight: 300;
    }
    
    .cabecera {


        letter-spacing: -1px;
        line-height: 30px;
    }
    
    .tarjetas {
        flex-direction: column;
    }

    .tarjeta-giratoria {
        width: 350px;
        height: 200px;

      }

      .titulo{
        font-size: 1.2em;
      }

      .cuadrados2 img {
        width: 15vw;
        height: 15vw;

    }

    .popup-contenido p {

        line-height: 30px;

    }

    .contenedor-flex-valores {
     flex-direction: column;
    }


}



