@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
	--primary-color: linear-gradient(270deg, rgb(83, 31, 172) 20%, rgb(24, 78, 240) 100%);
	--secondary-color: rgb(215, 215, 215);
	--text-color: ;
	--field-color: ;
}



body {
	font-family: "Poppins";
	width: 100%;
}

main {
	min-height: 100vh;
	width: 100%;
	background-image: linear-gradient(180deg, rgb(83, 31, 172) 20%, rgb(24, 78, 240) 100%);
	display: flex;
	flex-direction: column;
	padding: 50px;
	padding-bottom: 100px;
}

/* header */
header {

	background: transparent;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 100%;
	position: relative;
	margin-bottom: 60px;
}


#countdown {
	width: 143px;
	height: 68px;
	border-radius: 10px;
	background: var(--primary-color);
	font-size: 30px;
	color: rgb(255, 255, 255);
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;

}

.step-count {
	font-size: 20px;
	color: rgb(255, 255, 255);
	font-weight: bold;
	text-transform: uppercase;
}



.step-bar {
	width: 70%;
	margin: 0 auto;
	display: flex;
	line-height: 20px;
	height: 13px;
	justify-content: center;
}

.step-bar .bar {
	display: flex;
	align-items: center;

}

.step-bar .bar::after {
	content: "";
	height: 12px;
	width: 150px;
	background: var(--secondary-color);
	position: relative;
	left: -2px;
	transition: 0.5s;
}

.no-line::after {
	display: none;
}

.step-bar .step-count {
	border-radius: 50%;
	width: 88px;
	height: 88px;
	font-size: 42px;
	font-family: "Myriad Pro Regular";
	color: rgb(1, 1, 1);
	text-transform: uppercase;
	position: relative;
}

.step-bar .step-count::before {
	content: "0";
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-content: center;
	width: 100%;
	border-radius: 50%;
	height: 100%;
	background: var(--secondary-color);
	z-index: 100;
	transition: 0.5s;
}

.step-bar .st-1::before {
	content: "1";
}

.step-bar .st-2::before {
	content: "2";
}

.step-bar .st-3::before {
	content: "3";
}

.step-bar .st-4::before {
	content: "4";
}

.step-bar .st-5::before {
	content: "5";
}

.bar.active .step-count::before {
	content: url(../images/check.png);
	background: var(--primary-color);
}

.bar.active::after {
	background: rgb(83, 31, 172);
}

form {
	background-image: url(../images/bg.jpg);
	background-size: cover;
	border-radius: 25px;
	background-color: rgb(255, 255, 255);
	min-height: 90%;
	flex: 1;
	position: relative;
}

.steps {
	width: 100%;
	margin: 0 auto;
	padding-top: 100px;
}

.quiz-question {
	border-radius: 10px;
	background: var(--primary-color);
	width: 70%;
	margin: 0 auto;
	height: 155px;
	font-size: 37px;
	color: rgb(255, 255, 255);
	font-weight: bold;
	text-transform: uppercase;
	text-align: center;
	display: grid;
	place-content: center;
	padding: 0 50px;
}

fieldset {
	padding: 50px;
	position: relative;
	width: 55%;
	margin: 0 auto;
	overflow: hidden;
}

.radio-field {
	width: 100%;
	height: 90px;
	position: relative;
	display: grid;
	place-content: center;
	margin-bottom: 20px;
}

.radio-field input {
	-webkit-appearance: none;
	position: absolute;
	left: 0;
	top: 0;
	border-radius: 20px;
	background: var(--secondary-color);
	width: 100%;
	height: 100%;
	cursor: pointer;
	transition: 0.5s;
	overflow: hidden;
}

.radio-field label {
	font-size: 28px;
	font-family: "Roboto";
	color: rgb(13, 20, 36);
	font-weight: bold;
	position: relative;
	z-index: 100;
	pointer-events: none;
	transition: 0.5s;
}

.radio-field input::before {
	content: "";
	background: var(--primary-color);
	position: absolute;
	left: 0;
	top: 0;
	transition: 0.5s;
	width: 0;
	height: 100%;
}

.radio-field input:checked:before {
	width: 100%;
}

.radio-field input:checked~label {
	color: rgb(255, 255, 255);
}

.question {
	position: absolute;
	left: 50px;
	top: 220px;
	width: 15%;
	height: auto;
}

.next-prev {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 100%;
	height: auto;
	position: absolute;
	bottom: -50px;

}

.next-prev button {
	background-color: rgb(128, 128, 128);
	border-top-right-radius: 20px;
	border-bottom-left-radius: 20px;
	width: 278px;
	height: 101px;
	border: 0;
	font-size: 16px;
	color: rgb(255, 255, 255);
	font-weight: bold;
	text-transform: uppercase;
}

.next-prev button i {
	background-color: rgb(255, 255, 255);
	width: 45px;
	height: 40px;
	font-size: 18px;
	border-top-left-radius: 10px;
	border-bottom-right-radius: 10px;
	color: rgb(13, 20, 36);
	text-align: center;
	line-height: 40px;
	margin: 0 15px;
}

.next-prev .next {
	border-radius: 0;
	border-top-left-radius: 20px;
	border-bottom-right-radius: 20px;
	background: var(--primary-color);
}

.next-prev .next i {
	border-radius: 0;
	border-top-right-radius: 10px;
	border-bottom-left-radius: 10px;
	color: rgb(255, 255, 255);
	background-color: rgb(0, 0, 0);
}





#error div {
	position: fixed;
	top: 20px;
	left: 20px;
}