@font-face {
    font-family: "Wizard";
    src: url("../fonts/Wizard.ttf") format("truetype");
}

:root {
    --jaune: #FBC200;
    --violet: #6A3190;
    --violet-fonce: #440A5F;
    --blanc: #FFFFFF;
    --noir: #000000;
}

* {
    margin: 0;
}

body {
    background-color: var(--noir);
}

.container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#jeu {
    background-color: var(--violet);
    width: 600px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    border: 5px solid var(--jaune);
    border-radius: 10px; 
    text-align: center;
    padding: 20px;
}

.logo {
    font-family: "Wizard";
    color: var(--jaune);
    font-size: 1.5em;
    text-transform: uppercase;
}

.titre {
    font-family: "Merriweather", serif;
    font-weight: 900;
    color: var(--blanc);
    text-transform: uppercase;
    font-size: 1.5em;
}

img, video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.description {
    font-family: "Merriweather", serif;
    color: white;
    font-size: 1em;
    letter-spacing: 0.05em;
}

.boutons {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

button:hover {
    cursor: pointer;
}

.choix {
    font-family: "Merriweather", serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1em;
    padding: 1em;
    margin: 0 0.5em 0 0.5em;
    background-color: #440A5F;
    color: #FBC200;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.4);
}

.choix:hover {
    transform: translateY(-2px);
    box-shadow: 0px 10px 20px 2px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.recommencer {
    background-image: url(../images/recommencer.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    height: 35px;
    width: 35px;
    background-color: transparent;
    border: none;
    margin-left: 5px;
}
  
.recommencer span {
    display: none;
}

#volume {
    background-image: url('../images/volume_on.png');
    background-size: cover;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
}

#checkbox {
    width: 50px;
    height: 50px;
    opacity: 0;
}

.outils {
    position: absolute;
    top: 20px;
    left: 20px;
}

#checkbox:hover {
    cursor: pointer;
}

/*--------Responsive--------*/
@media screen and (max-width: 500px) {
    .logo {
        font-size: 1em;
    }
    .titre {
        font-size: 1em;
    }
    .description {
        font-size: 0.9em;
    }
    body {
        background-color: var(--violet);
    }
    #jeu {
        background-color: transparent;
        border: none;
        height: 85%;
    }
    .boutons {
        flex-direction: column;
    }
    .choix {
        font-size: 0.8em;
        margin: 0.5em 0 0.5em 0;
    }
    .outils {
        top: 30px;
    }
    .logo {
        width: 70%;
        right: 20px
    }
    #volume, #checkbox {
        width: 30px;
        height: 30px;
    }
    .recommencer {
        margin: 0;
        width: 25px;
        height: 25px;
        margin-bottom: 50%;
    }
}

@media screen and (max-width: 1920px) and (orientation: landscape) {
    img, video {
        height: 40vh;
    }
    #jeu {
        height: 80vh;
    }
  }