.slider{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    backdrop-filter: blur(1.5px);
    flex-wrap: wrap;
}

.slider h2{
    font-size: var(--title-size);
    font-family: var(--title-font);
}

.js-slider {
    position: relative;
    width: 70vw;
    height: 80vh;
    overflow: hidden;
}

.js-photos {
    position: relative;
    display: flex;
    left: -1000px;
    width: max-content;
    transition: left 0.3s ease;
}

.js-photo {
    flex-shrink: 0;
    position: relative;
    width: 70vw;
    height: 80vh;
    border-radius: 5px;

}

.salle1 {
    background-image: url("../assets/images/salle5.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.salle2 {
    background-image: url("../assets/images/salle4.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.salle3 {
    background-image: url("../assets/images/salle3.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.js-navigation {
    position: absolute;
    width: 95%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.js-btn-decale-droite,
.js-btn-decale-gauche {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: beige;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
}

.js-btn-decale-gauche {
    left: initial;
    right: 0;
}

