/* CUSTOM FONTS */

@font-face {
	font-family: VideoGame;
	src: url('PressStart2P.ttf'), 
	url('PressStart2P.eot') format("truetype"); /* IE */
} 

@font-face {
	font-family: bnet;
	src: url('Formal436BT.ttf');
}

*{
	box-sizing: border-box;
}

body {
	margin: 0px;
	padding: 0px;
	background-color: black;
	text-align: center;
	font-family: "VideoGame";
	color: white;
}


/* LINKS */

a { 
	color: #FAF2DE;
	text-decoration: none;
}
a:visited { color: #908876; }
a:active { color: #BAEDF0; }
a:hover { color: red }

#container {
	width: 90%;
	margin: auto;
	text-align: left;
	border: none;
}

.retro-border {
	border: 8px solid white;
	border-radius: 10px;
}

#header {
	padding: 0px;
	margin:  10px;
	display: flex;
	width: 100%;
}


#portrait {
	width: 40%;
	display: inline-block;
}

#inventory-header {
	text-align: center;
	width: 95%;
	border-bottom: none;
	margin: auto;
}

.header-left {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.header-titles h1 {
	font-family: "VideoGame";
	color: white;
	margin: 10px;
	line-height: 1.5em;
	display: flex;
	flex-direction: column;
}

.header-titles img {
	width: 30px;
	vertical-align: middle;
}

.header-titles div {
	margin: 1.5em 0;
}

.bars img {
	border: 3px solid white;
	border-radius: 10px;
}

.header-titles i {
	font-size: 25px;
}

#content {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: -8px;
	position: relative;
	z-index: 5;
	border-top: 8px solid white;
}

/* SKILLS and TABS */

#inventory-tabs {
	display: flex;
	justify-content: space-between;
	width: 100%;
	padding: 0px;
	margin: auto;
	position:relative;
	z-index: 10
}

#inventory-tabs h2 {
	width: 33%;
	text-align: center;
	font-size: 1.25em;
}

.tab {
	padding: 10px;
	border: 8px solid grey;
	border-radius: 10px;
	border-bottom: none;
	color: grey;
	cursor: pointer;
}

.tab:hover{
	background-color: #222;
}

.tab.active:hover {
	background-color: black;
}

.tab.active {
	border: 8px solid white;
	border-bottom: 8px solid black;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	color: white;
	margin-bottom: 0;
}

.skill.active {
	display: block;
}


.skill {
	padding: 0px 15px 15px 15px;
	width: 100%;
	text-align:left;
	border-top: none;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	display: none;
}

.skill h3 {
	color: brown;
}

p.caption {
	font-size: 10px;
	margin: 0;
}

.skill ul {
	font-size: 12px;
	list-style-type: none;
}

.skill li {
	padding-left: 28px;	
	height: 26px;
}

.skill li:hover { 
	background: url(/images/pointer_right.png) no-repeat; 
	background-position: 0px -5px;
}

/* GEM */

p.gem {
	text-align: center;
	clear:both;
	padding: 2px;
}

p.gem img {
	border: 2px solid #908876;
}

/* FOOTER */

footer {
	margin-bottom: 3px;
	font-family: bnet;
	color: RGB(148,50,221);
	font-size: 12px;
}

@media only screen and (max-width: 600px)
{
	#header {
		flex-direction: column-reverse;
	}

	#portrait {
		width: 100%;
	}

	.header-titles h1 {
		font-size: 1.75em;
		text-align: center;
	}

	.skill {
		width: 100%;	
	}

	
}