:root {
    --text-color-white: #ffffff;
    --background-white: #ffffff;
    --text-color-black-secondary: #474747;
    --background-white-50: #ffffff50;
    --background-white-75: #ffffffb2;
}

/* ---------------------------------------------- */
.mt-5 {
    margin-top: 3rem !important;
}

footer {
    background-color: var(--text-color-black-secondary);
    padding-bottom: 8px;
}

/* ======================================= */
.background-image-footer {
    background-image: url(../img/images/pattern-background-footer.svg);
    background-repeat: repeat;
    background-size: 300px;
    width: 100%;
    height: 100px;
}

div {
    display: block;
    unicode-bidi: isolate;
}

.row-links-footer h2 {
    font-size: 19.2px;
    font-weight: 700;
    color: var(--background-white);
}

.row-links-footer a,
.row-links-footer p {
    text-decoration: none;
    color: var(--background-white-75);
    font-size: 16px;
    font-weight: 300;
}

.row-links-footer a:hover {
    color: var(--background-white-50);
}

.row-links-footer ul {
    list-style: none;
    padding: 0;
}

.row-links-footer li {
    margin: 5px 0px;
}

.row-links-footer img {
    text-align: center !important;
}

.content-phone-footer {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: auto;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    width: 100%;
}

.card-phone-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-phone-footer h6 {
    color: var(--background-white);
    text-align: center;
    font-size: 16px;
    margin-top: 10px;
}

.card-phone-footer span {
    font-size: 12.8px;
    text-align: center;
    color: var(--background-white-75);
    margin-top: 2px;
}

.line-footer {
    width: 100%;
    height: 2px;
    background-color: var(--background-white-50);
    margin-top: 32px;
    margin-bottom: 32px;
}

.municipio-footer-link {
    margin: 0 auto 16px;
    width: fit-content !important;
}

.municipio-footer-link a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 300ms;
}

.municipio-footer-link a:hover {
    opacity: 50%;
    transition: 300ms;
}

.municipio-footer-link img {
    width: 60px;
}

.municipio-footer-link h6 {
    color: var(--background-white);
    font-size: 16px;
    font-weight: 100;
}

.copy-right {
    text-align: center;
}

.copy-right a {
    text-decoration: none;
    color: var(--background-white-50);
    font-size: 12.8px;
    font-weight: 100;
    transition: 300ms;
}

.copy-right a:hover {
    color: var(--background-white);
    transition: 300ms;
}

.logo-viva-footer {
    width: 100%;
    height: auto;
}

@media (max-width: 991px) {

    .content-phone-footer {
        grid-template-columns: repeat(5, 1fr);
        grid-row-gap: 32px;
    }

    .logo-viva-footer {
        width: 250px;
    }
}

@media (max-width: 767px) {

    .logo-viva-footer {
        display: none;
    }

    .row-links-footer a,
    .row-links-footer p,
    .row-links-footer h2,
    .row-links-footer li {
        text-align: center;
    }

    .content-phone-footer {
        grid-template-columns: repeat(4, 1fr);
        grid-row-gap: 32px;
    }

}

@media (max-width: 475px) {

    .content-phone-footer {
        grid-template-columns: repeat(3, 1fr);
        grid-row-gap: 32px;
    }

    .logo-viva-footer {
        width: 190px;
    }
}

@media (max-width: 385px) {

    .content-phone-footer {
        grid-template-columns: repeat(2, 1fr);
        grid-row-gap: 32px;
    }
}