/*------ fuentes -------*/
@font-face{
    font-family: 'Roboto';
    src: url(../Font/Roboto-Bold.ttf);
    font-weight: bold;
    font-style: bold;
}
@font-face{
    font-family: 'Roboto';
    src: url(../Font/Roboto-Regular.ttf);
    font-weight: normal;
    font-style: normal;
}



*{margin: 0; padding: 0; box-sizing: border-box;}
body{font-family:'Roboto'; background: #EAE9E9; overflow-x: hidden;}


/*----- Cuadros de colores ------*/
.Botones{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}
/*----- ICONOS ----*/
.icono{
  position: absolute;
  margin-bottom: 100px;
  z-index: 2;  
}

/*------------------------------------------*/
/* ----- DIMENSIONES, COLORES, FUENTES------*/
/*------Y AJUSTES DE BOTONES EN GENERAL-----*/
/*------------------------------------------*/
.boton{
    margin-top: 20px;
    display: inline-flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    color: #fff;
    width:100%;
    height: 200px;
    font-size: 50px;
    border: none;
    cursor: pointer;
    transition: .3s ease all;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 150px;
    box-sizing: border-box;
    flex-wrap: wrap;
}
.boton:hover{
	font-size: 60px;
}
.container-fluid .Botones div a{
    text-decoration: none;
} 
/*------------------------*/
/*----- AJUSTES SPAN -----*/
/*------------------------*/
.boton span{
    position: relative;
    z-index: 2;
    transition: .3s ease all;
}

/*------------------------*/
/*----- BOTON INICIO -----*/
/*------------------------*/
.boton.inicial{
    background-color: #c00202; /*--------cambio de color boton Rojo sin mouse----------------*/
    font-family: 'Roboto';
    font-weight: bold;
}
.boton.inicial::after{
    content: "";
    width: 300%;
    position: absolute;
    z-index: 1;
    top: 0;
    left: calc(-300% - 500px);
    border-right:100px solid transparent;
    border-bottom:200px solid #9c0b2f;/*--------cambio de color boton rojo pasar mouse----------------*/
    transition: .5s ease-in-out all;
}
/*EFECTO HOVER*/
.boton.inicial:hover::after{
    left: 0;
}

/*------------------------*/
/*----- BOTON PRIMARIA #0d01a2---*/
/*------------------------*/
.Botones div a .primaria{
    text-decoration: none;
    background: linear-gradient(to right, transparent 50%, #0d01a2 50%);
    background-size: 200%;
    background-repeat: no-repeat;
    background-position: right;
    transition: background-position .6s ease-int-out all;
    font-family: 'Roboto';
    font-weight: bold;
}
.Botones div a .primaria::after{
    content: "";
    width: 100%;
    margin-top: -100px;
    position: absolute;
}
/*EFECTO HOVER*/
.Botones div a .primaria:hover{
    background-position: left;
    border: 2px solid #0d01a2;
    color: #0d01a2;
}

.Botones div a .diferent{
     background: linear-gradient(to right, transparent 50%, #0d01a2 50%);/*---------boton naranja color sin mouse---------------*/
     background-size: 200%;
     background-repeat: no-repeat;
    background-position: right;
    transition: background-position .6s ease-int-out all;
}
.Botones div a .diferent:hover{
    background-position: left;
    border: 2px solid #0d01a2;/*-------borde de color de boton naranja-----------------*/
    color: #0d01a2;/*-------------color del icono de juegos naranja-----------*/
}

/*---------------------*/
/*---- BOTON MEDIA ----*/
/*---------------------*/
.boton.media{
    border: none;
    background-color:  #febf00;
}
.boton.media span{
    position: absolute;
    background: black;
    transition: .6s ease all;
    font-family: 'Roboto';
    font-weight: bold;
}
.boton.media span:nth-child(1){
    width: 100%;
    height: 2px;
    top: 0;
    left: -100%;
}
.boton.media span:nth-child(2){
    width: 100%;
    height: 2px;
    bottom: 0;
    right: -100%;
}
.boton.media span:nth-child(3){
    width: 2px;
    height: 100%;
    bottom: -100%;
    left: 0;
}
.boton.media span:nth-child(4){
    width: 2px;
    height: 100%;
    right: 0;
    top: -100%;
}

/*EFECTO HOVER*/
.boton.media:hover span:nth-child(1){
    left: 0;
}
.boton.media:hover span:nth-child(2){
    right: 0;
}
.boton.media:hover span:nth-child(3){
    bottom: 0;
}
.boton.media:hover span:nth-child(4){
    top: 0;
}
.boton.media:hover{
    color:black;
}
/*---- tercera opcion ---*/
.contain{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 30px;
    flex-wrap: wrap;
}
.contain .clases{
    display: flex;
    flex-direction: column;
    width: 40em;
    overflow: hidden;
}
.contain .pequeño {
    width: 30em;
    overflow: hidden;
}
.contain .clases .img{
    width: 100%;
    height: 30em;
    overflow: hidden;
    margin: auto;
}
.contain .pequeño .imag{
    width: 25em;
    height: 30em;
    overflow: hidden;
    margin: auto;
    margin-top: 10px;
}
.contain .pequeño .imag img,
.contain .clases .img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clas_inter{
    padding: 2em;
}
.contain .clases .clas_inter{
    margin-top: 5em;
}
.contain .clases .clas_inter h3{
    font-size: 2em;
    font-weight: bold;
    color:#febf00;
    width: 90%;
    padding: 5px;
    margin-left: 4em;
    margin-bottom: 15px;
    font-family: 'Roboto';
}
.contain .pequeño h3{
    font-size: 2em;
    font-weight: bold;
    color:#0c00a1;
    width: 100%;
    margin-bottom: 15px;
    font-family: 'Roboto';
}
.contain .clases .clas_inter p{
    width: 27em;
    margin-left: 7em;
    text-align: justify;
    padding: 5px;
    font-size: 1.1em;
    margin-bottom: 30px;
    font-family: 'Roboto';
    font-weight: normal;
}

.contain .clases .clas_inter .bt_2{
    margin-left: 8em;
    background-color: #0d28d9;/*color de boton contactanos azul sin mouse     */
}
.contain .clases .clas_inter .bt_2:hover{
    background-color: #dd28ed;/*color de boton contactanos pulpura con mouse     */
}
.contain .pequeño .clas_inter .bt_3{
    background-color: #e31e42;/*   color de boton de aula virtual   sin mouse   */
}
.contain .pequeño .clas_inter .bt_3:hover{
    background-color: #5ae65d;/*   color de boton de aula virtual  cuando pasa el mouse    */
}
.contain .pequeño .clas_inter p{
    margin-bottom: 40px;
    font-family: 'Roboto';
    font-weight: normal;
text-align: justify;
}
/*---- cuarta opcion ----*/
.contenedor_cuadro{
	color: #fff;
	widows: 100%;
    background-color: #febf00;/*---- CAMBIO DE COLOR DE FONDO PARTE 4 ----*/
}
.cuarta{
	padding: 80px;
	margin: auto;
	width: 100%;
	margin-top: 100px;
}
.cuarta .titulo_cuatro{
	text-align: center;
	transition: all .5s;
}
.cuarta .titulo_cuatro h3{
	font-size: 3em;
    font-family: 'Roboto';
    font-weight: bold;
}
.cuarta .titulo_cuatro:hover{
	color:#1aeb44;/*---- color de la fuente dentro del cuadro opcion 4 ----*/
}
.cuarta p{
	text-align: center;
	width: 80%;
	margin: 40px  auto 40px;
	transition: all .5s;
	font-size: 1.3em;
    font-family: 'Roboto';
    font-weight: normal;
}
.cuarta p:hover{
	color:#0d0c0a;/*---- color de la fuente dentro del cuadro opcion 4 cuando pasa mouse----*/
}
.cuarta .boton_enviar{
	background-color: #152ae8;/*---- color del boton dentro del cuadro opcion 44----*/
	width: 150px;
	padding: 15px;
	text-align: center;
	cursor: pointer;
	justify-content: center;
	margin: auto;
	transition: all .5s;
    font-family: 'Roboto';
    font-weight: bold;
    letter-spacing: 2px;
}
.cuarta .boton_enviar:hover{
	background-color: #FFF000;
}
.cuarta a{
	text-decoration: none;
	color: #fff;
	font-size: 1em;
}
/*------ opción cinco -----*/
.container .section_content{
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    padding: 40px;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
}
.container .titulo_galery{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin: auto;
}
.container .titulo_galery h3{
    font-size: 3.5em;
    color: #0d01a2;
    padding: 20px;
    margin: auto;
    font-weight: bold;
    font-family: 'Roboto';
    font-weight: bold;
}
.container .titulo_galery .parrafo_galery{
    width: 80%;
    margin: 10px auto;  
}
.container .titulo_galery .parrafo_galery p{
    font-size: 1em;
    color: #737373;
    font-family: 'Roboto';
    font-weight: normal;
}
.container .section_content{
    width: 100%;
    align-items: center;
    margin: auto;
    justify-content: center;
}
.container .section_content .galery_img {
    width: 20em;
    height: 25em;
    overflow: hidden;
    
}
.container .section_content .galery_img .imagen{
    height: 100%;
    overflow: hidden ;
    display: flex;
    text-align: center;
    justify-items: center;
    justify-content: center;
    position: relative;
    
}
.container .section_content .galery_img .titulo{
    display: flex;
    text-align: center;
    justify-content: center;
    padding: 20px;
    color: #fff;
    margin: auto;
    width: 100%;
    font-family: 'Roboto';
    font-weight: bold;
}
/*--- color del titulo de cada cuadro---*/
 .cuadro_1{
    background-color: #c00202;
 }
 .cuadro_2{
    background-color: #0d01a2;
 }
 .cuadro_3{
    background-color: #febf00;
 }
 .cuadro_4{
    background-color: #0d01a2;
 }
 .cuadro_5{
    background-color: #febf00;
 }
 .cuadro_6{
    background-color: #c00202;
 }
.container .section_content .galery_img .imagen img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .5s ease-out;
    overflow: hidden;}
.container .section_content .imagen:hover > img {
    transform: scale(1.3);
}
.container .section_content .galery_img .imagen::after{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .5s ease;
}
.container .section_content .galery_img .imagen:hover::after{
    background-color: rgba(0, 0, 0, 0.2);
}
/*------ SABER MAS -----------*/
.opcion_seis{
    width: 100%;
    background-color: #C8C8C8;
    height: 70em;
}
.opcion_seis .fondo_imag .background{
    background-image: url("../image/quinta/fondo1.png");
    background-size: cover;
    background-repeat: none;
    background-position: center;
    height: 35em;
    transition: all .9s ease;
    overflow: hidden;
}
.opcion_seis .fondo_imag .background:hover{
    background-image: url("../image/quinta/fondo2.png");
}
.opcion_seis .fondo_imag .saber_mas{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 90%;
    max-width: 70em;
    margin:auto;
    padding: 10px 20px 10px 20px;
    background-color: #FCFCFC;
    justify-content: center;
    align-items: center;
    margin-top: -200px;
    flex-wrap: wrap;
}

.opcion_seis .saber_mas .text{
    display: flex;
    text-align: left;
    align-items: center;
    flex-direction: column;
    padding: 0px 30px 10px 30px;
    width: 80%;
    margin: auto;
}
.opcion_seis .saber_mas .text span h3{
    font-size: 4em;
    font-weight: bold;
    width: 100%;
    font-family: 'Roboto';
    font-weight: bold;
}
.opcion_seis .saber_mas .text p{
    width: 100%;
    padding: 20px;
    justify-content: left;
    text-align: left;
    margin-left: -1em;
    font-family: 'Roboto';
    font-weight: normal;
}

.leer{
    width: 200px;
    background-color: #0c00a1;
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 15px;
    font-weight: bold;
    font-size: 1em;
    font-family: 'Roboto';
    letter-spacing: 2px;
}
.leer:hover{
    background-color: #febf00;
    color: #fff;
}

/*------ contactenos ---------*/

.container_contact .botones{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: none;
}
.container_contact .botones .boton_1{
    background-color: #0d01a2;
    position: relative;
    overflow: hidden;
    z-index: 3;
}
.container_contact .botones .boton_1 span{
    z-index: 200;
}
.container_contact .botones .boton_2{
    background-color: #febf00;
}
.container_contact .botones .boton_3{
    background-color: #c00202;
}
.container_contact .botones .boton_4{
    background-color: #36CDF9;
}
.container_contact .botones a{
    text-decoration: none;
}
.container_contact .botones .contact_boton{
    padding: 40px;
    width: 100%;
    text-align: left;;
    height: 17rem;
    cursor: pointer;
    transition: all .4s ease-in-out; 
}
.container_contact .botones .contact_boton span,
.container_contact .botones .contact_boton h3,
.container_contact .botones .contact_boton p{
    color: #E4E1E1;
    font-family: 'Roboto';
    font-weight: bold;
}
.container_contact .botones .contact_boton span{
    font-size: 3.5em;
    transition: all .4s ease-in-out;
}
.container_contact .botones .contact_boton:hover > span{
    font-size: 4.5em;
}
.container_contact .botones .contact_boton p{
    font-size: 1em;
    margin-top: 15px;
    font-weight: bold;
}
.container_contact .botones .contact_boton h3{
    font-size: 1.3em;
}
.container_contact .img_back{
    width: 100%;
    height: 40em;
    overflow: hidden;
    position: relative;
}
.container_contact .img_back > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .3s ease-out;
}
.container_contact .img_back:hover > img {
    transform: scale(1.3);
}
.container_contact .img_back::after{
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .5s ease;
}
.container_contact .img_back:hover::after{
    background-color: rgba(0, 0, 0, 0.5);
}

/*------- Footer ---------*/
.footer{
    background: #808180;
    
}
.footer .footer_content{
    justify-content: center;
    margin: auto;
    display: flex;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
}
.footer .footer_content .titular{
    margin: 20px;
    height: 100%;
    background: linear-gradient(white 35%, #0c00a1 35%,#0977E7 50%);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 10px 10px 10px 1px rgba(0, 0, 0, 0.2);
}

.footer .footer_content .titular .imagen{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #fff;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    margin: auto;
}
.footer .footer_content .titular h3{
    text-align: center;
    font-family: 'Roboto';
    font-weight: bold;
}
.footer .footer_content .titular p{
    width: 20em;
    margin: auto;
    font-family: 'Roboto';
    font-weight: normal;
}
.footer .footer_content .titular .imagen > img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/*-------- texto final -------*/
.final_pag{
    padding: 20px;
    background-color: #575757;
}
.final_pag .text_footer{
    display: flex;
    justify-content:center;
    color: #fff;
    align-items: center;
    text-align: center;
    font-size: 0.8em;
}
.final_pag .text_footer span{
    text-decoration: underline;
    margin: 6px;
}
.final_pag .text_footer p{
    margin-top: 15px;
    font-family: 'Roboto';
    font-weight: normal;
}
.final_pag .text_footer span:hover{
    text-decoration: none;
}
.final_pag .text_footer span a{
    color: #A197FE;
    font-family: 'Roboto';
    font-weight: normal;
}
.final_pag .text_footer span a:hover{
    text-decoration: none;
    color: #999898;
}
.final_pag .text_footer .punto{
    margin-left: -5px;
}
/*------- boton arriba ---------*/
.up-buttom{
    display: none;
    padding: 15px;
    background-color: rgba(26, 74, 195, 0.7);
    font-size: 1em;
    color: #fff;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    transition: .5s;
}
.up-buttom:hover{
    background-color: rgb(26, 74, 195)
}

/*--------------------------*/
/*--- EFECTOS RESPONSIVE ---*/
/*--------------------------*/

@media screen and (max-width:970px){
    .Botones{
        margin-top: 20px;
        height:;
        min-width: 170px;
        font-size: 30px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    .Botones div{
        margin-top: -20px;
    }
    .Botones,
    .container .section_content,
    .container_contact .botones{
        grid-template-columns: repeat(2, 1fr);
    }
    .opcion_seis{
        height: 100em;
    }
    .opcion_seis .fondo_imag .saber_mas{
        grid-template-columns: repeat(1, 1fr);
    }

    .contain .clases{
        margin-bottom: -100px;
    }
    .contain .clases .clas_inter h3,
    .contain .clases .clas_inter p{
        width: 100%;
        margin-left: 0;
        text-align: left;
        margin-bottom: 30px;
        align-items: left;
    }
}

@media screen and (max-width:600px){
    .Botones,
    .container .section_content,
    .container_contact .botones{
        margin: auto;
        justify-content: center;
        grid-template-columns: repeat(1, 1fr);
    }
    .opcion_seis{
        height: 85em;
    }
    .opcion_seis .saber_mas .text span h3{
        font-size: 2.5em;
    }

    .pequeño{
        margin-top: 50px;
    }
    .boton {
        font-size: 0;
        display: flex;
        min-width: 30px;
        text-decoration: none;
    }
    .botones div a{
    	text-decoration: none;
    }
    .icono{
        font-size: 40px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    .contain .clases .img,
    .contain .pequeño .imag{
        height: 300px;
    }
}