*{
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    list-style: none;
}

body {
    font-family: "Roboto", sans-serif;
    font-size: 15px;
}

.contenedor {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.btn-wsp {
    display: inline-block;
    position: fixed;
    bottom: 50px;
    right: 30px;
    width: 80px;
    height: 80px;
    border-radius: 50px;
    box-shadow: 3px 2px 6px rgba(0, 0, 0, .6);
}

/* ----HEADER---- */

header {
    width: 100%;
    background: url('../../img/portada\ escuela.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center 0;
}

header .contenedor {
    position: relative;
    height: 400px;
}

header .textos {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 40%;
    margin-top: -54px;
}

header .textos .nombre {
    font-size: 60px;
    font-weight: 300;
}

header .textos .nombre span {
    color: #009845;
    font-weight: 600;
}

body {
    background-color: #fff;
}

/* ----CONTENIDO DE LAS TARJETAS---- */

.main .ejes .titulo {
    color: #009845;
    font-size: 50px;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.main .ejes .texto {
    font-size: 24px;
    color: #494C4B;
    line-height: 28px;
    width: 90%;
    margin: 20px auto 10% auto;
    text-align: left;
    margin-bottom: 10px;
}

/*PRIMER MAIN CON TRES TARJETAS AJUSTES GENERALES*/

.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 60px;
}

.card,
.card2,
.card3 {
    width: 330px;
    background-color: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.6);
    margin: 20px;
}

.card img,
.card2 img,
.card3 img {
    width: 100%;
    height: auto;
}

.card-content,
.card-content2,
.card-content3 {
    padding: 20px;
}

/*CARD UNO, AQUI EMPIEZA TODO*/

.card-content h3 {
    color: #4e6225;
    font-size: 26px;
    margin-bottom: 2px;
}

.card-content h4 {
    font-size: 22px;
    color: #4e6225;
    padding: 20px 0;
}

.card-content p {
    color: #000;
    line-height: 1.3;
}

.card-content li {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 20px;
    color: #494C4B;
}

.card-content .btn {
    display: inline-block;
    padding: 10px 18px;
    background-color: #4e6225;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 16px;
    color: #fff;
}

/*CARD 2 AJUSTES*/

.card-content2 h3 {
    color: #ed6c42;
    font-size: 26px;
    margin-bottom: 8px;
}

.card-content2 h4 {
    font-size: 22px;
    color: #ed6c42;
    padding: 20px 0;
}

.card-content2 p {
    color: #000;
    line-height: 1.3;
}

.card-content2 li {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 20px;
    color: #494C4B;
}

.card-content2 .btn {
    display: inline-block;
    padding: 10px 18px;
    background-color: #ed6c42;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 16px;
    color: #fff;
}

/*CARD 3 AJUSTES*/

.card-content3 h3 {
    color: #91c549;
    font-size: 26px;
    margin-bottom: 8px;
}

.card-content3 h4 {
    font-size: 22px;
    color: #91c549;
    padding: 20px 0;
}

.card-content3 p {
    color: #000;
    line-height: 1.3;
}

.card-content3 li {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 20px;
    color: #494C4B;
}

.card-content3 .btn {
    display: inline-block;
    padding: 10px 18px;
    background-color: #91c549;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 16px;
    color: #fff;
}


/*SEGUNDO MAIN CON TRES TARJETAS*/

.card-content4,
.card-content5,
.card-content6 {
    padding: 20px;
}

.card4,
.card5,
.card6 {
    width: 330px;
    background-color: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.6);
    margin: 20px;
}

.card4 img,
.card5 img,
.card6 img {
    width: 100%;
    height: auto;
}

/*CARD 4 AJUSTES*/

.card-content4 h3 {
    color: #005210;
    font-size: 26px;
    margin-bottom: 8px;
}

.card-content4 h4 {
    font-size: 22px;
    color: #005210;
    padding: 20px 0;
}

.card-content4 p {
    color: #000;
    line-height: 1.3;
}

.card-content4 li {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 20px;
    color: #494C4B;
}

.card-content4 .btn {
    display: inline-block;
    padding: 10px 18px;
    background-color: #005210;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 16px;
    color: #fff;
}

/*CARD 5 AJUSTES*/

.card-content5 h3 {
    color: #74365f;
    font-size: 26px;
    margin-bottom: 8px;
}

.card-content5 h4 {
    font-size: 22px;
    color: #74365f;
    padding: 20px 0;
}

.card-content5 p {
    color: #000;
    line-height: 1.3;
}

.card-content5 li {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 20px;
    color: #494C4B;
}

.card-content5 .btn {
    display: inline-block;
    padding: 10px 18px;
    background-color: #74365f;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 16px;
    color: #fff;
}

/*CARD 6 AJUSTES*/

.card-content6 h3 {
    color: #ff9c00;
    font-size: 26px;
    margin-bottom: 8px;
}

.card-content6 h4 {
    font-size: 22px;
    color: #ff9c00;
    padding: 20px 0;
}

.card-content6 p {
    color: #000;
    line-height: 1.3;
}

.card-content6 li {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 20px;
    color: #494C4B;
}

.card-content6 .btn {
    display: inline-block;
    padding: 10px 18px;
    background-color: #ff9c00;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 16px;
    color: #fff;
}

/*TERCER MAIN CON UNA TARJETA*/

.card-content7,
.card-content8 {
    padding: 20px;
}

.card7,
.card8 {
    width: 330px;
    background-color: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.6);
    margin: 40px;
}

.card7 img,
.card8 img {
    width: 100%;
    height: auto;
}

/*CARD 7 AJUSTES*/

.card-content7 h3 {
    color: #92b746;
    font-size: 26px;
    margin-bottom: 8px;
}

.card-content7 h4 {
    font-size: 22px;
    color: #92b746;
    padding: 20px 0;
}

.card-content7 p {
    color: #000;
    line-height: 1.3;
}

.card-content7 li {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 20px;
    color: #494C4B;
}

.card-content7 .btn {
    display: inline-block;
    padding: 10px 18px;
    background-color: #92b746;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 16px;
    color: #fff;
}

/*CARD 8 AJUSTES*/

.card-content8 h3 {
    color: #4e0c0d;
    font-size: 26px;
    margin-bottom: 8px;
}

.card-content8 h4 {
    font-size: 22px;
    color: #4e0c0d;
    padding: 20px 0;
}

.card-content8 p {
    color: #000;
    line-height: 1.3;
}

.card-content8 li {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 20px;
    color: #494C4B;
}

.card-content8 .btn {
    display: inline-block;
    padding: 10px 18px;
    background-color: #4e0c0d;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 16px;
    color: #fff;
}

/* FOOTER */

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.footer {
    background-color:#009845;
    padding: 60px 0;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
}

.footer-link {
    width: 25%;
    padding: 0 15px;
}

.footer-link h4 {
    font-size: 30px;
    color: #ffff;
    margin-bottom: 25px;
    font-weight: 600;
    border-bottom:  2px solid #fff;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-link ul li a {
    font-size: 18px;
    text-decoration: none;
    color: #fff;
    display: block;
    margin-bottom: 15px;
    transition: all .3s ease;
}

.footer-link ul li a:hover{
    color: #494C4B;
    padding-left: 6px;
}

.social-link img {
    display: inline-block;
    min-height: 45px;
    width: 45px;
    margin: 0 10px 10px 0;
    text-align: center;
}


/* MEDIA QUERIES */
@media screen and (max-width: 800px) {
    header .textos {
        position: static;
        margin: 100px 0;
    }

    header .textos .nombre {
        font-size: 40px;
    }

    /*FOOTER*/

    .container {
        max-width: 600px;
    }

    .footer-link h4 {
        font-size: 22px;
    }

    .footer-link ul li a{
        font-size: 14px;
    }

    .social-link img {
        display:flow-root;
    }

}

@media screen and (max-width: 440px) {
    /*FOOTER*/
    .container {
        max-width: 400px;
    }

    .footer-link h4 {
        font-size: 16px;
    }
    
    .footer-link ul li a{
        font-size: 12px;
        
    }

    .social-link img {
        min-height: 26px;
        width: 26px;
    }
}
