@import url("https://fonts.googleapis.com/css?family=Poppins:wght@200;400&display=swap");

* {
	box-sizing: border-box;
}

body {
	font-family: "Poppins", sans-serif;
	background-image: linear-gradient(315deg, #a0b9df 0%, #7a7a7a 100%);
	background-color: #b8c6db;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	overflow: hidden;
	margin: 0;
}

.back {
	position: absolute;
	top: 2vh;
	left: 5vw;
	color: black;
	background-color: white;
	font-size: 2rem;
	font-family: initial;
}

.container {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 600px;
	background-color: rgb(255, 255, 255);
	opacity: 0.4;
	backdrop-filter: blur(4px);
	border-radius: 10px;
	z-index: 1;
	box-shadow: 0 0 10px 2px rgba(100, 100, 100, 0.2);
}

.quiz-container {
	border-radius: 10px;
	width: 600px;
	position: relative;
	z-index: 2;
}

.quiz-header {
	padding: 4rem;
}

h2 {
	padding: 1rem;
	text-align: center;
	margin: 0;
}

h2.done {
	top: 0;
	position: absolute;
}

h2.done + button {
	display: block;
	bottom: 0;
	border-radius: 10px;
}

ul {
	list-style-type: none;
	padding: 0;
}

ul li {
	font-size: 1.2rem;
	margin: 1rem 0;
	position: relative;
}

ul li label {
	cursor: pointer;
}

button {
	position: absolute;
	padding: 1rem;
	bottom: 0px;
	background-color: #6969db;
	border: none;
	color: white;
	display: block;
	width: 100%;
	cursor: pointer;
	font-size: 1.1rem;
	font-family: inherit;
	border-radius: 0 0 10px 10px;
}

button:hover {
	background-color: #4747dd;
}

button:focus {
	outline: none;
	background-color: #4747dd;
}
