/*fuentes*/
@font-face {
  font-family: 'Heebo';
  src: url('./recursos/fuentes/hebbo/Heebo-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('./recursos/fuentes/poppins/Poppins-SemiBold.woff') format('woff');
  font-style: normal;
  font-weight: normal;
}




body{
    background-color: black;
    margin: 0 ;
}
.redireccion{
    color: white;
    text-decoration: none;
}
.redireccion:visited{
    color: white;
    text-decoration: none;
}
.presentacion{
    width: 100%;
    max-width: 1200px;
    height: max-content;
    margin:0 auto;
}
.img-presentacion{
    width: 100%;
    max-width: 1200px;
    height: 900px;
    background-image: url("./img/portada.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: 0 auto;
    
}

.encabezado-menu{
    width: 95%;
    height: max-content;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
}
.logo img{
    width: 30%;
    height: auto;
}
.menu{
    display: flex;
    gap: 40px;
    color: white;
    list-style-type: none;
    align-items: center;
    font-size: 0.765rem;
    font-family: "Heebo";
    text-transform: uppercase;
}

.txt-presentacion{
    width: 70%;
    height: 90%;
    color: black;
    font-family: "Poppins";
    display: flex;
    flex-direction: column;
    justify-content: center;
    
}
.txt-presentacion div{
    padding: 15px;
}
.txt-presentacion strong{
    font-size: 3rem;
    background-color: #edc544;
    line-height: 1.3;
}
.li-presentacion{
    width: max-content;
    display: flex;
    font-size: 1rem;
    gap: 30px;
    margin-top: 20px;
    background-color: #edc544;
}

.btn-contacto{
    width:35%;
    height: 65px;
    margin-top: 50px;
    background: transparent;
    font-size: 9-975rem;
    letter-spacing: 0.136rem;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid  #edc544;
    cursor: pointer;
}
figure{
    padding: 0;
    margin: 0;
}
.naranja{
    width: 25%;
    padding: 0;
    filter: hue-rotate(198deg) saturate(690%) brightness(100%);
}
h1, span{
    width: 40%;
    color: white !important;
}
.cont-figuras{
    width: 95%;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    margin-top: -8%;
}
.cuadros, .cuadros-s{
    padding: 35px;
    height: max-content;
    background-color:rgb(18, 18, 18) ;
}
.cont-figuras div {
    flex: 1;
    border: 1px solid #edc544;
}
.cont-figuras h1{
    width: 100%;
    font-family: "Poppins";
    font-size: 28px;
}
.cont-figuras span{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color:#d4d4d4 !important;
    font-size: 15px;
}




/*Servicios*/
.servicios, .testimonios{ /*Section*/
    background-color:rgb(18, 18, 18);
    margin-top: 4rem;
}
.cont-servicios{
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    color: white;
    padding-top: 2%;
    padding-bottom: 5%;
    
}
.titulos::before{
    content: "";
    display: inline-block;
    width: 90px;
    height: 3px;
    background-color: #edc544;
    margin-right: 30px; 
    vertical-align: middle; 
}
.fondo {
     background-color: #edc544 !important;
} 
.titulos{
    font-family: "Poppins";
    font-size: 2.6rem;
    line-height: 1;
    color: white;
}
.subtitulo{
    font-size: 1rem;
    text-transform: uppercase;
     font-family: "Poppins";
    color: #edc544 !important;
    padding-bottom: 10px;
}

.t-servicios, .titulo-nosotros,.titulo-testimonio{
    height: max-content;
    margin-bottom: 40px;
}

/*Contenedor*/
.cuadros-servicios{
    display: flex;
    width: 100%;
    height: max-content;
    margin: 0 auto;
    gap: 35px;
}
/*Cuadro individual*/
.cuadros-s{
    flex: 1;
    background-color:rgb(22, 22, 22);
    font-family: "Poppins";
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 5px solid white;
}
.cuadros-s h1{
    width: 100%;
    font-size: 20px;
}
.cuadros-s span{
    width: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color:#d4d4d4 !important;
    font-size: 15px;
}
.cuadros-s img{
    width: 20%;
    height: auto;
    filter: hue-rotate(198deg) saturate(690%) brightness(100%);
}



/*Nosotros*/
.cont-nosotros{
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 5%;

}
.grid-nosotros {
display: grid;
width: 100%;
height: 100%;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: 300px 300px; /*Pendiente*/
grid-column-gap:20px;
grid-row-gap: 20px;
margin-bottom: 40px;
}


.div1,.div2,.div3{
    width: 100%;
    height: 100%;
    position: relative;
}
.img-nosotros{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.txt-nosotros{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.144);
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: end;

}
.t-nosotros{
    font-family: "Poppins";
    font-size: 1.5rem;
    padding-left: 20px;
}
.s-nosotros{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.0rem;
    padding-left: 20px;
    padding-bottom: 20px;
}
.div1 { grid-area: 1 / 1 / 3 / 2; }
.div2 { grid-area: 1 / 2 / 2 / 3; }
.div3 { grid-area: 2 / 2 / 3 / 3; }



/*Mision - Vision*/
.mision{
    width: 100%;
    height: max-content;
    display: flex;
    gap: 70px;
    color: white;
    margin-top: 10%;
}
.mision div{
    flex: 0 0 30%;
}
.mision div > h2{
    font-family: "Poppins";
    font-size: 25px;
}
.mision div > span{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #acacac !important;
    font-size: 15px;
}


/*Testimonios*/
.testimonios{
    padding: 40px;
}
.titulo-testimonio{
    width: 100%;
    max-width: 1200px;
    height: max-content;
    margin: 0 auto; 
}
.cuadro-testimonios{
    width: 100%;
    display: flex;
    gap: 30px;
    
}
.cont-cuadro{
    flex: 1;
    width: 100%;

    height: max-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    gap: 30px;
}

.c-testimonio{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 30px;
    height: 200px;
    max-height: 400px;
        background-color: black;
    border: 1px solid #555555c5;
}
.c-testimonio span{
    width: 80%;
    text-align: center;
    color: #D0D0D0 !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-style: italic;
}
.arriba{
    margin-top: -10%;
}
.persona{
    width: 100%;
    max-width:550px;
    height: auto;
    border-radius: 30px;
}

.muestra{
    width: 100%;
    max-width: 75px;
    height: auto;
    border-radius: 50%;
}
.simbolo{
    width: 15%;
    filter: hue-rotate(192deg) saturate(220%) brightness(100%);
}
.img-testimonio{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.img-testimonio span{
    text-align: center;
    line-height: 2;
}


/*aprende*/
.aprende{
    padding: 40px;
}
.cont-aprende{
    width: 100%;
    height: max-content;
}
.titulo-aprende{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Poppins";
}
.cuadros-aprende{
    display: flex;
    
}
.cuadros-aprende div{
    width: 350px;
    height: 250px;
    color:white;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.cuadros-aprende div > h3{
    font-family: "Poppins";
    width: 100%;
}
.cuadros-aprende div > small , .cuadros-aprende div > span{
    width: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #D0D0D0;
    font-weight: 300;
}
.cuadros-aprende a{
    color: #edc544;
    font-family: "Poppins";
    cursor: pointer;
}
.titulo-aprende h1{
    color: white;
    text-align: center;
}
.titulo-aprende span{
    color: #edc544 !important;
    text-align: center;
}




/*redes*/

.cont-redes{
    width: 100%;
    height: 400px;
    position: relative;
}
.img-fondo{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.txt-redes{
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.849);
    font-family: "Poppins";
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.txt-redes h1{
    text-align: center;
    padding: 0;
}

.encabezado-redes{
    width: 100%;
    height: max-content;
    display: flex;
    justify-content:center ;
    gap: 30px;
}

.encabezado-redes a{
    width: 30px;
    height: 30px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #edc544;
    border-radius: 50%;
    text-align: center;
}
.dudas{
    margin-top: 0;
    cursor: pointer;
}

footer{
    padding: 40px;
}
.cont-footer{
    width: 60%;
    height: max-content;
    margin: 0 auto;
    color: white;
    display: flex;
    gap: 30px;
}
.cont-footer h2{
    font-family: "Poppins";
}
.cont-footer nav{
    list-style-type: circle;
    line-height: 2.5;
    color: #D0D0D0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 400;
}
.logo-final{
    width: 30%;
}
.piedecuadro{
    width: 30%;
    height: 1px;
    margin-top: 10px;
    background-color: #edc544;
    border: 2px solid #edc544;
}
.logo-final h1{
    font-family: "Poppins";
}
.logo-final{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #D0D0D0 !important;
}


@media (max-width:799px) {
    .menu{
        display: none;
    }
    .txt-presentacion div > strong{
        width: 100%;
        font-size: 2.5rem;
    }
    .li-presentacion li{
        font-size: 0.675rem !important;
    }
    .btn-contacto{
        width: max-content;
    }

    .cont-figuras{
        width: 70%;
        flex-direction: column;
    }
    .cuadros-servicios{
        width: 85%;
        flex-direction: column;
    }
    
     .grid-nosotros {
        width: 85%;
        margin: 0 auto;
    grid-template-columns:repeat(1,1fr);     /* 1 columna */
    grid-template-rows: 3;
    grid-template-rows: 300px 300px; /*Pendiente*/
grid-column-gap:0px;
    
  }

  .div1 {
    grid-column: span 2;
    grid-row: 1;

  }
  .div2{
    grid-column: span 1;
    grid-row: 2;

  }
  .div3{
    grid-column:span 1 ;
    grid-row: 3;
  }
  .mision {
    flex-direction: column;
    width: 85%;
    margin: 0 auto;
  }
  .cuadro-testimonios{
    flex-direction: column;
  }
  .titulo-aprende{
    width: 100%;
    margin-bottom: 20px;
  }
  .titulo-aprende h1{
    width: 100%;
    font-size: 2rem;
  }
  .titulo-aprende span{
    width: 100%;
    font-size: 1rem;
  }
  .txt-redes h1{
    width: 100%;
  }
  .cont-footer{
    width: 85%;
    flex-direction: column;
  }
  .logo-final{
    width: 100%;
  }
  .logo-final small{
    width: 100% !important; 
  }
  .piedecuadro{
    width: 40%;
  }
  .titulos{
    font-size: 2rem;
  }
  .subtitulo{
    font-size: 1rem;
  }
}


/*Animaciones a objetos*/
.txt-presentacion{
    overflow: hidden;
}
.txt-presentacion div > strong {
    display: inline-block;
    animation: deslizar 3s 1 ease forwards;
}
.li-presentacion{
     animation: deslizar 2s ease forwards;
}
.btn-contacto{
    animation: deslizar 1.4s ease forwards;
}

.titulos{
 animation: deslizar 1s ease forwards;
}
.subtitulo{
    display: inline-block;
 animation: deslizar 1.3s ease forwards;
}

.cuadros-servicios,.cont-figuras,.t-servicios{
    overflow: hidden;
}





.c1{
animation: deslizar-abajo 0.5s ease forwards;
}
.c2{
animation: deslizar-abajo 1s ease forwards;
}
.c3{
animation: deslizar-abajo 1.5s ease forwards;
}
.txt-nosotros{
      overflow: hidden;
}
.t-nosotros, .mision  div > h2{
    overflow: hidden;
    animation: deslizar-abajo 0.6s ease forwards;
}
.t1{
animation: deslizar-abajo 0.6s ease forwards;
}
.t2{
animation: deslizar-abajo 1.2s ease forwards;
}
.t3{
animation: deslizar-abajo 1.4s ease forwards;
}
.t4{
animation: deslizar-abajo 1.8s ease forwards;
}

.titulo-aprende h1{
    animation: deslizar-abajo 0.4s ease forwards;
}
.titulo-aprende span{
    animation: deslizar-abajo 0.9s ease forwards;
}
.cuadros-aprende div{
    animation: deslizar-abajo 5s ease forwards;
}



/*Animaciones codigo*/
@keyframes deslizar {
	0% {
		opacity: 0;
		transform: translateX(-250px);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes deslizar-abajo {
	0% {
		opacity: 0;
		transform: translateY(250px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}



/* Solo define animaciones pero NO las actives todavía */
.anim-deslizar {
    animation: deslizar 1.5s ease forwards;
}

.anim-deslizar-abajo {
    animation: deslizar-abajo 1.5s ease forwards;
}
