/* GENERAL */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Jost", sans-serif;
    color: #05380b;
    background-color: #F2CCCB;
    padding-top: 70px;
}

/* NAVBAR */
.menu-principal {
    background-color: #F2CCCB;
    box-shadow: 0 4px 10px rgb(82, 82, 82);
    padding: 0;
}

.logo-nav {
    width: 55px;
}

.nav-link {
    color: black;
    font-size: 15px;
    padding: 18px 24px !important;
}

.nav-link.active,
.nav-link:hover {
    color: #e71f46 !important;
}

.nav-link.active {
    font-size: 20px;
}

.redes-nav .nav-link {
    color: #e71f46;
    font-weight: bold;
    font-size: 20px;

}

.redes-nav .nav-link,
.redes-footer a {
    display: inline-block;
    position: relative;
    z-index: 10000;
    cursor: pointer;
}

/*PÁGINA FACMED*/

/* HERO */
.facmed-hero {
    background-color: #F2CCCB;
    padding: 120px 20px 80px;
}

.facmed-hero h1 {
    font-family: "Caveat Brush", cursive;
    color: #05380b;
    font-size: 56px;
    line-height: 1.25;
    margin-bottom: 25px;
}

.facmed-hero p {
    color: #05380b;
    font-size: 18px;
    margin-bottom: 0;
}

/* GALERÍA */
.facmed-galeria {
    background-color: white;
    padding: 28px 55px 80px;
}

.facmed-img {
    width: 100%;
    height: 720px;
    object-fit: cover;
    display: block;
    transition: transform .35s ease, filter .35s ease;
}

.facmed-img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .22));
}

/* ANIMACIÓN */
.facmed-hero,
.facmed-img {
    animation: aparecerFacmed .8s ease both;
}

@keyframes aparecerFacmed {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FOOTER */
.footer-principal {
    background-color: #F2CCCB;
    padding: 55px 0;
}

.footer-principal h2 {
    font-family: "Caveat Brush", cursive;
    color: #05380b;
    font-size: 48px;
    margin-bottom: 0;
}

.logo-footer {
    width: 80px;
    display: block;
    margin: 0 auto;
}

.footer-principal p {
    color: black;
    font-size: 20px;
    margin-bottom: 8px;
}

.redes-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 22px;
}

.redes-footer a {
    color: #e71f46;
    text-decoration: none;
    font-weight: bold;
    font-size: 24px;
    display: inline-block;
}

@keyframes aparecerXoco {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE FACMED */
@media (max-width: 1199.98px) {

    .facmed-hero h1 {
        font-size: 48px;
    }

    .facmed-img {
        height: 620px;
    }
}

@media (max-width: 991.98px) {

    .facmed-hero {
        padding: 100px 20px 70px;
    }

    .facmed-hero h1 {
        font-size: 42px;
    }

    .facmed-hero p {
        font-size: 17px;
    }

    .facmed-img {
        height: 560px;
    }
}

@media (max-width: 767.98px) {

    .facmed-hero {
        padding: 85px 20px 55px;
    }

    .facmed-hero h1 {
        font-size: 34px;
        line-height: 1.25;
    }

    .facmed-hero p {
        font-size: 15px;
        line-height: 1.5;
    }

    .facmed-galeria {
        padding: 0 0 60px;
    }

    .facmed-img {
        height: auto;
        max-width: 420px;
        margin: 0 auto;
    }

    .footer-principal {
        text-align: center;
    }

    .footer-principal .row {
        text-align: center;
    }

    .footer-principal .text-md-start,
    .footer-principal .text-md-end {
        text-align: center !important;
    }

    .redes-footer {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 22px;
        margin-top: 10px;
    }

    .redes-footer a {
        margin: 0;
    }
}