@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
	padding: 0px;
	margin: 0px;
	box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}
body {
	display: grid;
	align-items: center;
	font-family: 'Poppins', sans-serif;
}

/*encabezado ------------------------------------------------*/
header{
    
    height: 25px;
    
}

nav .logo > img{
    width: 50px;
    display: none;
    background-color: #fff;
}

nav ul{
    background: linear-gradient(to right,#2b2e83, #2d96d2 );
    height: 35px;
    width: 60%;
    float: left;
    text-align: right;

}

nav{
    background: linear-gradient(to left, #229434, #b2e73f);
    position: fixed;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.5s ease;
    z-index: 100;
}

.nav.active{
    background: linear-gradient(to left, #229434, #b2e73f);

}

.nav.active .logo>img{
    display: block;
    padding-left: 20px;
    padding-right: 10px;
    width: 140px;
}
.nav.active a{
    color: #fff;
    font-size: 18px;

margin-left: 10px;
}

.nav.active .div{
    margin-left: auto;
    }

.nav.active ul{
    height: 60px;

    display: flex;
    align-items: center;
}


nav ul li{
    display: inline-block;
    line-height: 25px;
    margin: 0px 5px;
    margin-top: 5px;
}

nav ul li a{
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.5s ease;
}

nav ul li a:hover{
    padding: 5px 10px;
    background: #5a1886;
    color: #fff;
    border-radius: 15px;
}

.checkbtn{
    font-size: 20px;
    color: #fff;
    float: right;
    margin-right: 40px;
    margin-top:1.5px;
    cursor: pointer;
    display: none;

}
#check{
    display: none;
}



.scrol{
   height: 100px;
}

/*conoce nuestra institucion -----------------------------------------------*/

.col-institucion img{
    height: 340px;
}
.institucion{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 10px auto;
    
}

.institucion .col-institucion2{
    width: 61%;
    background-color: #2b2e83;
    height: 340px;
    margin-left: -13px;
    
}
.institucion .col-institucion{
    width: 40%;
}

.col-institucion2 h2{
   text-align: center;
   margin-top: 10%;
    color: #fff;
    font-size: 50px;
}



.texto-nuestra{
    max-width: 1200px;
    margin: auto;
    text-align: justify;
}

/* video youtube ------------------------*/

#oscuro2{
    margin-top: 25px;
    margin-bottom: 25px;
    text-align: center;
}

/* modulos academicos virtuales --------------------------------*/
.tarj{
    background-color: #2b2e83;
}
.tarj h1{
    color: #fff;
    background-color: #2b2e83;
    text-align: center;
    margin-top: 25px;
}
.tarjetas{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background: #2b2e83
}

.card{
    position: relative;
    width: 300px;
    height: 350px;
    margin: 20px;
}

.card .face{
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    transition: .5s;
}

.card .front{
    transform: perspective(600px) rotateY(0deg);
    box-shadow: 0 5px 10px #000;
}

.card .front img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card .front h3{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 45px;
    line-height: 45px;
    color: #fff;
    background: rgba(0, 0, 0, .4);
    text-align: center;
}

.card .back{
    transform: perspective(600px) rotateY(180deg);
    background: rgb(3, 35, 54);
    padding: 15px;
    color: #f3f3f3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 5px 10px #000;
    text-align: center;
}

.card .back .link{
    border-top: solid 1px #f3f3f3;
    height: 50px;
    line-height: 50px;
}
.card .back .link a{
    color: #f3f3f3;
}

.card .back h3{
    font-size: 20px;
    margin-top: 20px;
    letter-spacing: 2px;
}

.card .back p{
    letter-spacing: 1px;
}

.card:hover .front{
    transform: perspective(600px) rotateY(180deg);
}

.card:hover .back{
    transform: perspective(600px) rotateY(360deg);
}

/* creando ventanas emergentes -------------------------------*/

.ventana1{
    background: #1e1774;
    width: 30%;
    color: #fff;
    font-size: 18px;
    text-align: center;
    padding: 33px;
    min-height: 250px;
    border-radius: 25px;
    position: absolute;
    left: 35%;
    top: 35%;
    display: none;
    z-index: 99; 
    position: fixed;  
}
#cerrar{
    position: absolute;
    right: 10px;
    top: 5px;
    
}

/* que ofrecemos ------------------------------------------------------*/
.quee h1{
    text-align: center;
    color: #2b2e83;
    margin-top: 25px;
}

.fila1{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 10px auto;
}

.fila1 .col1{
    width: 50%;
}
.fila1 .col2{
    width: 50%;
}
.fila1 .col1 img{
    width: 300px;
}
.fila1 .col2 img{
    width: 300px;
    margin-left: 300px;
}
.fila1 .col1 h3{
    margin-left: 50px;
    margin-top: 30px;
}
.fila1 .col1 p{
    margin-left: 50px;
    text-align: justify;
    margin-right: -150px;
}
.fila1 .col2 h3{
    margin-left: -150px;
    margin-top: 30px;
}
.fila1 .col2 p{
    margin-left: -150px;
    text-align: justify;
}

/*nuestros valores ----------------------------------------------*/

.beneficios >h2{
    text-align: center;
 color: #2b2e83;
 margin-top: 25PX;
    
 }
 
 .containerr{
     display:flex;
     justify-content:space-evenly;
     flex-wrap:wrap;
     padding: 25px 0;
     width: 90%;
     max-width: 1200px;
     margin: auto;
     overflow: hidden;
 }
 
 .card2{
     width: 23%;
     margin-bottom: 10px;
     position: relative;
     height: 340px;
     margin: 10px;
     border-radius: 6px;
     overflow: hidden;
     background: #fff;
     box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
     cursor: default;
     transition: all 400ms ease;
 }
 

 
 .card2:hover{
     box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.4);
     transform: translateY(-3%);
 }
 
 .card2 .contenido{
     padding: 15px;
     text-align: center;
 }
 
 .card2 .contenido p{
     line-height: 1.5;
     
     font-size: 14px;
 }
 .card2 .contenido h3{
     font-weight: 400;
     font-size: 16PX;
     margin-bottom: 15px;
     
     font-weight: bold;
 }


/* sliders -----------------------------------------------------*/
.slider {
    width: 70vw;
    height: auto;
    margin: auto;
    overflow: hidden;
}

.slider .slide-track {
    display: flex;

    animation: scroll 40s linear infinite;
    -webkit-animation: scroll 40s linear infinite;
    width: calc(200px * 14);
}

.slider .slide {
    width: 200px;
}

.slider .slide img {
    width: 100%;
    margin-left: 100px;

}

@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(calc(-200px * 7));
        transform: translateX(calc(-200px * 7));
    }
}

@media (max-width: 400px){
.nuestra-ins img{
    margin-top: 35px;
}
    .texto-nuestra{
        max-width: 300px;
        margin: auto;
        text-align: justify;
    }

    /*conoce nuestra institucion -----------------------------------------------*/
#oscuro2 .hytPlayerWrapOuter .hytPlayerWrap .youtube{
    width: 336px;
    height: 189px;
}

/* que ofrecemos ------------------------------------------------------*/



.fila1{
    display:flex;
    flex-direction:column;
  
    max-width: 380px;
text-align: center;

}

.fila1 .col1{
    width: 100%;
}
.fila1 .col2{
    width: 100%;
}

.fila1 .col1 img{
    width: 200px;
    
}
.fila1 .col2 img{
    width: 200px;
    margin-left: 0px;
    
    
}
.fila1 .col1 h3{
    margin-left: 0px;
 
}
.fila1 .col1 p{
    margin-left: 0px;

    margin-right: 0px;
}
.fila1 .col2 h3{
    margin-left: 0px;
 
}
.fila1 .col2 p{
    margin-left: 0px;
    
}
/*nuestros valores ----------------------------------------------*/


 
 .containerr{
     
     width: 90%;
   
 }
 
 .card2{
     width: 90%;
     
 }
 /* encabezado-----------------*/

nav ul{
    
    height: 60px;
   

}

.nav.active ul{
    height: 45px;
}


nav ul li{
    display: inline-block;
    line-height: 20px;
    margin: 0px 5px;
    margin-top: 5px;
}

nav ul li a{
    
    font-size: 16px;
    
}

.nav.active ul li a{
    font-size: 14px;
    margin-left: 0px;
}

.nav.active .logo>img{
    display: block;
    padding-left: 0px;
    padding-right: 0px;
    width: 85px;
}

.nav.active ul{
    
    width: 100%;
    

}

 
 



}