/*********************QUIZZ*********************/
#quiz-container {
	max-width: 80rem;
	margin: auto;
	background-color: #f9f9f9;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#quiz-container h1 {
	font-weight: bolder;
  	font-size: 4.5rem;
  	color: #982760;
}

.question-block {
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	margin-bottom: 1.25rem;
	padding: 1.25rem;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.question-block p {
	font-size: 1.2em;
	font-weight: bold;
	color: #333;
	margin-bottom: 0.625rem;
}

.question-block label {
	display: flex;
	align-items: center;
	font-size: 1.1em;
	color: #555;
	padding-left: 2.2rem;
	position: relative;
	margin-bottom: 0.6rem;
	cursor: pointer;
}

.question-block label input[type="radio"] {
	margin-right: 0.625rem;
	accent-color: #9e2d66; 
}

#quiz-form {
	margin-top: 1.25rem;
}

#submit-btn {
	display: block;
	width: 100%;
	padding: 0.9rem;
	background-color: #9e2d66;
	color: white;
	border: none;
	border-radius: 5px;
	font-size: 1.2em;
	cursor: pointer;
	margin-top: 1.9rem;
}

#submit-btn:hover {
	background-color: #9e2d66;
}

#submit-btn:active {
	background-color: #9e2d66;
}

#score {
	text-align: center;
	margin-top: 1.9rem;
}

#score h2  {
	font-weight: bolder;
	color: #982760;
	font-size: 2rem;
}

#score p {
	font-size: 1.2em;
	color: #982760;
}

#timer {
	font-size: 2rem;
	color: #982760;;
	font-weight: bolder;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
}

#hourglass-container {
	position: relative;
	width: 2.5rem;
	height: 4.375rem;
	margin-right: 0.625rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

#time {
	font-weight: bolder;
	color: #982760;
	font-size: 2rem;
}

.question-block label:hover {
	background-color: #f2f2f2;
	border-radius: 4px;
	padding-left: 2.5rem;
	transition: padding-left 0.3s;
}

#quiz-container button:disabled {
	background-color: #cccccc;
	cursor: not-allowed;
}

@media (max-width: 480px) {
  #quiz-container h1 {
    font-size: 1.8rem;
  }

  .question-block p {
    font-size: 1em;
  }

  .question-block label {
    font-size: 0.7em;
  }

  #timer {
    font-size: 1.2rem;
  }
}