body, html{
    margin: 0;
    overflow-x: hidden;
    scrollbar-color: #ca8700 #f0f0f0;
    scrollbar-width: thin;
}
::-webkit-scrollbar{
    width: 0.4vw;
    height: 5px;
}
::-webkit-scrollbar-thumb {
    background: #ca8700;
}
::-webkit-scrollbar-thumb:hover {
    background: #ca8700;
}
::-webkit-scrollbar-thumb:active {
    background: #ca8700;
}
::-webkit-scrollbar-track {
    background: #ffffff;
}

::-moz-selection{ /* Code for Firefox */
    color: #ca8700;
    background: #4b000055;
}
  
::selection{
    color: #ca8700;
    background: #4b000055;
}

.titre{
    padding-top: 1.75vw;
    margin: 0;
    font-family: 'Holtwood One SC', serif;
    color: #ca8700;
    text-shadow: 3px 3px 0px #5f0000;
    font-size: 5vw;
    z-index: 500;
    position: -webkit-sticky; /* Safari */
    position: sticky;
    transform: translateY(-150%);
    margin-left: 10vw;
    transition: transform 0.5s ease-in-out, font-size 0.5s ease-in-out, margin-left 0.5s ease-in-out, text-shadow 0.25s ease-in-out, opacity 0.5s ease-in-out;
    width: fit-content;
    width: moz-fit-content;
    cursor: pointer;
    pointer-events: none;
    opacity: 0;
}

.header{
    background-image: url(images/jungle.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

img{
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.Ybg{
    background: rgba(213,141,0,0.75);
    background: radial-gradient(circle, rgba(213,141,0,0.75) 50%, rgba(167,111,0,0.75) 100%);
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    position: relative;
}

.bordures{
    height: 100vh;
    width: 100vw;
    position: absolute;
    pointer-events: none;
}

.brouge{
    z-index: 1;
}

.title{
    margin: 0;
    font-family: "Authentic Signature", sans-serif;
    font-size: 7.5vw;
    width: 35%;
}

.colorChange{
    transition: 0.5s ease-in-out;
    color: #ca8700;
    display: inline-block;
}

@keyframes clr{
    0%,100%{
        color: rgb(202, 135, 0);
        transform: scale(1.1);
    }33%{
        color: rgb(95, 0, 0);
        transform: scale(1);
    }66%{
        color: rgb(31, 76, 0);
        transform: scale(1.1);
    }
}

.bob{
    height: 90%;
    position: fixed;
    right: 0;
    z-index: 0;
    animation: moveBob 30s infinite ease-in-out;
    pointer-events: none;
    
}

@font-face {
    font-family: "Authentic Signature";
    src:    
        url("/fonts/AuthenticSignature.woff2") format("woff2"),
        url("/fonts/AuthenticSignature.woff") format("woff");
}

.contenu{
    position: relative;
    height: 100vh;
    width: 100vw;
    background-color: #5f0000;
    /* border-top: 5px solid rgba(202, 135, 0, 0); */
    transition: border-top 0.5s ease-in-out;
}

.bobMusic{
    top: 0;
    position: absolute;  /*Obligé car sinon l'animation du titre "Jaming" en Js bug*/
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
}

.foliagebg, .firstfoliage, .rocks, .firstplanA, .firstplanB{
    position: absolute;
    height: 100%;
    width: 100vw;
    z-index: 3;
    pointer-events: none;
}

.firstfoliage{
    transform-origin: bottom;
    animation: midFoliage 10s infinite ease-in-out;
}

.firstplanA{
    transform-origin: bottom left;
    animation: sideFoliage 10s infinite ease-in-out;
}

.firstplanB{
    transform-origin: bottom right;
    animation: sideFoliage 10s infinite ease-in-out;
}

@keyframes midFoliage{
    0%,100%{
        transform: skewX(3deg);
    }33%{
        transform: skewX(-3deg);
    }66%{
        transform: skewX(7deg);
    }
}

@keyframes sideFoliage{
    0%,100%{
        transform: skewY(3deg);
    }33%{
        transform: skewY(0deg);
    }66%{
        transform: skewY(7deg);
    }
}

.play{
    position: absolute;
    height: 26.65vw;
    width: 53.3vw;
    transform: scale(1.5) translate(25%,-25%);
    top: 90%;
    transform-origin: center;
    transition: 0.5s ease-in-out;
    display: flex;
    z-index: 3;
}

.pActive{
    transition: 0.5s ease-in-out;
}

.pActive:hover{
    transform: scale(0.61);
}

.soleilB, .soleilR, .animR, .animB{
    position: absolute;
    height: 100%;
}

.pButton{
    position: relative;
    transform: scale(0.5);
}

.pButton>path{
    display: none;
    transition: d 0.25s ease-in-out;
    fill: #5f0000;
    opacity: 0.75;
}

.soleilB{
    animation: soleilGB 50s linear infinite;
    pointer-events: none;
}

.soleilR{
    opacity: 0.75;
    animation: soleilGR 50s linear infinite;
    pointer-events: none;
}

@keyframes soleilGR{
    0%,100%{
        transform: rotate(0deg);
    }
    99.99%{
        transform: rotate(360deg);
    }
}

@keyframes soleilGB{
    0%,100%{
        transform: rotate(0deg) scale(1.05);
    }25%{
        transform: rotate(90deg) scale(1);
    }50%{
        transform: rotate(180deg) scale(0.925);
    }75%{
        transform: rotate(270deg) scale(1);
    }99.99%{
        transform: rotate(360deg) scale(1.05);
    }
}

.animR{
    animation: RDance 0.95s ease-in-out infinite;
    animation-delay: 1s;
    opacity: 0.75;
    pointer-events: none;
}

.animB{
    animation: BDance 4s ease-in-out infinite;
    animation-delay: 1s;
    pointer-events: none;
}

@keyframes BDance{
    0%,100%{
        transform: rotate(0deg);
    }
    50%{
        transform: rotate(180deg);
    }
    65%{
        transform: rotate(190deg);
    }
    99.99%{
        transform: rotate(360deg);
    }
}

@keyframes RDance{
    0%,100%{
        transform: scale(1) rotate(0deg);
    }
    70%{
        transform: scale(1.2) rotate(16deg);
    }
    99.99%{
        transform: scale(1) rotate(0deg);
    }
}

.menu2{
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 0vw;
    transition: 0.75s ease-in-out 0.25s, z-index 0.5s ease 1s;
    top: 40%;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.menu2>h2{
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Holtwood One SC', serif;
    font-weight: 300;
    font-size: 1vw;
    width: 20vw;
    height: 3.5vw;
    border: 2px solid #ca8700;
    border-radius: 2vw;
    text-align: center;
    cursor: pointer;
    transition: 0.5s ease-in-out;
    pointer-events: all;
}

.menuElem{
    color: #ca8700;
}

.menuElem:hover, 
.menuSelect:hover,
.menuSelect{
    background-color: #ca8700;
    color: #5f0000;
}

.pText{
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1;
}

.pText>p{
    text-align: center;
    font-size: 3.5vw;
    font-family: 'Indie Flower', cursive;
    font-weight: 700;
    color: #ca8700;
    text-shadow: 2px 2px 0px #916000;
    animation: vibe 1s ease-in-out infinite;
}

.pText>p:nth-child(1){
    animation: none;
    font-family: 'Holtwood One SC', serif;
    font-size: 6vw;
    font-weight: 300;
    color: #ca8700;
    text-shadow: 3px 3px 0px #af7500;
}

@keyframes animJamTitle{
    0%,100%{
        color: #ca8700;
    }
    50%{
        color: #660000;
    }
}

@keyframes animJamTexte{
    0%,100%{
        /* color: #ca8700; */
        color: rgb(202, 135, 0);
        text-shadow: 0px 0px 0px rgb(202, 135, 0);
    }
    50%{
        color: #660000;
        text-shadow: 3px 3px 0px rgb(202, 135, 0);
    }
}

@keyframes vibe{
    0%,100%{
        transform: scale(1) skew(0deg);
    }50%{
        transform: scale(1.005) skew(0.3deg);
    }
}

video{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 177.77777778vh;
    min-width: 100%;
    min-height: 56.25vw;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 0;
}

.expliText{
    position: absolute;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1;
    margin: 0 10vw;
    color: #af7500;
}

.expliText>img{
    height: 40%;
    width: 40%;
}

.expliText>p{
    width: 45%;
    font-family: 'Roboto', sans-serif;
    font-size: 1.1vw;
    padding-left: 2vw;
    border-left: solid #ca8700 4px;
}

.marijuana{
    cursor: url("images/marijuana.svg"), pointer;
    transition: 0.25s ease-in-out;
}

.marijuana:hover{
    color: #2a6900;
    position: relative;
}

.bobText, .content>section>p>a, .content>p>a{
    text-decoration: none;
    color: #af7500;
    opacity: 0.75;
    transition: 0.25s ease-in-out;
    cursor: pointer;
}

.bobText:hover, .content>section>p>a:hover, .content>p>a:hover{
    text-decoration: underline;
    opacity: 1;
}

.titreBob{
    font-family: 'Holtwood One SC', serif;
    color: #ca8700;
    text-shadow: 4px 4px 0px #5f0000;
    font-size: 5vw;
    margin-top: 25vh;
    margin-bottom: 0;
}

.headMenu{
    position: fixed;
    bottom: 55%;
    left: 2%;
    margin-left: 5vw;
}

.menu{
    display: flex;
    justify-content: space-around;
}

.menu>h2{
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Holtwood One SC', serif;
    font-weight: 300;
    font-size: 0.9vw;
    width: 40%;
    height: 3vw;
    border: 2px solid #660000;
    color: #660000;
    border-radius: 2vw;
    text-align: center;
    cursor: pointer;
    transition: 0.5s ease-in-out;
    pointer-events: all;
}

.menu>h2:hover{
    background-color: #660000;
    color: #ca8700;
}

.popup{
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background-color: #660000fa;
    z-index: 1000;
}

.popup>header>h2{
    font-family: 'Holtwood One SC', serif;
    font-weight: 300;
    font-size: 1.5vw;
    color: #ca8700;
    margin: 0;
    width: 12vw;
    white-space: nowrap;
}

.popup>header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2vw;
}

.cross{
    height: 2vw;
    width: 2vw;
    margin: 0 5vw;
    fill: #ca8700;
    opacity: 0.7;
    transition: 0.25s ease-in-out;
    cursor: pointer;
}

.cross:hover{
    opacity: 1;
    transform: rotate(90deg) scale(1.5);
}

.content{
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10vw;
}

.popup>header>h1{
    margin: 0;
    font-family: 'Holtwood One SC', serif;
    color: #ca8700;
    text-shadow: 3px 3px 0px #5f0000;
    font-size: 2.5vw;
    text-align: center;
}

.content>section>p, .content>p{
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: #b87a00;
    font-size: 1.35vw;
    max-width: 50%;
}

.content>p{
    align-self: flex-end;
    justify-self: flex-end;
}

.hoverImg{
    opacity: 0.8;
    cursor: pointer;
    transition: 0.5s ease-in-out;
}

p>.hoverImg:hover{
    opacity: 1;
}

.imgMouse{
    position: absolute;
    transform: translate(-50%);
    z-index: 1001;
    pointer-events: none;
}

.imgMouse>img{
    height: 15vw;
    width: 15vw;
}

.suivant{
    position: absolute;
    height: 5vw;
    width: 5vw;
    transform-origin: center;
    transform: rotate(90deg);
    right: 2.5vw;
    opacity: 0.5;
    transition: 0.25s ease-in-out;
}

.suivant:hover{
    opacity: 1;
    transform: rotate(90deg) scale(1.1);
}

.precedent{
    position: absolute;
    height: 5vw;
    width: 5vw;
    transform-origin: center;
    transform: rotate(-90deg);
    left: 2.5vw;
    opacity: 0.5;
    transition: 0.25s ease-in-out;
}

.precedent:hover{
    opacity: 1;
    transform: rotate(-90deg) scale(1.1);
}

#quiEst>.content>section{
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 75%;
    padding: 5vw;
}

#quiEst>.content>section>img{
    height: 25vw;
    transition: 0.35s ease-in-out;
    background-color: #ca870040;
}

#quiEst>.content>section>img:hover{
    transform: scale(1.1) rotate(-1deg);
    background-color: #ca8700;
}

#quiEst>.content>section>p{
    padding-left: 2vw;
    border-left: solid #ca8700 4px;
}

#quiEst>.content>section:nth-of-type(2)>p{
    padding: 0;
    border: none;
    padding-right: 2vw;
    border-right: solid #ca8700 4px;
    font-size: 1.2vw;
}

#aPropos>.content>section{
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    height: 75%;
    padding: 5vw;
}

.proposObj>p{
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-right: 2vw;
    border-right: solid #ca8700 4px;
    font-family: 'Roboto', sans-serif;
    color: #b87a00;
    font-size: 1.25vw;
    font-weight: 700;
    max-width: 50%;
}

.proposPrecis>img{
    height: 20vw;
    transition: 0.35s ease-in-out;
    background-color: #ca870040;
}

.proposPrecis>img:hover{
    transform: scale(1.1) rotate(-1deg);
    background-color: #ca8700;
}

.proposObj, .proposPrecis{
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: row;
}

.proposObj>img{
    height: 15vw;
    transition: 0.35s ease-in-out;
    background-color: #ca870040;
}

.proposObj>img:hover{
    transform: scale(1.1) rotate(-1deg);
    background-color: #ca8700;
}

.proposPrecis>p{
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-left: 2vw;
    border-left: solid #ca8700 4px;
    font-family: 'Roboto', sans-serif;
    color: #b87a00;
    font-size: 1.25vw;
    font-weight: 700;
    max-width: 50%;
}

#aPropos>.content>section>a>img{
    width: 25vw;
    transition: 0.35s ease-in-out;
}

#aPropos>.content>section:nth-child(2)>p{
    max-width: 60%;
}

#aPropos>.content>section>a>img:hover{
    transform: scale(1.1);
}

.content>section>.credits{
    max-width: 100%;
    text-align: center;
    font-size: 1.75vw;
}

p{
    text-align: justify;
}