html, body {
	margin: 0;
	padding: 0;
	overflow: hidden;
	text-align: justify;
	background-image: url('img/background.jpg');
}

hr {
	border-color: black;
}

span {
	font-weight: bold;
}

/* Works on Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: black/**/ black;
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 2px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background-color: black/**/;
  border-radius: 50px;
  border: 5px solid black;
}

#abc {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	z-index: 10;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.7);
	position: absolute;
	top: 0;
	background-color: rgba(200,200,200,0.5);
	height: 100%;
	width: 20px;
	text-align: center;
	overflow-y: auto;
}

#abc p {
	color: black;
	font-weight: bold;
	font-size: 11px;
	margin: 0;
}

#abc p:hover {
	background-color: rgba(0,0,0,0.1);
	cursor: pointer;
}

#characterImgDiv {
	z-index: 0;
	position: absolute;
	border: 3px solid black;
	width: 150px;
	height: 200px;
	top: 5px;
	right: 5px;
}

#type {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	font-size: 20px;
	font-weight: bolder;
	text-align: center;
	width: 100px;
	color: white;
	font-family: Beleren;
  	-webkit-text-stroke: 1px black;
}

#sign {
	position: absolute;
	top: 0;
	left: 0;
	font-size: 20px;
}

#page {
	position: absolute;
	padding-left: 25px;
}

#page p {
	margin: 5px;
}

#characterMainInfo {
	display: flex;
}

#characterInfo {
	width: 52%;
}

#characterName {
	text-decoration: underline;
	text-align: center;
	font-size: 22px;
	font-weight: bold;
	color: black;
	margin-bottom: 25px;
}

.title {
	font-size: 20px;
	font-weight: bold;
	margin: 10px 0 5px 0;
}

#story {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

#story div {
	overflow: auto;
	max-height: 25%;
}

#storyMain p {
	margin-bottom: 10px;
	padding-right: 5px;
}

#funfacts {
	padding-right: 10px;
}

#characterSelect {
	transition: 0.5s;
	transform: translateX(-100%);
	position: absolute;
	z-index: 9;
	background-color: rgba(255,255,255,0.95);
	height: 500px;
	width: 100%;
	overflow-y: scroll;
}

#characterSelectList {
	margin-left: 50px;
}

#characterSelectList h1 {
	margin: 10px 0 10px 0;
}

#characterSelectList h1:hover {
	cursor: pointer;
	text-decoration: underline;
}

#houses {
	position: absolute;
	right: 5px;
	top: 5px;
}

#houses img {
	width: 30px;
	filter: invert(255);
}

#houses img:hover {
	cursor: pointer;
}

.character:hover {
	cursor: pointer;
}

#familyTree img {
	width: 100%;
	border-bottom: 2px solid black;
}

#familyTree p {
	text-align: center;
	text-decoration: underline;
	font-size: 18px;
	font-weight: bold;
	color: black;
	margin: 20px 0 0 0;
}

/*#container {
	width: 525px;
	height: 100%;
	margin: auto;
}*/

.houseDiv {
	position: relative;
	transition: 0.5s;
	display: flex;
	width: 95%;
	margin: auto;
	border: 2px solid black;
	border-radius: 25px;
	margin: 10px 0 10px 0;
}

.houseDiv:hover {
	cursor: pointer;
}

.houseDiv img {
	filter: invert(255);
}

.houseDiv header {
	position: absolute;
	color: white;
	font-size: 25px;
	font-family: Beleren;
	left: 115px;
	top: 50%;
	transform: translateY(-50%);
}

.houseDiv h2 {
	position: absolute;
	color: white;
	font-size: 15px;
	font-family: Beleren;
	left: 135px;
	top: 50%;
}

.houseDiv h2:before {
	content: '- ';
}

.houseDiv h2:after {
	content: ' -';
}