body{
  background-color: black;
}

/*  un wrapper assez haut pour qu’on scrolle */
.wrapper {
    width: 100vw;
    height: auto;
    position: absolute;
    z-index: 2;
    pointer-events: none;
}


/* tous les éléments dont la classe *commence par* “speed” */
[class^="speed"]{
  position: fixed;
  top: 0;
}
/* la variable --y est transmise au body par le js */
.speed-1 {transform: translateY(calc(var(--y) * -0.9));}
.speed-2 {transform: translateY(calc(var(--y) * -0.8));}
.speed-3 {transform: translateY(calc(var(--y) * -0.6));}
.speed-4 {transform: translateY(calc(var(--y) * -0.4));}
.speed-5 {transform: translateY(calc(var(--y) * -0.7));}




.fond{
    position: absolute;
    z-index: 1;
    width: 100vw;
    height: 2495vh;
    translate: -8px -10px;
}

#echelle{
    position: absolute;
    z-index: 2;
    left: 460px;
    top: 0;
}

#tableau{
    position: absolute;
    z-index: 3;
    left: 851px;
    top: 89px;
}

.porte{
    position: absolute;
    z-index: 4;
    left: 697px;
    top: 10940px;
}

.horloge{
    position: absolute;
    z-index: 4;
    left: 1000px;
    top: 4940px;
}

#echelle {
    position: absolute;
    z-index: 5;
    left: 500px;
    top: 0px;
}

#open{
    opacity: 0;
}

#open:hover{
    opacity: 100%;
}

#open1{
    opacity: 0;
}

#open1:hover{
    opacity: 100%;
}




@font-face {
    font-family: 'amarante';
    font-weight: 400; /* Graisse : regular */
    src: url('font/Amarante-Regular.woff') format('woff');
} 
/* tableau avec noms*/


#tableau:hover{
    rotate: -5deg;
    translate: 11px 4px;
    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;
    width: 100vw;
    height: 50vh;
    scale: 0.2;
    top: -30px;
    z-index: 200;
}

.page{
    width: 100%;
    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;
}


#page2{
    transform: rotateY(180deg);
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    background-color: transparent;
    z-index: 2;

}

#page2 #texte{
    position: absolute;
    align-items: center;
    font-size: 55px;
    padding: 0 25px;
    line-height: 1;
    font-family: 'Franklin Gothic Medium';
    width: 145rem;
}

a{
    color: rgb(57, 67, 87);
    text-decoration: none;
}

#page2 #texte #titre{
    font-size: 120px;
    font-weight: bold;
    line-height: 0.3;
    font-family: "amarante";
}

