:root{
	--gold-color: #8F5500;
	--gray-color: #7F7F7F;
	--black-color: #262626;
	--red-color: #AB2E2E;
	--orange-color: #AB6E2E;
	--green-color: #61AB2E;
}

@font-face {
    font-family: 'ring';
    src: url('../assets/Fonts/ringbearer.medium.ttf');
}

body{
	font-family: 'ring';
	background-color: var(--black-color);
	min-height: 100vh;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
}

body:not(.no-bg):after{
	content: "";
	display: block;
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	background-image: url("../images/moria.jpg");
	background-repeat: no-repeat;
	background-position: top right;
	background-size: cover;
	z-index: -2;
	opacity: .1;
}

.italic{
	font-style: italic;
}

.button{
	text-decoration: none;
	padding: 1em 2.5em;
	border-radius: 7.5px;
	color: white;
	display: inline-block;
	margin: .5em;
	background-color: transparent;
	border: solid 3px white;
	border-radius: 10px;
	min-width: 90px;
	max-width: 150px;
	margin: 0 auto;
	text-align: center;
	position: relative;
	overflow: hidden;
	z-index: 1;
	text-transform: uppercase;
	-webkit-transition: color .25s ease-in-out;
	-moz-transition: color .25s ease-in-out;
	-ms-transition: color .25s ease-in-out;
	-o-transition: color .25s ease-in-out;
	transition: color .25s ease-in-out;
}

.button:before{
	content: "";
	display: block;
	background-color: white;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0; bottom: -100%;
	z-index: -1;
	-webkit-transition: bottom .25s ease-in-out;
	-moz-transition: bottom .25s ease-in-out;
	-ms-transition: bottom .25s ease-in-out;
	-o-transition: bottom .25s ease-in-out;
	transition: bottom .25s ease-in-out;
}

.button:hover{
	color: var(--black-color);
}

.button:hover:before{
	bottom: 0;
}

h1{
	font-size: 150pt;
	font-weight: normal;
	text-align: center;
	line-height: 1;
	margin: 0;
	color: white;
}

header{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	margin: auto;
}

header.game h1{
	font-size: 40pt;
	margin: 1.5em auto;
}

header.results{
	margin: 3em 0 1em;
	display: flex;
	height: 250px;
}

header.results:before{
	width: 250px;
	height: 250px;
	margin: 3em auto 1em;
	bottom: auto;
}

header.results h1{
	font-size: 80pt;
	margin: auto;
}

header .buttons{
	display: flex;
	justify-content: flex-end;
	width: 100%;
}

header .buttons .button{
	margin: 0 .5em;
}

.logo-staces{
	position: fixed;
	bottom: 2em;
	right: 2em;
	width: 50px;
	height: auto;
	z-index: 5;
}

.advice{
	position: fixed;
	bottom: 3em;
	left: 5em;
	right: 5em;
	text-align: left;
	padding: 0;
	margin: 0;
	color: var(--gray-color);
	font-size: 8pt;
	font-style: italic;
	font-family: 'Roboto';
}

header.game .advice{
	position: absolute;
}

.none{
	display: none;
}

.section_game{
	display: flex;
	height: 100vh;
	width: 100vw;
	background-color: var(--black-color);
}

.image_dwarf{
	overflow: hidden;
	width: calc(75% - 20px);
	height: calc(100% - 20px);
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
	border: solid 10px var(--black-color);
}

.image_dwarf img{
	-webkit-transform: scaleX(-1);
	transform: scaleX(-1);
	width: 30px;
	height: auto;
	margin: 1em;
}

.user_section{
	position: relative;
	margin: 0 auto;
	min-width: 300px;
}

#user_answer{
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	margin: 2em;
}

#user_answer img{
	width: auto;
	height: 25px;
	margin-left: 10px;
}

.input_answer{
	background-color: white;
	border: solid 3px var(--gray-color);
	border-radius: 5px;
	padding: 10px;
	min-width: 250px;
}

.input_answer:focus{
	outline: none;
}

.input_answer::placeholder {
	color: var(--gray-color);
	font-style: italic;
}

.input_answer:-ms-input-placeholder {
	color: var(--gray-color);
	font-style: italic;
}

p.note{
	margin: 50px 0 0;
	font-size: 100pt;
	text-align: center;
	color: white;
}

p.note span{
	font-size: .25em;
}

p.word-note{
	margin: 0;
	font-size: 25pt;
}

#chrono{
	width: 100px;
	height: 100px;
	margin: auto;
}

.numberQuestions{
	display: flex;
	justify-content: center;
	align-items: center;
}

.numberQuestions > span{
	border-radius: 50px;
	width: 10px;
	height: 10px;
	background-color: var(--gray-color);
	margin: 5px;
}

.numberQuestions > span.gone{
	background-color: white;
}

.list-answer{
	display: flex;
	list-style: none;
	flex-wrap: wrap;
	color: white;
	max-width: 1000px;
	margin: 5em auto;
}

.list-answer .image-dwarf{
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;
	width: 100px;
	height: 100px;
	border-width: 3px;
	border-style: solid;
}

.list-answer > *{
	width: 200px;
	margin-bottom: 20px;
}

.list-answer figcaption{
	text-align: center;
}

.list-answer figcaption p span{
	font-size: 10pt;
	font-style: italic;
}