 *{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
   font-family: "Lato", sans-serif;

}
.contenedor-header{
    background-image: url(../imagenes/fondo-negro.jpg);
    width: 100%;
    height: 150px;
    display: flex;
}
#btn-menu {
    display: none;
  }
  header label {
    display: none;
    width: 40px;
    height: 40px;
    padding: 10px;
  }
  label:hover {
    cursor: pointer;
  }
  
.nav-h{
    width: 40%;
    padding-top: 50px;
    text-align: center;
}
.logo-1{
    width: 10%; 
}
.logo-1--{
    width: 70%;
}
.logo-2{
    width: 50%;

}
.logo-2--{
    margin-top: 20px;
    margin-left: 30px;
    width: 100%;
}
.nav-h a{
    margin: 0 10px 0 20px;
    color: #fff;
}
.nav-h a:hover{
    opacity: .2;
}
.banner-1{
    width: 100%;
    height: 80vh;
    position: relative;
    background-color: #f5f5f5;
    background-size: 100% 100%;
    background-position: center;
    transition: all 1s ease-in-out;
    background-image: url(../imagenes/img-3.jpg);
    animation: banner1 15S infinite linear;
    box-shadow: 1px 0 20px rgb(155, 147, 147);
}
.banner-content-1{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.cont-banner{
    display: flex;
    width: 100%;
}
.banner-content-2{
    width: 50%;
    height: 80vh;
    position: relative;
    background-color: #f5f5f5;
    background-size: 100% 100%;
    background-position: center;
    transition: all 1s ease-in-out;
    background-image: url(../imagenes/img-1.jpg);
    animation: banner2 8s infinite linear;
}
.banner-content-3{
    width: 50%;
    height: 80vh;
    position: relative;
    background-color: #f5f5f5;
    background-size: 100% 100%;
    background-position: center;
    transition: all 1s ease-in-out;
    background-image: url(../imagenes/img-2.jpg);
    animation: banner3 15s infinite linear;
}
.banner-content-2--{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
.banner-content-3--{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   

}
@keyframes banner1{
    0%{
        background-image: url(../imagenes/img-3.jpg);
    }
    25%{
        background-image: url(../imagenes/img-3.jpg);
    }
    26%{
        background-image: url(../imagenes/img-4.jpg);
    }
    50%{
        background-image: url(../imagenes/img-4.jpg);
    }
    51%{
        background-image: url(../imagenes/img-5.jpg);

    }
    75%{
        background-image: url(../imagenes/img-5.jpg);
    }
    76%{
        background-image: url(../imagenes/img-6.jpg);
    }
    100%{
        background-image: url(../imagenes/img-6.jpg);
    }
}
@keyframes banner2{
    0%{
        background-image: url(../imagenes/img-1.jpg);
    }
    50%{
        background-image: url(../imagenes/img-1.jpg);
    }
    51%{
        background-image: url(../imagenes/img-7.jpg);
    }
    100%{
        background-image: url(../imagenes/img-7.jpg);
    }
}
@keyframes banner3{
    0%{
        background-image: url(../imagenes/img-2.jpg);
    }
    33%{
        background-image: url(../imagenes/img-2.jpg);
    }
    34%{
        background-image: url(../imagenes/img-8.jpg);
    }
    67%{
        background-image: url(../imagenes/img-8.jpg);
    }
    68%{
        background-image: url(../imagenes/img-9.jpg);
    }
    100%{
        background-image: url(../imagenes/img-9.jpg);
    }
}

article{
    width: 100%;
    height: 1200px;
    background-image: url(../imagenes/fondo-textura.jpg);
    background-size: 100% 100%;
}
.actividades{
    width: 100%;
    height: 1200px;
    border: 1px solid #000;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    position: relative;
   
    
}

.actividades div{
    margin:auto;
    display: flex;
    align-items: center;
}

.horarios{
    color: #fff;
    width:100%;
    height: 100%;
    border-radius: 100%;
    background: rgb(21, 190, 176);
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: .9s;
  
}
.horarios p{
margin: auto;
text-align: center;
}
.horarios:hover{
    opacity: 1;
    transition: 1s;
}
.img-actividades{
    width: 300px;
    height: 300px;
    position: relative;

}
.img-actividades img{
    width: 100%;
    height: 100%;
}


.cont-mapa{
    width: 100%;
    height: 300px;
}
.mapa{
    width: 100%;
    height: 300px;
    display: flex;
}
.mapa iframe{
    width: 100%;
    margin: auto;
}


.img-footer{
    width: 100%;
    height: 35vh;
    background-image: url(../imagenes/fondo-negro.jpg);
    display: flex;
    flex-flow: column wrap;
  }
  
.h2{
    color: #fff;
    width: 30%;
    height: 20%;
    margin: 10px 50px 30px 280px;
}

.cont-redes{
    margin: auto;
    width:40%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}
.img-redes{
    width: 50%;
    height: 50%;
    margin: 60px 0 0 30px;
}
.img-redes img{
    width: 70%;  
}
.img-redes img:hover{
    opacity: .5;
}
.img-logo-foo img{
    width: 60%;
   
}
.img-logo-foo{
    width: 30%;
    height: 30%;

}
.over {
    color: #f5f5f5;
    margin-bottom: -30px;
  }
  .over:hover {
    color: #8a8686;
  }
  
  .titulo-final h4 {
    color: #f5f5f5;
    text-align: center;
    background: #000;
  }
/*pagina acerca*/
.baner-acerca{
    width: 100%;
    height: 70vh;
    background-image: url(../imagenes/portadaacerca.jpg);

}
.contenedor-acerca{
    width: 100%;
    height: 1580px;
    background-image: url(../imagenes/fondo-textura.jpg);
    background-size: 100% 100%;
}
.sub-acerca{
    padding: 70px 0 50px 50px;
}
.somos{
    width: 70%;
    height: 130px;
    margin-left: 50px ;
}

.maestros{
    width: 100%;
    height: 200px;

 }

.maestros p{
    width: 100%;
    margin:20px 0 20px 50px ;
}
.img-maestro{
    float: right;
}
.nombres-maestros{
    margin-left: 50px;
    margin-top: 30px;
}
.maestros img{
    width: 18%;
    float: right;
    margin-right: 50px;
}


/*pagina historia*/
.portada-historia{
    width: 100%;
    height: 70vh;
    background-image: url(../imagenes/portadahistoria.jpg);

}
.contenedor-historia{
    width: 100%;
    height: 1500px;
    background-image: url(../imagenes/fondo-textura.jpg);
    background-size: 100% 100%;
}
.contenedor-historia h1, h2{
    padding: 40px;
}
.contenedor-historia p{
    width: 80%;
    text-align: left ;
    margin-left: 50px;
}
.arbol{
    width: 60%;
    margin: 20px 0 0 200px;
}
.estilo{
    width: 90%;
    margin-left: 50px;
    height: 300px;
}
.estilo p{
    width: 80%;
    text-align: left ;
    margin-left: 50px;
}
.img-estilo{
    float: right;
    width: 33%;
}
/*responsive. inicio*/
@media screen and (max-width: 1000px) {
    header label {
        display: flex;
        z-index: 300;
        margin: 10px 0 0 10px;
        position: absolute;
      }
      #btn-menu:checked ~ .contenedor-header{
        opacity: 1;
        height: 130px;
        transition: all 0.8s;
      }
     
      .contenedor-header {
        height: 1px;
        opacity: 0;
        transition: all 0.8s;
        display: flex;
        align-content: center;
    }
  
    .logo-1{
        width: 20%; 
        margin-left: 70px;
    }
    .logo-2{
        width: 10px;
    }
    
    .logo-2 img{

        margin-left: 100px;
        width: 37%;
        position: absolute;
    }
    
    .nav-h  {
        margin: 34px 100px 10px 0;
        width: 100%;
        height: 50px;
        }
    .nav-h a{
        width: 100%;
        text-align: center;
        position: relative;
    }
  
    .banner-1 {
        height: 45vh;
    }
    .banner-content-2{
        height: 45vh;
    }
    .banner-content-3{
        height: 45vh;
    }
    .img-footer{
        height: 20vh;
    }
    .h2{
        width: 40%;
        margin: -50px 0 0 140px;
    }
    .img-redes img{
        width: 100%;
    }
    /* acerca*/
    .baner-acerca{
        height: 45vh;
        background-size: 100% 100%;
    }
    .contenedor-acerca{
        height: 100%;
    }
    .maestros{
        height: 50%;
    }
    .maestros p{
        width: 80%;
        margin:20px 0 20px 50px ;
    }
    /*historia*/
    .portada-historia{
         height: 35vh;
         background-size: cover;
    }
    .contenedor-historia {
        height: 2200px;
      
    }
}
@media screen and (max-width: 500px){
    .nav-h{
        padding-top: 80px;
        margin: 0;
        width: 100%;
        height: 120px;
    }
    .nav-h a{
        margin: 50px 10px 0 10px;
        text-align: center;
        padding: 0;
    }
    .banner-1{
        height: 30vh;
    }
    .banner-content-2{
        height: 30vh;
    }
    .banner-content-3{
        height: 30vh;
    }
    .actividades{
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
    .h2{
        font-size: small;
        width: 40%;
        margin: -50px 0 0 50px;
    }
       .img-actividades{
        width: 150px;
        height: 150px;
    
    }
    .img-actividades img{
        width: 100%;
        height: 100%;
    }
    /*acerca*/
    .sub-acerca:nth-child(3){
       padding-top: 160px;
    }
     /*historia*/
      .portada-historia{
        height: 30vh;
       }
       .arbol{
         margin: 20px 0 0 80px;
        
       }
       .contenedor-historia {
           height: 2600px;
        }
}
@media screen and (max-width: 460px){
    #btn-menu:checked ~ .contenedor-header{
        height: 180px;
        transition: all 0.8s;
      }
    .logo-1--{
        width: 100%;
        margin: 50px 0 0 150px;
    }
    .nav-h{
        padding: 10px;
        width: 25%;
        height: 180px;
        margin-left: -130px;
    }
    .nav-h a{
        line-height: 40px;
        margin: 30px 20px 0 20px;
        text-align: center;
    }
    .h2{
        font-size: 10px;
        margin-left: 15px;

    }
    /*acerca*/
    .baner-acerca{
        height: 30vh;
    }
    .sub-acerca:nth-child(3){
        padding-top: 190px;
     }
     .maestros img {
        width: 35%;}
    /*historia*/
     .contenedor-historia {
      height: 3000px;
         }    
     .img-estilo {
        float:initial;
        margin-left: 100px;
         width: 33%;
    }
    .estilo p {
        margin-left: -15px;
    }    
}
@media screen and (max-width: 360px){
    .logo-2 img{
        margin-left: 60px;
    }
     /*acerca*/
     .sub-acerca:nth-child(3){
        padding-top: 230px;
     }
     /*historia*/
     .contenedor-historia {
        height: 3200px;
           } 
}