/* 
    Created on : May 6, 2016, 4:56:09 PM
    Author     : niC00L
*/

body, html {
	margin: 0;
	padding: 0;
}

body {	
	display:flex;
	width: 100vw;
	height: 100vh;
	flex-direction: row;
    justify-content: center;
	align-items: center;
	overflow: hidden;
	background-color: hsla(0, 0%, 100%, 1);
	font-family: 'Josefin Sans', sans-serif;
	font-size: 18px;
}

body:after {
	/*content: '';*/
    position: absolute;
    top: -42vmin;
    left: 30vmin;
    z-index: -1;
    display: block;
    width: 80vmin;
    height: 200vmin;
    background-color: hsla(174, 72%, 56%, 1);
    transform: rotate(-45deg);
}

/*Top panel*/
.top-panel {
	display: flex;
	height: 15vh;
	padding-bottom: 1.2rem;
	justify-content: space-between;
	align-items: flex-end;
}

.top-panel h1 {
    margin: 0;
	margin-bottom: .5rem;
	font-size: 4.2rem;
	font-weight: normal;	
}

a {
	font-size: 1.7rem;
	text-decoration: none;
	color: black;
}

.button {
margin-right: 1rem;
	background: none;
	border: none;
	outline: none;
	cursor: pointer;
}
.button img {
	width: 2rem;
	height: 2rem;
	vertical-align: bottom;
}

.right {
	text-align: right;
}

.level {
	font-size: 1.2rem;
}
#level {
	font-size: 2rem;
}

.target {
	font-size: 1.5rem;
}
#target {
	font-weight: bold;
	font-size: 3rem;
}
/*...*/

#debug {
    text-align: left;
    position: absolute;
    right: 0;
    top: 0;
    width: 300px;
}

.hidden {
	display: none;
	visibility: hidden;
}

.visible {
	display: block;
}

.button {
	font-size: 1.8rem;
	background: none;
	border: none;
	text-decoration: none;
	color: black;
	font-family: 'Josefin Sans', sans-serif;
	cursor: pointer;
}

.button.level-type {
    padding: .5rem;
	margin: .5rem;
	min-width: 6rem;
	border: 2px solid black;
	border-radius: 50px;	
	outline: none;
	text-align: center;
}

.button.level-type:hover {
	transform: scale(1.05);
}

input {
	font-size: 1.5rem;
	padding: .3rem;
	margin: 2.5rem;
	border: 1px solid black;
	border-radius: 50px;	
	outline: none;
	font-family: 'Josefin Sans', sans-serif;
	text-align: center;
}

.modal {
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: hsla(0, 0%, 100%, 1);	
	text-align: center;
}

h2 {
	font-size: 2.3rem;
	margin-bottom: 0;
	margin-top: 0;
}

p {
	margin: 0;
}

#colors {
	padding-top: .2rem;
	padding-bottom: .2rem;	
	background-color: hsla(0, 0%, 100%, 1);
}

.color {
	display: inline-flex;
	width: 3rem;
	height: 3rem;	
	align-items: center;
    justify-content: center;
	margin: .2rem;
	border: 3px solid;
	border-radius: 50%;
	font-size: 2.5rem;
}

.separator {
	margin: .5rem;
	font-size: 2rem;
	text-align: center;
}

.copyright {
	text-align: center;
}

noscript {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: hsla(0, 0%, 100%, 1);
	font-size: 1.5rem;
}

#highscore {
	text-align: left;
}

#scoreTable th:not(:last-child), #scoreTable td:not(:last-child) {
	padding-right: 2rem;
}

#scoreTable {
	margin: 1rem;
}

@media screen and (max-width: 450px) { 
	#game {
		width: 90vw;
	}	
}

.current-seed {
	text-align: center;
	color: grey;
}
