
@font-face {
    font-family: 'amarante';
    font-weight: 400; 
    src: url('font/Amarante-Regular.woff') format('woff');
}

@font-face {
    font-family: 'epine';
    font-weight: 400;
    src: url('font/essai7.woff') format('woff');
}


body{
    background-color: black;
}

#fond{
    position: absolute;
    height: 100vh;
    width: 100vw;
    z-index: 1;
}

#lutin{
    position: absolute;
    z-index: 2;
    top: 37rem;
    left: 63rem;
    height: 49px;
    rotate: 22deg;
    transition: 1s;
}

#lutin:hover{
    top: 36rem;
    left: 64rem;

}

#cailloux{
    position: absolute;
    z-index: 3;
    height: 100vh;
    width: 100vw;
    pointer-events: none;
}

#texte{
    position: absolute;
    height: 33rem;
    width: 39rem;
    line-height: 0.5;
    z-index: 20;
    top: -11rem;
    left: -8rem;
    color: rgb(0, 0, 0);
    font-family: "epine";
    font-size: 70px;
    padding: 15rem;
    text-align: center;
}


#nom {
  font-size: 50px;
  margin-top: -20px;
}

#play{
    text-decoration: none;
    margin-top: 20px;
    color: rgb(60, 104, 32);
    font-size: 30px;
    margin-top: 20px;
    position: absolute;
    left: 580px;
    border: solid 3px white;
    padding: 10px 30px;
    border-radius: 8px;
}

a{
    text-decoration: none;
}

#play:hover{
    font-size: 35px;
    color: black;
}



#tableau{
    height: 20px;
    position: absolute;
    top: 620px;
    left: 968px;
    rotate: 7deg;
    z-index: 100;
}


/* tableau avec noms*/
#tableau:hover{
    rotate: 4deg;
    translate: 2px -5px;
    cursor: pointer;
}


.hidden {
  display: none;
}


body{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: rgb(0, 0, 0);

}

section{
    position: absolute;
    align-items: center;
    top: 200px;
    z-index: 200;

}

.page{
    width: 150%;
    height: auto;
    background-color: aliceblue;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    transition: transform 0.5s ease-in-out;
    transform-style: preserve-3d;

}

#page1{
    display: flex;
    flex-direction: column;
    text-align: center;
    background-color: transparent;
    z-index: 1;
    scale: 0.5;
}


#page2{
    transform: rotateY(180deg);
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    background-color: transparent;
    z-index: 2;
    scale: 0.5;

}

#page2 #texte{
    position: absolute;
    align-items: center;
    font-size: 25px;
    line-height: 1;
    font-family: 'Franklin Gothic Medium';
    left: -533px;
    top: -205px;
}

a{
    color: rgb(78, 74, 74);
    text-decoration: none;
}

#page2 #texte #titre{
    font-size: 45px;
    font-weight: bold;
    line-height: 1.2;
    font-family: "amarante";
}
