.search-modal {
    top: 0;
    left: 0;
    display: flex;
    position: fixed;
    visibility: hidden;
    opacity: 0;
    width: 100vw;
    height: 100vh;
    background-color: hsl(var(--base-black) / 0);
    justify-content: center;
    align-items: center;
    padding-inline: 13%;
    transition: visibility .25s ease-in-out, opacity .25s ease-in-out;
}

.search-modal.show {
    z-index: 9999;
    visibility: visible;
    background-color: hsl(var(--base-black) / .9);
    opacity: 1;
}

.search-bar {
    width: 100%;
    position: relative;
}

.search-bar__input {
    width: 100%;
    background: none;
    color: hsl(var(--base-white));
    font-size: 1.125rem;
    border: none;
    border-bottom: 1px solid hsl(var(--base-white));
    padding-bottom: 2rem;
    transition: .25s border-color;
    outline: none;
}

.search-bar__input:focus {
    border: none;
    border-bottom: 1px solid hsl(var(--base-red-500));
}

.search-bar__close-button {
    position: absolute;
    right: 0;
    background: none;
    color: hsl(var(--base-white));
}

/*< Search modal*/
/*> Aside drawer */
.connection-drawer {
    position: fixed;
    right: 0;
    transform: translateX(100%);
    top: 0;
    width: clamp(350px, 33.333%, 580px);
    transition: .5s transform;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 9999;
}

.connection-drawer__close-button {
    outline: none;
    border: none;
    position: absolute;
    background: none;
    right: 2.5rem;
    top: 1.5rem;
    padding: 0;
    margin: 0;
}

.connection-drawer section {
    padding: 1.5rem 5rem 2.5rem;

    @media (max-width:800px) {
        padding: 2rem;
    }
}

.connection-drawer section h3 {
    font-weight: normal;
    font-size: 2.25rem;
}

.connection-drawer.show {
    transform: revert;
}

.connection-drawer__login {
    background-color: hsl(var(--base-grey-400));
    flex-grow: .5;
}

.connection-drawer__login form {
    display: flex;
    flex-direction: column;
}

.connection-drawer__login .form-input {
    background-color: transparent;
    border: 1px solid hsl(var(--base-blue-500));
}

.connection-drawer__login form .button {
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

.connection-drawer__login__forgotten-pwd {
    color: black;
    text-decoration: none;
}

.connection-drawer__login__forgotten-pwd:hover {
    color: hsl(var(--base-red-500));
    text-decoration: underline;
}

.connection-drawer__register {
    background-color: hsl(var(--base-blue-200));
    flex-grow: 2;
}

.connection-drawer__register p {
    margin: 2.5rem 0;
}

.connection-drawer__register__socials {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.connection-drawer__register__socials a {
    color: hsl(var(--base-blue-500));
    font-size: 1.375rem;
}

/*> Aside drawer */
.profil-drawer {
    position: fixed;
    right: 0;
    transform: translateX(100%);
    top: 0;
    min-width: 250px;
    transition: .5s transform;
    height: 145vh;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    background-color: hsl(var(--base-grey-400));
}

.link-profil {
    margin: 1rem 0;
    width: 100%;
    text-align: center;
}

.profil-link {
    text-decoration: none;
    color: hsl(var(--button-color));
    width: fit-content;

}

.profil-drawer__close-button {
    outline: none;
    border: none;
    position: absolute;
    background: none;
    right: 2.5rem;
    top: 1.5rem;
    padding: 0;
    margin: 0;
}

.profil-drawer section {
    padding: 5.5rem 3rem 2.5rem;

    @media (max-width:800px) {
        padding: 2.5rem 0;
    }
}

.profil-drawer section h3 {
    font-weight: normal;
    font-size: 2.25rem;
}

.profil-drawer.show {
    transform: revert;
}

.profil-drawer__login {
    background-color: hsl(var(--base-grey-400));
    flex-grow: .5;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    width: 100% !important;
}

.profil-drawer__login form {
    display: flex;
    flex-direction: column;
}

.profil-drawer__login .form-input {
    background-color: transparent;
    border: 1px solid hsl(var(--base-blue-500));
}

.profil-drawer__login form .button {
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

.profil-drawer__login__forgotten-pwd {
    color: black;
    text-decoration: none;
}

.profil-drawer__login__forgotten-pwd:hover {
    color: hsl(var(--base-red-500));
    text-decoration: underline;
}

.profil-drawer__register {
    background-color: hsl(var(--base-blue-200));
    flex-grow: 2;
}

.profil-drawer__register p {
    margin: 2.5rem 0;
}

.profil-drawer__register__socials {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.profil-drawer__register__socials a {
    color: hsl(var(--base-blue-500));
    font-size: 1.375rem;
}

.profil-links {
    padding: 1rem;
    width: 100%;
}
.link-profil {
    padding: 1rem;
}

/*< Aside drawer */
/*> Burger drawer */
.burger-drawer {
    position: fixed;
    right: 0;
    transform: translateX(100%);
    top: 0;
    width: clamp(350px, 33.333%, 580px);
    transition: .5s transform;
    height: 245vh;
    display: flex;
    flex-direction: column;
    z-index: 9999;

    @media (max-width:800px) {
        width: 100% !important;
    }
}

.link-burger {
    padding: 0.75rem 1rem;
    margin: 0.5rem 0;
    width: 100%;
    text-align: center;
    min-width: 180px;
}

.burger-link {
    text-decoration: none;
    color: hsl(var(--button-color));

}

.burger-drawer__close-button {
    outline: none;
    border: none;
    position: absolute;
    background: none;
    right: 2.5rem;
    top: 1.5rem;
    padding: 0;
    margin: 0;
}

.burger-drawer section {
    padding: 2.5rem 0;
}

.burger-drawer section h3 {
    font-weight: normal;
    font-size: 2.25rem;
}

.burger-drawer.show {
    transform: revert;
}

.burger-drawer__login {
    background-color: hsl(var(--base-grey-400));
    flex-grow: .5;
}

.burger-drawer__login form {
    display: flex;
    flex-direction: column;
}

.burger-drawer__login .form-input {
    background-color: transparent;
    border: 1px solid hsl(var(--base-blue-500));
}

.burger-drawer__login form .button {
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

.burger-drawer__login__forgotten-pwd {
    color: black;
    text-decoration: none;
}

.burger-drawer__login__forgotten-pwd:hover {
    color: hsl(var(--base-red-500));
    text-decoration: underline;
}

.burger-drawer__register {
    background-color: hsl(var(--base-blue-200));
    flex-grow: 2;
}

.burger-drawer__register p {
    margin: 2.5rem 0;
}

.burger-drawer__register__socials {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.burger-drawer__register__socials a {
    color: hsl(var(--base-blue-500));
    font-size: 1.375rem;
}

.burger-links {
    padding: 0.5rem 1rem;
}

.burger-head {
    display: flex;
    flex-direction: column;
}
.brand-burger {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.brand-burger img {
    margin: 0 35% 1rem;
}
.burger-socials {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.burger-phone {
    text-decoration: none;
    color: hsl(var(--base-blue-500));
}
.burger__content__info__socials {
    color: hsl(var(--base-blue-500));


    &:hover{
        color: hsl(var(--base-red-500));
    }
}

.burger__content__info__socials svg {
     height: 1.5rem !important;
     margin: 1rem;
}
/*< Burger drawer */
.newsletter-modal-backdrop {
    top: 0;
    left: 0;
    position: fixed;
    visibility: hidden;
    opacity: 0;
    display: flex;
    width: 100vw;
    height: 100vh;
    background-color: hsl(var(--base-black) / 0);
    justify-content: center;
    align-items: center;
    transition: visibility .25s ease-in-out, opacity .25s ease-in-out;

    .close-button{
        position: absolute;
        right: 25px;
        top: 0;
        cursor: pointer;

        @media (max-width: 900px) {
            right: 10px;
        }

        .close{
            font-size: 3rem;

            @media (max-width: 900px) {
                font-size: 2rem;
            }
        }
    }
}
.newsletter-modal {
    flex-direction: row !important;
}
.newsletter-modal-backdrop.show {
    z-index: 9999;
    visibility: visible;
    opacity: 1;
    background-color: hsl(var(--base-black) / .9);
}

.newsletter-modal {
    width: 75%;
    height: 40%;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0 5rem;
    background-color: hsl(var(--base-grey-500));
    background-image: url('../images/blue-circle.svg'), url('../images/orange-circle.svg');
    background-repeat: no-repeat;
    background-size: 90%, 70%;
    background-position: left -350% bottom 10%, left -75% bottom 100%;
    
    @media (max-width: 1550px) {
        background-image: none;
        padding: 1rem 3rem !important;

        input.form-input, textarea.form-input, select.form-input{
            margin-top: 0;
            margin-bottom: 0;
        }
    }
}

.newsletter-modal__left-section {
    color: white;
    max-width: 25%;
    font-weight: normal;
    @media (max-width: 1550px) {
        display: none;
    }
}
.newsletter-modal__right-section {
    max-width: 45%;
    @media (max-width: 1550px) {
        max-width: 100%;
    }
}

.newsletter-modal__left-section__title {
    font-size: 2.625rem;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    line-height: 3rem;

    @media (max-width:800px) {
        font-size: 1.5rem;
    }
}

.newsletter-modal__left-section__pitch {
    font-size: 1.5rem;
    line-height: 1.875rem;
    color: hsl(var(--base-grey-400));
}

.newsletter-modal__right-section__title {
    font-size: 2rem;
    line-height: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 0;
    display: none;
    
    @media (max-width: 1550px) {
        display: flex;
        text-align: center;
    }
}

.newsletter-modal__right-section__form__consent {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
}
.newsletter-modal__right-section__form__consent input {
    margin: 2px;
}
.newsletter-modal__right-section__form__consent label {
    font-size: 12px;
}

.newsletter-modal__right-section__form__text-input {
    display: flex;
    padding: 1.125rem 0;
    gap: 1rem;
    justify-content: stretch;
}

.newsletter-modal__right-section__form__email-input {
    display: grid;
    grid-template-columns: repeat(6,1fr) ;
    padding: 1.125rem 0;
    justify-content: stretch;

    @media (max-width: 550px) {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}

.newsletter-modal__right-section__form__email-input .form-input {
    margin: 0;
    grid-column-start: 1;
    grid-column-end: 7;
    grid-row: 1;

    @media (max-width: 550px) {
        width: 100%;
    }
}

.newsletter-modal__right-section__form__email-input .button {
    grid-column-start: 4;
    grid-column-end: 7;
    grid-row: 1;
    height: 100%;
    width: 100%;
    border-radius: 3rem;

    @media (max-width: 550px) {
        width: fit-content !important;
    }
}

.newsletter-modal__right-section__form input[type="checkbox"]:checked {
    accent-color: hsl(var(--base-green-500));
}

@media (max-width: 850px) {
    .newsletter-modal {
        width: 85%;
        height: fit-content !important;
        padding: 4vw !important;
        display: flex;
    }
    .newsletter-modal__right-section__form {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
    }

    .newsletter-modal__right-section__form__text-input {
        display: flex;
        flex-direction: column !important;
    }
}

/* DIAPORAMA MODAL */
.diaporama-modal-backdrop {
    top: 0;
    left: 0;
    position: fixed;
    visibility: hidden;
    opacity: 0;
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    background-color: hsl(var(--base-black) / 0);
    justify-content: center;
    align-items: center;
    transition: visibility .25s ease-in-out, opacity .25s ease-in-out;
}

.diaporama-modal-backdrop.show {
    z-index: 9999;
    visibility: visible;
    opacity: 1;
    background-color: hsl(var(--base-black) / .9);
}

.carousel-diapo {
    width: 50%;
    height: 60%;
    flex-direction: row;
    display: flex !important;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.carousel-diapo div {
    height: 100% !important;
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
}
.slider-nav {
    margin: 1rem;
    width: 50%;
    display: flex !important;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;

    @media (max-width: 700px) {
        display: none !important;
    }
}
.slider-miniature {
    width: 50px !important;
    height: 50px;
    margin: 0 1rem 0 1rem !important;
}

.slider-icons {
    margin: 0 1rem 0 1rem !important;
    position: relative;
    left: 2%;
}

.btn-slider-nav {
    margin: 0 1rem 0 1rem !important;
}

.btn-carousel-diapo {
    top: -20%;
    position: relative;
}

.close-diapo-modal {
    position: absolute;
    top: 0;
    right: 0;
    margin: 1rem 2rem;
}