*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
body{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

/*ANIMACIONES*/

/*Aparecer en su sitio Boton Whatsapp*/

@keyframes appear{
	from{
	opacity: 0;
	scale: 0.5;
}
	to{
	opacity: 1; 
	scale:1;
}
}

/*Aparecer de costado*/

@keyframes appear-right{
0% {
        transform: translateX(-100%); /* Comienza fuera de la pantalla a la derecha */
        opacity: 0; /* Comienza invisible */
        scale: 0.5;
    }
    100% {
        transform: translateX(0); /* Termina en su posición original */
        opacity: 1; /* Termina visible */
        scale: 1;
    }
}

/*Rebote infinito*/

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

/*Boton flotante Whatsapp*/

.btn-wsp{
    position: fixed;
    width: 55px;
    height: 55px;
    line-height: 55px;
    bottom: 30px;
    right: 50px;
    background-color: #039227fd;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 1.2);
    transition: all 400ms ease;
    z-index: 2;
    animation: appear 2s linear;
}

.btn-wsp:hover{
    text-decoration: none;
    color: #0df053;
    background: #fff;
    transform: translateY(-25%);
}

/*BARRA DE NAVEGACIÓN*/

.imagen_principal{
    display: flex;
    width: 450px;
    margin: 20px 0 0 250px;
    animation: bounce 2s infinite;
}
.imagen_principal img{
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #00009A;
    padding: 15px 20px;
    animation: appear-right 1s linear;
}

.nav-links {
    list-style: none;
    display: flex;

}

.nav-links li {
    position: relative;
    font-size: 17px;
    font-weight: 600;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px 30px;
    display: block;
}

.nav-links a:hover {
    background-color: #00009A;
    transition: 0.5s;
}

.dropdown {
    display: none;
    position: absolute;
    background-color: #0b0b0bb0;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1;
    text-align: center;
    width: 100%;
}
.fa-sort-down:hover{
    color: black;
}

.nav-links li:hover .dropdown {
    display: block;

}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 2.5px;
    width: 15px;
    background-color: white;
    margin: 2.5px 0;   
}

/*SLIDER_DE_LA_PAGINA*/

.slider {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    animation: appear 1s linear;
}

.slides {   
    display: flex;
    transition: transform 0.5s ease;
    
}

.slides img {
    width: 100%;
    height: auto;
    display: block;
}

button {    
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.227);
    color: aliceblue;
    border: none;
    cursor: pointer;
    padding: 10px 20px 10px 20px;
    border-radius: 50%;
}
button:hover{
    background-color: black;
    color: white;
    transition: 0.8s;
}
.prev {
    left: 10px;
    font-size: 20px;
    font-weight: 900;
}

.next {
    right: 10px;
    font-size: 20px;
    font-weight: 900;
}

/*Lema del Cetpro Munipal de Chorrillos*/

.frase-slider {
    color: white;
    background-color: #00009A;
    display: flex;
    justify-content: center;
    text-align: center;
    animation: appear-right 1s linear;
}
.frase-slider h3{   
    font-size: 45px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    padding: 5px;
}

/*PUBLICIDAD_DE_LOS_PROGRAMAS_DE_ESTUDIO*/

.container-publicidad{
    width: 100%;
}

.container-publicidad h1{
    width: 55%;
    margin: auto;
    margin-top: 60px;
    margin-bottom: 60px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: #22438c;
    background-color: rgb(23, 228, 255);
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0%;
}

.conjunto_publicidad{
    display: flex;
    flex-wrap: wrap;
    width: 95%;
    margin: auto;
}

.publicidad{
    width: 45%;
    margin-right: 30px;
    margin-left: 30px;
    cursor: pointer;
    transition: all 500ms ease;
    margin: auto;
    margin-bottom: 50px;
    margin-top: 25px;
    box-shadow: 0px 1px 10px rgba(0, 0, 0,0.2);
	animation: appear linear;
	animation-timeline: view();
	animation-range: entry 0%;
}

.publicidad img{
    width: 100%;
}

.publicidad:hover{
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-3%);
}

/*Titulo de Programa de Estudios*/
.titulo-seccion{
    color: rgb(9, 35, 91);
    font-size: 50px;
    font-family: Arial, Helvetica, sans-serif;
    padding: 20px 100px;
    font-weight: 900;
}
/*Cards*/
.programa-estudios{
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}
.programa-estudios a {
    text-decoration: none;
}
.card{
    margin: 20px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0px 1px 10px rgba(0, 0, 0,0.2);
    cursor: default;
    transition: all 400ms ease;
    text-align: center;
    cursor: pointer;
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0%;
}
.card:hover{
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-3%);
}
.card img{
    width: 450px;
}
.card a {
    text-decoration: none;
    display: inline-block;
    padding: 10px;
    margin-top: 10px;
    color: #1a0478;
    font-size: 25px;
}
.titulo{
    background-color: rgb(18, 27, 47);
}
.titulo h3{
    padding: 5px;
    font-family: sans-serif;
    font-size: 18px;
    color: aliceblue
}
/*Video de youtube*/
/*Titulo de youtube*/
.titulo-videos{
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
    color: rgb(9, 35, 91);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
    font-size: 45px;
}
/*Video de youtube*/
.video-youtube{
    max-width: 40rem;
    margin: auto;
}
.video-youtube iframe{
    width: 100%;
    aspect-ratio: 16/9;
}

/*PIE DE PAGINA*/

.container-footer{
    width: 100%;
    position: relative;
    width: 100%;
    display: flex;
    background-color: #112c66;
    height: 100%;
    justify-content: space-evenly;
    z-index: 101;
}
.footer-container{
    padding: 30px 100px 30px 0px;
}
.footer-container img{
    width: 400px;
}
.footer-container h2{
    font-size: 25px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: aliceblue;
    padding-bottom: 15px;
}
.footer-container p{
    font-size: 18px;
    font-family: "Noto Sans", sans-serif;
    color: white;  
}
.icon{
    text-align: center;
    font-size: 35px;
}
.icon a {
    color: white
}
.icon a:hover {
    color: black
    
}
.copyright{
    background-color:  rgb(18, 27, 47);
    color: rgb(230, 228, 228);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    padding: 15px 0 15px 0;
    text-align: center;
    height: 50px;
    overflow: hidden;
    position: relative;
    z-index: 101;
}


/*Resposive 1400px*/
.footer-container{
    padding: 0;
    padding: 20px
}

/* Responsive */
@media screen and (max-width: 1000px) {
    .imagen_principal{
        width: 350px;
        margin: 0;
        margin: auto;
        padding-top: 10px;
        padding-bottom: 10px ;
    }
    .nav-links {
        margin-top: 10px;
        margin-bottom: 10px;
        display: none;
        flex-direction: column;
        width: 100%;
    }
    .nav-links li {
        font-weight: 100;
        font-size: 15px;
    }
        
    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}

/*Responsive 769px*/
@media (max-width: 750px){
    .btn-wsp{
        bottom: 15px;
        right: 30px;
        font-size: 30px;
    }
    .imagen-principal img{
        margin: auto;
        padding: 10px 10px;
        width: 100%;
    }
    
    .frase-slider {
        height: 40px;
        align-items: center;
        padding: 30px;
        
    }
    .frase-slider h3{
        font-size: 18px;
        
    }
    .navbar{
        padding: 20px 20px;

    }
    .nav{
        flex-flow: column wrap;
    }
    .nav li a{
        font-size: 15px;
    }
    .container-publicidad h1{
        width: 100%;
        margin-top: 30px;
        margin-bottom: 35px;
        font-size: 20px;
        padding: 5px;
    }
    
    .conjunto_publicidad{
        display: block;
        flex-wrap: wrap;
        width: 100%;
        margin: auto;
    }
    .publicidad{
        width: 95%;
    }
    .titulo-seccion{
        text-align: center;
        font-size: 25px;
    }
    .programa-estudios{
        flex-direction: column;
        align-items:  center;
    }
    .card{
        width: 90%;
    }
    .card > img{
        width: 100%;
    }
    .titulo-videos{
        padding: 0;
        color: rgb(9, 35, 91);
        font-size: 25px;
        margin-bottom: 20px;
    }
    .container-footer{
        flex-flow: column wrap;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .footer-container{
        width: 90%;
        padding: 0;
        padding: 20px 0 20px 0;
        text-align: justify;
        text-align: center;
    }
    
    .footer-container h2{
        font-size: 18px;
        text-align: center;
    }
    .footer-container p{
        font-size: 15px;

    }
    .footer-container img{
        display: block;
        width: 200px;
        margin: auto;
    }
    .copyright{
        font-size: 15px;
        padding: 10px 0 35px 0;
        text-align: center; 
    }
}
/* Responsive */
@media (max-width: 600px) {
    button {
        padding: 5px 15px 5px 15px;
        border-radius: 50%;
    }
    .prev {
        font-size: 15px;
        font-weight: 900;
    }
    .next {
        font-size: 15px;
        font-weight: 900;
    }
}
@media screen and (max-width: 360px) {
    .imagen_principal{
        width: 250px;
    }
}   
