<link rel="stylesheet" href="style.css">

.charcard {
	background-color: #fff;
	border: 5px solid #BABABA;
	border-radius: 15px;
	width: 920px;
	margin: 10px;
	padding: 15px;
}

.charcard ::selection {
	background: #252525;
	color: #fff;
}

.charcard b {
	color: #252525;
	text-shadow: 2px 2px 5px #BABABA;
}

.charcard i {
	color: #707070;
}

.charcard td#refpic {
	background-repeat:no-repeat;
	width: 300px;
	border: 5px solid #252525;
	border-radius: 15px;
	background-size: 300px;
	padding: 0px;
}

.charcard td#stats {
	text-align: center;
	vertical-align: top;
}

.charcard h1#chname {
	font-family: 'Bebas Neue', cursive;
	font-size: 2.5em;
	text-shadow: 2px 2px 5px #252525;
	margin: 10px 0px 0px 0px;
}

.charcard h1#chinfo {
	font-family: 'Montserrat', sans-serif;
	font-size: 1em;
	font-style: italic;
	margin: -10px 0px 0px 0px;
}

.chbio {
	max-height: 260px;
	overflow: auto;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.9em;
}

.chbio p {
	padding: 0px 25px 5px 25px;
}

.invheader {
	margin: 0px 0px -80px 30px;
	padding: 0px;
	font-family: 'Bebas Neue', cursive;
	font-size: 2em;
	text-shadow: 2px 2px 5px #252525;
	color: #252525;
}

.inventory {
	margin: 60px 0px 0px 0px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	padding: 10px;
	background-color: #F1F1F1;
}

.inventory img {
	width: 100px;
	height: 100px;
}

.invslot {
	width: 100px;
	height: 100px;
	margin: 10px;
	padding: 5px;
	text-align: center;
	background-color: #F1F1F1;
}

.invslot:hover {
	background-color: #fff;
}

#invtooltip {
	display: none;
	background: #fff;
	border: 1px solid #BABABA;
	padding: 10px 10px 10px 10px;
	margin: 10px 10px 10px -60px;
	min-width: 200px;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.7em;
	position: relative;
	z-index: 99 !important;
}

.charcard a:hover + #invtooltip {
	display: block;
}

.charcredit {
	font-family: 'Bebas Neue', cursive;
	font-size: 0.7em;
	line-height: 0px;
	color: #fff;
	text-align: right;
	text-shadow: 1px 1px 1px #BABABA;
}

.charcredit a {
	color: #fff;
	text-decoration: none;
}

.charcredit a:hover {
	color: #252525;
}