@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: rgb(254, 98, 73);
	--secondary-color: rgb(255, 231, 229);
}



body {
	font-family: "Jost";
	width: 100%;
	background-image: url(../images/bg.jpg);
	background-size: cover;
}

main {

	min-height: 100vh;
	display: flex;
	flex-direction: column;
	padding-top: 200px;
}

.d-container {
	flex: 1;
	display: flex;
	flex-direction: column;
}

header {
	background-color: rgb(176, 176, 176);
	height: 59px;
	width: 100%;
	position: relative;
	top: 49px;
	border-radius: 10px;
}

.header-before {
	width: 25%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: var(--primary-color);
	border-radius: inherit;
	transition: 0.5s;
}

.main-inner {
	width: 85%;
	margin: 0 auto;
	height: 100%;
	flex: 1;
	display: flex;
	flex-direction: column;
}


.stepnumber {
	display: flex;
	flex-direction: row;
	width: 100%;
	height: auto;
	position: relative;
	z-index: 10;
	top: -20px;
	left: 0;
	justify-content: space-evenly;

}

.number-single {
	border-radius: 50%;
	background-color: rgb(176, 176, 176);
	height: 100%;
	width: 55px;
	height: 55px;
	display: grid;
	place-content: center;
	font-size: 28px;
	color: rgb(255, 255, 255);
	font-weight: bold;
	transition: 0.5s;
	position: relative;
	overflow: hidden;
}

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

.step-count {
	position: relative;
	z-index: 10;
}

.timer {
	border-radius: 50%;
	background-color: rgb(255, 255, 255);
	box-shadow: 0px 0px 27.52px 4.48px rgba(161, 161, 161, 0.22);
	width: 130px;
	height: 130px;
	position: relative;
	top: -40px;
	display: grid;
	place-content: center;
	border: solid 10px var(--primary-color);
}


.timer span {
	font-size: 40px;
	color: var(--primary-color);
	font-weight: bold;
}

.number-single.active::before {
	width: 100%;
}







.step-inner {
	height: 100%;
	width: 100%;
	background-color: var(--secondary-color);
	border-top-right-radius: 50px;
	border-top-left-radius: 50px;
	z-index: 1;
	position: relative;
	flex: 1;
	display: grid;
}

.steps {
	display: flex;
	flex-direction: column;
	padding: 100px 0 0 0;
	overflow: hidden;

}

.quiz-question,
fieldset {

	margin: 0 auto;
	width: 80%;
}

.quiz-question {
	font-size: 50px;
	color: rgb(0, 0, 0);
	font-weight: bold;
	width: 80%;
	margin-top: 50px;
	padding-right: 50px;
}

fieldset {
	flex: 1;
	margin-top: 50px;
}

.radio-field {
	width: 100%;
	height: 90px;
	padding-left: 40px;
	display: grid;
	align-content: center;
	position: relative;
	margin-bottom: 10px;
}

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

.radio-field label {
	font-size: 28px;
	color: rgb(180, 180, 180);
	position: relative;
	z-index: 10;
	pointer-events: none;
	transition: 0.5s;

}

.radio-field input:checked {
	border: solid 6px var(--primary-color);
}

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

.next-prev {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	height: auto;
	margin-top: 50px;
}

.next-prev button {
	width: 50%;
	background-color: rgb(255, 255, 255);
	height: 80px;
	border: 0;
	font-size: 18px;
	text-transform: uppercase;
	color: rgb(124, 120, 120);
	font-weight: bold;
}

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

.next-prev .next {
	background-color: var(--primary-color);
	color: rgb(255, 255, 255);
}


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