@import url('https://fonts.cdnfonts.com/css/bodidota');

* {
    font-family: 'Creato Display', sans-serif;
    text-decoration: none;
    list-style: none;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --white-color: #fff;
    --main-color: #5d050ca8;
    --red-color: #5D050C;
    --secondary-color: #896a3e;
    --bg-color: #000000;
    --background-cookies-color: rgba(0, 0, 0, 0.788);
    --whatsapp-color: #25d366;
    --border-black: rgba(0, 0, 0, 0.425);
    --border-white: rgba(255, 255, 255, 0.404);
}

footer {
    width: 100%;
    color: var(--white-color);
    z-index: 10000;
}

#footer_content {
    background-color: var(--red-color);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 3rem 3.5rem;
    gap: 1.5rem !important;
}

#footer_content h4 {
    font-weight: 800;
    font-size: 1.2rem;
}

.logo_footer img {
    max-width: 400px;
    padding-right: 70px;
}

#footer_social_media {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    justify-content: center;
    padding-right: 70px;
}

.footer_link {
    text-decoration: none;
    color: var(--white-color);
}

.footer_link i {
    font-size: 1.25rem;
}

#footer_social_media .footer_link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 25%;
    transition: all 0.3s;
}

#footer_social_media .footer_link:hover {
    opacity: 0.8;
}

#instagram, #facebook, #whatsapp {
    background: var(--secondary-color);
}

#footer_links {
    display: flex;
    flex-direction: column;
}

#footer_links h4 {
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.4rem;
    margin-bottom: 1.5rem;
    width: 90px;
}

h2 {
    font-size: 12pt;
}

#footer_about {
    gap: 1.5rem;
}

#footer_about ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#footer_links a,
#footer_about p,
.localizacao h2 a,
.horario h2 a {
    color: var(--white-color);
    text-decoration: none;
}

.localizacao h4, .horario h4 {
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.4rem;
    width: 100px;
}

.localizacao h2, .horario h2 {
    font-weight: 300;
}

.footer-list {
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
    gap: 1.5rem;
}

.footer-list .footer-link {
    color: var(--white-color);
    transition: all 0.5s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease;
    padding-bottom: 10px;
    border-radius: 0;
    text-decoration: none;
    color: var(--white-color);
}

.footer-list .footer-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    border-bottom: 1px solid var(--white-color);
    z-index: -1;
    transition: width 0.4s ease;
}

.footer-list .footer-link:hover::before {
    width: 100%;
}

.footer-list .footer-link:hover {
    color: var(--white-color);
}

.localizacao,
.horario {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.localizacao h4,
.horario h4 {
    width: 100%;
    margin-bottom: 1.5rem;
}

.localizacao h4, .horario h4 {
    width: 140px;
    margin-bottom: 1.5rem;
}

.horario h4 {
    width: 280px;
}

#footer_copyright {
    display: flex;
    justify-content: center;
    background-color: var(--red-color);
    padding: 1.5rem;
    flex-direction: column;
    font-size: 0.9rem;
    text-align: center;
    border-top: 1px solid var(--border-white);
}

@media (max-width: 1490px) {
    #footer_content {
        padding: 3rem 2rem;
    }

    #footer_social_media {
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    #footer_content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .logo_footer img {
        max-width: auto;
        padding-right: 0;
    }

    #footer_social_media {
        padding-right: 0;
        justify-content: center;
    }
}

@media (max-width: 912px) {
    #footer_contacts {
        align-items: center;
        margin: 0 auto;
        text-align: center;
        height: auto;
    }

    #footer_social_media {
        justify-content: center;
    }

    #footer_about {
        align-items: center;
        text-align: center;
    }
    #footer_links, .localizacao, .horario {
        align-items: center;
        text-align: center;
    }
    #footer_links h4, .localizacao h4, #footer_about h4, .horario h4 {
        padding-bottom: 0.4rem;
    }
    #footer_content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        padding: 3rem 1.5rem;
    }
    .logo_footer {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    #footer_content {
        grid-template-columns: repeat(1, 1fr);
        padding: 3rem 1.5rem;
        gap: 3rem;
    }
}

@media (max-width: 690px) {
    #footer_content {
        padding: 3rem 1rem;
    }
    #footer_copyright {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .logo_footer img {
        max-width: 90%;
        height: auto;
    }
    #footer_copyright {
        font-size: 0.75rem;
    }
}