html,
body {
    --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: 3%;
    margin-right: 3%;
    width: 8%;
    height: 8%;
}

.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%);
}


.Text {
    display: flex;
    background-color: #FFD1C1;
    padding-top: 4%;
    padding-bottom: 4%;
    padding-right: 10%;
    padding-left: 10%;
    width: 100%;
    height: auto;
    flex-direction: column;
}

.Text p {
    margin-bottom: 0%;
    font-family: "Playwrite England SemiJoined";
    font-weight: 400;
    font-style: italic;
    padding-left: 0%;
    padding-right: 0%;
}

.Text img {
    width: 25%;
    height: 100%;
}

.Text h1 {
    padding-left: 5%;
    padding-top: 3%;
    font-family: 'Dancing Script', cursive;
}

.Text h2 {
    font-family: "Raleway", sans-serif;
    font-style: italic;
    font-weight: bold;
}

.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%;
}

#arrow {
    background-color: #e6e6e6;
    background: none;
    width: 3%;
    height: auto;

}

@media screen {
    .title {
        font-size: calc(25px + 3.3vw);
    }

    .reseaux {
        font-size: 5vmin;
    }

    .instagram, .facebook {
        width: 8vmin;
    }

    .tiktok {
        width: 6.5vmin;
    }

    .Text h1 {
        font-size: calc(16px + 1.8vw);
    }

    .Text h2 {
        font-size: calc(10px + 1.5vw);
    }

    .Text p {
        font-size: calc(9px + 1.3vw);
    }


}

@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;
        /* font-size: calc(32 * var(--res)) */
    }

    .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;
    }
}