/* ==========================================================================
   Footer Styles
   ========================================================================== */

.footer {
    background: #222326;
    color: hsla(0, 0%, 100%, 0.8);
}

.footer__container {
    margin: 0 auto;
    max-width: 1300px;
}

/* ==========================================================================
   Main Footer Section
   ========================================================================== */

.footer__main {
    padding: 96px 50px 42px;
}

.footer__main .footer__container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

@media (min-width: 768px) {
    .footer__main .footer__container {
        flex-direction: row;
    }

    .footer__about {
        width: 33.33%;
    }

    .footer__nav {
        width: 66.66%;
    }
}

/* ==========================================================================
   Footer About (logo + icons)
   ========================================================================== */

.footer__logo {
    max-width: 320px;
    height: auto;
    margin-bottom: 24px;
}

.footer__icons {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.footer__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.64rem;
    height: 3.64rem;
    color: #FBC02D;
}

.footer__icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.footer__icon:hover {
    color: #fff;
}

/* ==========================================================================
   Footer Navigation
   ========================================================================== */

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer__nav {
        flex-direction: row;
        justify-content: flex-start;
    }

    .footer__nav-col {
        flex: 1;
    }
}

.footer__nav-title {
    font-family: helvetica, sans-serif;
    font-size: 1.22rem;
    font-weight: 400;
    line-height: 1.56;
    margin-bottom: 1.11rem;
    color: #fff;
}

.footer__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__nav-list li + li {
    margin-top: 0.56rem;
}

.footer__nav-list a {
    color: #fff;
    text-decoration: none;
}

.footer__nav-list a:hover {
    text-decoration: underline;
    color: #fff;
}

/* ==========================================================================
   Footer Bottom (copyright + links)
   ========================================================================== */

.footer__bottom {
    padding: 0 50px 40px;
}

.footer__legal {
    border-top: 1px solid hsla(0, 0%, 100%, 0.2);
    padding-top: 1.67rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__copyright {
    color: hsla(0, 0%, 100%, 0.8);
    font-size: 0.875rem;
}

.footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.footer__links li {
    margin: 0.5rem 0.84rem;
}

.footer__links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
}

.footer__links a:hover {
    text-decoration: underline;
    color: #fff;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1139px) {
    .footer__icons {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .footer__main {
        padding: 48px 50px 32px;
    }

    .footer__main .footer__container {
        gap: 24px;
    }

    .footer__main .footer__container {
        text-align: center;
    }

    .footer__logo {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .footer__icons {
        justify-content: center;
    }

    .footer__nav {
        text-align: center;
    }

    .footer__legal {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer__copyright {
        margin-bottom: 24px;
    }
}
