
/* CSS */
/* Enyedy Gyula -- NGC (Szúnyogember, Rémsuli stb) */

@-ms-viewport
{
	width: device-width;
}

div#main {
	max-width: 760px;
	margin: 0 auto;
}

div#topheader {
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
}

div#topheaderbuttons {
	position: relative;
	width: 160px;
	top: 0px;
	left: 0px;
	float: left;
}

img#imgmain {
	border: 2px solid #e3dd2b;
	border-radius: 5px;
}

div#bottombuttons {
	display: none;
}

@media screen and (min-width: 764px) {
	div#topheader {
		margin-top: 10px;
		height: 220px;
	}
	div#topheaderbuttons {
		position: relative;
		width: 160px;
		left: 0px;
		float: left;
	}
	div#topheaderimage {
		position: relative;
		width: 400px;
		left: 160px;
		float: left;
	}
	div#topheadercompass {
		position: relative;
		width: 200px;
		top: 0px;
		left: 164px;
		float: left;
	}
}

@media screen and (max-width: 763px) {
	div#topheader {
		width: 100%;
		height: 220px;
	}
	div#topheaderbuttons {
		display: none;
	}
	div#topheaderimage {
		width: calc(100% - 204px);
		float: left;
	}
	div#topheaderimage img {
		width: 98%;
		max-width: 404px;
		float: left;
		clear: both;
	}
	div#topheadercompass {
		position: relative;
		width: 200px;
		float: left;
	}
	div#bottombuttons {
		margin-top: 0;
		margin-bottom: 5px;
		width: 100%;
		height: 30pt;
		display: flex;
		justify-content: space-around;
		background-color: #c2c7a7;
	}
	div#bottombuttons div {
		font-family: Bradley Hand, cursive;
		font-variant: small-caps;
		font-size: 21pt;
		cursor: pointer;
		height: 100%;
	}
}

body {
	cursor: default;
	background-color: #4A7B4A;
	color: #000000;
	text-align: center;
	font-size: normal;
	font-family: Georgia,Verdana,Comic Sans MS,Bookman Old Style,Arial;
	font-weight: normal;
	margin: 0;
	padding: 0;
	padding-bottom: 20px;
	border-width: 0;
	scrollbar-face-color: #107A3A;
	scrollbar-arrow-color: #000000;
	scrollbar-dark-shadow-color: #000000;
	scrollbar-shadow-color: #000000;
	scrollbar-highlight-color: #000000;
	scrollbar-3dlight-color: #101010;
	scrollbar-track-color: #4A7B4A;
}

#divcontent {
	margin: 0px 10px 10px 10px;
}

@keyframes rotation {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(359deg);
	}
}

@keyframes redpulse {
	0% { background-color: #e04d41;	}
	100% { background-color: #9c1409; }
}

a:link, a:visited, a:active {
	color: #141414;
	font-size: normal;
	font-style: italic;
	font-weight: bold;
	text-decoration: none;
	cursor: pointer;
}

a:hover {
	color: #F4F4F4;
	text-decoration: none;
	cursor: pointer;
}

a.st0:link, a.st0:visited, a.st0:active {
	color: #141414;
}
a.st1:link, a.st1:visited, a.st1:active {
	color: #141414;
}
a.st2:link, a.st2:visited, a.st2:active {
	color: #141414;
}
a.st3:link, a.st3:visited, a.st3:active {
	color: #c0c0c0;
}
a.st0:hover, a.st1:hover, a.st2:hover, a.st3:hover {
	color: #F4F4F4;
}

a img.before {
	font-style: normal;
	animation: rotation 6s infinite linear;
}

h1 {
	text-align: center;
	font-family: Arial;
}

em {
	font-style: italic;
}

b {
	font-weight: bold;
}

img.hr {
	border: 0;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.style0 {
	font-family: Arial;
}
.style1 {
	font-family: Georgia;
}
.style2 {
	font-family: Verdana;
}
.style3 {
	font-family: Comic Sans MS;
}
.book {
	text-align: justify;
	font-style: italic;
	font-family: Bradley Hand, cursive;
	text-indent: 1em;
}
.death {
	animation: redpulse 2s infinite alternate;
}

div.cfg {
	cursor: pointer;
}

.modal {
	display: none;
	position: fixed;
	z-index: 100;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
	background-color: #c8cf99;
	margin: 15% auto;
	padding: 20px;
	border: 2px solid #737564;
	border-radius: 8px;
	max-width: 500px;
	width: 60%;
}
.modal-close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}
.modal-close:hover, .modal-close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}
