* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

html {
	font-size: 16px;
	line-height: 1;
	font-family: 'Montserrat', sans-serif;
}

body {
	height: 100vh;
	display: flex;
	align-items: center;
	background-image: linear-gradient(rgb(34, 34, 34, 0.7), rgb(25, 25, 25));
	background-size: cover;
	background-attachment: fixed;
	color: #eee;
	overflow-x: hidden;
}

#navbar {
	position: absolute;
	top: 2vh;
	right: 1vw;
	margin: 1rem 2rem;
	display: flex;
	justify-content: flex-end;
}

#difficulty-selector {
	padding: 0.5rem;
	text-align: center;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	border-radius: 10px;
	border: none;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

#difficulty-selector:hover {
	cursor: pointer;
}

#difficulty-selector:active,
#difficulty-selector:focus {
	outline: 3px solid rgb(104, 41, 41);
}

#difficulty-selector option {
	font-size: 1.05rem;
}

#hangman-game-container {
	height: 100vh;
	width: 100vw;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}

#hangman-game-container * {
	padding: 1rem;
}

#hangman-game-container.win *,
#hangman-game-container.lose * {
	opacity: 0.1;
	transition: all 1s;
}

#page-heading {
	font-family: 'Architects Daughter', cursive;
	font-size: 6rem;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 25px;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
	margin-bottom: 5rem;
	opacity: 0;
	animation: loadRight 1s ease-in-out forwards;
}

#page-heading span {
	color: rgb(41, 104, 41);
}

#instructions {
	color: #fff;
	letter-spacing: 1px;
	text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

#alphabet-buttons {
	padding: 2rem;
	border-radius: 25px;
	background-color: #333;
	box-shadow: 0 10px 50px rgba(0, 0, 0, 0.7);
	margin: 2rem auto;
	max-width: 850px;
	transform: scale(1.02);
	opacity: 0;
	animation: loadDown 1s ease-in-out 0.5s forwards;
}

#alphabet-buttons:hover {
	transform: scale(1);
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.9);
	transition: all 0.5s;
}

#alphabet-buttons button {
	font-size: 1.2rem;
	margin: 0.5rem;
	width: 50px;
	border-radius: 10px;
	border: none;
	background-color: #fff;
	box-shadow: 0 5px 15px rgba(17, 17, 17, 0.8);
}

#alphabet-buttons button:hover {
	cursor: pointer;
	background-color: rgba(255, 255, 255, 0.685);
	box-shadow: 0 0 3px rgba(17, 17, 17, 0.9);
	font-size: 1.1rem;
}

#alphabet-buttons button.correct {
	background-color: rgb(41, 104, 41);
	color: #fff;
	transform: rotateY(360deg);
	transition: all 1s;
}

#alphabet-buttons button.wrong {
	background-color: rgb(104, 41, 41);
	color: #fff;
	transform: rotateY(360deg);
	transition: all 1s;
}

#category-options {
	font-family: 'Architects Daughter', cursive;
	color: rgb(104, 41, 41);
	text-align: center;
	letter-spacing: 1px;
	border: none;
	font-size: 1.5rem;
	padding: 0.5rem;
	margin-left: 1rem;
	border-radius: 10px;
	box-shadow: 0 0 25px rgba(10, 10, 10, 1);
}

#category-options:hover {
	cursor: pointer;
}

#category-options:focus,
#category-options:active {
	outline: 1px solid rgb(104, 41, 41);
}

#mystery-value {
	margin-top: 2rem;
	font-family: 'Architects Daughter', cursive;
	font-size: 5rem;
	letter-spacing: 25px;
	width: 95vw;
	max-width: 2000px;
	opacity: 0;
	animation: loadUp 1s ease-in-out 1s forwards;
}

#lives {
	font-family: 'Architects Daughter', cursive;
	color: #fff;
	background-color: rgb(41, 104, 41);
	border-radius: 10px;
	padding: 0.5rem 1rem;
	font-size: 2rem;
	font-weight: 900;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
	opacity: 0;
	animation: loadRight 1s ease-in-out 1.5s forwards;
}
