* {
	box-sizing: border-box;
}

body {
	font-family: Verdana, sans-serif;
	background: #f1f1f1;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: scroll;
	height: 100%;
	max-height: 100%;
}

/* Header/Blog Title */
.header {
	padding: 30px;
	text-align: center;
	text-shadow: 2px 2px 4px #000000;
	color: white;
	background-color: white;
	background-image: url("../kepek-oldalhoz/torony-daruk.webp");
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: center center;
}

.header h1 {
	font-size: 50px;
}

/* Style the top navigation bar */
.topnav {
	overflow: hidden;
	background-color: #333;
	top: 0;
	position: sticky;
	position: -webkit-sticky;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
	z-index: 1;
}

/* Style the topnav links */
.topnav a {
	float: left;
	display: block;
	color: #f2f2f2;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	cursor: default;
}

/* Right-aligned link */
.topnav a.right {
	float: right;
}

/* Change color on hover */
/* mouse over link */
.topnav a:hover {
	background-color: #ddd;
	color: black;
}

/* Active/current link */
/* selected link */
.topnav a:active {
	background-color: #FFAA00;
	color: white;
}

/* Style the active class, and buttons */
.topnav a.active {
	background-color: #666;
	color: white;
}

/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {	 
	float: left;
	width: 75%;
	padding-left: 20px;
	padding-right: 10px;
}

/* Right column */
.rightcolumn {
	float: left;
	width: 25%;
	background-color: #f1f1f1;
	padding-left: 10px;
	padding-right: 20px;
}

/* logo */
.logo {
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	height: auto;
	border-radius: 50%;
	box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.4);
}

/* Add a card effect for articles */
.card {
	background-color: white;
	padding: 20px;
	margin-top: 20px;
	border-radius: 6px;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
}

/* Clear floats after the columns */
.row::after {
	content: "";
	display: table;
	clear: both;
}

/* Footer */
.footer {
	padding: 10px;
	text-align: center;
	color: #f2f2f2;
	background-color: #333;
	margin-top: 20px;
	box-shadow: 0 -2px 5px 0 rgba(0,0,0,0.16),0 -2px 10px 0 rgba(0,0,0,0.12);
}

/* Style the footer links */
.footer a {
	color: #FFAA00;
	font-style: italic;
	text-decoration: none;
	cursor: pointer;
}

/* Change color on hover */
/* mouse over link */
.footer a:hover {
	background-color: #ddd;
	color: black;
}

/* Active/current link */
/* selected link */
.footer a:active {
	background-color: #FFAA00;
	color: white;
}

/* Facebook iframe */
.fbframe {
	display: block;
	margin: 0 auto;
}

/* Automatic Slideshow */
/* https://www.w3schools.com/howto/howto_js_slideshow.asp */
.mySlidesAuto {
	display: none;
}
.mySlidesAuto img {
	object-fit: cover;
	vertical-align: middle;
	max-width: 300px;
	max-height: 225px;
}

/* Slideshow container */
.autoslideshow-container {
	max-width: 300px;
	position: relative;
	margin: auto;
	z-index: 0;
}

/* Caption text */
.text {
	color: #f2f2f2;
	font-size: 15px;
	padding: 8px 12px;
	position: absolute;
	bottom: 8px;
	width: 100%;
	text-align: center;
	text-shadow: 2px 2px 2px #000000;
}

/* Number text (1/3 etc) */
.numbertext {
	color: #f2f2f2;
	font-size: 12px;
	padding: 8px 12px;
	position: absolute;
	top: 0;
	text-shadow: 2px 2px 2px #000000;
}

/* Fading animation */
.fade {
	animation-name: fade;
	animation-duration: 1.5s;
}

@keyframes fade {
	from {opacity: .4} 
	to {opacity: 1}
}

/* targi anima */
/* https://stackoverflow.com/questions/41587802/css-animation-from-left-to-right
https://www.w3schools.com/css/css3_animations.asp */
.targianima {
	width: 64px;
	height: 64px;
	position: relative;
	-webkit-animation-name: targimove;
	-webkit-animation-duration: 10s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: ease-in-out;
}

@-webkit-keyframes targimove {
	0% {left: 0;}
	48% {
		-webkit-transform: rotateY(0deg);
	}
	50% { 
		left: calc(100% - 64px);
		-webkit-transform: rotateY(180deg);
	}
	98% {
		-webkit-transform: rotateY(180deg); 
	}
	100% {
		left: 0;
		-webkit-transform: rotateY(0deg);
	}
}

/* mozgo daru */
.mozgodarukontener {
	max-width: 256px;
	height: 500px;
	float: right;
}

.mozgodaru {
	display: block;
}

.kotel {
	-webkit-animation-name: kotelfelesle;
	-webkit-animation-duration: 5s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: ease-in-out;
	transform-origin: top;
}

@-webkit-keyframes kotelfelesle {
	0% {
		height: 1px;
		max-width: 256px;
	}
	50% {
		height: 212px;
		max-width: 256px;
	}
	100% {
		height: 1px;
		max-width: 256px;
	}
}

/* táblázatok */
table {
	border-collapse: collapse;
	/* width: 100%; */
	/* center */
	margin-left: auto; 
	margin-right: auto;
}

th, td {
	padding: 2px;
	text-align: left;
	border: 1px solid #ddd;
}

th {
	background-color: #FFAA00;
	color: white;
}

tr:nth-child(even) {background-color: #f2f2f2;}

tr:hover {background-color: coral;}

/* gombok design */
button {
	background-color: #4CAF50;
	border: 2px solid #FFAA00; /* Green */
	border-radius: 6px;
	color: white;
	padding: 16px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	margin: 4px 2px;
	transition-duration: 0.4s;
	cursor: pointer;
	vertical-align: middle;
}

button:hover {
	background-color: #FFAA00;
	border: 2px solid #4CAF50;
	border-radius: 6px;
}

.centerbutton {
	display: flex;
	justify-content: center;
	align-items: center;
	/* "a" elem része */
	text-decoration: none;
	/* "a" elem része */
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
	.leftcolumn, .rightcolumn {	 
		width: 100%;
		padding: 0;
	}
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
	.topnav a {
		float: none;
		width: 100%;
	}
	/* On smaller screens, decrease text size in Auto Slideshow */
	.text {
		font-size: 11px
	}
}