

/* -------------------------Fælles-------------------------------------------- */
body {
	background-image: url("billeder/baggrund.jpg");
	font-family: 'Quantico', sans-serif;
	}

h1 {
	font-family: 'VT323', monospace;
	}

h3 {
	font-family: 'VT323', monospace;
	}

/* Header */
#header {
	position: relative;
	width: 80%;
	height: 30%;
	margin: 0 auto;
	padding: 5px;
	}

	header img {
		width: 30%;
		height: 100%;
		}

/* slideshow */
.w3-content {
	position: relative;
	max-width:60%;
	float: right;
	height: 100%;
	margin-top: 10px;
	}

.mySlides {
	display:none;
	}

.mySlides img {
	width: 100%;
	height: 170px;
    border-radius: 14px;
    margin: 0;
	}

/* Caption text */
.text {
	position: absolute;
	bottom: 15px;
	color: #000000;
	text-align: center;
	background-color: #ffffff;
	opacity: 1;
	z-index: +5;
	height: 20px;
	width: 100%;
	-webkit-box-shadow: 0px 1px 10px 3px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 1px 10px 3px rgba(0,0,0,0.75);
	box-shadow: 0px 1px 10px 3px rgba(0,0,0,0.75);
	}			

/* Fading animation */
.fade {
	-webkit-animation-name: fade;
	-webkit-animation-duration: 3s;
	animation-name: fade;
	animation-duration: 3s;
	}

@-webkit-keyframes fade {
	from {opacity: .4} 
	to {opacity: 1}
	}

@keyframes fade {
	from {opacity: .4} 
	to {opacity: 1}
	}

/* Wrapper */
#wrapper {
	width: 80%;
	margin: 0 auto;
	padding: 5px;
	background-color: #ffffff;
	}

/* Menu */
#menu {
	font-family: 'VT323', monospace;
	width: 100%;
	}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: red;
	}

/* menu boksene */
.btn { 
	width: 18%;
	position: relative;
	font-size: 200%;
	display: inline-block;
	padding: 1% 1% 1% 1%;
	float: left;
	margin: 0;
	z-index: 1;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	}

/* menu boksene når du går henover dem */
/* Menuen er fundet under http://codepen.io/tstoik/pen/EjMzRZ af 8-bit Hover af Tiffany Stoik */
.btn .hover {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	overflow: hidden;
	}

.btn .hover span {
	position: relative;
	display: block;
	left: -15px;
	height: 10px;
	width: 0;
	content: '';
	}

.btn .hover span:after {
	position: absolute;
	display: block;
	right: -10px;
	width: 10px;
	height: 10px;
	background: #fff;
	content: '';
	}

.btn .hover span:nth-child(odd):after {
	background: rgba(0, 0, 0, 0.35);
	}

.btn .hover span:first-child {
	left: -75px;
	transition: all 0.3s steps(8);
	}

.btn .hover span:nth-child(2) {
	left: -45px;
	transition: all 0.325s steps(8);
	}

.btn .hover span:nth-child(3) {
	left: -55px;
	transition: all 0.35s steps(8);
	}

.btn .hover span:nth-child(4) {
	transition: all 0.4s steps(8);
	}

.btn .hover span:nth-child(5) {
	left: -25px;
	transition: all 0.375s steps(8);
	}

.btn:after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 4px;
	z-index: -2;
	content: '';
	}

.btn:hover {
	color: #fff; }

.btn:hover, .btn:focus {
	color: #fff; }

.btn:hover .hover span:first-child, .btn:focus .hover span:first-child {
	width: calc(100% + 76px); }

.btn:hover .hover span:first-child:after, .btn:focus .hover span:first-child:after {
	animation: whiteBlack 0.3s 0s 1; }

.btn:hover .hover span:nth-child(2), .btn:focus .hover span:nth-child(2) {
	width: calc(100% + 46px);
	transition: all 0.375s steps(8); }

.btn:hover .hover span:nth-child(2):after, .btn:focus .hover span:nth-child(2):after {
	animation: whiteBlack 0.3s 0.06s 1 reverse backwards; }

.btn:hover .hover span:nth-child(3), .btn:focus .hover span:nth-child(3) {
	width: calc(100% + 56px);
	transition: all 0.35s steps(8); }

.btn:hover .hover span:nth-child(3):after, .btn:focus .hover span:nth-child(3):after {
	animation: whiteBlack 0.3s 0.05s 1 forwards; }

.btn:hover .hover span:nth-child(4), .btn:focus .hover span:nth-child(4) {
	width: calc(100% + 16px);
	transition: all 0.3s steps(8); }

.btn:hover .hover span:nth-child(4):after, .btn:focus .hover span:nth-child(4):after {
	animation: whiteBlack 0.3s 0s 1 reverse backwards; }

.btn:hover .hover span:nth-child(5), .btn:focus .hover span:nth-child(5) {
	width: calc(100% + 26px);
	transition: all 0.325s steps(8); }

.btn:hover .hover span:nth-child(5):after, .btn:focus .hover span:nth-child(5):after {
	animation: whiteBlack 0.3s 0.07s 1 forwards; }

.btn.red {
	background: #ff5747; }

.btn.red span, .btn.red:after {
	background: #cb4539; }

.btn.green {
	background: #2bdc33;}

.btn.green span, .btn.green:after {
	background: #23b32a; }

.btn.blue {
	background: #16bfff; }

.btn.blue span, .btn.blue:after {
	background: #129acd; }

@-webkit-keyframes whiteBlack {
	0%,
		24% {
	background: #fff;
	}

	25%,
		49% {
	background: rgba(0, 0, 0, 0.35);
	}
	
	50%,
		74% {
	background: #fff;
	}
	
	75%,
		100% {
	background: rgba(0, 0, 0, 0.35);
	}
}

@-moz-keyframes whiteBlack {
	0%,
		24% {
	background: #fff;
	}
	
	25%,
		49% {
	background: rgba(0, 0, 0, 0.35);
	}

	50%,
		74% {
	background: #fff;
	}

	75%,
		100% {
	background: rgba(0, 0, 0, 0.35);
	}
}

@-ms-keyframes whiteBlack {
	0%,
		24% {
	background: #fff;
	}

	25%,
		49% {
	background: rgba(0, 0, 0, 0.35);
	}

	50%,
		74% {
	background: #fff;
	}

	75%,
		100% {
	background: rgba(0, 0, 0, 0.35);
	}
}

@keyframes whiteBlack {
	0%,
		24% {
	background: #fff;
	}
	25%,
		49% {
	background: rgba(0, 0, 0, 0.35);
	}

	50%,
		74% {
	background: #fff;
	}

	75%,
		100% {
	background: rgba(0, 0, 0, 0.35);
	}
}


/* Main */
	#main {
		padding: 1%;
		}

/* Footer */	
	#footer {
		color: #ffffff;
		position: relative;
		text-align: center;
		background-color: #7c70da;
		width: 100%;
		display: inline-block;
		font-family: 'VT323', monospace;
		font-size: 120%;
		}


/* ---------------------------Forskellige sider-------------------------------------------- */
/* Index siden*/
	#spil {
		width: 100%;
		}


/* events - brugsanvisning */
	#events {
		width: 80%;
		background-color: #7c70da;
		border-color: #7c70da;
		border-style: groove;
		margin: 10 0 10 0;
		}

/* spil siden */
	#spil-boks{
		width: 100%;
		}

	#games {
		width: 100%;
		}

		#billede img {
			width: 40%;
			height: 30%;
			padding: 0 0 1% 0;
			}

	#highscore {
		width: 100%;
		height: 20%;
		}

/* Profil siden */
	#profilboks {
		width: 30%;
		float: left;
		margin: 1% 1% 1% 2%;
		}

		#profilboks img {
			width: 40%;
			height: 20%;
			}

/* Om os siden */
	#om-boks {
		width: 30%;
		float: left;
		margin: 1% 1% 1% 2%;
		}

		#om-boks img {
			width: 40%;
			height: 20%;
			}
			

		



