*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    overflow: hidden;
    height:100vh;
    position: relative;
    transition: .3s ease;
}

#brouillard{
    background: url(../images/Brouillard.png) repeat-x;
    width: 30000px;
    height: 600px;
    position: absolute;
    opacity: .3;
    background-size: contain;
    top: -310px;
}

.back-game{
    background: url(../images/fond-used-test.png) repeat-x;
    width: 30000px;
    background-size: 10%;
    position: absolute;
    opacity: .5;
    background-position-x : -500px;
    z-index:-2;
}

.game{
    background: url(../images/fond-used-test.png) repeat-x;
    width: 30000px;
    background-size: 10%;
}

/*#back-game{*/
    /*background: url(../images/fond-used-test.png) repeat-x;*/
    /*width: 30000px;*/
    /*background-size: 10%;*/
    /*position: absolute;*/
    /*opacity: .5;*/
    /*background-position-x : -500px;*/
    /*z-index:-2;*/
/*}*/

/*#game{*/
    /*background: url(../images/fond-used-test.png) repeat-x;*/
    /*width: 30000px;*/
    /*background-size: 10%;*/
/*}*/

.back-game2{
    background: url(../images/fond-used-test.png) repeat-x;
    width: 30000px;
    background-size: 10%;
    position: absolute;
    opacity: .5;
    background-position-x : -500px;
    z-index:-2;
    top:0;
    left:30000px;
}

.game2{
    background: url(../images/fond-used-test.png) repeat-x;
    width: 30000px;
    background-size: 10%;
    position: absolute;
    left: 30000px;
    top:0;
}

.back-game3{
    background: url(../images/fond-used-test.png) repeat-x;
    width: 30000px;
    background-size: 10%;
    position: absolute;
    opacity: .5;
    background-position-x : -500px;
    z-index:-2;
    top:0;
    left:30000px;
}

.game3{
    background: url(../images/fond-used-test.png) repeat-x;
    width: 30000px;
    background-size: 10%;
    position: absolute;
    left: 30000px;
    top:0;
}

.poteau_container{
    position: absolute;
    height: 400px;
    bottom: 0;
}

.poteau_container.starting-block > .no-before{
    background-image: url(../images/poteau1.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 435px;
    position: absolute;
    width: 200px;
    bottom: -45px;
    left: 25px;
}

.poteau_container.starting-block > .no-before2{
    background-image: url(../images/poteau1.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 435px;
    position: absolute;
    width: 200px;
    bottom: 125px;
    transform: scale(0.8);
    left: 225px;
    z-index: -1;
}

.poteau_container.starting-block > .no-before3{
    background-image: url(../images/poteau1.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 435px;
    position: absolute;
    width: 200px;
    bottom: 228px;
    z-index: -2;
    transform: scale(.4);
    left: 410px;
}

.poteau_container.starting-block > .no-before::before{
    content: '';
    width: 665px;
    position: absolute;
    display: block;
    height: 88px;
    left: -658px;
    bottom: 370px;
    z-index: 20;
    border-radius: 32%;
    border-bottom: solid 2px black;
}

.poteau_container.starting-block > .no-before2::before{
    content: '';
    width: 665px;
    position: absolute;
    display: block;
    height: 88px;
    left: -658px;
    bottom: 370px;
    z-index: 20;
    border-radius: 32%;
    border-bottom: solid 2px black;
}

.poteau_container.starting-block > .no-before3::before{
    content: '';
    width: 1500px;
    position: absolute;
    display: block;
    height: 88px;
    left: -1500px;
    bottom: 370px;
    z-index: 20;
    border-radius: 32%;
    border-bottom: solid 2px black;
}

.poteau_container.ligne1 > div{
    background-image: url(../images/poteau1.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 435px;
    position: absolute;
    width: 200px;
    bottom: -45px;
    left: 25px;
}

.poteau_container.ligne1 > div::after{
    content: '';
    width: 665px;
    position: absolute;
    display: block;
    height: 88px;
    left: 115px;
    bottom: 370px;
    z-index: 20;
    border-radius: 32%;
    border-bottom: solid 2px black;
}

.poteau_container.ligne2 > div{
    background-image: url(../images/poteau1.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 435px;
    position: absolute;
    width: 200px;
    bottom: 125px;
    transform: scale(0.8);
    left: 225px;
    z-index: -1;
}

.poteau_container.ligne2 > div::after{
    content: '';
    width: 858px;
    position: absolute;
    display: block;
    height: 88px;
    left: 115px;
    bottom: 370px;
    z-index: 20;
    border-radius: 32%;
    border-bottom: solid 2px black;
}

.poteau_container.ligne3 > div{
    background-image: url(../images/poteau1.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 435px;
    position: absolute;
    width: 200px;
    bottom: 228px;
    z-index: -2;
    transform: scale(.4);
    left: 410px;
}

.poteau_container.ligne3 > div::after{
    content: '';
    width: 1861px;
    position: absolute;
    display: block;
    height: 88px;
    left: 115px;
    bottom: 370px;
    z-index: 20;
    border-radius: 32%;
    border-bottom: solid 2px black;
}

#perso{
    z-index: 100;
    background: url(../images/perso.png) no-repeat;
    width: 140px;
    height: 161px;
    position: absolute;
    background-size: contain;
    bottom: 347px;
    transition: .1s;
}

#perso::after{
    content: '';
    background: black;
}

#perso.ligne2{
    bottom: 465px;
    transform: scale(0.7);
}

#perso.ligne3{
    bottom: 480px;
    transform: scale(0.4);
}

.slideshow {
    width: 100vw;
    height: 100vh;
    /*overflow: hidden;*/
    position: absolute;
    top: 0;
    left: 0;
    vertical-align: top;
}

.slideshow .slides-container {
    height: 100%;
    width: 3100px;
}

.slideshow .slide {
    display: inline-block;
    height: 100%;
    width: 1550px;
}

.container {
    width: 100%;
    height: 100%;
    position: relative;
}

.usb1{
    background: url(../images/usb.png) no-repeat;
    background-size: contain;
    width: 50px;
    transform: rotate(140deg);
    height: 25px;
    z-index: 10;
    position: absolute;
    display: block;
    left: 330px;
    bottom: 347px;
}

.usb2{
    background: url(../images/usb.png) no-repeat;
    background-size: contain;
    width: 50px;
    transform: rotate(140deg) scale(0.7);
    height: 25px;
    z-index: 10;
    position: absolute;
    display: block;
    left: 330px;
    bottom: 465px;
}

.usb3{
    background: url(../images/usb.png) no-repeat;
    background-size: contain;
    width: 50px;
    transform: rotate(140deg) scale(0.4);
    height: 25px;
    z-index: 10;
    position: absolute;
    display: block;
    left: 330px;
    bottom: 480px;
}

.fire1{
    background: url(../images/feu.png) no-repeat;
    background-size: contain;
    width: 50px;
    transform: scale(2.5);
    height: 25px;
    z-index: 10;
    position: absolute;
    display: block;
    left: 570px;
    bottom: 347px;
}

.fire2{
    background: url(../images/feu.png) no-repeat;
    background-size: contain;
    width: 50px;
    transform: scale(2);
    height: 25px;
    z-index: 10;
    position: absolute;
    display: block;
    left: 770px;
    bottom: 475px;
}

.fire3{
    background: url(../images/feu.png) no-repeat;
    background-size: contain;
    width: 50px;
    transform: scale(1.5);
    height: 25px;
    z-index: 10;
    position: absolute;
    display: block;
    left: 980px;
    bottom: 512px;
}

.score{
    z-index: 300;
    font-size: 15px;
    font-weight:800;
    position: absolute;
    top: 0;
    left: 0;
}

.dn{
    display: none;
}

#menu{

    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    margin: auto;
    padding: 0;
    width: 100vw;
    height: 200vh;
    top: 0vh;
    left: 0vw;
    animation-name: animatedown;
    animation-duration: 0.4s;
    animation-fill-mode: both;
    z-index:1000;
}

@keyframes animatedown {
    from {top: -100vh; opacity: 0}
    to {top: 0vh; opacity: 1}
}

@keyframes animateup {
    from {top: 0vh; opacity: 1}
    to {top: -100vh; opacity: 0}
}
.logo{
    margin : 10vh 10vw;
    width: 75vw;
    height: 30vw;
}
.menu-button{
    padding: 1vh 16vw;
    background-color: #5cb85c;
    color: white;
    font-size: 5vh;
    max-width: 80vw;
    margin: 2vh 20vw;
    text-align: center;
    display: block;
}
.menu-button:hover{
    background-color: #4a944a;
}
#menu-back{

    padding: 2px 16px;
    position: fixed;
    top: 3vh;
    left: 3vw;
    visibility: hidden;
    background-color: #5cb85c;
    color: white;
    font-size: 5vh;
    max-width: 10vw;
    text-align: center;
    z-index:1000;
}
#menu-back:hover{
    background-color: #4a944a;
}
#story-board{
    position: fixed;
}
#credits{
    display: none;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    margin: auto;
    padding: 0vh 0vw;
    width: 100vw;
    height: 200vh;
    top: -100vh;
    left: 0vw;
    animation-name: animateup;
    animation-duration: 20s;
    animation-fill-mode: both;
    z-index:999;

    font-size: 5vh;

}