.footer-top-wrapper {
    background-color: var(--color-main);
}

.footer-top {
    width: 100%;
    max-width: var(--max-width);
    margin: auto;
    padding: 3rem 1rem;
    color: var(--color-text-light);
    display: flex;
    justify-content: space-between;
}

.footer-top-buttons {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.footer-top-buttons .header-contact a {
    /*padding: 0.75rem 2rem;*/
    /*border: 1px solid var(--color-button);
    font-size: 1.125rem;*/
}

.newsletter-button button {
    border: 1px solid var(--color-text-light);
    background-color: transparent;
    color: var(--color-text-light);
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    cursor: pointer;
}

.footer-column {
    text-align: left;
}
.footer-column:first-child img {
    margin-bottom: 2rem;
    width: 200px;
}
.footer-column:nth-child(2) {
    /*text-align: center;*/
    align-self: center;
}
.footer-column:last-child {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: right;
}
.footer-column li {
    list-style: none;
    padding: 0.25rem 0;
}

.footer-column:last-child h3 {
    margin-top: 1rem;
}
.footer-column p {
    padding-bottom: 1rem;
    line-height: 1.5;
}
.footer-column a {
    display: block;
    padding: 0.125rem 0;
    text-decoration: none;
    color: var(--color-text-light);
}

.footer-social {
    display: flex;
    justify-content: end;
    gap: 1rem;
    flex: 1;
}
.footer-copyright {
    text-align: right;
}

.footer-bottom {
    background-color: var(--color-main);
}

.footer-bottom-content {
    width: 100%;
    max-width: var(--max-width);
    margin: auto;
    padding: 3rem 1rem;
    color: var(--color-text-light);
    border-top: 1px solid #fff3;
    display: flex;
    justify-content: space-between;
}
.footer-bottom a {
    text-decoration: none;
    color: var(--color-text-light);
}

@media only screen and (max-width: 1200px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .footer-top-left, .footer-top-right {
        width: 100%;
        flex: 1;
    }
    .footer-top-left {
        text-align: center;
    }
    .footer-top-buttons {
        justify-content: center;
    }
}

@media only screen and (max-width: 1080px) {
    .footer-columns {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
}

@media only screen and (max-width: 800px) {
    .footer-column {
        max-width: 480px;
        margin: auto;
        text-align: center !important;
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .footer-social {
        justify-content: center;
        text-align: center;
    }
    .footer-copyright {
        font-size: 0.75rem;
        text-align: center;
    }
    .footer-top-left {
        font-size: 1.25rem;
    }
}

@media only screen and (max-width: 640px) {
    .footer-top-buttons {
        flex-direction: column;
        gap: 1.5rem
    }
    .newsletter-button {
        width: 100%;
    }
    .newsletter-button button {
        width: 100%;
    }
    .footer-top-buttons .header-contact, .newsletter-button .header-contact a {
        width: 100%;
    }
}

/***************************/

.newsletter {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: #0009;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.newsletter.show {
    display: flex;
}
.newsletter-form {
    position: relative;
    background-color: var(--color-main);
    padding: 4rem;
    width: 640px;
    max-width: 90vw;
    text-align: center;
}
.newsletter-form h3 {
    color: var(--color-text-light);
    font-size: 1.5rem;
    font-weight: normal;
    padding-bottom: 1.5rem;
}
.newsletter-form .button-close {
    background-color: transparent;
    border: none;
    font-size: 2rem;
    padding: 1rem;
    position: absolute;
    top: 0;
    right: 1rem;
    cursor: pointer;
    color: var(--color-text-light);
}
.newsletter-form .input-email {
    width: 100%;
    background-color: #fff;
    padding: 1rem;
    display: block;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
.newsletter-form #btnSubmit {
    display: block;
    margin: auto;
    margin-top: 1rem;
    padding: 1rem 3rem;
    background-color: var(--color-green);
    border: none;
    font-size: 1.25rem;
    color: var(--color-text-light);
    cursor: pointer;
}

.newsletter-form .error {
    color: #f66;
}