@import url('https://fonts.googleapis.com/css2?family=Kanit&display=swap');

body {
    margin: 0px;
    background-color: rgb(61, 56, 56);
    background-image: url(fond.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    overflow: hidden;
}
* {
    transform-style: preserve-3d;
    box-sizing: border-box;
    font-family: 'Kanit', sans-serif;
}
p {
    margin-left: 5px;
    margin-right: 5px;
    font-weight: 800;
}
#firstClic {
 background-color: rgba(0, 0, 0, 0.7);
 width: 100%;
 height: 100vh;
 transform: translateZ(200px);
 position: absolute;
 color: #E8D64F;
 font-size: 3em;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 z-index: 500;
}

i {
    position: relative;
    pointer-events: none;
    z-index: 8;
}

/* Bouton de mvt du cube */
#getCover {
    position: absolute;
    z-index: 4;
    color: #E8D64F;
    font-size: 4em;
    background-color: rgba(254, 254, 254, 0);
    bottom: 2.5%;
    right: 48%;
}
#getCover:hover>i{
    filter:brightness(70%);
}
#mvtRubikTop {
    width: 80px;
    height: 80px;
    position: absolute;
    top : 76%;
    left: 30%;
    transform: rotateZ(-90deg);
    color: #E8D64F;
    opacity : 0.5;
    font-size: 4em;
    z-index: 4;
}
#mvtRubikTop:hover {
    color:  #E8D64F;
    opacity: 1;
}
#mvtRubikBot {
    width: 80px;
    height: 80px;
    position: absolute;
    top : 80.8%;
    right: 29.3%;
    transform: rotateZ(90deg);
    color: #E8D64F;
    opacity : 0.5;
    font-size: 4em;
    z-index: 4;
}
#mvtRubikBot:hover {
    color:  #E8D64F;
    opacity: 1;
}
#mvtRubikLeft {
    width: 80px;
    height: 80px;
    position: absolute;
    top : 85%;
    left: 25%;
    transform: rotateY(180deg);
    color: #E8D64F;
    opacity : 0.5;
    font-size: 4em;
    z-index: 4;
}
#mvtRubikLeft:hover {
    color:  #E8D64F;
    opacity: 1;
}
#mvtRubikRight {
    width: 80px;
    height: 80px;
    position: absolute;
    top: 85%;
    right: 25%;
    color: #E8D64F;
    opacity : 0.5;
    font-size: 4em;
    z-index: 4;
}
#mvtRubikRight:hover {
    color:  #E8D64F;
    opacity: 1;
}
.mvtCube {
    width: 30px;
    position: absolute;
    color: #E8D64F;
    opacity : 0.5;
    font-size: 2em;
    z-index: 4;
}
.mvtCube:hover{
    color:  #E8D64F;
    opacity: 1;
}
.L {
    left : 34.5%;
    transform: rotateY(180deg);
}
.R {
    right : 34.5%;
}
.L3 {
    top : 58.5%;
}
.L2 {
    top: 47.5%
}
.L1 {
    top: 36.4%;
}
.T {
    transform: rotateZ(-90deg);
    top: 17.5%
}
.B {
    transform: rotateZ(90deg);
    bottom: 17.5%
}
.C3 {
    right: 44%;
}
.C2 {
    right: 49.2%;
}
.C1 {
    left : 44%;
}
#scene {
    width: 100vw;
    height: 100vh;
    perspective: 1800px;
    position: relative;
    z-index: 0;
}
#ensemble {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 0;
}
.box {
    width: 90px;
    height: 90px;
    position: relative;
    z-index: 2;
}
.boxRotation {
        width: 90px;
        height: 90px;
        position: absolute;
        z-index: 2;
}
.cube {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    border: 5px solid black;
    
}
.front {
    transform: translateZ(45px);
}
.back {
    transform: translateZ(-45px);
}
.right {
    transform: rotateY(90deg) translateZ(45px);
}
.left {
    transform: rotateY(-90deg) translateZ(45px);
}
.bottom {
    transform: rotateX(-90deg) translateZ(45px);    
}
.top {
    transform: rotateX(90deg) translateZ(45px);
}

.texteCover {
    font-size: x-small;
    color: black;
}
.texteCover>div>p {
    padding: 0px;
    margin: 0px;
    margin-bottom: 5px;
    margin-left: 2px;
}

.rangement {
    position: absolute;
    top: 110px;
    width: 100px;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    z-index: 500;
}
#topRgt {
    top: -100px;
    left: 32.5%;
    width: 35%;
    height: 80px;
    border: 10px black solid;
    border-top: none;
    box-shadow:  inset #64D5E3 -12px -8px 15px -8px, inset #64D5E3 12px -8px 15px -8px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 5px;
}
#runningCover {
    width: 55px;
    height: 55px;
    margin-bottom: 10px;
    opacity: 0;
    box-shadow: inset black 0px -4px 4px;
}
#leftRgt{
    height: 80%;
    left: -100px;
    border: 10px black solid;
    border-left: none;
    box-shadow:  inset #64D5E3 -8px -12px 15px -8px, inset #64D5E3 -8px 12px 15px -8px;
}
#leftRgt>.rgtMusic {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    opacity: 0;
    box-shadow:  #E98AE8 -4px 4px 4px;
}
#leftRgt>.rgtMusic:hover {
    filter:brightness(70%);
}
#rightRgt {
    height: 80%;
    right: -100px;
    border: 10px black solid;
    border-right: none;
    box-shadow:  inset #64D5E3 8px -12px 15px -8px, inset #64D5E3 8px 12px 15px -8px;
}
#rightRgt>.rgtMusic {
    width: 50px;
    height:50px;
    margin-left: 10px;
    opacity: 0;
    box-shadow: #E98AE8 4px 4px 4px;
}
#rightRgt>.rgtMusic:hover {
    filter:brightness(70%);
}
.boxPlayer{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 90%;
    height: 100%;
    position: relative;
    color: #64D5E3;
    transform: translateZ(1px);
}
.rangePlayer {
    margin-top: 8px;
    width: 100px;
    position: relative;
    -webkit-appearance: none;  
    -webkit-appearance: none;  
    appearance: none;
    outline: none; 
    -webkit-transition: .2s; 
    transition: opacity .2s;
    background-color:  rgb(61, 56, 56);
    height: 10px;
    border-radius: 5px;
}
.rangePlayer:hover {
    opacity: 0.7;
}
.rangePlayer::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px; 
  height: 20px; 
  background: #64D5E3; 
  border-radius: 50%;
  cursor: pointer;
}
.rangePlayer::-moz-range-thumb {
    -webkit-appearance: none;
  appearance: none;
  width: 15px; 
  height: 15px; 
  background: #64D5E3; 
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.buttonPlayer {
    height: 70%;
    width: 25px;
    font-size: 1.5em;
    color :#64D5E3;
    background-color: rgba(250, 250, 251, 0);
    border: none;
    position: relative;
}
.buttonPlayer:hover>i {
    filter:brightness(70%);
}
.affichageTemps {
    pointer-events: none;
    font-size: small;
}
#volume {
    position: absolute;
    right: 200px;
    bottom: 20px;
}
#total_time {
    position: absolute;
    right: 0px;
    bottom: 20px;
}
#curr_time {
    position: absolute;
    right: 71px;
    bottom: 20px;
}

