.footer {
    background-color: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
    color: var(--primary-foreground);
    position: relative;
}

.footer__top-gradient {
    position: absolute;
    height: 160px;
    width: 100%;
    top: -160px;
    left: 0;
    background: transparent linear-gradient(0deg, #070709 0%, #07070900 100%) 0% 0% no-repeat padding-box;
    opacity: 1;
    bottom: 0;
}

.footer__slider-container {
    max-width: fit-content;
    position: relative;
}

.footer__slider__container {
    align-items: center;
}

.footer__slider-gradient {
    background: linear-gradient(90deg, #070709 0%, transparent 5%, transparent 95%, #070709 100%);
    z-index: 2;
    position: absolute;
    width: 101%;
    left: -2px;
    height: 40px;
}

.footer__slide {
    flex: 0 0 10%;
    width: 20%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.footer__line {
    border: none;
    border-top: 1px solid white;
    width: 80%;
    opacity: 32%;
}

.footer_logo {
    max-height: 57px;
}

.footer__mid {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.footer__menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer a {
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--hover);
}

.footer__menu__title {
    letter-spacing: var(--leading-header);
    text-transform: uppercase;
    font-weight: 600;
}

.footer__menu__content {
    letter-spacing: 0.7px;
    font-weight: 300;
    width: fit-content;
}

.footer__bottom {
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: flex-end;
}

.footer__bottom__texts ul {
    display: flex;

    font-size: var(--font-size-xs);
    letter-spacing: 0.6px;
    gap: 50px;
}

.footer__bottom__texts {
    display: flex;
    gap: 50px;
    font-size: var(--font-size-xs);
}

.footer__bottom__icons {
    display: flex;
    gap: 10px;
}

.footer-block {
    padding-block: 20px;
    padding-block: 0;
    border-bottom: none;
    width: auto;
}

.footer__menu__title {
    cursor: auto;
}

.footer__menu__title::after {
    display: none;
}

.footer-block>* {
    display: flex;
}

.footer__networks {
    display: flex;
    gap: 1rem;
}

.footer__mid__left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media screen and (min-width: 451px) and (max-width: 767px) {
    .footer__networks {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .footer__networks {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 1575px) {
    .footer__slide {
        flex: 0 0 12%;
    }
}

@media screen and (max-width: 1280px) {
    .footer__slide {
        flex: 0 0 20%;
    }
}

@media screen and (max-width: 1024px) {
    .footer__top-gradient {
        display: none;
    }
}

@media screen and (max-width: 991px) {

    .footer {
        padding-bottom: 80px;
    }

    .footer__slide {
        flex: 0 0 25%;
    }

    .footer__menu {
        align-items: center;
    }

    .footer__mid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: space-evenly;
        justify-items: center;
        align-content: space-evenly;
        align-items: center;
        row-gap: 50px;
        text-align: center;
    }

    .footer_logo {
        grid-column: 1 / -1;
    }

}

@media screen and (max-width: 1023px) {

    .footer__slide {
        flex: 0 0 30%;
    }

    .footer__bottom__texts,
    .footer__bottom__texts ul {
        flex-direction: column;
        gap: 20px;
    }

}

@media screen and (max-width: 1023px) {


    .footer__bottom__texts {
        align-items: center;
    }

    .footer {
        gap: var(--spacing-inner-x);
    }

    .footer__menu {
        gap: 10px;
    }

    .menu-footer-container .menu {
        align-items: center;
    }

    .footer__mid {
        padding-top: 25px;
        display: flex;
        flex-direction: column;
        gap: 0px;
        text-align: center;
        align-items: stretch;
        max-width: 300px;
    }

    .footer__menu--basic {
        padding-bottom: 25px;
        border-bottom: rgba(255, 255, 255, 0.5) 1px solid;
    }

    .footer-block {
        gap: 20px;
        align-self: start;
        align-items: start;
        border-bottom: rgba(255, 255, 255, 0.5) 1px solid;
        width: 100%;
        padding-block: 20px;
    }

    .footer-block .footer__menu__title {
        width: 100%;
    }

    .footer-block .footer__menu__title::after {
        display: block;
    }

    .footer_logo {
        align-self: center;
        margin-bottom: 25px;
    }

    .footer_logo img {
        height: 40px;
    }

    .footer-block.open-block>* {
        display: flex;
    }

    .footer-block>* {
        display: none;
    }

    .footer__menu__title {
        font-size: var(--font-size-lg);
        display: flex;
    }


    .footer__bottom__texts,
    .footer__bottom__icons {
        margin: auto;
    }

    .menu-pied-de-page-container {
        text-align: center;
        width: 100%;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 50px;
    }
}

@media screen and (max-width: 420px) {

    .footer__slide {
        flex: 0 0 50%;
    }

}