/* Copyright (c) 2020 Thatguyjs All Rights Reserved. */


/* Menu stuff */
#menu div {
	position: relative;
	width: 100%;
	height: 50%;
}

#menu h1 {
	position: absolute;
	text-align: center;
	bottom: 40px;

	margin: 0;

	width: 100%;

	color: rgb(220, 220, 220);
	font-size: 60px;
	letter-spacing: 4px;
}

#menu button {
	position: absolute;
	left: 50%;
	top: 60px;

	transform: translateX(-50%);

	width: 140px;
	height: 50px;

	color: rgb(120, 120, 120);
	font-size: 22px;
	letter-spacing: 2px;

	background: rgba(0, 0, 0, 0.15);
	border: 2px solid rgba(0, 0, 0, 0.3);
	border-radius: 4px;

	transition: color 0.4s, background 0.4s;
}

#menu button:hover {
	color: white;
	background: rgba(0, 0, 0, 0.4);
}

#menu p {
	position: absolute;
	text-align: center;

	bottom: 18px;
	margin: 0;

	width: 100%;

	color: rgb(150, 150, 150);
	font-size: 19px;
}


/* Create monster stuff */
#create h2 {
	margin: 10px 100px;

	color: rgb(230, 230, 230);
	font-size: 26px;
}

#create .select-part {
	margin-left: 100px;
	margin-bottom: 40px;

	height: 40px;
}

#create .select-part button {
	text-align: left;
	padding-left: 10px;

	width: 30%;
	height: 100%;

	color: rgb(160, 160, 160);
	font-size: 19px;
	font-weight: bold;
	letter-spacing: 1px;

	background: rgb(15, 15, 15);
	border: 2px solid rgb(28, 28, 28);
	border-radius: 3px;

	transition: background 0.1s, border 0.1s;
}

#create .select-part > .selected {
	background: rgb(15, 45, 20);
	border: 2px solid rgb(24, 50, 28);
}

#create #finish-monster {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);

	margin-bottom: 40px;

	width: 170px;
	height: 50px;

	color: white;
	font-size: 20px;

	background: rgb(60, 60, 60);
	border: 2px solid rgb(72, 72, 72);
	border-radius: 4px;
}


/* Monster comparisons and stuff */
#stats {
	display: inline-block;

	width: 50%;
}

#stats > p {
	margin-top: 0;

	font-size: 21px;
}

#my-monster {
	margin-bottom: 8px;

	color: rgb(30, 140, 75);
}

#other-monster {
	margin-bottom: 40px;

	color: rgb(175, 40, 55);
}

#stats h2 {
	margin: 8px;

	color: rgb(175, 175, 175);
	font-size: 25px;
	letter-spacing: 1px;
}

.stat-bar {
	margin-bottom: 30px;

	width: 95%;
	height: 60px;

	background: none;
	border: 2px solid rgb(25, 28, 30);
}

.stat-bar span {
	display: block;
	text-align: right;

	height: 50%;

	background: rgb(140, 30, 35);
}

.stat-bar span:first-child {
	background: rgb(30, 140, 75);
}

.stat-bar span p {
	margin: 0;
	padding: 3px 8px;

	color: white;
	font-size: 17px;
	font-family: monospace;
}


/* Monster encounter stuff */
#encounter {
	float: right;

	width: 50%;
}

#encounter h2 {
	margin: 8px 20px;

	color: rgb(175, 175, 175);
	font-size: 25px;
	letter-spacing: 1px;
}

#encounter p {
	margin-left: 20px;

	color: rgb(145, 145, 145);
	font-weight: bold;
	letter-spacing: 1px;

	text-indent: 36px;
}


/* Restart button */
#restart {
	margin: 30px 0;
	margin-left: calc(50% - 60px);

	width: 120px;
	height: 45px;

	color: white;
	font-size: 19px;

	background: rgb(26, 26, 26);
	border: 2px solid rgb(34, 34, 34);
	border-radius: 3px;
}
