footer {
    position: relative;
    margin-top: -72px;
    background-color: var(--itamaweb-color);
}

.footer {

    display: flex;
    flex-direction: column;
    gap: 80px;

    padding-top: 232px;
    padding-bottom: 160px;
    margin-top: -72px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

footer h4,
footer p, 
footer .caption {
    align-self: center;
    color: var(--white);
    text-align: center;
}

footer h4 {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 170%;

    /* margin-bottom: 8px; */
}

footer .caption {
    margin-bottom: 0px;
}

footer .mail {
    font-size: 3rem;
    font-weight: 600;
    line-height: 125%;

    text-decoration: underline;

    color: var(--white);
    margin-bottom: 0px;
    align-self: center;
}

footer a {
    font-size: 1.125rem;
    font-weight: 600;

    color: var(--white);
}

.company-details {
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sub_footer {
    padding: 48px 0;
    border-top: 1px solid var(--white);

    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-details {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
}

.sub_footer .li_logo {
    align-self: center;
}

.logo img {
    display: block;
    height: 24px;
    width: auto;
    margin-left: 2px;
}

/* .board5 {
    position: absolute;
} */

@media (max-width: 1080px) {
    footer {
        margin-top: -64px;
    }

   footer .board {
    top: -56px;
   } 
}

@media (max-width: 1080px) {
    footer .mail,
    .section-contact .mail {
        font-size: 2.75rem;
    }
}

@media (max-width: 992px) {
    .sub_footer {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .footer-details {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 768px) {

    footer {
        margin-top: 24px;
    }

    footer .board {
        top: -24px;
    } 

    footer .mail,
    .section-contact .mail {
        font-size: 2.5rem;
    }

    footer a {
        font-size: 1rem;
    }

    .footer {
        padding-top: 176px;
        padding-bottom: 120px;
    }

    .logo img {
        height: 22px;
    }
}

@media (max-width: 528px) {
    .navigation_footer ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    footer .mail,
    .section-contact .mail {
        font-size: 2.25rem;
    }
}

@media (max-width: 430px) {
    footer .mail,
    .section-contact .mail {
        font-size: 2rem;
    }
}

#open_preferences_center {
    display: none;
}

