/* GENERALE */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: rgba(233, 233, 233, 0.95);
    color: #000000;
    font-family: "Inter", serif;
}

html {
    scroll-behavior: smooth;
}

img {
    object-fit: contain;
    width: 100%;
    border-radius: .33em;
    max-height: 80em;
    object-position: center;
}

video {
    width: 100%;
    object-fit: cover;
    max-height: 40em;
    border-radius: .33em;
    object-position: center;
}

.ytb {
    margin-top: 4em;
    margin-bottom: 4em;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.apla video {
    height: 49em;
}

.container {
    width: 92%;
    max-width: 120em;
    margin: 0 auto;
    margin-top: 2em;
}

.continder {
    width: 90%;
    margin: 0 auto;
}

a {
    color: #0a85dd;
}

p {
    color: #1f1f11ca;
    font-size: 15.8px;
    font-style: normal;
    font-weight: 550;
    line-height: 1.3em;
}

h2 {
    color: #1f1f11;
    font-size: 36px;
    font-style: normal;
    /* font-weight: 900 ;  */
    font-weight: 770;
    line-height: normal;
}

h3 {
    color: #1f1f1188;
    font-size: 22px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

h4 {
    color: #1f1f11ed;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;

}

span {
    color: #676767;
}

.flextypeaa {
    margin-top: 1em;
    display: flex;
    justify-content: space-between;
}

.flexgapi {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 5em;
}

.flexgapix {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 5em;
}

.flexgapix .contenu {
    width: 32.7%;
    height: 30vw;
    margin-top: .5%;
    margin-bottom: .5%;
}

.contenu img {
    height: 30vw;
    object-fit: cover;
}

.flexgapi img {
    width: 49.5%;
    margin-top: .5%;
    margin-bottom: .5%;
    object-fit: cover;
}

.flexgapib {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.flexgapib img {
    width: 32.7%;
    object-fit: cover;
    margin-top: .5%;
    margin-bottom: .5%;
}

.flexgapi video {
    margin-top: .5%;
    height: 42vw;
    object-fit: cover;
    margin-bottom: .5%;
}

.ciquantpourcent img {
    object-fit: cover;
    height: 100%;
}

.ciquantpourcent video {
    object-fit: cover;
    height: 100%;
}

.ciquantpourcent {
    width: 49%;
    height: 25em;
    overflow: hidden;
}

.vig {
    overflow: hidden;
    overflow-x: scroll;
    display: flex;
    width: 100%;
    margin-bottom: 2em;
}

.vig img {
    width: 19em;
}

.mo {
    display: none;
}

.de {
    display: block;
}

.reseis video {
    max-height: 15rem;
}

/* HEADER */
header {
    margin-bottom: -3em;
}

.title {
    color: rgb(144, 144, 144);
    width: 92%;
    display: flex;
    margin-top: 1em;
    justify-content: space-between;
}

.title h1 {
    font-size: 80px;
    font-style: normal;
    margin-top: -0.179em;
    text-transform: uppercase;
}

.title h1 a {
    color: rgb(144, 144, 144);
    text-decoration: none;
    font-weight: 980;
}

.menu {
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.menu a {
    color: rgb(144, 144, 144);
    text-decoration: none;
    font-size: 20px;
    font-style: normal;
    font-weight: 790;
}

.menu a:hover {
    color: rgb(59, 59, 59);
}

/* SLIDER */
.bigslide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.containswip {
    width: 100%;
}

.containswip img {
    display: block;
    width: 100%;
    height: 100%;

}

.swiper {
    width: 100%;
    padding: 12px 0;
    height: 82vh;
}

.swiper-slide {
    position: relative;
    width: 500px;
    aspect-ratio: 2.8/4;
    border-radius: 12px;
    cursor: grab;
    user-select: none;
    overflow: hidden;
}

.swiper-slide img {
    object-fit: cover;
    pointer-events: none;
}

.swiper-wrapper {
    transition-timing-function: linear !important;
}

/* BAGNIERE */
.bagnierteaser {
    margin-top: -5em;
    overflow: hidden;
    height: 40em;
}

.bagnierteaser img {
    object-fit: cover;

}

.bagnierteaser video {
    object-fit: cover;

}

/* INFO PROJET */
.infoprojet {
    width: 90%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.6em;
}

.datnomprojet {
    margin: 10px;
    width: 25%;
}

.datnomprojet h2 {
    margin-top: 0;
}

.datnomprojet h3 {
    margin-bottom: 0;
}

.infoprojet h4 {
    margin-bottom: 0;
}

.infoprojet p {
    margin-top: 10px;
}

.texteinfog {
    width: 50%;
    margin: 10px;
}

.texteinfod {
    width: 50%;
    margin: 10px;
}


/* VIDEO IMG */
.howto img {
    mix-blend-mode: darken;
    margin-bottom: 5em;
}

.spa {
    margin-top: 2em;
    margin-bottom: 7em;
}

.howto video {
    width: 100%;
    flex-shrink: 0;
    mix-blend-mode: multiply;
    box-shadow: 0px 4px 44px 0px rgba(0, 0, 0, 0.25);
    margin-bottom: 1em;
}

/* DEROULE */
.deroule {
    border-top: #000 .14em solid;

}

.derouleimg img {
    width: 613px;
    height: 312px;
    object-fit: cover;
    border-radius: .4em;
}

.derouleimg {
    flex-shrink: 0;
    padding-right: 1em;
}

.groupimgroule {
    overflow: hidden;
    overflow-x: scroll;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10em;
    scrollbar-color: black;
    scrollbar-width: block;


}

/* DEROULE MAIN */
.deroule {
    border-top: #000 .14em solid;

}

.deroulemainimg img {
    width: 613px;
    height: 100%;
    max-height: 90vh;
    object-fit: cover;
    border-radius: .4em;
}

.deroulemainimg {
    flex-shrink: 0;
    padding-right: 1em;
    max-width: 50%;
}

.groupimgroulemain {
    overflow: hidden;
    overflow-x: scroll;
    display: flex;
    justify-content: center;
    margin-bottom: 1em;
    margin-top: .12em;
    scrollbar-color: black;
    scrollbar-width: 2px;

}

/* --- SECTION VIDEOS --- */

.main-video video {
    width: 100%;
    margin-bottom: .5vw;
    border: #00000050 1px solid;
}

.thumbnails {
    display: flex;
    gap: 1vw;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1vw;
}

.thumbnails img {
    width: 15.5vw;
    height: 15.5vw;
    object-fit: cover;
    transition: transform 0.2s ease;
    border: #00000050 1px solid;
}

.thumbnails img:hover {
    transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 950px) {

    /* GENERALE */
    .container {
        width: 95%;
        max-width: 100%;
        margin: 0 auto;
    }

    .continder {
        width: 100%;
        margin: 0 auto;
    }

    p {
        font-size: 2.7vw;
        line-height: 3.6vw;
    }

    h2 {
        font-size: 4.2vw;
    }

    h3 {
        font-size: 2.5vw;
    }

    h4 {
        font-size: 3.3vw;
    }

    .apla video {
        height: 100%;
    }

    .flexgapi img {
        width: 100%;
    }

    .flexgapix img {
        width: 100%;
        height: 23em;
        margin-top: .5%;
        margin-bottom: .5%;
        object-fit: cover;
    }

    .flexgapix .contenu {
        width: 100%;
        height: 30vw;
    }

    .contenu img {
        height: 30vw;
        object-fit: cover;
    }

    .flexgapi video {
        width: 100%;
        height: 50vw;
    }

    .mo {
        display: block;
    }

    .de {
        display: none;
    }

    .reseis video {
        max-height: 22vw;
    }

    /* HEADER */
    header {
        margin-top: 2vw;
        margin-bottom: 0vw;

    }

    .title {
        text-align: center;
        margin: 0 auto;
        width: 14%;
        width: 92%;
        display: block;
    }

    .title h1 {
        font-size: 14.4vw;
        font-style: normal;
        font-weight: 900;
        text-transform: uppercase;
    }

    .menu {
        margin-top: -7vw;
        display: flex;
        flex-direction: initial;
        justify-content: space-between;
    }

    .menu a {
        font-size: 4.2vw;
    }

    /* BAGNIERE */
    /* BAGNIERE */
    .bagnierteaser {
        height: 62vw;
        overflow: hidden;
        margin-top: 1vw;
    }

    /* INFO PROJET */
    .infoprojet {
        width: 100%;
        display: block;
    }

    .datnomprojet h2 {
        margin-top: 0;
    }

    .datnomprojet h3 {
        margin-bottom: 0;
    }

    .textinfopro {
        display: flex;
        margin-top: -5vw;
    }

    .datnomprojet {
        margin: 1vw;
        margin-top: 10vw;
    }

    .texteinfod {
        width: 49%;
        margin: 1vw;

    }

    .texteinfog {
        width: 49%;
        margin: 1vw;
    }

    /* VIDEO IMG */
    .howto img {
        border-radius: 12px;
        margin-bottom: 1vw;
    }

    .spa {
        margin-bottom: 10vw;
        margin-top: 0vw;
    }

    /* DEROULE */

    .derouleimg img {
        width: 100vw;
        height: 55vw;
    }

    .derouleimg {
        padding-right: 2vw;
    }

    .groupimgroule {
        margin-bottom: 10vw;
    }

    /* --- SECTION VIDEOS --- */

    .main-video video {
        width: 100%;
        margin-bottom: 2vw;
    }

    .thumbnails {
        display: flex;
        gap: 2vw;
        flex-wrap: wrap;
        justify-content: start;
        margin-bottom: 2vw;
    }

    .thumbnails img {
        width: 45.6vw;
        height: 45.6vw;
        object-fit: cover;
        transition: transform 0.2s ease;
    }

    /* DEROULE MAIN */

    .deroulemainimg img {
        width: 90vw;
        height: 135vw;
    }

    .deroulemainimg {
        flex-shrink: 0;
        padding-right: 1em;

    }

    .groupimgroulemain {
        overflow: hidden;
        overflow-x: scroll;
        display: flex;
        justify-content: center;
        margin-bottom: 1em
    }

}