@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
body{
	margin: 0;
	font-size: 16px;
	background-color: #fd9b3c;
}
*{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	outline: none;
}
.custom-box{
	max-width: 700px;
	background-color:white;
	margin: 40px auto;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 2px 8px 2px rgba(20,3,28,15);
	animation: fadeInright 1s ease;
}
@keyframes fadeInright{
	0%{
		transform: translateX(40px);
		opacity: 0;
	}
	100%{
		transform: translateX(0px);
		opacity: 1;
	}
}
.custom-box::before,
.custom-box::after{
	content:'';
	clear:both,
	display:table;
}



.custom-box::before,
.custom-box::after{
	content: '';
	clear: both;
	display: table;

}
.custom-box.hide{
	display: none;
}
.home-box h3{
	font-size: 20px;
	color: #000000;
	font-weight: 500;
	margin-bottom: 15px;
	line-height: 25px;
}
.home-box p{
	font-size: 18px;
	margin-bottom: 10px;
	color: black;
	font-weight: 400;
}
.home-box p span{
	font-weight: 500;
}
.btn{
	padding: 15px 45px;
	background-color: #fd9b3c;
	color: #ffffff;
	border: none;
	border-radius: 5px;
	font-size: 16px;
	cursor: pointer;
	display: inline-block;
}
.home-box .btn{
	margin-top: 20px;

}

.quiz-box .question-number,
.quiz-box .question-text,
.quiz-box .option-container,
.quiz-box  .next-question-btn,
.quiz-box .answers-indicator{
width: 100%;
float: left;
}

.quiz-box .question-number{
font-size: 18px;
color: #fd9b3c;
font-weight: 600;
border-bottom: 1px solid black;
padding-bottom: 10px;
line-height: 25px;

}
.quiz-box .question-text{
font-size: 22px;
color: black;
line-height: 28px;
font-weight: 400;
padding: 20px 0;
margin: 0;
}
.quiz-box .question-text img{
	max-width: 100%;
	display: block;
	margin-top: 15px;
}
.quiz-box .option-container .option{
background-color: whitesmoke;
padding:13px 15px;
font-size: 16px;
line-height: 22px;
color: black;
border-radius: 5px;
margin-bottom:10px ;
cursor: pointer;
text-transform: capitalize;
opacity: 0;
animation: fadeIn 0.3s ease forwards;
position: relative;
overflow: hidden;
}
.quiz-box .option-container .option.already-answered{
	pointer-events: none;
}
@keyframes fadeIn{
	0%{
		opacity: 0;

	}
	100%{
		opacity: 1;
	}
}

.quiz-box .option-container .option.correct::before{
content: '';
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
background-color: #00F214;
z-index: -1;
animation: slideInleft .5s ease forwards;
}
@keyframes slideInleft{
	0%{
		transform: translateX(-100%);
	}
	100%{
		transform: translateX(0%);

	}
}
.quiz-box .option-container .option.wrong::before{
content: '';
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
background-color: #FA3D01;
z-index: -1;
animation: slideInleft .5s ease forwards;
}

.quiz-box .option-container .option.wrong{
color: whitesmoke;
}
.quiz-box .btn{
	margin: 15px 0;
}
.quiz-box .answers-indicator{
	border-top:1px solid black ;
}
.quiz-box .answers-indicator div{ 
	height: 30px;
	width: 30px;
	display: inline-block;
	background-color:whitesmoke ;
	border-radius: 50%;
	border: 2px solid black;
	margin-right: 3.8px;
	margin-top: 15px;
}
.quiz-box .answers-indicator div.correct{
	background-color: #00F214;
	background-image: url('../img/correct.png');
	background-size: 50%;
	background-repeat: no-repeat;
	background-position: center;
}
.quiz-box .answers-indicator div.wrong{
	background-color: #FA3D01;
	background-image: url('../img/wrong.png');
	background-size: 50%;
	background-repeat: no-repeat;
	background-position: center;
	
}
.result-box{
	text-align: center;
}
.result-box{
	text-align: center;
}
.result-box.hide{
display: none;
}
.result-box table{
width: 100%;
border-collapse:collapse;
margin: 30px 0;
}

.result-box table td{
border: 1px solid #fd9b3c ;
padding: 8px 15px;
font-weight: 500;
color: black;
width: 50%;
text-align: left;
font-size: 18px;
}
.result-box .btn{
margin-right: 20px;
margin-top: 10px;

}
@media(max-width: 768px){
	body{
		padding: 15px;
	}
}