@font-face {
    font-family: 'pixelNes';
    src: url('font/Pixel NES.otf');
}

@font-face {
    font-family: 'pixelTandy';
    src: url('font/Pixel Tandy.otf');
}

body,
html {
    height: 100%;
    margin: 0%;
}

section {
    height: 1%;
    width: 100%;
}

.flexboxjeu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    align-items: center;

    background: black;
    font-family: 'pixelNES', sans-serif;
    width: 100%;
    height: 100%;

}

.image_atelier1 {

    height: 700px;
    width: 700px;
    background-image: url('public/atelierjeu2.png');
    border: solid white 5px;
    border-radius: 20px;
}

.btn {
    width: 100px;
}



#btn-image1 {
    position: absolute;
    margin-top: 85px;
    margin-left: 250px;
    width: 100px;
    height: 100px;
    opacity: 0;
    cursor: pointer;
}


#btn-image2 {
    position: absolute;
    margin-top: 195px;
    margin-left: 510px;
    width: 100px;
    height: 100px;
    opacity: 0;
    cursor: pointer;
}

#btn-image3 {
    position: absolute;
    margin-top: 590px;
    margin-left: 290px;
    width: 100px;
    height: 100px;
    opacity: 0;
    cursor: pointer;
}

#btn-image4 {
    position: absolute;
    margin-top: 240px;
    margin-left: 150px;
    width: 100px;
    height: 100px;
    opacity: 0;
    cursor: pointer;
}

#btn-image5 {
    position: absolute;
    margin-top: 600px;
    margin-left: 550px;
    width: 100px;
    height: 100px;
    opacity: 0;
    cursor: pointer;
}


#image1 img {
    position: absolute;
    display: none;
    width: auto;
    height: auto;
    margin-top: 265px;
    margin-left: 235px;
}

#image2 img {
    position: absolute;
    display: none;
    width: auto;
    height: auto;
    margin-top: 265px;
    margin-left: 235px;
}

#image3 img {
    position: absolute;
    display: none;
    width: auto;
    height: auto;
    margin-top: 265px;
    margin-left: 235px;
}

#image4 img {
    position: absolute;
    display: none;
    width: auto;
    height: auto;
    margin-top: 265px;
    margin-left: 235px;
}


#image5 img {
    position: absolute;
    display: none;
    width: auto;
    height: auto;
    margin-top: 265px;
    margin-left: 235px;
}



h1 {
    font-size: 100px;
    font-family: 'pixel Tandy', sans-serif;
    text-shadow: 1px 1px 0.5px white;

    position: absolute;
    top: 28%;
    left: 10;
    margin-right: 50%;
    transform: translate(225%, 225%);
}

#info-jeux {

    margin-left: 2%;
    height: 700px;
    width: 320px;
    display: flex;
    flex-direction: column;
}

.consigne_text {
    color: white;
    padding-bottom: 2%;
    font-family: 'pixelNes', sans-serif;
}

#info-jeux h2 {
    padding: 0;
    margin: 0 0 20px 0;
    text-align: center;
    color: black;
    background-color: white;
    border: solid 4px white;
    border-radius: 25px;
    font-family: 'pixelNES', sans-serif;
}

#info-mouvement {
    background-color: black;

    border: solid 4px white;
    border-radius: 25px;
    padding: 10px;
    color: white;
}

#consigne {
    display: block;
    color: darkorange;
    font-family: 'pixelTandy', sans-serif;
    padding-left: 2px;
}

/* gagne le jeu */
.end-game {
    display: none;
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: auto;
    background: rgba(0, 0, 100, 0.5);
}

.succes {
    width: 50%;
    height: 50%;
    position: fixed;
    display: flex;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    background-color: rgb(66, 66, 66);
    border: solid 6px white;
}

.succes p {
    width: 100%;
    margin: auto auto auto auto;
    text-align: center;
    color: white;
    font-size: 48px;
    font-family: 'pixelTandy', sans-serif;
}

.gif {
    width: 60%;
    align-self: center;
    padding-top: 200px;
}