@import url('https://fonts.googleapis.com/css?family=Poppins:wght@200;300;400;500;600;700&display=swap');

. {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}

body {
	background: #007bff;
}

.start_btn,
.info_box,
.quiz_box,
.result_box {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	box-shadow: 0px 4px 8px 0 rgba(0, 0, 0, 0.2),
		0px 6px 20px 0 rgba(0, 0, 0, 0.19);
	transition: all 0.3s ease;
}

.info_box.activeInfo,
.quiz_box.activeQuiz,
.result_box.activeResult {
	z-index: 5;
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, -50%) scale(1);
}

.start_btn button {
	font-size: 25px;
	font-weight: 500;
	color: #007bff;
	padding: 15px 30px;
	margin: 15px 30px;
	outline: none;
	border: none;
	border-radius: 5px;
	background: #fff;
	cursor: pointer;
}

.info_box {
	width: 540px;
	background: #fff;
	border-radius: 5px;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(0.9);
}

.info_box .info_title {
	height: 60px;
	/*	check width */
	width: 86%;
	border-bottom: 1px solid lightgrey;
	display: flex;
	align-items: center;
	padding: 0 35px;
	font-size: 20px;
	font-weight: 600;
}

.info_box .info_list {
	padding: 15px 35px;
}

.info_box .info_list .info {
	margin: 5px 0;
	font-size: 17px;
}

.info_box .info_list .info span {
	font-weight: 600;
	color: #007bff;
}

.info_box .buttons {
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 0 35px;
	border-top: 1px solid lightgrey;
}

.info_box .buttons button {
	margin: 0 5px;
	height: 40px;
	width: 100px;
	border: 1px solid transparent;
	border-radius: 5px;
	outline: none;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
}

.buttons button.restart {
	color: #fff;
	background: #007bff;
}

.buttons button.restart:hover {
	background: #0263ca;
}

.buttons button.quit {
	color: #007bff;
	border: 1px solid #007bff;
}

.buttons button.quit:hover {
	color: #fff;
	background: #007bff;
}

.quiz_box {
	width: 550px;
	background: #fff;
	border-radius: 5px;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(0.9);
}

.quiz_box header {
	position: relative;
	z-index: 99;
	height: 70px;
	padding: 0 30px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-radius: 5px 5px 0 0;
	box-shadow: 0px 3px 5px 1px rgba(0, 0, 0, 0.1);
}

.quiz_box header .title {
	font-size: 20px;
	font-weight: 600;
}

.quiz_box header .timer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 145px;
	height: 45px;
	background: #cce5ff;
	border: 1px solid #b8daff;
	border-radius: 5px;
	padding: 0 8px;
}

.quiz_box header .timer .time_text {
	font-weight: 400;
	font-size: 17px;
	user-select: none;
}

.quiz_box header .timer .timer_sec {
	font-size: 18px;
	font-weight: 500;
	background: #343a40;
	height: 30px;
	width: 45px;
	color: #fff;
	text-align: center;
	line-height: 30px;
	border-radius: 5px;
	border: 1px solid #343a40;
	user-select: none;
}

.quiz_box header .time_line {
	position: absolute;
	bottom: 0px;
	left: 0px;
	background: #007bff;
	height: 3px;
}

.quiz_box section {
	padding: 25px 30px 20px 30px;
	background: #fff;
}

.quiz_box section .que_text {
	font-size: 25px;
	font-weight: 600;
}

.quiz_box section .option_list {
	padding: 20px 0;
	display: block;
}

section .option_list .option {
	background: aliceblue;
	border: 1px solid #84c5fe;
	border-radius: 5px;
	padding: 8px 15px;
	margin-bottom: 15px;
	font-size: 17px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	transition: all 0.3s ease;
}

section .option_list .option:hover {
	color: #004085;
	background: #cce5ff;
	border-color: #b8daff;
}

.option_list .option:last-child {
	margin-bottom: 0px;
}

.option_list .option .icon {
	height: 26px;
	width: 26px;
	border: 2px solid transparent;
	border-radius: 50%;
	text-align: center;
	font-size: 13px;
	line-height: 24px;
	pointer-events: none;
}

.option_list .option .icon.tick {
	border-color: #23903c;
	color: #23903c;
	background: #d4edda;
}

.option_list .option .icon.cross {
	border-color: #a42834;
	color: #a42834;
	background: #f8d7da;
}

.option_list .option.correct {
	border-color: #c3e6cb;
	color: #155724;
	background: #d4edda;
}

.option_list .option.incorrect {
	border-color: #f5c6cb;
	color: #721c24;
	background: #f8d7da;
}


.option_list .option.disabled {
	pointer-events: none;
}


.quiz_box footer {
	height: 60px;
	width: 90%;
	padding: 0 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.quiz_box footer .total_que span {
	display: flex;
	user-select: none;
}

footer .total_que span p {
	font-weight: 700;
	padding: 0 7px;
	margin-top: -0px;
}

footer .total_que span p:first-child {
	padding-left: 0px;
}

footer .next_btn {
	display: none;
	height: 40px;
	padding: 0 13px;
	font-size: 18px;
	font-weight: 400;
	border: none;
	outline: none;
	background: #007bff;
	color: #fff;
	border-radius: 5px;
	border: 1px solid #007bff;
	cursor: pointer;
	transition: all 0.3s ease;
}

footer .next_btn:hover {
	background: #0263ca;
}

.result_box {
	background: #fff;
	width: 450px;
	padding: 25px 30px;
	border-radius: 5px;
	display: flex;
	text-align: center;
	align-items: center;
	flex-direction: column;
	justify-content: space-between;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(0.9);
}

.result_box .icon {
	font-size: 100px;
	color: #007bff;
	margin-bottom: 10px;
}

.result_box .complete_text {
	font-size: 20px;
	font-weight: 500;
}

.result_box .score_text span {
	display: flex;
	margin: 10px 0;
	font-size: 18px;
	font-weight: 500;
}

.score_text span p {
	font-weight: bold;
	margin-top: -0px;
	padding: 0 4px;
}

.score_text span .grade {
	margin-top: -0px;
	color: darkgreen;
	font-weight: bold;
}

.result_box .buttons {
	display: flex;
	margin: 20px 0;
}

.result_box .buttons button {
	margin: 0 10px;
	height: 40px;
	padding: 0 20px;
	border: none;
	outline: none;
	font-size: 18px;
	font-weight: 500;
	border-radius: 5px;
	border: 1px solid #007bff;
	cursor: pointer;
	transition: all 0.3s ease;
}

.start_btn .student_name {
	padding: 15px 30px;
}

.start_btn .student_name label {
	font-weight: bold;
	color: #fff;
}

.start_btn .student_name input {
	font-weight: bold;
}





.popup_box {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 5px;
}

.click {
	background: #2981bc;
	color: white;
	font-size: 22px;
	font-family: arial;
	font-weight: bold;
	padding: 10px 15px;
	text-align: center;
	border: 1px solid #0059b3;
}

.popup_box {
	width: 400px;
	background: #f2f2f2;
	text-align: center;
	align-items: center;
	padding: 40px;
	border: 1px solid #b3b3b3;
	box-shadow: 0px 4px 8px 0 rgba(0, 0, 0, 0.2),
		0px 6px 20px 0 rgba(0, 0, 0, 0.19);
	z-index: 9999;
	display: none;
}

.popup_box h1 {
	font-size: 30px;
	/*		  color: #1b2631;*/
	color: red;
	margin-bottom: 5px;
}

.popup_box label {
	font-size: 23px;
	color: #404040;
}

.popup_box .btns {
	margin: 40px 0 0 0;
}

.btns .btn2 {
	background: #999999;
	color: white;
	font-size: 18px;
	border-radius: 5px;
	border: 1px solid #808080;
	padding: 10px 13px;
}

.btns .btn2 {
	margin-left: 20px;
	background: #ff3333;
	border: 1px solid #cc0000;
	cursor: pointer;
}

.btns .btn2:hover {
	transition: .5s;
	background: #e60000;
}




.popup {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 5px;
}

.popup {
	width: 300px;
	background: lightyellow;
	text-align: center;
	align-items: center;
	padding: 40px;
	border: 1px solid #b3b3b3;
	box-shadow: 0px 4px 8px 0 rgba(0, 0, 0, 0.2),
		0px 6px 20px 0 rgba(0, 0, 0, 0.19);
	z-index: 999;
	display: none;
}

.popup h1 {
	font-size: 30px;
	color: #1b2631;
	margin-bottom: 5px;
}

.popup p {
	font-size: 23px;
	color: #404040;
	font-weight: bold;
}

.popup .btnsClass {
	margin: 40px 0 0 0;
}

.btnsClass .btnClass {
	background: #999999;
	color: white;
	font-size: 18px;
	border-radius: 5px;
	border: 1px solid #808080;
	padding: 10px 13px;
}

.btnsClass .btnClass {
	margin-left: 20px;
	background: #ff3333;
	border: 1px solid #cc0000;
	cursor: pointer;
}

.btnsClass .btnClass:hover {
	transition: .5s;
	background: #e60000;
}