* {
	margin: 0;
	padding: 0;
	font-family: Verdana;
}

body {
	background: url("../textures/background3.jpg");
	background-attachment: fixed;
}

.info {
	background: lightblue;
	width: 30%;
	min-height: 200px;
	border: 2px solid blue;
	border-radius: 30px;
	padding: 10px;
	margin: 20px;
	zoom: 80%;
	word-wrap: break-word;
}

.otherInfo {
	display: flex;
}

.otherInfo > a {
	color: white;
	margin-left: 20px;
	margin-bottom: 10px;
}

.otherInfo > a:hover {
	text-decoration: underline;
	cursor: pointer;
}

.village {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	width: 100%;
	margin-bottom: 40px;
}

.building {
	width: 400px;
	height: 300px;
	transition: .2s;
	padding-bottom: 100px;
	margin-top: 30px;
}

.building:hover {
	cursor: pointer;
	transform: scale(1.1);
	transition: .2s;
}

.building > img {
	width: 100%;
	height: 100%;
}

.building > p {
	font-size: 30px;
	text-align: center;
	font-weight: bold;
	color: cyan;
	text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.building > h2 {
	font-size: 40px;
	text-align: center;
	font-weight: bold;
	color: lightblue;
	text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

#caserne > img{
	transform: scale(.9);
}

#wall > img{
	transform: scale(.9);
}

#townhall {
	width: 500px;
}

#bank {
	width: 400px;
}

.menu {
	display: flex;
	position: absolute;
	top: 0;
	padding-top: 20px;
	right: 0;
	padding-right: 20px;
}

.sell-btn {
	width: 100px;
	height: 100px;
	background: lightblue;
	padding-top: 22px;
	padding-bottom: 22px;
	padding-left: 22px;
	font-size: 13px;
	transition: .2s;
	text-align: center;
	border-radius: 10px;
	padding-right: 40px;
}

.sell-btn:hover {
	cursor: pointer;
	transform: scale(1.1);
	transition: .2s;
}

.quests-btn {
	width: 100px;
	height: 100px;
	background: lightblue;
	padding: 22px 22px 22px 22px;
	font-size: 13px;
	transition: .2s;
	text-align: center;
	border-radius: 10px;
	margin-right: 30px;
}

.quests-btn:hover {
	cursor: pointer;
	transform: scale(1.1);
	transition: .2s;
}

.attack-btn {
	width: 100px;
	height: 100px;
	background: lightblue;
	padding-top: 22px;
	padding-bottom: 22px;
	padding-left: 22px;
	padding-right: 72px;
	font-size: 13px;
	transition: .2s;
	text-align: center;
	border-radius: 10px;
	margin-right: 30px;
}

.attack-btn:hover {
	cursor: pointer;
	transform: scale(1.1);
	transition: .2s;
}

.train-warrior-btn {
	width: 100px;
	height: 100px;
	background: lightblue;
	padding-top: 22px;
	padding-bottom: 22px;
	padding-left: 22px;
	padding-right: 42px;
	font-size: 13px;
	transition: .2s;
	text-align: center;
	border-radius: 10px;
	margin-right: 30px;
}

.train-warrior-btn:hover {
	cursor: pointer;
	transform: scale(1.1);
	transition: .2s;
}

.delete {
	display: block;
	width: 30%;
	min-height: 30px;
	padding: 10px 30px 3px 30px;
	background: red;
	border-radius: 10px;
	text-decoration: none;
	color: white;
	margin-top: 10px;
}

.delete:hover {
	background: darkred;
}

.tutorial {
	display: block;
	width: 30%;
	min-height: 30px;
	padding: 10px 30px 3px 30px;
	background: lightgreen;
	border-radius: 10px;
	text-decoration: none;
	color: black;
	margin-top: 10px;
}

.tutorial:hover {
	background: green;
	color: white;
}

.export {
	display: block;
	width: 30%;
	min-height: 30px;
	padding: 10px 30px 3px 30px;
	background: blue;
	border-radius: 10px;
	text-decoration: none;
	color: white;
	margin-top: 10px;
}

.export:hover {
	background: darkblue;
	color: white;
}

.import {
	display: block;
	width: 30%;
	min-height: 30px;
	padding: 10px 30px 3px 30px;
	background: grey;
	border-radius: 10px;
	text-decoration: none;
	color: white;
	margin-top: 10px;
}

.import:hover {
	background: darkgrey;
	color: white;
}



#forExport {
	position: absolute;
	top: -10000000px;
}

.quests {
	position: absolute;
	background: white;
	border-radius: 50px;
	width: 95%;
	max-height: 95%;
	min-height: 95%;
	overflow: auto;
	z-index: 1000;
	margin-left: 2.5%;
	text-align: left;
	display: none;

	animation: fadeInDown;
  	animation-duration: .5s; 
}

.credits-window {
	position: absolute;
	background: white;
	border-radius: 50px;
	width: 95%;
	max-height: 95%;
	min-height: 95%;
	overflow: auto;
	z-index: 1000;
	margin-left: 2.5%;
	text-align: left;
	display: none;

	animation: fadeInDown;
  	animation-duration: .5s; 
}

.inner-credits {
	zoom: 150%;
}

.inner-credits > h2 {
	padding-left: 40px;
	color: lightblue;
	text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.inner-credits > ul {
	padding-left: 100px;
	margin-bottom: 20px;
}

.attacks {
	position: absolute;
	background: white;
	border-radius: 50px;
	width: 95%;
	max-height: 95%;
	min-height: 95%;
	overflow: auto;
	z-index: 1000;
	margin-left: 2.5%;
	text-align: left;
	display: none;

	animation: fadeInDown;
  	animation-duration: .5s; 
}

.import-window {
	position: absolute;
	background: white;
	border-radius: 50px;
	width: 95%;
	max-height: 95%;
	min-height: 95%;
	overflow: auto;
	z-index: 1000;
	margin-left: 2.5%;
	text-align: left;
	display: none;

	animation: fadeInDown;
  	animation-duration: .5s; 
}

.import-window > textarea {
	min-width: 90%;
	max-width: 90%;
	max-height: 400px;
	min-height: 400px;
	margin-left: 5%;
	border-radius: 10px;
}

.makeImport {
	display: block;
	width: 85%;
	min-height: 30px;
	padding: 10px 30px 3px 30px;
	background: grey;
	border-radius: 10px;
	text-decoration: none;
	color: white;
	margin-top: 10px;
	margin-left: 5%;
}

.makeImport:hover {
	background: darkgrey;
	color: white;
	cursor: pointer;
}

.train-warriors {
	position: absolute;
	background: white;
	border-radius: 50px;
	width: 50%;
	max-height: 50%;
	min-height: 50%;
	overflow: auto;
	z-index: 1000;
	margin-left: 25%;
	margin-top: 10%;
	text-align: left;
	display: none;

	animation: fadeInDown;
  	animation-duration: .5s; 
}

.inner-warriors {
	display: flex;
	width: 100%;
}

.warriors-btn {
	width: 25%;
	height: 170px;
	padding: 20px;
	margin-left: 23px;
	margin-right: 10px;
	border-radius: 20px;
	text-align: center;
	padding-top: 110px;
}

.warriors-btn:hover {
	background: lightblue;
	cursor: pointer;
}

.attack-village {
	margin-top: 30px;
	font-size: 30px;
	background: none;
	border: none;
}

.attack-village:hover {
	cursor: pointer;
	text-decoration: underline;
}

.quest {
	display: block;
	padding: 20px;
	color: black;
	text-decoration: none;
	font-size: 30px;
}

.quest:hover {
	background: lightblue;
	cursor: pointer;
}

.close {
	display: block;
	padding: 20px;
	color: black;
	text-decoration: none;
	font-size: 30px;
	width: 2%;
	border-radius: 25px;
	text-align: center;
}

.close-import {
	display: block;
	padding: 20px;
	color: black;
	text-decoration: none;
	font-size: 30px;
	width: 2%;
	border-radius: 25px;
	text-align: center;
}

.close-import:hover {
	background: red;
}

.close-credits {
	display: block;
	padding: 20px;
	color: black;
	text-decoration: none;
	font-size: 30px;
	width: 2%;
	border-radius: 25px;
	text-align: center;
}

.close-credits:hover {
	background: red;
}

.close-attack {
	display: block;
	padding: 20px;
	color: black;
	text-decoration: none;
	font-size: 30px;
	width: 2%;
	border-radius: 25px;
	text-align: center;
}

.close-attack:hover {
	background: red;
}

.close:hover {
	background: red;
}

.close-warriors {
	display: block;
	padding: 20px;
	color: black;
	text-decoration: none;
	font-size: 30px;
	width: 2%;
	border-radius: 25px;
	text-align: center;
}

.close-warriors:hover {
	background: red;
}

.enemy-village {
	width: 100%;
	display: flex;
}

.enemy-village:hover {
	background: lightblue;
}

.enemy-village > .village-logo {
	width: 15%;	
}

.enemy-village > .village-logo > img {
	width: 100%;
	height: 100%;
}

.enemy-village > .village-info {
	width: 70%;	
	padding-top: 50px;
}

.enemy-village > .village-info > h1 {
	font-size: 40px;
}

.enemy-village > .village-info > p {
	font-size: 20px;
}

.modal {
	position: fixed;
}

@media screen and (max-height: 700px){
	.menu {
		position: static;
		margin-left: 20px;
	}
	.village {
		margin-bottom: 100px;
	}
}

@media screen and (max-width: 1200px){
	body{
		zoom: 80%;
	}
	.village {
		flex-wrap: wrap;
	}
	.building{
		padding-bottom: 100px;
	}
}

@media screen and (max-width: 1015px){
	.building {
		padding-bottom: 200px;
	}
}

@media screen and (max-width:  950px){
	.menu {
		position: static;
		margin-left: 20px;
	}
	.info {
		width: 70%;
	}
}

@media screen and (max-width: 800px){

	.info {
		width: 90%;
	}
	.village {
		max-width: 100%;
		flex-wrap: wrap;
	}
	.building {
		padding-bottom: 100px;
		zoom: 60%;
	}
	.menu {
		position: static;
		margin-left: 12px;
		zoom: 60%;
		max-width: 100%;
	}
	.enemy-village {
		zoom: 70%;
		height: 200px;
	}
	.enemy-village > .village-info {
		zoom: 70%;
	}
	.enemy-village > .village-logo {
		width: 40%;
	}
	.train-warriors {
		position: fixed;
		background: white;
		border-radius: 50px;
		width: 95%;
		max-height: 95%;
		min-height: 95%;
		overflow: auto;
		z-index: 1000;
		margin-left: 2.5%;
		text-align: left;
		display: none;
		margin-top: 4px;

	}
	.inner-warriors {
		display: block;
	}
	.inner-warriors > div {
		width: 80%;
	}
	.quests {
		zoom: 50%;
	}
	.inner-credits {
		zoom: 120%;
	}
	.inner-credits > h2 {
		padding-left: 20px;
	}
	.inner-credits > ul {
		padding-left: 60px;
	}
}

@media screen and (max-width: 450px){
	.building {
		zoom: 50%;
		padding-bottom: 200px;
	}
}