@import url('https://fonts.googleapis.com/css2?family=Jost: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=Sen:wght@400;700;800&display=swap');

:root {
	--primary-color: linear-gradient(90deg, rgb(120, 93, 18) 0%, rgb(199, 173, 12) 0%, rgb(150, 0, 186) 0%, rgb(83, 10, 101) 100%);
	;
	--secondary-color: rgb(150, 0, 186);
	--text-color: rgb(0, 0, 0);
	--field-color: rgb(202, 202, 202);
}



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

main {
	background-image: url(../images/bg.jpg);
	background-size: cover;
	min-height: 100vh;
	width: 100%;
	display: grid;
	position: relative;
	padding-top: 110px;
}

.timer {
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	background-image: var(--primary-color);
	width: 122px;
	height: 152px;
	position: absolute;
	top: 0;
	right: 60px;
	display: grid;
	place-content: center;
	text-align: center;
}

.timer h2 {
	font-size: 30px;
	color: rgb(255, 255, 255);
	font-weight: bold;
	line-height: 1;
}

.timer h2 span {
	display: block;
	font-size: 40px;
}

.step-bar {
	border: solid 2px rgb(255, 255, 255);
	background-color: var(--secondary-color);
	height: 34px;
	width: 80%;
	border-radius: 50px;
	margin: 0 auto;
	padding: 4px;
}

.step-bar .fill {
	width: 20%;
	height: 100%;
	border-radius: inherit;
	background-color: rgb(255, 255, 255);
	transition: 0.5s;
}

form {
	height: 100%;
	margin-top: 0px;
	display: flex;
	flex-direction: column;
	text-align: center;
}

.move {
	position: relative;
	top: 120px;
}

.avatar {
	border-radius: 50%;
	background-color: rgb(255, 255, 255);
	width: 170px;
	height: 170px;
	margin: 0 auto;
	text-align: center;
}

.avatar img {
	width: 100%;
}

.step-count {
	font-size: 16px;
	color: rgb(70, 70, 70);
	font-weight: bold;
	margin: 20px 0;
}

.steps {
	background-color: rgb(255, 255, 255);
	width: 100%;
	flex: 1;
	border-top-right-radius: 20px;
	border-top-left-radius: 20px;
	padding-top: 100px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.quiz-question {
	font-size: 45px;
	background-image: var(--primary-color);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: bold;
	width: 65%;
	margin: 30px auto;
}




fieldset {
	position: relative;
	z-index: 1000;
	width: 80%;
	margin: 0 auto;
	margin-top: 50px;
	flex: 1;
}

.radio-field {
	width: 97%;
	height: 90px;
	position: relative;
	display: grid;
	align-items: center;
	justify-content: start;
	margin-bottom: 50px;
	padding-left: 30px;
}

.radio-field input {
	-webkit-appearance: none;
	position: absolute;
	top: 0px;
	left: 0;
	border: solid 4px rgb(219, 219, 219);
	border-radius: 10px;
	background-color: rgb(255, 255, 255);
	width: 100%;
	height: 100%;
	cursor: pointer;
	transition: 0.5s;
}

.radio-field input:checked:before {
	content: "";
	position: absolute;
	top: 30px;
	right: 30px;
	border-radius: 50%;
	background-color: rgb(201, 201, 201);
	width: 30px;
	height: 30px;
}

.radio-field input:checked:after {
	content: "";
	position: absolute;
	background-image: url(../images/check.png);
	width: 40px;
	height: 36px;
	top: 20px;
	right: 15px;
	opacity: 0;
}

.radio-field label {
	font-size: 28px;
	color: var(--text-color);
	font-weight: bold;
	pointer-events: none;
	position: relative;
	z-index: 10;
	transition: 0.5s;
}

.radio-field input:checked {
	border-color: var(--secondary-color);
}

.radio-field input:checked~label {
	color: var(--secondary-color);
}

.next-prev {
	width: 100%;
	height: 100%;
	flex-wrap: wrap;
	display: flex;
	justify-content: space-between;
}

.next-prev button {
	margin-top: 20px;
	background-color: rgb(202, 202, 202);
	width: 270px;
	height: 90px;
	border-top-right-radius: 20px;
	font-size: 18px;
	color: var(--text-color);
	font-weight: bold;
	border: 0;
	text-transform: uppercase;
}

.next-prev button i {
	position: relative;
	top: 1px;
	margin: 0 10px;
}

.next-prev .next {
	color: rgb(255, 255, 255);
	background-image: var(--primary-color);
	border-radius: 0;
	border-top-left-radius: 20px;
}






#error div {
	position: fixed;
	top: 20px;
	left: 20px;
	z-index: 9999999999;
}