footer {
    background-color: var(--dark-gray);
}

footer .content-wrapper {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    flex-direction: column;
}

#footer-wrapper {
    display: flex;
    align-items: start;
    flex-direction: row;
    justify-content: start;
    gap: 6%;
    width: -webkit-fill-available;
    width: -moz-available;
    padding: 70px 40px 50px 40px;
}

.footer-menu {
    display: flex;
    align-items: start;
    flex-direction: row;
    justify-content: start;
    gap: 16%;
    width: 69%;
}

#footer-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: -webkit-fill-available;
    width: -moz-available;
    margin: 20px 40px;
    padding: 28px 0 7px 0;
}

.logo-newsletter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 340px;
}

.logo-newsletter-wrapper .logo-img {
    /* width: 214px; */
    width: fit-content;
    height: 24px;
}

.newsletter-input-wrapper {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding-top: 19px;
}

.logo-newsletter-wrapper input {
    width: 100%;
    height: 56px;
    padding-inline: 24px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 16px;
    border: none;
    font-size: 16px;
    font-weight: 500;
    font-family: "Golos Text", sans-serif !important;
}

.logo-newsletter-wrapper input:focus,
.logo-newsletter-wrapper input:focus-visible {
    border: none;
    outline: none;
}

.logo-newsletter-wrapper .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 56px;
    height: 56px;
    padding-inline: 17px;
    background: #fff62d;
    color: #000000;
    border-radius: 25px;
    border: none;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.submit {
    background-color: var(--secondary-color);
    transition: all ease-in-out.3s;
}

.submit:hover {
    background-color: var(--primary-color);
    transition: all ease-in-out.3s;
}

footer .newsletter-text,
footer .rights-text {
    color: #ffffffB3;
}

footer .newsletter-text {
    margin: 0;
    width: 97%;
    font-size: 15.3px;
    line-height: 26px;
}

.footer-title {
    margin: 0;
}

footer .rights-text {
    font-size: 14px;
}

#footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-link ul {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 32px 0 0 0;
}

footer .footer-menu-wrapper ul,
footer #footer-bottom ul {
    padding: 0;
}

footer .footer-menu-wrapper li,
footer #footer-bottom li {
    display: flex;
    align-items: center;
    list-style-type: none;
    color: var(--primary-color);
    font-size: 14px;
    line-height: 14px;
    font-weight: 400;
    transition: all ease-in-out.3s;
    cursor: pointer;
}

footer .footer-title,
footer .footer-menu-wrapper li a,
footer #footer-bottom li a {
    color: var(--primary-color);
    text-decoration: none;
}

footer .footer-menu-wrapper li:hover a,
footer #footer-bottom li:hover a {
    color: var(--link-hover-color);
    transition: all ease-in-out.3s;
}

@media (max-width: 991px) {
    #footer-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
}

@media (max-width: 767px) {
    #footer-wrapper {
        padding: 70px 40px 0px 40px;
    }

    .logo-newsletter-wrapper {
        align-items: center;
    }

    footer .newsletter-text {
        text-align: center;
    }

    .footer-menu {
        flex-direction: column;
        align-items: center;
    }

    .footer-title, 
    footer .footer-menu-wrapper li {
        text-align: center;
        justify-content: center;
    }

    .footer-list {
        margin: 24px 0 60px 0;
    }

    #footer-bottom {
        margin: 0 40px 20px 40px;
    }
}

@media (max-width: 575px) {
    #footer-wrapper {
        padding: 70px 15px 0px 15px;
    }

    .logo-newsletter-wrapper {
        width: 290px;
    }

    #footer-bottom {
        flex-direction: column;
    }

    #footer-bottom ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    footer .rights-text {
        text-align: center;
    }
}