
*{
    margin: 0;
	padding: 0;
    border: none;
}

html{
    /* font-family: 'Raleway', sans-serif; */
    font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
}
body{
    width: 100%     ;
    height: auto;
    overflow-x: hidden;
}

/* Estilo para la barra de desplazamiento en sí */
::-webkit-scrollbar {
  width: 10px; /* Ancho de la barra de desplazamiento vertical */
  height: 6px; /* Altura de la barra de desplazamiento horizontal */
}

/* Estilo para el track de la barra de desplazamiento (la pista) */
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0); /* Color de fondo de la pista */
}

/* Estilo para el thumb de la barra de desplazamiento (la parte móvil) */
::-webkit-scrollbar-thumb {
  background: #888; /* Color del thumb */
  border-radius: 6px; /* Bordes redondeados para el thumb */
}

/* Estilo para el thumb cuando se pasa el ratón por encima */
::-webkit-scrollbar-thumb:hover {
  background: #555; /* Color del thumb al pasar el ratón por encima */
}


header{
    width: 100vw; 
    height: 11vh;   
    background: #fff;
    display: flex;
    position: fixed;
    z-index: 4;
    top: 0;
    border-bottom: 3px solid #006cb8;
    
}

.menu{
    display: none;
    font-size: 1rem;
}

header > div {
    width: 100%;
    height: 100%;
    margin: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav{
    display: flex;
    flex-direction: column;
}

.logo{
    height: 80%;
    width: auto;
}
.logo img{
    height: 100%;
    width: auto;
}

nav > ul {
    list-style: none;
}
nav > ul li  {
    display: inline;
}
nav li a {
    text-decoration: none;
    font-size: 1rem;
    color: #000;
    font-weight: bold;
    margin-left: 3rem;
    transition: .3s;


}

nav a:hover{
    color: #32CFEE;
}

.logo > img {
    width: auto;
    height: 100%;
    object-fit: cover;    /* Cubre todo el espacio sin deformarse */
    object-position: center;
}

.anuncio {
    width: 100%;
    height: 89vh;
    padding-top: 11vh;
    display: flex;
    align-items: center;
}
.anuncio-text{
    width: 32%;
    height: auto;
    min-width: 300px;
    padding: 25px;
    left: 5rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, .60);
    position: absolute;
    z-index: 2;
    border-radius: 12px;
     
    color: #fff; 
}

.anuncio-text h2 {
    font-size: 1.2  rem;
    
    text-align: center;
    margin-bottom: 15px;
    font-weight: 200;
    
}
.anuncio-text p{
    font-size: 1rem;
    line-height: 25px;
    
}



.img-escuela{

    position: absolute;
    z-index: 1;
    width: 100%;
    height: 89vh;
}

.boton{
    font-size: .75rem;
    width: max-content;
    margin-top: 25px;
    background: #006cb8;
    border-radius: 6px;
    padding: 12px 10px;
    font-weight: bold; 
    -moz-box-shadow: 5px 10px 28px -1px rgba(0,71,122,0.57);
    box-shadow: 5px 10px 28px -1px rgba(0,71,122,0.57); 
    transition: .5s;    
    cursor: pointer;
}
.boton:hover{
    background: #008FF5;
    box-shadow: 5px 10px 28px -7px rgba(51,170,255,1);

}

.img-escuela > img{
    height: 100%;
    width: 100%;
    object-fit: cover;    /* Cubre todo el espacio sin deformarse */
     object-position: center;
}

.programas{

    width: 100%;
    height: auto;
    margin-top: 9vh;
    padding-bottom: 8vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center ; */

}

.contenedor{
    width: 80%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    color: black;

}
.contenedor-info{
    width: 250px;
    height: 260px;
    margin: 50px 17px 0px  17px;
    border-radius: 6px;
    position: relative;
    transition: .7s;
    background: #ffffffca;
    border: 2px solid #b7b7b7ca;
    display: flex;
    flex-direction: column;
    justify-content:space-evenly;
    overflow: hidden;
    
}
.contenedor-info h3{
    z-index: 3;
    margin-left: 15px;
}
.contenedor-info figure{
    width: 82%;
    height: 190px;
    position: relative;
    align-self: center; 
    display: blok;
    transition: .2s;
    
}

.contenedor-info:hover ~ info{
    display: block;
}

.animacion{
    width: 160%;
    height: 130%;
    position: absolute;
    bottom: -128%;
    left: -110%;
    /* display: none; */
    padding: 25px 15px 0px 15px;
    box-sizing: border-box;
    /* opacity: 0; */
    text-align: justify;
    /* visibility: hidden; */
    background-color: rgba(58, 58, 58, 1);
    z-index: 2;
    color: #fff;
    font-weight: 400;
    border-radius: 100%;
    transition: .4s;
}

.contenedor-info:hover figure{
    display: none;
}
.contenedor-info:hover  .animacion{
    /* display: block; */
    /* opacity: 1; */
    /* visibility: visible; */
    /* position: absolute; */
    left: -30%;
    bottom: -14%;
    
}

.contenedor-info:hover {
    color: white;
 }

.contenedor-info img {
    height: 100%;
    width: 100%;
    object-fit: cover;    /* Cubre todo el espacio sin deformarse */
    object-position: center;
    border-radius: 1px;
    position: absolute;
    z-index: 1;
    
}

.info{
    width: 100%;
    background-color: rgba(0, 0, 0, .35);
    text-align: center;
    padding-top:35px;
    top: 0;
    bottom: 0;
    position: absolute;
    z-index: 2;
    color: #fff;
    border-radius: 6px;
    display: block;
}
.info-2{
    display: none;
    position: relative;
    width: 82%;
    height: 200px;
    z-index: 3;
    align-self: center; 
    font-size: .9rem;
}
.info-2 p { 
    margin: 0; 
    word-wrap: break-word; 
    text-align: justify;
    line-height: 1.5;
    margin-top: 10px;
    /* Asegura que el texto no desborde el contenedor */ 
}
.contenedor-info:hover .info-2
{
    display: block; 
}
.contenedor-info:hover{
    scale: 1.2;
}
.info p{
    margin: 20px 20px 0px 20px;
    text-align: justify;
}


.imagenes{
    position: absolute;
}
.lectura{
    width: max-content;
    height: auto;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    border: solid #ced0d0 2px; 
    border-radius: 5px;
    gap: 1rem;
}
.lectura a{
    width: max-content;
    height: auto;
    align-self: center;
    padding: 5px 15px;
    text-decoration: none;
    color: white;
    background: #006cb8;
    border-radius: 7px;
    transition: .3s;
}

.lectura a:hover{

    background: #008FF5;
}

footer{
    width: 100vw;
    height: auto;
    background: #344656;
    margin-top: 50px;
    padding: 170px 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    color: #fff;
    box-sizing:border-box;
    
}

.footer-contacto{
    height: 380px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

.mapa{
    width: 500px;
    height: 500px;
}
.mapa p{
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 500;
    text-transform: uppercase;
}
.contacto{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}
.contacto p{
    color: #fff;
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;

}

.iconos{
    display: flex;
    justify-content: center;
    color: #fff;
    margin-top: 25px;
    
}
.iconos a{
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 20px 0 20px;
    text-decoration: none;
    color: #fff;
    transition: .4s;
}
.iconos a:hover{
    
    color: #32CFEE;
    

}
.iconos a i{
    font-size: 1.7rem;
    margin-bottom: 10px;
    
}


.flotante{
    position: fixed;
    bottom: 60px;
    right: 30px;
    font-size: 3rem;
    text-decoration: none;
    color: #25d366;
    z-index: 4;
    font-weight: bold;
    transition: .8s;
}

.flotante:hover{
    color: #075e54;
}
 iframe{
    border-radius: 2px;
 }

@media (max-width: 574px) {
    /* header{
        font-size: .1rem;
    }
        */


    .off-screen-menu{
        display: flex;
        flex-direction: column;
        align-items: end;
        gap: 4rem;
        position: fixed;
        top: 0;
        bottom: 0;
        right: -450px;
        padding: 8rem 4rem;
        background-color: #006cb8;
        
        color: white;
        font-size: 3rem;
        transition: .3s ease;

    }
    nav li a{
        font-size: 1.3rem;
    }
    .off-screen-menu.active{
        right: 0;
        box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .5);
    }
    
    nav ul{
        display: flex;
        flex-direction: column;
        align-items: end;
        gap: 3rem;
        font-size: 3rem;
        
    }
    nav ul li a{
        color: white;
        
        
    }
       
    .menu{
        display: block;

    }
    


    header > div {
        margin: 0 25px;
    }

    nav li a{
        margin-left: 1rem;
    } 


    .ham-menu {
        height: 50px;
        width: 40px;
        margin-left: auto;
        position: relative;
        background-color: white;
        z-index: 4;
        transition: .3s ease;
    }
    .ham-menu.active{
        background-color: #006cb8;
    }
    .ham-menu span.active{
        background-color: white;
    }


    .ham-menu span {
        height: 5px;
        width: 100%;
        background-color: #6F86FF;
        border-radius: 25px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%);
        transition: 2s ease;
    }
    .ham-menu span:nth-child(1) {
        top: 25%;
    }
    .ham-menu span:nth-child(3) {
        top: 75%;
    }
    .ham-menu.active span {
        background-color: white;
    }
    .ham-menu.active span:nth-child(1) {
        top: 50%;
        transform: translate(-50%) rotate(45deg);
    }
    .ham-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .ham-menu.active span:nth-child(3) {
        top: 50%;
        transform: translate(-50%) rotate(-45deg);
    }
    .mapa{
        width: 85vw;
        height: 350px;
        margin-bottom: 100px;
    }
    .anuncio-text{
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        width: 32%;
        height: 240px;
    }
    footer{
        padding: 80px 0px;
    }
    .iconos a{
        font-size: .9rem;
    }
}

@media (max-width: 718px){
    .contenedor{
        width: 100%;
    }
}

@media (max-width: 1024px){
    footer{
        flex-direction: column-reverse;
    }
    .contacto{
        margin-bottom: 100px;
    }

    .footer-contacto{
        flex-direction: column-reverse;
        height: 450px;
    }
}

