html {
    --res: calc(0.01 * 5vmin);
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #616161;
}

.title {
    background-color: #928DFF;
}

.title nav {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #080808;
    padding-top: 2%;
    padding-bottom: 2%;
    font-weight: bolder;
    font-family: 'Dancing Script', cursive;
}

.title img {
    margin-left: 5%;
    margin-right: 5%;
    width: 5%;
    height: 5%;
}

.bar>ul {
    padding-left: 0;
    font-size: 95%;
    background-color: #616161;
    display: flex;
    justify-content: space-around;
    list-style: none;
    margin-bottom: 0;
    align-items: center
}

.bar li {
    padding: 1%;
}

.bar a {
    font-family: 'Merriweather', serif;
    text-decoration: none;
    color: #e6e6e6;
}

.super-nav {
    position: relative;
}

.super-nav button {
    font-family: 'Merriweather', serif;
    text-decoration: none;
    color: #e6e6e6;
    border: none;
    background: none;
}

.sous-nav button {
    font-family: 'Merriweather', serif;
    text-decoration: none;
    color: #e6e6e6;
    border: none;
    background: none;
    width: 100%;
    text-align: center;
}

.sous-nav {
    border-top: 1px solid rgb(119, 119, 119);
    padding-top: 2%;
    padding-bottom: 2%;
    padding-left: 0;
    display: none;
    font-size: 110%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #616161;
    width: 100%;
    z-index: 1;
}

.sous-nav li {
    list-style: none;
    display: block;
}

.super-nav:hover .sous-nav,
.sous-nav:hover .sous-nav {
    display: block;
}

.last-nav1,
.last-nav2,
.last-nav3 {
    border: 1px solid rgb(119, 119, 119);
    padding-top: 2%;
    padding-bottom: 2%;
    padding-left: 5%;
    padding-right: 5%;
    display: none;
    font-size: 110%;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #616161;
    width: 100%;
    z-index: 2;
}

.last-nav1 li,
.last-nav2 .li,
.last-nav3 .li {
    list-style: none;
    display: block;
}

#sous-nav1:hover .last-nav1,
#sous-nav2:hover .last-nav2,
#sous-nav3:hover .last-nav3,
.last-nav1:hover .last-nav1,
.last-nav2:hover .last-nav2,
.last-nav3:hover .last-nav3 {
    display: block;
}

.slide {
    position: relative;
    overflow: hidden;
    /* cache tout ce qui dépasse */
    width: 100%;
}

.slides-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

.img-slide {
    min-width: 100%;
    /* chaque slide prend toute la largeur */
}

.img-slide img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.slide>img.arrow-left,
.slide>img.arrow-right {
    position: absolute;
    top: 50%;
    /* ajuste la taille */
    width: calc(64 * var(--res));
    height: auto;
    cursor: pointer;
    z-index: 1;
}

.arrow-left {
    left: 10px;
    transform: translateY(-50%) rotate(180deg);
}

.arrow-right {
    right: 10px;
    transform: translateY(-50%);
}

.Box-1 {
    background-color: #FFD1C1;
    text-align: center;
    padding-top: 3%;
    padding-bottom: 6%;
    width: 100%;
    height: 100%;
    font-family: "Sail", system-ui;
}

.Box-1 p {
    padding-bottom: 3%;
    margin-bottom: 0%;
}

.CHATONS h1 {
    width: 100%;
    padding-bottom: 0;
}

.CHATONS p {
    font-family: "Playwrite England SemiJoined"; 
}

.CHATONS img {
    width: 60%;
    height: 100%;
}

.CHATONS ul {
    display: flex;
    justify-content: space-evenly;
    padding-left: 0;
    width: 100%;
    list-style: none;
    align-items: center;
    font-family: 'Dancing Script', cursive;
}

.CHATONS li {
    width: 25%;
    list-style: none;
}

.footer {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    background-color: #616161;
}

.reseaux {
    color: #e6e6e6;
    background-color: #616161;
    font-family: "Josefin Sans", sans-serif;
    text-align: center;
    padding-top: 2%;
    padding-bottom: 2%;
}

.reseaux p {
    margin-bottom: 0;
}

.reseaux img {
    margin-right: 1%;
    margin-left: 1%;
}

@media screen {
    .title {
        font-size: calc(25px + 3.3vw);
    }

    .reseaux {
        font-size: 5vmin;
    }

    .Box-1 p {
        font-size: calc(15px + 3.3vw);
    }

    .CHATONS h1 {
        font-size: calc(8px + 1.75vw);
    }

    .CHATONS p {
        font-size: calc(5px + 1.25vw);
    }

    .reseaux img {
        width: 8vmin;
    }
}

@media screen and (min-width: 1200px) {
    .super-nav {
        font-size: calc(40 * var(--res));
    }

    .slide {
        height: 85vmin;
    }

}

@media screen and (max-width: 1200px) {
    .super-nav {
        font-size: 1.70vw;
    }

    .slide {
        height: 75vmin;
    }

}

@media screen and (max-width: 900px) {

    .slide {
        height: 55vmin;
    }

}
@media (hover: hover) and (pointer: fine) {
    .super-nav:hover .sous-nav {
        display: block;
    }
}