@font-face {
	font-family: 'marvin';
	src: url('marvin.woff2') format('woff2'),
		 url('marvin.woff') format('woff'),
		 url('marvin.ttf') format('truetype');
  }

body {
    font-family: Arial, sans-serif;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-image: url(FOND-EXPLORER.jpg);
    background-repeat: no-repeat;
    background-position: center;
}

#game-container {
    width: 90%;
    max-width: 400px;
    border-radius: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrer les éléments horizontalement */
    background: #FFF;
    box-shadow: 0px 5px lightgrey;
}

#mime-word {
    font-size: 36px;
    font-family: 'marvin';
    margin: 10px;
}

#buttons {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.answer-btn-check {
    position: relative;
    padding: 5px 12px;
    background-color: #008000;
    box-shadow: 0px 5px #006400;
    color: white;
    border: none;
    border-radius: 100%;
    cursor: pointer;
    margin: 0 5px; /* Ajoutez une marge de 5px entre les boutons */
}

.answer-btn-check:hover {
    top: 2px;
    box-shadow: 0px 3px #006400;
}

.imgcheck {
    position: relative;
    width: 35px;
    height: 35px;
}

.answer-btn {
    position: relative;
    padding: 10px 15px;
    background-color: #B22222;
    box-shadow: 0px 5px #8B0000;
    color: white;
    border: none;
    border-radius: 100%;
    cursor: pointer;
    margin: 0 5px; /* Ajoutez une marge de 5px entre les boutons */
}

.answer-btn:hover {
    top: 2px;
    box-shadow: 0px 3px #8B0000;
}

.imgcroix {
    position: relative;
    width: 30px;
    height: 30px;
}

#score-timer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-family: 'marvin';
}

#score {
    font-size: 20px;
    margin-right: 25px; /* Ajoutez une marge de 20px à droite du score */
}

#timer {
    font-size: 20px;
}

#start-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

#start-overlay-content {
    text-align: center;
    color: #fff;
}

#start-overlay h2 {
    font-size: 36px;
    font-family: 'marvin';
}

#start-overlay p {
    font-size: 18px;
    margin-bottom: 20px;
    font-family: 'marvin';
}

#start-btn {
    padding: 5px 20px;
    font-size: 20px;
    color: white;
    cursor: pointer;
    border-top: 2px solid #dae4f5;
	border-left: 4px solid #dae4f5;
	border-right: 4px solid #dae4f5;
	border-bottom: 6px solid #a9bae1;
	box-shadow: 0 2px #7385c1;
	border-radius: 30px 20px 25px 20px;
	transform: perspective(1em) rotateX(1deg) rotateY(-1deg);
	background-image: linear-gradient(0deg, #fdc519 10%, #f49a19 90%);
    font-family: 'marvin';
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

#overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    text-align: center;
    color: #fff;
}

#overlay h2 {
    font-size: 36px;
    font-family: 'marvin';
    margin: 0px;
    line-height: 1.2;
}

#overlay p {
    font-size: 25px;
    font-family: 'marvin';
    line-height: 1.2;

}

#overlay button {
    padding: 5px 20px;
    font-size: 20px;
    color: white;
    cursor: pointer;
    border-top: 2px solid #dae4f5;
	border-left: 4px solid #dae4f5;
	border-right: 4px solid #dae4f5;
	border-bottom: 6px solid #a9bae1;
	box-shadow: 0 2px #7385c1;
	border-radius: 30px 20px 25px 20px;
	transform: perspective(1em) rotateX(1deg) rotateY(-1deg);
	background-image: linear-gradient(0deg, #fdc519 10%, #f49a19 90%);
    font-family: 'marvin';
}
