@keyframes backgroundanimation {
	0% {background-color:#ff0000}
	50% {background-color:#bb0000}
	100% {background-color:#ff0000}
}

@keyframes backgroundanimation2 {
	0% {background-color:#A6D9F7}
	50% {background-color:#2892d1}
	100% {background-color:#A6D9F7}
}

@font-face {
	font-family: 'Comfortaa';  
	src: url('../homersekletfigyelo/Comfortaa-Light.ttf') format('truetype');  
}

@keyframes message1 {
	0% {opacity: 1; transform: scale(1)}
	35% {opacity: 0.8; transform: scale(0.9)}
	50% {opacity: 0; transform: scale(0.5)}
	75% {opacity: 0; transform: scale(0.5)}
	90% {opacity: 1; transform: scale(1)}
	100% {opacity: 1; transform: scale(1)}
}

@keyframes message2 {
	0% {opacity: 0; transform: scale(0.5)}
	35% {opacity: 0; transform: scale(0.5)}
	50% {opacity: 1; transform: scale(1)}
	75% {opacity: 0.8; transform: scale(0.9)}
	90% {opacity: 0; transform: scale(0.5)}
	100% {opacity: 0; transform: scale(0.5)}
}

body {
	margin: 0;
	height: 100vh; /* A teljes kÃƒÂ©pernyÃ…â€˜ magassÃƒÂ¡ga */
	display: flex;
	justify-content: center; /* VÃƒÂ­zszintes kÃƒÂ¶zÃƒÂ©pre helyezÃƒÂ©s */
	align-items: center; /* FÃƒÂ¼ggÃ…â€˜leges kÃƒÂ¶zÃƒÂ©pre helyezÃƒÂ©s */
	font-family: Arial, sans-serif;
	transition: all 2s ease;
	background-color:#ff0000;
}

body.blue {
	background-color:#A6D9F7
}

.container {
  position: relative;
  display: block;
  margin-left: -20rem;
}

.kozepre {
	text-align: center; /* A szÃƒÂ¶veg kÃƒÂ¶zÃƒÂ©pre igazÃƒÂ­tÃƒÂ¡sa */
	padding: 20px;
	border: none; /* 2px solid #0073e6; /* Egy keret (opcionÃƒÂ¡lis) */
	background-color: transparent;
	transition: opacity 0.5s ease;
	opacity: 1;
}

.kozepre h1, .kozepre p {
	font-family: Comfortaa, sans-serif;
}

.kozepre h1 {
	margin: 0;
	font-size: 2.5rem;
}
.kozepre p {
	margin: 10px 0 0;
	font-size: 1.8rem;
}

body.hiddentext .kozepre {opacity: 0}


.message p.instruction1 {
  font-size: 1.3rem;
	margin-top:2rem
}

.message p.instruction2 {
  font-size: 1.1rem
}

.message {
	position: absolute;
	top:0;
	display: block;
	width: 40rem;
}

::selection {
    background: transparent; /* KijelÃ¶lÃ©s hÃ¡ttÃ©rszÃ­ne */
    color: inherit; /* KijelÃ¶lt szÃ¶veg szÃ­ne; Ã¶rÃ¶kli a szÃ¶veg szÃ­nÃ©t */
}


.message:nth-child(1), .message:nth-child(3) {
	animation: message1 16s infinite;
}

.message:nth-child(2), .message:nth-child(4) {
	animation: message2 16s infinite;
}

.blue.message {color:black}
.red.message {color:white}

body.blue .blue.message {display:block;}
body.blue .red.message {display:none}
body.red .blue.message {display:none}
body.red .red.message {display:block}

.message span {text-transform: uppercase;font-size: 0.85em}
