/* 
•	Dark green: #1f3d2b
•	Gold: #c6a539
•	Light parchment: #f5f1dc
•	Brown accent: #6b4f2a
•	Red: #e7382f 
*/


@font-face {
	font-family: "Triforce";
	src: url("fonts/Triforce.ttf");
}

body {
	background: black;
}

#wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 90%;
	margin: 0 auto;
	background: url(images/zelda_symbols.png);
	background-color: #1f3d2b;
	background-position: center;
	background-size: 60vw;

}

header {
	display: flex;
	background: url(images/header_background.png);
	background-position: center 20%;
	background-size:100%;
	background-repeat: no-repeat;
	align-items: center;
	justify-content: center;
	gap: 20px;
	font-family: "Triforce", sans-serif;
	color: #c6a539;
	font-size: 220%;
	text-shadow: 2px 2px 4px #000000;
	width: 100%;
	box-sizing: border-box;
}

.logo {
	width: 8%;
	height: auto;
	object-fit: contain;
	margin: 5% -5% 5% 5%;
}

header h1 {
	flex: 1;
	text-align: center;
	margin: 30px 0 30px 0;
}

#hero {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

#hero img {
	width: 95%;
	box-shadow: 2px 2px 10px black;
}

#welcome {
	color: #f5f1dc;
	text-align: center;
	margin: 20px 40px 20px 40px;
	font-size: 3em;
	text-shadow: 3px 3px 5px black;
}

#hearts {
	height: 3.75vw;
	width: 100%;
	background: url(images/pixel_heart.png);
	background-size: 5%;
	margin: 50px 0 50px 0;
}

.diffchoices {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	gap: 10%;
	width: 90%;
	min-height: 300px;
}

.diffchoice {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}

.diffchoices button {
	height: 70px;
	width: 60%;
	font-family: 'triforce', sans-serif;
	margin: 5%;
	background: url(images/header_background.png);
	background-size: 100%;
	background-position: center 14%;
	font-size: 2em;
	color: #f5f1dc;
	cursor: pointer;
	border-radius: 8px;
	font-weight: bold;
}

.diffchoices button {
	position: relative;
	filter: opacity(.75)
}

.diffchoices button::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 20px;
	height: 20px;
	border-top: 4px solid #c6a539;
	border-left: 4px solid #c6a539;
}

.diffchoices button::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 20px;
	height: 20px;
	border-bottom: 4px solid #c6a539;
	border-right: 4px solid #c6a539;
}

.diffchoices button::before,
.diffchoices button::after {
	opacity: 0;
}

.diffchoices button:hover::before,
.diffchoices button:hover::after {
	opacity: 1;
}

.desc {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	font-size: 1.5em;
	margin-bottom: 80px;
}

.desc ul {
	color: #f5f1dc;
	font-size: 120%;
	padding: 0;
	margin: 10px 0 0 0;
	list-style-position: inside;
	list-style-type: disclosure-closed;
}

#startbutton button {
	background: url(images/header_background.png);
	background-position: center 1%;
	background-size: cover;
	width: 75vw;
	height: 130px;
	color: #c6a539;
	font-size: 3em;
	font-family: "triforce", sans-serif;
	text-shadow: 2px 2px 5px black;
	cursor: pointer;
	border-radius: 8px;
	font-weight: bold;
}

.diffchoices button.selected::before,
.diffchoices button.selected::after {
	opacity: 1;
}

.diffchoices button.selected {
	filter: opacity(1);
}

footer {
	display: flex;
	justify-content: center;
	align-items: end;
	background: url(images/header_background.png);
	background-position: center;
	width: 100%;
	margin: 50px 0 0px 0;
	color: #f5f1dc;
	font-family: "triforce", sans-serif;
	font-size: 1.5em;
}

.foot-logo {
	width: 50px;
	height: auto;
	margin: 1%;
}

#quiz-container {
	width: 95%;
	margin-top: 40px;
	display: flex;
	flex-flow: column wrap;
	justify-content: center;
	align-items: center;
}

#feedback {
	font-family: 'triforce', sans-serif;
	font-size: 10em;
	font-weight: bold;
	text-align: center;
	margin-bottom: 20px;
	text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
	padding: 10px 20px;
	border-radius: 8px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999;
}

#feedback.correct {
	color: #28a745;
	background-color: rgba(40, 167, 69, 0.1);
}

#feedback.incorrect {
	color: #e7382f;
	background-color: rgba(231, 56, 47, 0.1);
}

#question {
	font-family: 'triforce', sans-serif;
	color: #6b4f2a;
	font-size: 3em;
	text-shadow: black 2px 2px 5px;
}

#answers {
	width: 90%;
	background: #6b4f2a;
	margin-top: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-flow: row wrap;
}

#answers button {
	background: #c6a539;
	cursor: pointer;
	margin: 30px 60px;
	width: 300px;
	height: 50px;
	position: relative;
	filter: opacity(.75);
	color: #f5f1dc;
	font-family: 'triforce', sans-serif;
	font-size: 1.5em;
	border-radius: 8px;
	font-weight: bold;
}

#answers button:hover{
	background: #1f3d2b;
}

#answers button.selected{
	background:#1f3d2b;
}

#quiz-info {
	font-size: 1.8em;
	color: #c6a539;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
	padding: 10px 0;
	margin: 20px 0 10px 0;
	text-align: center;
	font-weight: bold;
}

#next {
	background: #c6a539;
	color: #f5f1dc;
	font-family: 'triforce', sans-serif;
	font-size: 2em;
	font-weight: bold;
	padding: 15px 40px;
	border: none;
	border-radius: 8px;
	box-shadow:2px 2px 10px black;
	cursor: pointer;
	margin-top: 30px;
}

#next:hover {
	scale:1.05;
}

#try-again{
	height:100px;
	width:200px;
	background:url(images/header_background.png);
	background-position:0% 50%;
	background-size:300px;
	color: #f5f1dc;
	font-size:2em;
	font-family:'triforce',sans-serif;
	cursor:pointer;
}

#plan{
	margin:20px;
	color:#f5f1dc;
}

@media screen and (max-width: 800px) {
	#wrapper {
		width: 100%;
	}

	header h1 {
		font-size: 1em;
		margin: 40px 10px 20px 10px
	}

	.logo {
		display: none;
	}

	#welcome {
		font-size: 1.5em;
	}

	#welcome img {
		display: none;
	}

	#hearts {
		height: 3.55vw;
		margin-bottom: 0;
	}

	.diffchoices .desc {
		font-size: 1em;
		margin-bottom: 20px;
	}

	footer {
		font-size: .9em;
	}

	#startbutton {
		margin-top: 50px;
	}
	
	#question{
		font-size:1.5em;
	}
	#quiz-info{
		font-size:1em;
	}
	#quiz-container{
		margin-top:0;
	}
	#answers{
		margin-top:20px;
		padding: 20px 0;
	}
	#answers button{
		font-size:1em;
		margin-bottom:5px;
		margin-top:5px;;
	}
	#next{
		font-size:1.5em;
		width:200px;
	}
	#feedback{
		font-size:5em;
	}
	#answers{
		background:none;
	}
}