.footer-main {
    ul, ol {
        list-style: none;
    }

    img {
        max-width: 100%;
        display: block;
    }

    p {
        margin: 0;
    }
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
}

footer {
    height: 500px;
    background-color: #1E2023;
    width: 100%;
    padding: 80px 0 32px;
    /* max-width: 1920px; */
    margin: 0 auto;
}

.footer-main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-nav__project {
    color: var(--Body-text, #858F9C);
    /* Desktop/Subtitle 1 */
    font-family: Inter;
    font-size: var(--font-20);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.4px;
}

.footer-nav__project > img {
    margin-bottom: 32px;
}

.footer-nav__menu {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 160px;
}

.footer-nav__list {
    display: grid;
    gap: 24px 160px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.footer-nav__list > li > a {
    color: var(--Body-text, #858F9C);
    /* Desktop/Subtitle 2 */
    font-family: Inter;
    font-size: var(--font-18);
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 111.111% */
    letter-spacing: -0.36px;
    text-decoration: none;
    transition: all 0.25s;
}

.footer-nav__list > li > a:hover {
    color: var(--Primary-white, #FEFEFE);
    text-decoration: underline;
}

.footer-nav__mail {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-nav__mail > p {
    color: var(--Body-text, #858F9C);
    /* Desktop/Subtitle 1 */
    font-family: Inter;
    font-size: var(--font-20);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.4px;
}

.footer-nav__mail > a {
    color: var(--Primary-white, #FEFEFE);
    /* Desktop/Headline 4 */
    font-family: Inter;
    font-size: var(--font-24);
    font-style: normal;
    font-weight: 500;
    line-height: 32px; /* 133.333% */
    letter-spacing: -0.48px;
    text-decoration: underline;
}

.footer {
    display: flex;
    align-items: start;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(254, 254, 254, 0.15);
}

.footer > .socials {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.footer > .copywrite {
    color: var(--Body-text, #858F9C);
    text-align: center;
    /* Desktop/Text 1 */
    font-family: Inter;
    font-size: var(--font-16);
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 125% */
    letter-spacing: -0.32px;
}

.footer__address {
    color: var(--Body-text, #858F9C);
    font-family: Inter;
    font-size: var(--font-16);
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 125% */
    letter-spacing: -0.32px;
}

@media (max-width: 1400px) {
    footer {
        height: 300px;
        padding: 40px 0 16px;
    }

    .footer-container {
        max-width: 900px;
    }

    .footer-nav__list {
        gap: 6px 40px;
    }

    .footer-nav__menu {
        gap: 60px;
    }

    .footer-nav__project > img {
        height: 47px;
        margin-bottom: 16px;
    }

    .footer-nav__mail > p {
        font-size: var(--font-18);
        line-height: 26px;
    }
}

@media (max-width: 992px) {
    footer {
        height: auto;
        padding-bottom: 0;
    }

    .footer-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-main {
        height: auto;
        padding: 0;
    }

    .footer-nav {
        flex-direction: column;
    }

    .footer-nav__menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .footer-nav__project {
        margin-left: 16px;
        margin-right: 16px;
    }

    ul.footer-nav__list {
        width: 100%;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        border-bottom: 1px solid rgba(254, 254, 254, 0.15);
        padding-top: 44px;
        padding-bottom: 20px;
        padding-left: 16px;
        padding-right: 16px;
        gap: 16px;
    }

    .footer-nav__list > li > a {
        color: var(--Primary-white, #FEFEFE);
    }

    .footer-nav__mail {
        padding: 24px 16px;
        gap: 4px;
    }

    .footer-nav__mail > p {
        line-height: 20px;
    }

    .footer-nav__mail > a {
        font-weight: 600;
        line-height: 22px;
        text-decoration: none;
    }

    .footer {
        background: #FEFEFE0D;
        padding: 12px 16px;
        border-top: none;
    }
}
