:root {
	--main: #1e2223;
	--main-light: #1e222349;
	--secondary: #4c4145;
	--secondary-light: #4c41455b;
	--body: #4a4c41;
	--text: #f4f4f4;
	--firered: #d01c1f69;
	--firegreen: #22d90060;
	--fireblue: #0074ab69;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Marcellus", serif;
}

#navbar-main {
	display: flex;
	flex-direction: column;
	background-color: var(--main);
	align-items: center;
	justify-content: center;
	top: 0;
	width: 100%;
	border-bottom: 2px lightblue solid;
}

#navbar-main a {
	color: var(--text);
}

#navbar-menu {
	display: inline-flex;
	flex-direction: column-reverse;
	float: right;
	padding: 5px;
	height: 100%;
	background-color: var(--main);
}

#navbar-menu a {
	color: var(--text);
}

#navbar-menu a:hover {
	border-bottom: 3px lightblue solid;
	color: lightblue;
	text-decoration: none;
}

#home {
	text-align: center;
	width: 100%;
	height: 100%;
	padding: 20px;
	font-size: 25px;
	background-color: var(--main);
	color: var(--secondary);
	text-decoration: none;
}

.nav-button {
	display: inline-block;
	margin: 10px;
	padding: 10px;
	text-decoration: none;
	text-align: center;
	height: 100%;
	width: 250px;
	color: black;
}

#navbar-menu a:active,
#highlighted {
	border-bottom: 3px lightblue solid;
}

#main-container {
	background-color: var(--main);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: auto;
	min-height: 100vh;
	width: 100%;
	color: var(--text);
}

.main-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 0 40px 20px 40px;
	padding: 40px 0;
	border-top: 2px solid lightblue;
	border-bottom: 2px solid lightblue;
}

.main-info h1 {
	font-size: 25px;
	float: left;
	margin-bottom: 15px;
}

.main-info p {
	font-size: 18px;
	text-indent: 40px;
	margin: 5px;
}

#main-img-holder {
	display: flex;
	justify-content: center;
	padding: 20px;
}

.main-img {
	width: 100%;
	height: 100%;
}

.options {
	padding: 20px;
	margin: 10px;
	border-bottom: 2px solid lightblue;
}

.marketing .col-lg-4 {
	margin-bottom: 1.5rem;
	text-align: center;
}
.marketing h2 {
	font-weight: 400;
	padding: 20px;
}

.marketing .col-lg-4 p {
	margin-right: 0.75rem;
	margin-left: 0.75rem;
	padding: 5px;
}

.class-container {
	display: flex;
	flex-direction: row;
	margin: 10px;
	padding: 10px;
}

.class-container img {
	height: 250px;
	width: 250px;
	padding: 10px;
}

.choose-class-button {
	background-color: var(--secondary);
	color: var(--text);
	font-size: 18px;
	margin: 10px;
	padding: 10px;
	border-radius: 5px;
	text-decoration: none;
	border: 2px black solid;
	transition: background-color 0.25s ease-in;
}

.choose-class-button:hover {
	background-color: var(--text);
	color: var(--main);
	text-decoration: none;
}

.main-class {
	background-color: var(--body);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.button {
	padding: 7px;
	margin: 5px;
	font-size: 18px;
	width: 120px;
	height: 45px;
	border-radius: 5px;
	color: var(--text);
	background-color: var(--secondary);
	transition: background-color 0.25s ease-in;
}

.button:hover {
	cursor: pointer;
	background-color: var(--text);
	color: var(--secondary);
}

#main-body {
	background-color: var(--main);
	background-repeat: no-repeat;
	background-attachment: fixed;
	min-height: 100vh;
	width: 100%;
}

.main-class-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 20px;
}

.main-class-body {
	display: flex;
	flex-direction: column;
	background-color: var(--main);
	background-repeat: no-repeat;
	background-attachment: fixed;
	height: 100%;
	width: 100%;
}

.class-filter {
	color: var(--text);
	padding: 10px;
	margin-bottom: 25px;
	text-align: center;
	font-size: 20px;
	text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
		1px 1px 0 #000;
	border-radius: 10px;
	border: 2px solid var(--main-light);
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: background-color 0.5s ease-in-out;
}

.class-filter:hover {
	color: var(--text);
	border: 2px solid var(--main);
	cursor: pointer;
}

#barbarian:hover,
#fighter:hover,
#monk:hover,
#paladin:hover {
	background-color: var(--firered);
}

#bard:hover,
#druid:hover,
#ranger:hover,
#rogue:hover {
	background-color: var(--firegreen);
}

#cleric:hover,
#warlock:hover,
#wizard:hover,
#sorcerer:hover {
	background-color: var(--fireblue);
}

.main-class-img {
	width: 100%;
	height: 100%;
	margin: 10px;
}

#selection-div {
	border-bottom: 1px solid lightblue;
	padding-bottom: 20px;
}

/* CARD */

#class-box {
	display: flex;
	flex-direction: column;
	height: 100%;
	grid-gap: 0;
	overflow: none;
	margin: auto;
	padding: 30px;
	border-radius: 18px;
	color: var(--text);
	box-sizing: 5px 5px 15px rgba(0, 0, 0, 0.9);
	width: 100%;
	align-content: center;
	justify-content: center;
	grid-auto-flow: column;
	overflow: auto;
}
.classIMG {
	grid-area: img;
	height: 400px;
	width: 350px;
}

#class-box ul {
	font-size: 25px;
	list-style-type: circle;
}

#class-box ul li {
	font-size: 16px;
}

.footer {
	display: flex;
	flex-direction: column;
	text-align: center;
	z-index: 1;
	margin: 20px 20px 0 20px;
}

.footer a {
	color: white;
	text-decoration: none;
}

@media screen and (min-width: 992px) {
	#main-body {
		background-image: url(images/nightsky.jpeg);
		background-repeat: no-repeat;
		background-attachment: fixed;
		height: 100%;
		width: 100%;
	}
	#navbar-main {
		display: flex;
		flex-direction: row;
		background-color: var(--main);
		align-items: center;
		top: 0;
		height: 100%;
		width: 100%;
		border-bottom: 2px lightblue solid;
	}

	#navbar-main a {
		color: var(--text);
	}

	#navbar-menu {
		display: inline-flex;
		flex-direction: row-reverse;
		float: right;
		padding: 5px;
		height: 100%;
		background-color: var(--main);
	}

	#navbar-menu a {
		color: var(--text);
	}

	#navbar-menu a:hover {
		border-bottom: 3px lightblue solid;
		color: lightblue;
		text-decoration: none;
	}

	#home {
		width: 100%;
		height: 100%;
		padding: 20px;
		font-size: 25px;
		background-color: var(--main);
		color: var(--secondary);
		text-decoration: none;
		display: flex;
	}

	.nav-button {
		display: inline-block;
		margin: 10px;
		padding: 10px;
		text-decoration: none;
		height: 100%;
		width: 100%;
		color: black;
	}

	#navbar-menu a:active,
	#highlighted {
		border-bottom: 3px lightblue solid;
	}

	#main-container {
		padding: 10px;
		background-image: url(images/nightsky.jpeg);
		background-repeat: no-repeat;
		background-attachment: fixed;
		height: 100%;
		width: 100%;
		color: var(--text);
	}

	.main-info {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		margin: 20px 40px;
		padding: 40px 20px;
		border-top: 2px solid lightblue;
		border-bottom: 2px solid lightblue;
	}

	.main-info h1 {
		font-size: 25px;
		float: left;
		margin-bottom: 15px;
	}

	.main-info p {
		font-size: 18px;
		text-indent: 40px;
		margin: 5px;
	}

	#main-img-holder {
		display: flex;
		justify-content: center;
		padding: 20px;
	}

	.main-img {
		width: 1000px;
		height: 500px;
		border-radius: 5px;
	}

	.options {
		padding: 20px;
		margin: 10px;
		border-bottom: 2px solid lightblue;
	}

	.marketing .col-lg-4 {
		margin-bottom: 1.5rem;
		text-align: center;
	}
	.marketing h2 {
		font-weight: 400;
		padding: 20px;
	}

	.marketing .col-lg-4 p {
		margin-right: 0.75rem;
		margin-left: 0.75rem;
		padding: 5px;
	}

	.class-container {
		display: flex;
		flex-direction: row;
		margin: 10px;
		padding: 10px;
	}

	.class-container img {
		height: 250px;
		width: 250px;
		padding: 10px;
	}

	.choose-class-button {
		background-color: var(--secondary);
		color: var(--text);
		font-size: 20px;
		margin: 10px;
		padding: 10px;
		border-radius: 5px;
		text-decoration: none;
		border: 2px black solid;
		transition: background-color 0.25s ease-in;
	}

	.choose-class-button:hover {
		background-color: var(--text);
		color: var(--main);
		text-decoration: none;
	}

	.main-class {
		background-color: var(--body);
		height: 115vh;
		display: flex;
		flex-direction: column;
	}

	.button {
		padding: 7px;
		margin: 5px;
		font-size: 18px;
		width: 120px;
		height: 45px;
		border-radius: 5px;
		color: var(--text);
		background-color: var(--secondary);
		transition: background-color 0.25s ease-in;
	}

	.button:hover {
		cursor: pointer;
		background-color: var(--text);
		color: var(--secondary);
	}

	.main-class-header {
		display: flex;
		flex-direction: column;
		align-items: center;
		margin: 20px;
	}

	.main-class-body {
		display: flex;
		flex-direction: row;
		justify-content: center;
		margin-top: 20px 10px 10px 10px;
		padding: 10px;
		height: 100%;
		width: 100%;
		display: flex;
		flex-direction: row;
		background-image: url(images/nightsky.jpeg);
	}

	.class-filter {
		background-color: var(--main-light);
		color: var(--text);
		height: 100%;
		margin: 20px;
		padding: 10px;
		text-align: center;
		font-size: 20px;
		text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,
			1px 1px 0 #000;
		border-radius: 10px;
		border: 2px solid var(--main-light);
		width: 400px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		transition: background-color 0.5s ease-in-out;
	}

	.class-filter:hover {
		color: var(--text);
		border: 2px solid var(--main);
		cursor: pointer;
	}

	#barbarian:hover,
	#fighter:hover,
	#monk:hover,
	#paladin:hover {
		background-color: var(--firered);
	}

	#bard:hover,
	#druid:hover,
	#ranger:hover,
	#rogue:hover {
		background-color: var(--firegreen);
	}

	#cleric:hover,
	#warlock:hover,
	#wizard:hover,
	#sorcerer:hover {
		background-color: var(--fireblue);
	}

	.main-class-img {
		height: 500px;
		width: 900px;
		border-radius: 5px;
	}

	/* CARD */

	#class-box {
		display: grid;
		grid-gap: 45px;
		grid-template-columns: 140px 80px 120px 100px 150px;
		grid-template-rows: 60px 50px 100px 210px 80px;
		grid-template-areas:
			"img img . header header"
			"img img . chp chp"
			"img img . info info"
			"pack . prof  . profchoice"
			" . . button . .";
		border-radius: 18px;
		background-color: var(--secondary-light);
		color: var(--text);
		box-sizing: 5px 5px 15px rgba(0, 0, 0, 0.9);
		height: 100%;
		width: 100%;
		align-content: center;
		justify-content: center;
		grid-auto-flow: column;
		overflow: auto;
	}
	.classIMG {
		grid-area: img;
		height: 400px;
		width: 350px;
	}

	#class-box ul {
		grid-area: title;
		font-size: 25px;
		list-style-type: circle;
	}

	#class-box ul li {
		grid-area: text;
		font-size: 16px;
	}

	.button {
		grid-area: button;
	}

	.class-header {
		grid-area: header;
		font-size: 30px;
	}
	.class-health {
		grid-area: chp;
		font-size: 20px;
	}

	.class-info {
		grid-area: info;
	}
	.starter-pack {
		grid-area: pack;
	}
	.proficiencies {
		grid-area: prof;
	}

	.proficiencies-choice {
		grid-area: profchoice;
	}

	.footer {
		display: flex;
		align-items: center;
		justify-content: center;
		z-index: 1;
		margin-top: 25px;
	}

	.footer a {
		color: white;
		text-decoration: none;
	}

	#selection-div {
		border: none;
		padding: 0;
	}
}
