.footer-container {
    position: relative;
    width: 100%;
    background-color: black;
    padding: 8px 24px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer-container.on-overview-page {
    padding-top: 140px;
}

.footer-container * {
    font-family: Obviously;
    color: white;
}

.footer-top {
    display: flex;
    flex-direction: column;
}

.footer-header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    width: 100%;
    gap: 19px;
}

.footer-title {
    font-family: Obviously Wide Medium;
    font-size: 26px;
    font-weight: 500;
    line-height: 60px;
}

.footer-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-newsletter {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 12px;
}

.footer-sub-title {
    font-family: Obviously Semibold;
    font-size: 12px;
    font-weight: 560;
    line-height: 17px;
    text-align: center;
    padding: 0 16px;
}

.sub-to-newsletter-btn {
    width: 122px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    line-height: 22.33px;
    border: solid white 1px;
}

.footer-content {
    margin-top: 33px;
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    width: 100%;
    gap: 25px;
    position: relative;
}

.office-title {
    font-family: Arizona;
    font-size: 20px;
    line-height: 24.66px;
    font-weight: 300;
}

.footer-email {
    font-family: Obviously Thin;
}

.office-info {
    font-family: Obviously Thin;
    font-size: 12px;
    line-height: 21.6px;
    font-weight: 300;
    max-width: 226px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin-top: 30px;
    padding-top: 5px;
}

.footer-links * {
    font-family: Arizona Light;
    text-transform: uppercase;
    font-size: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    border-top: solid white 1px;
    border-bottom: solid white 1px;
    width: 100%;
    line-height: 14px;
    padding: 19px 0;
    gap: 1px;
}

.footer-link-spacer {
    display: none;
}

.move-to-top-btn {
    position: absolute;
    background-color: black;
    height: 55px;
    width: 55px;
    border-radius: 50%;
    border: solid white 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    right: -12;
    bottom: -13;
}

.footer-icon {
    height: 30px;
    width: 30px;
}

.footer-terms {
    padding: 12px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    line-height: 15.65px;
}

.footer-terms p {
    line-height: 15.65px;
}

.footer-terms .footer-credit {
    font-family: Obviously;
    font-size: 10px;
}

.footer-terms .footer-credit-divider {
    display: none;
}

.footer-terms .content {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.footer-terms .navigation {
    display: flex;
    gap: 4.5px;
    align-items: center;
    line-height: 11px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-terms .navigation a {
    font-family: Obviously;
}

.navigation span:nth-child(4) {
    display: none;
}

.footer-phone-number {
    font-family: Obviously Thin;
}

@media (min-width: 370px) {
    .navigation span:nth-child(4) {
        display: block;
    }
}

@media (min-width: 450px) {
    .footer-container {
        padding-top: 36px;
    }

    .footer-title {
        font-size: 40px;
    }

    .footer-icons {
        margin-top: 6px;
    }

    .footer-content {
        margin-top: 36px;
    }

    .footer-link-spacer {
        display: unset;
    }

    .footer-links {
        height: 120px;
        padding: 11px 0;
        justify-content: center;
        flex-direction: unset;
        align-items: center;
        flex-wrap: wrap;
    }

    .move-to-top-btn {
        right: -3;
    }
    .footer-terms .footer-credit-divider {
        display: block;
    }
    .footer-terms .content {
        flex-direction: row;
        gap: 8.5px;
    }
}

@media (min-width: 590px) {
    .footer-container {
        padding-top: 20px;
    }

    .footer-header {
        gap: 23px;
    }

    .footer-content {
        height: unset;
        margin-top: 32px;
        gap: 109px;
        margin-right: 50px;
    }

    .footer-title {
        font-size: 48px;
    }

    .footer-sub-title {
        line-height: 17px;
    }

    .footer-icons {
        margin-top: 10px;
    }

    .office-info {
        line-height: 21.6px;
    }

    .footer-links {
        height: 90px;
        padding: 9px 0px;
    }
}

@media (min-width: 768px) {
    .footer-container {
        padding: 45px 24px 33px;
        align-items: unset;
    }
    
    .footer-container.on-overview-page {
        padding-top: 285px;
    }

    .footer-top {
        flex-direction: row;
    }

    .footer-header {
        align-items: unset;
        justify-content: unset;
        min-width: 355px;
        gap: 132px;
        margin-right: 68px;
    }

    .title-and-icons {
        display: flex;
        flex-direction: column;
        gap: 29px;
    }

    .footer-title {
        font-size: 72px;
        line-height: 92px;
    }

    .footer-sub-title {
        font-family: Obviously Thin;
        font-size: 16px;
        line-height: 31px;
        text-align: unset;
        padding: 0;
    }

    .footer-icons {
        margin-top: 0;
        justify-content: unset;
        gap: 8px;
    }

    .footer-icon {
        height: 37.5px;
        width: 37.5px;
    }

    .footer-newsletter {
        align-items: unset;
        gap: 32px;
    }

    .footer-content {
        display: flex;
        gap: 40px;
        margin-top: 24px;
    }

    .office {
        display: flex;
        flex-direction: column;
        gap: 14px;
        font-size: 16px;
    }

    .office-title {
        font-size: 22px;
        line-height: 32px;
        margin-bottom: 0;
    }

    .office-info {
        font-family: Obviously Thin;
        font-size: 16px;
        line-height: 32px;
        max-width: 297px;
    }

    .footer-content {
        margin-right: unset;
    }

    .footer-bottom {
        margin: 0;
        height: 100%;
        width: 100%;
        justify-content: unset;
        align-items: unset;
        padding-top: 38px;
    }

    .footer-links {
        justify-content: center;
        flex-direction: unset;
        align-items: center;
        flex-wrap: wrap;
    }

    .footer-link-spacer {
        display: unset;
    }

    .footer-terms {
        margin: 0;
        line-height: 41px;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        margin-top: 26px;
        padding: unset;
    }

    .footer-phone-number,
    .footer-email {
        font-family: Obviously Thin;
        white-space: nowrap;
        font-size: 16px;
    }

    .move-to-top-btn {
        display: none;
    }

    .footer-newsletter a {
        width: 219px;
    }

    .sub-to-newsletter-btn {
        width: 100%;
        height: 60px;
        font-size: 22px;
    }

    .footer-terms .footer-credit,
    .footer-terms .navigation {
        font-size: 10px;
    }
    .footer-terms .footer-credit-divider {
        display: none;
    }
    .footer-terms .content {
        gap: 30px;
    }
}

@media (min-width: 1194px) {
    .footer-container {
        padding: 30px 60px 32px;
    }

    .footer-header {
        gap: 29px;
    }

    .title-and-icons {
        gap: 31px;
    }

    .office-title {
        font-size: 24px;
    }

    .office-info {
        width: max-content;
        min-width: 267px;
    }

    .footer-terms .footer-credit,
    .footer-terms .navigation {
        font-size: 14px;
    }

    .footer-links {
        height: 174px;
        padding: 25px 0;
    }

    .footer-links a,
    .footer-links span {
        font-size: 30px;
    }

    .footer-sub-title {
        max-width: 355px;
    }

    .footer-newsletter {
        gap: 24px;
    }

    .footer-content {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 26px;
        margin-top: 20px;
    }

    .footer-bottom {
        padding-top: 35px;
    }

    .footer-terms {
        margin-top: 40px;
        gap: 27px;
    }
}

@media (min-width: 1600px) {
    .footer-container {
        padding: 82px 121px 33px;
    }

    .footer-container.on-overview-page {
        padding-top: 322px;
    }


    .footer-container .footer-top {
        justify-content: space-between;
    }

    .footer-header {
        margin: 0;
    }

    .footer-sub-title {
        max-width: unset;
    }

    .footer-container .footer-content {
        padding: 0 10px 0 0;
        margin: 0;
        gap: 19px;
        justify-content: flex-end;
        margin-top: 20px;
    }

    .footer-header .title-and-icons {
        gap: 15px;
    }

    .footer-container .footer-bottom {
        padding-top: 60px;
    }

    .footer-top {
        max-width: 1678px;
    }

    .footer-newsletter a {
        width: 221px;
    }

    .footer-terms {
        margin-top: 30px;
    }

    .office-info {
        max-width: 304px;
        width: 304px;
    }
}

@media (min-width: 1920px) {
    .footer-container .footer-links {
        max-width: 1678px;
        height: 102px;
    }

    .footer-top,
    .footer-bottom {
        width: 1678px;
        margin: 0 auto;
    }

    footer.on-get-in-touch {
        background-color: var(--color-black);
    }

    footer.on-get-in-touch .footer-bottom {
        padding-inline: 0px;
    }
}
