*{
    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;
}

.contenedor {
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

/* ----HEADER---- */

header {
    width: 100%;
    background: url('../../img/blog\ portada.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center 0;
}

header .contenedor {
    position: relative;
    height: 400px;
}

header .menu {
    width: 100%;
    text-align: left;
}

header .menu a {
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    display: inline-block;
    margin: 90px 20px;
    text-decoration: none;
    position: relative;
}

header .menu a:hover {
    text-decoration: underline;
}

header .textos {
    width: 100%;
    color: #fff;
    position: absolute;
    top: 40%;
    margin-top: auto;
}

header .textos .nombre {
    font-size: 80px;
    font-weight: 300;
}

header .textos .nombre span {
    color: #cee0d7;
    font-weight: 600;
}



/* PROXIMOS EVENTOS */

body {
    background-color: #fff;
}

.main .titulo {
    color: #799b97;
    font-size: 48px;
    text-align: center;
    margin-top: 50px;
}

.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 20px;
}

/*.card-container2 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 20px;
}

.card-container3 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 20px;
}
*/

.card, .card2 {
    width: 480px;
    background-color: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    margin: 60px;
}

/*card3, .card4 {
    width: 480px;
    background-color: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    margin: 60px;
}

.card5, .card6 {
    width: 480px;
    background-color: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    margin: 60px;
}*/

.card img,
.card2 img,
.card3 img,
.card4 img,
.card5 img {
    width: 100%;
    height: auto;
}

.card-content {
    padding: 20px;
}

.card-content p {
    color: #000;
    line-height: 1.3;
}

.card h3 {
    font-size: 26px;
    margin-bottom: 8px;
    color: #ca8241;
}

.card2 h3 {
    font-size: 26px;
    margin-bottom: 8px;
    color: #810b9e;
}

.card3 h3 {
    font-size: 26px;
    margin-bottom: 8px;
    color: #4e6225;
}

.card-content .subtitulo {
    font-size: 22px;
    color: #ca8241;
    padding: 20px 0;
}

.card2 .card-content .subtitulo {
    font-size: 22px;
    color: #810b9e;
    padding: 20px 0;
}

.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: #00A75D;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 16px;
    color: #fff;
}




/* footer */

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.footer {
    background-color:#799b97;
    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;
    }
}