*{
	/* border: 1px solid red; */
}
/* questionnaire.html css styling */
main{
	display: flex;
	flex-direction: column;
	justify-content: center;
}

h1.title{
	line-height: 40px;
	font-size: 45px;
}
#questionnaire {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

h2.question-prompt {
	font-size: 1.3em;
	margin: 20px;
	text-shadow: 0px 2px 3px #eee;

	text-align: left;
	line-height: 28px;
}

.question {
	background-color: #ffff97;
	border-radius: 10px;
	padding: 10px 30px 30px 30px;
	box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.25);

	width: 100%;
	max-width: 500px;
	min-height: 385px;
}


/* Buttons */
#buttons {
	display: grid;
	grid-template-columns: repeat(2, 0.5fr) 1fr;
	gap: 10px;

	width: 100%;
	max-width: 500px;

	margin-top: 20px;
}
#buttons #next {
	display: block;
	grid-area: 1 / 3 / 2 / 4; 
}

.button {
	width: 100%;
}

#back-button, #reset{
	border: 2px solid #da0b0b;
	background: none;
	color: #000;
}
#back-button:hover, #reset:hover{
	background-color: #AE3131;
	color: #fff;
}

#submit{
	padding: 12px;
}
#submit.disabledBtn{
    background-color: #BBBBB9;    
}
#submit.disabledBtn:hover{
    background-color: #BBBBB9;    
}


/* Progress Bar */
#progressPercent {
	text-align: right;
	font-size: 1.3em;
}

#progressBar {
	position: relative;
	height: 5px;
	background-color: #ddd;
}

#barStatus {
	position: absolute;
	width: 1%;
	height: 100%;
	background-color: #da0b0b;
	border: none;
	border-radius: 10px;
}

input {
	cursor: pointer;
	background-color: white;
	margin: 3px 10px 3px 0px;
}

form {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.row {
	display: flex;
    flex-direction: column;
}

.row > div{
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

.row label{
	text-align: left;
	line-height: 22px;
	font-size: 20px;
	font-family: 'Fredoka';
	font-weight: 200;
}
label strong{
	font-size: 20px;
	font-family: 'Fredoka';
	font-weight: 400;
}



/* Responsive Design for small screens */
@media only screen and (max-width: 767px), 
screen and (max-height: 480px){
	h1.title{
		margin-top: 69px;
		font-size: 40px;
		
	}

	.question {
		padding: 10px;
	}
	h2.question-prompt {
		font-size: 30px;
	}
	.question label{
		font-size: 18px;
	}
	input {
		background-color: white;
		margin: 10px 20px 10px 20px;
	}
	a.agree {
		font-size: x-large;
		padding-left: 2%;
	}

	a.disagree {
		font-size: x-large;
		padding-right: 2%;
	}

	#back-button:hover, #reset:hover{
		background: none;
		color: #000;
	}


}

/* fade animations for questions and remove from display after */
@keyframes fadeOut {
	0% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

@keyframes fadeIn {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

.fade-out {
	animation-name: fadeOut;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;
}

.fade-in {
	animation-name: fadeIn;
	animation-duration: 1s;
	animation-fill-mode: forwards;
}
