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

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

body {
    /*margin: 0;*/
    padding: 0;
    background: black no-repeat center center;
    /* background-size: cover;*/
    background-size: 150%;
}

main {
    display: flex;
    margin: 50px 15% auto 15%;
    width: 100%;
    height: 100%;
}

button:focus {
    outline: none;
}


.Tableau {

    margin: auto;
    width: 600px;
    height: 600px;
    background: url("public/fondcadre.png") no-repeat center center;
    background-size: cover;
}

.tableautt {
    position: relative;
    height: 50%;
}

.tableau img {
    cursor: grab;
    object-fit: cover;
    width: 224px;
    height: 224px;
}

.tableau {
    position: absolute;
    margin-top: 59px;
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.text-succes {
    font-family: 'pixelTandy', sans-serif;
    height: 20%;
    width: 100%;
    display: none;
}

.lancerjeu {
    height: 20%;
    width: 100%;
    display: flex;
}

.lancerjeu button {
    margin: auto;
    padding: 50px;
    background-color: rgb(168, 168, 168);
    border: solid;
    border-radius: 25px;
    text-transform: uppercase;
    font-family: 'pixelTandy', sans-serif;
    font-size: 30px;
    z-index: 1000;
}

.lancerjeu button:hover {
    background-color: rgb(23, 62, 85);
    color: white;
}

.succes-game {
    font-family: 'pixelTandy', sans-serif;
    margin: auto;
    text-align: center;
    font-size: 50px;
    display: none;
}

.container-panier {
    display: flex;
    justify-content: space-around;
    text-align: center;
    height: 30%;
}

.shopping {
    height: 100%;
}

.shopping div img {
    height: 85%;
}

.shopping button {
    padding: 10px;
    background-color: white;
    border: none;
    border-radius: 25px;
    text-transform: uppercase;
    cursor: help;
    font-family: 'pixelTandy', sans-serif;
}

.shopping button:hover {
    color: white;
    background-color: rgb(23, 62, 85);
}

#info-jeux {
    width: 320px;
    margin: 0 0 0 20px;
}

#info-jeux h1 {
    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;
    height: 150px;
    border: solid 4px white;
    border-radius: 25px;
    padding: 10px;
    color: white;
    font-family: 'pixelTandy', sans-serif;
}

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

#timer {
    background-color: black;
    border: solid 4px white;
    border-radius: 25px;
    color: white;
    display: flex;
    margin: 50px auto auto auto;
    font-family: 'pixelTandy', sans-serif;
}

#img-chrono {
    padding: 10px;
}

#timer svg {

    fill: white;
}

#perdu {
    display: none;
    font-family: 'pixelTandy', sans-serif;
}

.resultat {
    margin: auto auto auto 13px;
}

.button-lose {
    height: auto;
    align-self: center;
    text-align: center;
    display: flex;
}

.button-lose button {
    padding: 10px;
    background-color: white;
    border: none;
    border-radius: 25px;
    font-family: 'pixelTandy', sans-serif;

}

.button-lose button:hover {
    background-color: red;
    color: white;
}


.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);
}

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

.result p {
    margin-top: 120px;
    text-align: center;
    color: white;
    font-size: 48px;
    font-family: 'pixelTandy', sans-serif;
}

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

#text-paysage {
    display: none;
}

#text-nature-morte {
    display: none;
}

#text-portrait {
    display: none;
}