@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body {
	text-align: center;
	height: 100vh;
	overflow: hidden;
	background: linear-gradient(-45deg, #1d59fe, #0131b4);
	background-size: 300% 300%;
	animation: gradient 10s ease infinite;
}

/* DÉBUT */

#menu {
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	flex-wrap: wrap;
	background: linear-gradient(-45deg, #8b00ff, #470082);
	background-size: 400% 400%;
	animation: gradient 7s ease infinite;
	overflow: hidden;
	position: relative;
}

#illustration {
	width: 30%;
}

#illustration > img {
	width: 100%;
}

#menu article {
	width: 30%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#menu .pdf {
	width: 100%;
	margin-bottom: 20px;
}

#menu #sonDiv, #menu #expressDiv {
	width: 30%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	font-family: LexendM;
	font-size: 1.5rem;
}

#menu button {
	width: 100%;
	font-size: 2rem;
	font-family: Agency_Gras;
	border: 3px solid white;
	background: black;
	color: white;
	transition: color 0.5s, background 0.5s, border-color 0.5s;
	padding: 10px 0;
	cursor: pointer;
}

#menu a:nth-child(2) button {
	background: #03224c;
	border-color: white;
}

#menu button:hover {
	color: black;
	background: white;
	border-color: black;
}

#menu a:nth-child(2) button:hover {
	color: #03224c;
	background: white;
	border-color: #03224c;
}

#menu button:not(button:last-child) {
	margin-bottom: 20px;
}

#button a {
	width: 100%;
	margin-bottom: 20px;
}

#start {
	width: 100%;
	display: flex;
	justify-content: center;
}

#menu #start * {
	margin-bottom: 0;
}

#start a {
	width: 100%;
}

#start button:first-child {
	margin-right: 50px;
}

.aspiration {
	transform: scale(0);
	opacity: 0;
	transition: all 1s;
}

.aspiration > article:last-child {
	display: none;
}

.cache {
	display: none;
}

/* JEU */

main {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	width: 100%;
	position: relative;
}
#titre {
	position: absolute;
	top: 0;
	font-family: Agency_Gras;
	color: white;
}
#titre > h1 {
	font-size: 2rem;
	text-transform: uppercase;
}
#jeu {
	display: flex;
	flex-direction: column;
	width: 500px;
	height: 500px;
}
#jeu > div {
	display: flex;
	justify-content: space-around;
}
#jeu > div:first-child {
    height: 80%;
    margin-bottom: 32px;
    width: clamp(300px, 30vw, 100%);
    align-self: center;
}
#button > * {
	font-family: LexendM;
}
.passe, .next {
	background: #ff9e81;
	border: none;
	border-radius: 50%;
	width: 150px;
	height: 45px;
	font-size: 20px;
	font-family: Latin Gras;
	transition: all 0.5s;
	cursor: pointer;
}
.passe:hover {
	color: white;
	background: darkred;
	transition: all 0.5s;
}

.next {
	background: #b38bff;
}

.next:hover {
	color: white;
	background: darkblue;
	transition: all 0.5s;
}

.finish {
	background: #0f0;
	transition: all 0.5s;
}

.finish:hover {
	background: darkgreen;
	transition: all 0.5s;
}

.rien, .rien:hover {
	color: #fff;
	background: #ccc;
}

#answer, #pays {
	font-family: "Gill Sans", sans-serif;
	margin-bottom: 32px;
	text-align: center;
	font-size: 25px;
	border: solid 2px black;
	border-radius: 8px;
	outline: none;
}

main img, #imgCorrige {
	align-self: center;
	border: 3px solid black; 
  	outline: 3px solid white;
	max-width: 100%;
    max-height: 100%;
}

.entrainement {
	background: linear-gradient(-45deg,#9200ff, #4d0085);	
}

.nepal {
	border: none;
	outline: none;
}

/* Size Menu */

@media all and (max-width: 1157px) {
	#menu article {
		width: 50%;
	}
}

@media all and (max-width: 768px) {
	#menu {
		flex-direction: column;
	}

	#illustration {
		width: 70%;
	}

	#start button:first-child {
		margin-right: 0;
	}

	#menu div {
		flex-direction: column-reverse;
	}

	#menu #button div > button:last-child {
		margin-bottom: 20px !important;
	}
}