@charset "utf-8";

/* alapbeállítások törlése és beállítása */
html, body, header, main, nav, footer, div, aside, p, h1, h2, h3, h4, div, span, li, ul, ol, img, a{
	font-family: "Trebuchet MS", Tahoma, Arial, Helvetica, sans-serif;
	text-decoration: none;
	color: rgba(51,0,0,1);
	margin: 0px;
	padding: 0px;
}

html, body {
	font-size: 100%;
	line-height: 1.2em;
}

body {
	background-image: url(../images/signs/europe-550181_1280.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
	background-position: center;
}

h1 {
	position: absolute;
	height: 0px;
	right: -9999em;
}

a:link ,a:visited, a:hover, a:active, a:focus {
	color: rgba(51,0,0,1);
}

a:hover, a:focus {
	background-color: rgba(51,0,0,1);
	color: rgba(255,255,155,1);
	border-radius: 5px;
}


/* eddig alapbeállítások */

/* fejléc */
header {
	font-size: 1.2em;
	width: 100%;
	margin-top: 0.2em;
	margin-bottom: 0.4em;
	background-color: rgba(100,200,100,0.7);
	text-align: center;
	border-radius: 5px;
}

nav {
	margin-left: auto;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	margin-right: auto;
}
nav a {
	padding-right: 0.8em;
	padding-left: 0.8em;
}
nav ul {
	list-style-type: none;
}

nav li {
	display: inline;
	font-variant: small-caps;
}

nav span {
	margin: 0.1em;
}
/* fejléc vége*/

aside {
	text-align: center;
}

aside p {
	background-color: rgba(0,102,255,1);
	color: rgba(102,255,0,1);
	font-size: 1.2em;
	font-weight: bold;
	font-variant: small-caps;
	border-radius: 5px;
}

aside p:hover, aside p:active {
	background-color: rgba(102,255,0,1);
	color: rgba(0,102,255,1);
}

main {
	background-color: rgba(255,255,255,0.4);
	width: 80%;
	text-align: left;
	margin-top: 1em;
	margin-right: auto;
	margin-bottom: 1em;
	margin-left: auto;
	padding: 0.5em;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translateY(-50%);
	max-width: 600px;
	border-radius: 5px;
}

div {
	width: 70%;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}
div p, div a{
	border: 1px solid rgba(102,0,0,1);
	background-color: rgba(255,255,155,0.7);
	text-align: center;
	border-radius: 5px;
	display: block;
	height: 100%;
	width: 100%;
	margin-top: 0.2em;
	margin-bottom: 0.2em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

div p:hover, div p:active {
	background-color: rgba(102,255,0,1);
	color: rgba(0,102,255,1);
}

footer {
	background-color: rgba(100,200,100,0.7);
	width: 100%;
	margin-top: 0.4em;
	margin-bottom: 0.2em;
	text-align: center;
	border-radius: 5px;
	padding-top: 0.4em;
	padding-bottom: 0.4em;
}
