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

body {
    /*margin: 0;*/
    padding: 0;
    background: url("public/FOND_T.png") no-repeat center center;
    /* background-size: cover;*/
    background-size: 150%;
}

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

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: 'pixel Tandy', sans-serif;
    height: 20%;
    width: 100%;
    display: flex;
}

.succes-game {
    font-family: 'pixel Tandy', 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: 'pixel Tandy', sans-serif;
}

.shopping button:hover {
    color: white;
    background-color: rgb(0, 179, 255);
}

#info-jeux {
    width: 400px;
    margin: 0 0 0 50px;
}

#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: 'pixel Tandy', sans-serif;
}

#consigne {
    display: block;
    font-family: 'pixel Tandy', sans-serif;
}

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

#img-chrono {
    padding: 10px;
}

#timer svg {

    fill: white;
}

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

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

#reload {
    margin: 20px auto auto auto;
    width: auto;
    text-align: center;
    display: none;
}

#reload button {
    padding: 10px;
    background-color: white;
    border: none;
    border-radius: 25px;
    font-family: 'pixel Tandy', sans-serif;

}

#reload 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);
}

.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: 'pixel Tandy', sans-serif;
}

#text-impressionnisme {
    display: none;
}

#text-post-impressionnisme {
    display: none;
}

#text-fauvisme {
    display: none;
}