html {  
    --asideLeftAnime: none;
    --animdecoration3: none;
    --asideRightAnime: none;
    --rightDecorator1: none;
    --rightDecorator2: none;
}

.div-principale {
    /* border: 2px solid blue; */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.console {
    border: 0.3vw solid rgb(43, 43, 43);
    width: 80%;
    height: calc(80vw/2.15);
    margin-top: 10%;
    margin-bottom: 5%;
    border-radius: 10vw;
    display: flex;
    overflow: hidden;
    align-items: center;
    background-color: rgb(43, 43, 43);
    box-shadow: inset -1vw -0.75vw rgba(255, 255, 255, 0.466);
    animation: animConsol 3s linear infinite;
}
@keyframes animConsole {
    0% {
        background-color: rgb(0, 255, 0);
    }
    20% {
        background-color: rgb(0, 81, 255);
    }
    40% {
        background-color: red;
    }
    60% {
        background-color: #00d9ff;
    }
    80% {
        background-color: #ff7300;
    } 
    100% {
        background-color: rgb(0, 255, 0);
    }
}


.ads{
    border: 0.2vw solid;
    width: 95%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10%;
    margin-top: 5%;
}
#ads-Infos {
    font-size: 5vmin;
    font-weight: bold;
    background: rgb(10, 160, 10);
    padding: 1%;
    width: 100%;
    text-align: center;
    color: white;
    text-shadow: 0.2vmin 0.2vmin black;
}
.ads-Section {
    /*border: 0.3vw solid;*/
    width: 95%;
    padding: 1.5%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1%;
}
.ads-Section * {
    margin-bottom: 1%;
}


/* Styles pour la partie left de la console */

.console .left-control-part {
    /* border: 2px solid green; */
    position: relative;
    height: 100%;
    width: 17.5%;
    display: flex;
    flex-direction: column;
}
.console .left-control-part * {
    z-index: 2;
}
.console .screen-parent {
    position: relative;
    border: 0.2vw solid black;
    height: 95%;
    width: 65%;
    background-color: black;
}
.console .screen-part {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* background-color: black; */
}
.console .right-control-part {
    /* border: 2px solid yellow; */
    position: relative;
    height: 100%;
    width: 17.5%;
    display: flex;
    flex-direction: column;
}
.console .right-control-part * {
    z-index: 2;
}

#l-button {
    height: 17%;
    width: 97%;
    font-weight: bold;
    -webkit-text-stroke: 2px;
    background-color: rgb(0, 81, 255);
    color: white;
    border: 4px solid rgb(118, 160, 250);
    overflow: hidden;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
#l-button h1 {
    transform: scaleX(1.7);
    font-size: 8vmin;
}

.direction-control {
    /* border: 2px solid; */
    width: 90%;
    height: 12vw;
    margin-left: 3%;
    padding: 1%;
    border-radius: 30%;
    margin-top: -2%;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.548);
    animation: backanim 2s linear infinite;
}
@keyframes backanime {
    0% {
        background-color: rgb(179, 255, 0);
    }
    25% {
        background-color: rgb(255, 246, 121);
    }
    50% {
        background-color: rgb(0, 225, 255);
    }
    75% {
        background-color: rgb(255, 192, 192);
    }
    100% {
        background-color: rgb(179, 255, 0);
    }
}
.first-direction-control {
    /* border: 2px solid blue; */
    height: calc(100%/3);
    display: flex;
    justify-content: space-between;
    border-radius: 50px 50px 0 0;
    overflow: hidden;
}
.second-direction-control {
    /* border: 2px solid orange; */
    height: calc(100%/3);
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    align-items: center;
}
.third-direction-control {
    /* border: 2px solid yellowgreen; */
    height: calc(100%/3);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-radius: 0 0 50px 50px;
    overflow: hidden;
}

#first-direction-control-button1 {
    border: none;
    height: 90%;
    width: calc(100%/3 - 5%);
    background-color: rgb(241, 70, 7);
    box-shadow: inset -6px -3px rgba(255, 255, 255, 0.342);
}
#first-direction-control-button2 {
    border: none;
    height: 100%;
    min-width: calc(100%/3);
    max-width: calc(100%/3);
    border-radius: 0 0 20px 20px;
    background-color: black;
    box-shadow: inset -10px -2px rgba(255, 255, 255, 0.342);
}
#first-direction-control-button3 {
    border: none;
    height: 90%;
    width: calc(100%/3 - 5%);
    background-color: rgb(241, 70, 7);
    box-shadow: inset 6px -3px rgba(255, 255, 255, 0.342);
}

#second-direction-control-button1 {
    border: none;
    height: 100%;
    min-width: calc(100%/3 + 2%);
    max-width: calc(100%/3 + 2%);
    background-color: black;
    border-radius: 0 20px 20px 0;
    box-shadow: inset -2px 10px rgba(255, 255, 255, 0.342);
}
#second-direction-control-button2 {
    border: 1px solid;
    height: 60%;
    width: 20%;
    border-radius: 50%;
    background-color: black;
    box-shadow: inset -3px 3px rgba(255, 255, 255, 0.342);
}
#second-direction-control-button3 {
    border: none;
    height: 100%;
    min-width: calc(100%/3 + 2%);
    max-width: calc(100%/3 + 2%);
    background-color: black;
    border-radius: 20px 0 0 20px;
    box-shadow: inset 2px -10px rgba(255, 255, 255, 0.342);
}

#third-direction-control-button1 {
    border: none;
    height: 90%;
    width: calc(100%/3 - 5%);
    background-color: rgb(241, 70, 7);
    box-shadow: inset -6px 3px rgba(255, 255, 255, 0.342);
}
#third-direction-control-button2 {
    border: none;
    height: 100%;
    min-width: calc(100%/3);
    max-width: calc(100%/3);
    border-radius: 20px 20px 0 0;
    background-color: black;
    box-shadow: inset 10px -2px rgba(255, 255, 255, 0.342);
}
#third-direction-control-button3 {
    border: none;
    height: 90%;
    width: calc(100%/3 - 5%);
    background-color: rgb(241, 70, 7);
    box-shadow: inset 6px 3px rgba(255, 255, 255, 0.342);
}

.left-options-control-section {
    /* border: 2px solid rgb(0, 102, 255); */
    height: 7vw;
    margin-top: 12%;
    display: flex;
    flex-direction: column;
    margin-left: 4%;
    gap: 4%;
}
.left-options-control-section button {
    width: 40%;
    min-height: 37%;
    border-radius: 10px;
    padding: 8%;
}
.left-options-control-section button:nth-child(1) input {
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    margin: -23% -50%;
}
.left-options-control-section button:nth-child(1) {
    position: relative;
    overflow: hidden;
    margin-left: 15%;
    background-image: url("../images/console_images/bouton cc.jpg");
    background-position: center;
    background-size: cover;
    border: 2px solid rgb(13, 196, 13);
    position: relative;
    box-shadow: inset 0.4vw 0vw rgb(33, 139, 1);
}
.left-options-control-section button:nth-child(1)::after {
    display: block;
    content: "";
    /* border: 2px solid red; */
    position: absolute;
    right: 2px;
    top: 2px;
    width: 40%;
    height: 40%;
    border-radius: 40%;
    background-color: rgba(237, 248, 223, 0.664);
}
.left-options-control-section button:nth-child(2) {
    margin-left: 25%;
    background-image: url("../images/console_images/bouton lum.jpg");
    background-position: center;
    background-size: cover;
    border: 2px solid white;
    position: relative;
    box-shadow: inset 0.4vw 0vw rgb(101, 104, 101);
}
.left-options-control-section button:nth-child(2)::after {
    display: block;
    content: "";
    position: absolute;
    right: 2px;
    top: 2px;
    width: 40%;
    height: 40%;
    border-radius: 40%;
    background-color: rgba(237, 248, 223, 0.664);
}
.left-options-control-section button:nth-child(3), .left-options-control-section button:nth-child(4) {
    margin-left: 35%;
}
.left-options-control-section button:nth-child(3) {
    margin-left: 35%;
    background-image: url("../images/console_images/bouton fss.jpg");
    background-position: center;
    background-size: cover;
    border: 2px solid yellow;
    position: relative;
    box-shadow: inset 0.4vw 0vw rgb(131, 129, 46);
}
.left-options-control-section button:nth-child(3)::after {
    display: block;
    content: "";
    position: absolute;
    right: 2px;
    top: 2px;
    width: 40%;
    height: 40%;
    border-radius: 40%;
    background-color: rgba(237, 248, 223, 0.664);
}
.left-options-control-section button:nth-child(4) {
    margin-left: 35%;
    background-image: url("../images/console_images/bouton fsc.jpg");
    background-position: center;
    background-size: cover;
    border: 2px solid rgb(247, 113, 65);
    position: relative;
    box-shadow: inset 0.4vw 0vw rgb(131, 84, 46);
}
.left-options-control-section button:nth-child(4)::after {
    display: block;
    content: "";
    position: absolute;
    right: 2px;
    top: 2px;
    width: 40%;
    height: 40%;
    border-radius: 40%;
    background-color: rgba(237, 248, 223, 0.664);
}

.decoration1 {
    /* border: 2px solid red; */
    width: 85%;
    height: 5%;
    display: flex;
    justify-content: space-between;
    margin-left: 6%;
    margin-top: 10%;
}
.decoration1 button {
    width: 16%;
    height: 100%;
    border-radius: 50%;
    box-shadow: inset -3px -3px rgba(255, 255, 255, 0.795);
}
.decoration1 button:nth-child(1) {
    border: 3px solid rgba(255, 166, 0, 0.644);
    background-color: rgba(255, 166, 0, 0.644);
}
.decoration1 button:nth-child(2) {
    border: 3px solid rgba(43, 255, 0, 0.644);
    background-color: rgba(43, 255, 0, 0.644);
}

.decoration2 {
    /* border: 2px solid red; */
    width: 85%;
    height: 5%;
    display: flex;
    justify-content: space-between;
    margin-left: 6%;
    margin-top: -2%;
}
.decoration2 button {
    width: 16%;
    height: 100%;
    border-radius: 50%;
    box-shadow: inset -3px -3px rgba(255, 255, 255, 0.795);
}
.decoration2 button:nth-child(1) {
    border: 3px solid rgba(255, 0, 0, 0.644);
    background-color: rgba(255, 0, 0, 0.644);
}
.decoration2 button:nth-child(2) {
    border: 3px solid rgba(255, 238, 0, 0.644);
    background-color: rgba(255, 238, 0, 0.644);
}

.decoration3 {
    position: absolute;
    /* border: 2px solid white; */
    width: 80%;
    height: 1%;
    bottom: 6%;
    left: 15%;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}
.decoration3 button {
    padding: 3%;
    border: none;
    margin-left: 2%;
    background-color: white;
    animation: var(--animdecoration3);
}
@keyframes decoration3Clin {
    50% {
        background-color: rgb(0, 255, 42);
        box-shadow: 3px 3px 7px rgb(193, 250, 212), -3px -3px 7px rgb(193, 250, 212);
    }
}
.decoration3 button:nth-child(1) {
    animation-delay: 0.1s;
}
.decoration3 button:nth-child(2) {
    animation-delay: 0.2s;
}
.decoration3 button:nth-child(3) {
    animation-delay: 0.3s;
}
.decoration3 button:nth-child(4) {
    animation-delay: 0.4s;
}
.decoration3 button:nth-child(5) {
    animation-delay: 0.5s;
}
.decoration3 button:nth-child(6) {
    animation-delay: 0.6s;
}
.decoration3 button:nth-child(7) {
    animation-delay: 0.7s;
}

.decoration-aside-left {
    /* border: 4px solid yellow; */
    position: absolute;
    width: 45%;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
}
.decoration-aside-left button {
    /* border: none; */
    border-left: none;
    min-height: calc(100%/8);
    background-color: rgba(29, 26, 26, 0.486);
    animation: var(--asideLeftAnime);
}
@keyframes decorationAsideClin {
    0%{
        background-color: rgba(255, 255, 255, 0.349);
        border: none;
    }
    50% {
        background-color: white;
        border: none;
    }
    100% {
        border: none;
    }
}
.decoration-aside-left button:nth-child(8) {
    animation-delay: 0.1s;
}
.decoration-aside-left button:nth-child(7) {
    animation-delay: 0.2s;
}
.decoration-aside-left button:nth-child(6) {
    animation-delay: 0.3s;
}
.decoration-aside-left button:nth-child(5) {
    animation-delay: 0.4s;
}
.decoration-aside-left button:nth-child(4) {
    animation-delay: 0.5s;
}
.decoration-aside-left button:nth-child(3) {
    animation-delay: 0.6s;
}
.decoration-aside-left button:nth-child(2) {
    animation-delay: 0.7s;
}
.decoration-aside-left button:nth-child(1) {
    animation-delay: 0.8s;
}



/* Styles pour la partie right de la console */

.decoration-aside-right {
    /* border: 4px solid yellow; */
    position: absolute;
    width: 45%;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    right: 0;
}
.decoration-aside-right button {
    /* border: none; */
    border-right: none;
    min-height: calc(100%/8);
    background-color: rgba(29, 26, 26, 0.486);
    animation: var(--asideLeftAnime);
}
.decoration-aside-right button:nth-child(8) {
    animation-delay: 0.1s;
}
.decoration-aside-right button:nth-child(7) {
    animation-delay: 0.2s;
}
.decoration-aside-right button:nth-child(6) {
    animation-delay: 0.3s;
}
.decoration-aside-right button:nth-child(5) {
    animation-delay: 0.4s;
}
.decoration-aside-right button:nth-child(4) {
    animation-delay: 0.5s;
}
.decoration-aside-right button:nth-child(3) {
    animation-delay: 0.6s;
}
.decoration-aside-right button:nth-child(2) {
    animation-delay: 0.7s;
}
.decoration-aside-right button:nth-child(1) {
    animation-delay: 0.8s;
}
#r-button {
    height: 17%;
    width: 97%;
    font-size: 2vw;
    font-weight: bold;
    -webkit-text-stroke: 2px;
    background-color: rgb(0, 81, 255);
    color: white;
    border: 4px solid rgb(118, 160, 250);
    overflow: hidden;
    text-align: center;
    margin-left: 3%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#r-button h1 {
    transform: scale(1.6, 1.2);
    font-size: 6vmin;
}
.right-control-part .decoration1 {
    border: 1px solid white;
    height: 0;
    width: 70%;
    padding: 1.5%;
    margin-bottom: 10%;
    margin-left: 10%;
    background-color: rgb(247, 237, 192);
    border-radius: 5px;
    animation: var(--rightDecorator1);
}
@keyframes rightDecorator1 {
    0% {
        background-color: yellow;
        box-shadow: 2px 2px 4px rgb(248, 248, 164), -2px -2px 4px rgb(248, 248, 164);
    }
    25% {
        background-color: rgb(0, 119, 255);
        box-shadow: 2px 2px 4px rgb(176, 208, 245), -2px -2px 4px rgb(176, 208, 245);
    }
    50% {
        background-color: rgb(63, 205, 50);
        box-shadow: 2px 2px 4px rgb(179, 245, 173), -2px -2px 4px rgb(179, 245, 173);
    }
    75% {
        background-color: rgb(204, 65, 88);
        box-shadow: 2px 2px 4px rgb(238, 177, 187), -2px -2px 4px rgb(238, 177, 187);
    }
    100% {
        background-color: yellow;
        box-shadow: 2px 2px 4px rgb(245, 245, 181), -2px -2px 4px rgb(245, 245, 181);
    }
}
.right-control-part .decoration2 {
    border: 1px solid white;
    height: 0;
    width: 70%;
    padding: 1.5%;
    margin-top: 8%;
    margin-left: 10%;
    background-color: rgb(245, 190, 109);
    border-radius: 5px;
    animation: var(--rightDecorator2);
}
@keyframes rightDecorator2 {
    0% {
        background-color: red;
        box-shadow: 2px 2px 4px rgb(248, 164, 164), -2px -2px 4px rgb(248, 164, 164);
    }
    25% {
        background-color: rgb(6, 6, 184);
        box-shadow: 2px 2px 4px rgb(176, 208, 245), -2px -2px 4px rgb(176, 208, 245);
    }
    50% {
        background-color: orange;
        box-shadow: 2px 2px 4px rgb(245, 216, 173), -2px -2px 4px rgb(245, 216, 173);
    }
    75% {
        background-color: cyan;
        box-shadow: 2px 2px 4px rgb(177, 219, 238), -2px -2px 4px rgb(177, 219, 238);
    }
    100% {
        background-color: red;
        box-shadow: 2px 2px 4px rgb(248, 164, 164), -2px -2px 4px rgb(248, 164, 164);
    }
}

/* ################################## */

.right-control-part .direction-control {
    /* border: 2px solid; */
    width: 90%;
    height: 12vw;
    margin-left: 5%;
    padding: 1%;
    border-radius: 50%;
    margin-top: -2%;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.548);
    animation: var(--asideRightAnime);
}
@keyframes backani {
    0% {
        background-color: rgb(247, 97, 97);
    }
    20% {
        background-color: rgb(243, 243, 105);
    }
    40% {
        background-color: rgb(13, 192, 13);
    }
    60% {
        background-color: cyan;
    }
    80% {
        background-color: orange;
    }
    100% {
        background-color: rgb(247, 97, 97);
    }
}
.right-control-part .first-direction-control {
    /* border: 2px solid blue; */
    height: calc(100%/3);
    display: flex;
    justify-content: center;
    border-radius: 100px 100px 0 0;
    overflow: hidden;
}
.right-control-part .second-direction-control {
    /* border: 2px solid orange; */
    height: calc(100%/3 + 2%);
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    align-items: center;
}
.right-control-part .third-direction-control {
    /* border: 2px solid yellowgreen; */
    height: calc(100%/3);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    border-radius: 0 0 50px 50px;
    overflow: hidden;
}

.right-control-part #first-direction-control-button1 {
    border: none;
    height: 90%;
    width: calc(100%/3 - 5%);
    display: none;
    background-color: rgb(241, 70, 7);
    box-shadow: inset -6px -3px rgba(255, 255, 255, 0.342);
}
.right-control-part #first-direction-control-button2 {
    border: 3px solid rgb(124, 78, 78);
    height: 100%;
    min-width: calc(100%/3);
    max-width: calc(100%/3);
    border-radius: 50%;
    background-color: black;
    box-shadow: inset -10px -2px rgba(255, 255, 255, 0.342);
    background: url("../images/console_images/bouton\ 8.jpg");
    background-position: center;
    background-size: cover;
}
.right-control-part #first-direction-control-button3 {
    border: none;
    height: 90%;
    display: none;
    width: calc(100%/3 - 5%);
    background-color: rgb(241, 70, 7);
    box-shadow: inset 6px -3px rgba(255, 255, 255, 0.342);
}

.right-control-part #second-direction-control-button1 {
    border: 3px solid rgb(32, 127, 216);
    height: 100%;
    min-width: calc(100%/3);
    max-width: calc(100%/3);
    background-color: black;
    border-radius: 50%;
    box-shadow: inset -2px 10px rgba(255, 255, 255, 0.342);
    background: url("../images/console_images/bouton\ 4.jpg");
    background-position: center;
    background-size: cover;
}
.right-control-part #second-direction-control-button2 {
    border: 1px solid;
    height: 60%;
    width: 20%;
    border-radius: 50%;
    background-color: black;
    box-shadow: inset -3px 3px rgba(255, 255, 255, 0.342);
}
.right-control-part #second-direction-control-button3 {
    border: 3px solid #ec2769;
    height: 100%;
    min-width: calc(100%/3);
    max-width: calc(100%/3);
    background-color: black;
    border-radius: 50%;
    box-shadow: inset 2px -10px rgba(255, 255, 255, 0.342);
    background: url("../images/console_images/bouton\ 6.jpg");
    background-position: center;
    background-size: cover;
}

.right-control-part #third-direction-control-button1 {
    border: none;
    height: 90%;
    width: calc(100%/3 - 5%);
    background-color: rgb(241, 70, 7);
    display: none;
    box-shadow: inset -6px 3px rgba(255, 255, 255, 0.342);
}
.right-control-part #third-direction-control-button2 {
    border: 3px solid #da1a05;
    height: 100%;
    min-width: calc(100%/3);
    max-width: calc(100%/3);
    border-radius: 50%;
    background-color: black;
    box-shadow: inset 10px -2px rgba(255, 255, 255, 0.342);
    background: url("../images/console_images/bouton 2.jpg");
    background-position: center;
    background-size: cover;
}
.right-control-part #third-direction-control-button3 {
    border: none;
    height: 90%;
    width: calc(100%/3 - 5%);
    display: none;
    background-color: rgb(241, 70, 7);
    box-shadow: inset 6px 3px rgba(255, 255, 255, 0.342);
}

/* --------------- */
.right-control-part .left-options-control-section {
    /* border: 2px solid rgb(0, 102, 255); */
    height: 7vw;
    margin-top: 12%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 4%;
    gap: 4%;
}
.right-control-part .left-options-control-section button {
    width: 40%;
    min-height: 37%;
    border-radius: 10px;
    padding: 8%;
}
.right-control-part .left-options-control-section button:nth-child(1) {
    margin-right: 19%;
    background-image: url("../images/console_images/bouton start.jpg");
    background-position: center;
    background-size: cover;
    border: 2px solid #FF5F0A;
    position: relative;
    box-shadow: inset 0.4vw 0vw rgb(139, 40, 1);
}
.right-control-part .left-options-control-section button:nth-child(1)::after {
    display: block;
    content: "";
    /* border: 2px solid red; */
    position: absolute;
    right: 2px;
    top: 2px;
    width: 40%;
    height: 40%;
    border-radius: 40%;
    background-color: rgba(237, 248, 223, 0.664);
}
.right-control-part .left-options-control-section button:nth-child(2) {
    margin-right: 29%;
    background-image: url("../images/console_images/bouton reset.jpg");
    background-position: center;
    background-size: cover;
    border: 2px solid #541BC7;
    position: relative;
    box-shadow: inset 0.4vw 0vw rgb(38, 38, 97);
}
.right-control-part .left-options-control-section button:nth-child(2)::after {
    display: block;
    content: "";
    position: absolute;
    right: 2px;
    top: 2px;
    width: 40%;
    height: 40%;
    border-radius: 40%;
    background-color: rgba(237, 248, 223, 0.548);
}
.right-control-part .left-options-control-section button:nth-child(3) {
    margin-right: 39%;
    background-image: url("../images/console_images/bouton coins.jpg");
    background-position: center;
    background-size: cover;
    border: 2px solid #D1D236;
    position: relative;
    box-shadow: inset 0.4vw 0vw rgb(131, 129, 46);
}
.right-control-part .left-options-control-section button:nth-child(3)::after {
    display: block;
    content: "";
    position: absolute;
    right: 2px;
    top: 2px;
    width: 40%;
    height: 40%;
    border-radius: 40%;
    background-color: rgba(237, 248, 223, 0.664);
}

/* ++++++++++++++ */
.right-control-part .decoration3 {
    position: absolute;
    /* border: 2px solid white; */
    width: 80%;
    height: 1%;
    bottom: 6%;
    left: 6%;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    transform: rotateY(180deg);
}
.right-control-part .decoration3 button {
    padding: 3%;
    border: none;
    margin-left: 2%;
    background-color: white;
    animation: var(--animdecoration3);
}
.right-control-part .decoration3 button:nth-child(1) {
    animation-delay: 0.1s;
}
.right-control-part .decoration3 button:nth-child(2) {
    animation-delay: 0.2s;
}
.right-control-part .decoration3 button:nth-child(3) {
    animation-delay: 0.3s;
}
.right-control-part .decoration3 button:nth-child(4) {
    animation-delay: 0.4s;
}
.right-control-part .decoration3 button:nth-child(5) {
    animation-delay: 0.5s;
}
.right-control-part .decoration3 button:nth-child(6) {
    animation-delay: 0.6s;
}
.right-control-part .decoration3 button:nth-child(7) {
    animation-delay: 0.7s;
}



.screen-part {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    /* overflow-x: scroll; */
}
.screen-part::-webkit-scrollbar {
    height: 0.5vw; 
    display: none; 
}
.screen-part:hover::-webkit-scrollbar {
    display: block;
}
.screen-part::-webkit-scrollbar {
    display: none;
}
.screen-part::-webkit-scrollbar-thumb {
    background-color: rgba(243, 206, 42, 0.911);
    border-radius: 5px;
}


#first-message {
    background: linear-gradient(yellow, rgb(245, 245, 189));
    padding: 3% 1%;
    text-align: center;
    font-weight: bold;
    font-size: 1.75vw;
    width: 80%;
    /* margin-left: 10%; */
    -webkit-text-stroke: 0.07vw;
    /* margin-top: 29%; */
    box-shadow: 5px 5px 75px yellow;
    animation: blowMessage 1s linear infinite;
}
@keyframes blowMessage {
    50% {
        opacity: 0;
    }
}

.lauching-section {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    position: relative;
    animation: made 3s linear;
    opacity: 1;
}
@keyframes made {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
}
.lauching-section img {
    width: 60%;
    height: 50%;
    margin-top: -5%;
}
.lauching-section p {
    position: absolute;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-weight: bold;
    -webkit-text-stroke: 0.05vw;
    bottom: 17%;
    opacity: 1;
    font-size: 1.4vw;
    transition: 0.5 ease;
    animation: madeincam 8s linear;
}
@keyframes madeincam {
    0% {
        bottom: 0%;
        opacity: 0;
    }
    90% {
        bottom: 0%;
        opacity: 0;
    }
    100% {
        bottom: 17%;
        opacity: 1;
    }
}


.menu-games {
    /* border: 2px solid white; */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(to right, rgb(151, 151, 22), rgb(212, 212, 41));
    animation: translateAnime 0.45s linear;
}
@keyframes translateAnime {
    0% {
        transform: translateX(50%);
        opacity: 0;
    }
}
.menu-games * {
    z-index: 2;
}
.menu-games::before {
    position: absolute;
    content: "";
    display: block;
    top: 2%;
    left: 2%;
    width: 25%;
    height: 35%;
    border-radius: 50%;
    box-shadow: inset 0.5vw 0.5vw 4vw white;
}
.menu-games::after {
    position: absolute;
    content: "";
    display: block;
    bottom: 2%;
    right: 2%;
    width: 42%;
    height: 60%;
    border-radius: 50%;
    box-shadow: inset 0.5vw 0.5vw 4vw white;
}
.menu-games #background-image {
    border: 2px solid white;
    position: absolute;
    width: 100%;
    height: 100%;
    transition: 0.5s ease;
    opacity: 0.25;
    z-index: 1;
}
.menu-games em {
    color: rgb(19, 19, 1);
    position: absolute;
    bottom: 4%;
    right: 4%;
    font-size: 1.4vw;
    font-weight: bold;
    opacity: 1;
    animation: press2 0.5s linear infinite;
}
@keyframes press2 {
    50% {
        opacity: 0;
    }
}
.menu-games h2 {
    color: white;
    font-size: 2vw;
    margin-bottom: 1%;
    text-shadow: 0.1vw 0.1vw 0.1vw black;
    background: linear-gradient(rgba(0, 0, 0, 0.63), rgba(158, 158, 158, 0.582));
    padding: 1% 2%;
}
.menu-games h3 {
    color: rgb(61, 8, 110);
    -webkit-text-stroke: 0.03vw;
    text-decoration: underline;
    font-size: 1.7vw;
    margin-top: 2%;
    text-shadow: 0.08vw 0.08vw 0.5vw white;
}
.games-list {
    /* border: 2px solid red; */
    width: 50%;
    height: 49%;
    padding: 4%;
    overflow: hidden;
}
.games-list div{
    position: relative;
    /* border: 2px solid blue; */
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    transition: 0.5s ease;
}
.games-list div img {
    min-width: 90%;
    height: 100%;
    margin-right: 8%;
    /* border: 2px solid yellow; */
    transition: 0.3s ease;
}

#Arrow-direction1 {
    position: absolute;
    top: 40%;
    left: 5%;
    width: 8%;
    height: 17%;
    filter: drop-shadow(0.4vw 0.4vw 0.6vw white) drop-shadow(-0.4vw -0.4vw 0.6vw white);
    animation: directionAnim 0.5s linear infinite;
}
#Arrow-direction2 {
    position: absolute;
    top: 40%;
    right: 5%;
    width: 8%;
    height: 17%;
    filter: drop-shadow(0.4vw 0.4vw 0.6vw white) drop-shadow(-0.4vw -0.4vw 0.6vw white);
    transform: rotateY(180deg);
    animation: directionAnim2 0.5s linear infinite;
}
@keyframes directionAnim {
    50% {
        /* transform: scale(1.1); */
        left: 6.5%;
    }
}
@keyframes directionAnim2 {
    50% {
        right: 6.5%;
        transform: rotateY(180deg);
    }
}

#paysageMode {
    border: none;
    margin-top: 5%;
    padding: 2%;
    color: white;
    font-weight: bold;
    background: linear-gradient(to top, rgb(1, 1, 116), blue);
    box-shadow: 0.5vmin 0.5vmin black;
}

/* ######################## CSS pour la div de chargement ########################## */

.loading-div {
    position: absolute;
    z-index: 21;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.loading-div p {
    border: 0.8vw solid;
    padding: 7%;
    margin-bottom: 2%;
    border-radius: 50%;
    border-left-color: transparent;
    animation: loadingAnim 0.9s linear infinite;
    color: rgb(83, 83, 83);
}
@keyframes loadingAnim {
    100% {transform: rotate(360deg);}
}
.loading-div em {
    font-size: 4vmin;
    font-weight: bold;
    color: rgb(66, 66, 66);
    animation: loadingWord 2s linear infinite;
}
@keyframes loadingWord {
    99% {opacity: 0;}
}



.game-controls-explanation {
    margin: 3% 5%;
    padding: 2%;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 2.5vmin;
    color: #333;
    line-height: 1.5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.game-controls-explanation h2 {
    font-size: 3vmin;
    font-weight: bold;
    margin-bottom: 1vmin;
    color: #222;
}

.ads-explanation {
    margin: 3% 5%;
    padding: 2%;
    background-color: #f0f0ff;
    border: 1px solid #bbb;
    border-radius: 10px;
    font-size: 2.5vmin;
    color: #444;
    text-align: center;
    line-height: 1.5;
}

.ads-explanation h2 {
    font-size: 3vmin;
    font-weight: bold;
    margin-bottom: 1vmin;
    color: #0056b3;
}

.game-screen-explanation {
    margin: 3% 5%;
    padding: 2%;
    background-color: #fff3e0;
    border: 1px solid #e0b080;
    border-radius: 10px;
    font-size: 2.5vmin;
    color: #444;
    line-height: 1.5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.game-screen-explanation h2 {
    font-size: 3vmin;
    font-weight: bold;
    margin-bottom: 1vmin;
    color: #e67e22;
}

@media (max-width: 768px) {
    .game-controls-explanation,
    .ads-explanation,
    .game-screen-explanation {
        font-size: 3vmin;
        padding: 4%;
    }
    .game-controls-explanation h2,
    .ads-explanation h2,
    .game-screen-explanation h2 {
        font-size: 4vmin;
    }
}



/* @media screen and (max-width: 649px) {
    .console {
        border-radius: 40px;
    }
}

@media screen and (min-width: 650px) and (max-width: 760px) {
    .console {
        border-radius: 80px;
    }
}

@media screen and (min-width: 761px) and (max-width: 1000px) {
    .console {
        border-radius: 90px;
    }
} */