@media (hover:none) and (pointer:coarse) {
	@media only screen and (max-width:50em) {
		body>* {
			width: 320px
		}

		.snowflakes {
			display: none;
		}
	}

	@media only screen and (min-width:50em) and (max-width:60em) {
		body>* {
			width: 100%
		}

		.snowflakes {
			display: none;
		}
	}

	@media only screen and (min-width:60em) {
		body>* {
			width: 980px
		}
	}
}

@media (hover:hover) and (pointer:fine) {
	body>* {
		width: 980px
	}
}

:root {
	--height: max(30vh, 30vw);
	--ratio1: calc(15/26);
	--width: calc(var(--height) * var(--ratio1));
	--half-height: calc(var(--height) / 2);
	--half-width: calc(var(--width) / 2);
	--hex-color: palegoldenrod;
}

html {
	margin-left: calc(100vw - 100%)
}

input[type="radio"],
input[type="checkbox"] {
	display: none
}

input[type=date] {
	font-family: Arial
}

a,
a:link,
a:visited,
a:active {
	color: inherit;
	text-decoration: none
}

body>* {
	margin: auto
}

span {
	font-weight: bold
}

html {
	overflow: auto;
	scrollbar-width: thin;
	scrollbar-color: steelblue mediumspringgreen
}

html::-webkit-scrollbar {
	height: 1vw;
	width: 1vw;
}

html::-webkit-scrollbar-thumb {
	background-color: steelblue;
}

html::-webkit-scrollbar-track {
	background-color: mediumspringgreen;
}

@keyframes body-animation {
	0% {
		background-color: white;
		background-image: none
	}

	100% {
		background-image: url("https://rozsavolgyirendelo.hu/pictures/hatter.jpg");
		background-repeat: no-repeat;
		--bgw: 612;
		--bgh: 462;
		--bgscale: max(calc(100vh / var(--bgh)), calc(100vw / var(--bgw)));
		background-size: calc(var(--bgw) * var(--bgscale)) calc(var(--bgh) * var(--bgscale));
		background-attachment: fixed;
	}
}

@keyframes content-animation {
	0% {
		opacity: 0
	}

	50% {
		opacity: 0
	}

	100% {
		opacity: 1
	}
}

body {
	margin: 0;
	font-family: Arial;
	background-image: url("https://rozsavolgyirendelo.hu/pictures/hatter.jpg");
	background-repeat: no-repeat;
	--bgw: 612;
	--bgh: 462;
	--bgscale: max(calc(100vh / var(--bgh)), calc(100vw / var(--bgw)));
	background-size: calc(var(--bgw) * var(--bgscale)) calc(var(--bgh) * var(--bgscale));
	background-attachment: fixed;
	animation: 0.4s body-animation linear
}

body>*:not(.hex-wrap, .hex-row, .hex, .hex>div) {
	animation: 0.4s content-animation linear
}

* {
	box-sizing: border-box;
}

noscript {
	font-size: 1.5em;
	font-weight: bold;
	color: red;
	font-family: Arial;
}

.link {
	text-decoration: underline;
	cursor: pointer
}

.disabled-link {
	pointer-events: none;
}

.announcement-green {
	border: 3px solid #BADA55;
	background-color: #DAEDFF;
	padding: 0.5em;
}

.announcement-green h2 {
	font-size: 1.3em;
	line-height: 1.5em;
	margin: 0;
	text-align: center;
}

.announcement-green p {
	margin: 0;
	line-height: 1.2em
}

.purpleborder {
	border: 1px solid #6B1DF3;
	padding: 0.5em;
	border-radius: 0.4em;
}

.hex {
	float: left;
	margin-right: calc(var(--height) * -0.31);
	margin-bottom: calc(var(--half-height) * -1.02);
	transform: scale(0) rotate(-60deg);
	transition: transform 0.3s linear;
	animation: 0.4s rotate-scale linear;
	will-change: transform;
}

.hex>div {
	transition: 0.3s border-color linear, 0.3s background-color linear;
}

.hex .left {
	float: left;
	width: 0;
	border-right: var(--half-width) solid var(--hex-color);
	border-top: var(--half-height) solid transparent;
	border-bottom: var(--half-height) solid transparent;
	animation: 0.4s border-change linear;
	margin-right: -1px;
}

.hex .middle {
	background-color: var(--hex-color);
	float: left;
	width: var(--width);
	height: var(--height);
	animation: 0.4s background-change linear;
}

.hex .right {
	float: left;
	width: 0;
	border-left: var(--half-width) solid var(--hex-color);
	border-top: var(--half-height) solid transparent;
	border-bottom: var(--half-height) solid transparent;
	animation: 0.4s border-change linear;
	margin-left: -1px;
}

.hex-wrap {
	position: fixed;
	top: 0;
	left: 0;
	pointer-events: none;
	width: calc(var(--height) * 6);
	height: 100vh;
	z-index: 100;
}

.hex-row {
	height: var(--height);
	clear: left;
	margin-left: calc(var(--height) * -1/3);
	margin-top: calc(var(--height) * -0.5);
	width: 100%;
}

.hex.even {
	margin-top: var(--half-height);
}

@keyframes background-change {
	0% {
		background-color: white;
	}

	100% {
		background-color: var(--hex-color);
	}
}

@keyframes border-change {
	0% {
		border-top-color: transparent;
		border-bottom-color: transparent;
		border-right-color: white;
		border-left-color: white;
	}

	100% {
		border-right-color: var(--hex-color);
		border-left-color: var(--hex-color);
	}
}

@keyframes rotate-scale {
	0% {
		transform: rotate(0deg) scale(1);
	}

	100% {
		transform: rotate(60deg) scale(0);
	}
}

.transition {
	transform: scale(1) rotate(0deg);
}

.transition .middle {
	background-color: white;
}

.transition .left {
	border-right-color: white;
}

.transition .right {
	border-left-color: white;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	border: 0;
}

.sr-only * {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	border: 0;
}

.snowflakes {
	position: fixed;
	top: 0;
	left: 0;
}

.snowflake {
	width: 5px;
	height: 5px;
	background: white;
	border-radius: 50%;
}

@-webkit-keyframes snowflakes-fall {
	0% {
		top: -10%
	}

	100% {
		top: 100%
	}
}

@-webkit-keyframes snowflakes-shake {
	0% {
		-webkit-transform: translateX(0px);
		transform: translateX(0px)
	}

	50% {
		-webkit-transform: translateX(20px);
		transform: translateX(20px)
	}

	100% {
		-webkit-transform: translateX(0px);
		transform: translateX(0px)
	}
}

@keyframes snowflakes-fall {
	0% {
		top: -10%
	}

	100% {
		top: 100%
	}
}

@keyframes snowflakes-shake {
	0% {
		transform: translateX(0px)
	}

	50% {
		transform: translateX(20px)
	}

	100% {
		transform: translateX(0px)
	}
}

.snowflake {
	position: fixed;
	top: -10%;
	z-index: 9999;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: default;
	-webkit-animation-name: snowflakes-fall, snowflakes-shake;
	-webkit-animation-duration: 10s, 3s;
	-webkit-animation-timing-function: linear, ease-in-out;
	-webkit-animation-iteration-count: infinite, infinite;
	-webkit-animation-play-state: running, running;
	animation-name: snowflakes-fall, snowflakes-shake;
	animation-duration: 10s, 3s;
	animation-timing-function: linear, ease-in-out;
	animation-iteration-count: infinite, infinite;
	animation-play-state: running, running
}

.snowflake:nth-of-type(0) {
	left: 1%;
	-webkit-animation-delay: 0s, 0s;
	animation-delay: 0s, 0s
}

.snowflake:nth-of-type(1) {
	left: 2%;
	-webkit-animation-delay: 1s, 1s;
	animation-delay: 1s, 1s
}

.snowflake:nth-of-type(2) {
	left: 3%;
	-webkit-animation-delay: 6s, .5s;
	animation-delay: 6s, .5s
}

.snowflake:nth-of-type(3) {
	left: 4%;
	-webkit-animation-delay: 4s, 2s;
	animation-delay: 4s, 2s
}

.snowflake:nth-of-type(4) {
	left: 5%;
	-webkit-animation-delay: 2s, 2s;
	animation-delay: 2s, 2s
}

.snowflake:nth-of-type(5) {
	left: 6%;
	-webkit-animation-delay: 8s, 3s;
	animation-delay: 8s, 3s
}

.snowflake:nth-of-type(6) {
	left: 7%;
	-webkit-animation-delay: 6s, 2s;
	animation-delay: 6s, 2s
}

.snowflake:nth-of-type(7) {
	left: 8%;
	-webkit-animation-delay: 2.5s, 1s;
	animation-delay: 2.5s, 1s
}

.snowflake:nth-of-type(8) {
	left: 9%;
	-webkit-animation-delay: 1s, 0s;
	animation-delay: 1s, 0s
}

.snowflake:nth-of-type(9) {
	left: 10%;
	-webkit-animation-delay: 3s, 1.5s;
	animation-delay: 3s, 1.5s
}

.snowflake:nth-of-type(10) {
	right: 1%;
	-webkit-animation-delay: 0s, 0s;
	animation-delay: 0s, 0s
}

.snowflake:nth-of-type(11) {
	right: 2%;
	-webkit-animation-delay: 1s, 1s;
	animation-delay: 1s, 1s
}

.snowflake:nth-of-type(12) {
	right: 3%;
	-webkit-animation-delay: 6s, .5s;
	animation-delay: 6s, .5s
}

.snowflake:nth-of-type(13) {
	right: 4%;
	-webkit-animation-delay: 4s, 2s;
	animation-delay: 4s, 2s
}

.snowflake:nth-of-type(14) {
	right: 5%;
	-webkit-animation-delay: 2s, 2s;
	animation-delay: 2s, 2s
}

.snowflake:nth-of-type(15) {
	right: 6%;
	-webkit-animation-delay: 8s, 3s;
	animation-delay: 8s, 3s
}

.snowflake:nth-of-type(16) {
	right: 7%;
	-webkit-animation-delay: 6s, 2s;
	animation-delay: 6s, 2s
}

.snowflake:nth-of-type(17) {
	right: 8%;
	-webkit-animation-delay: 2.5s, 1s;
	animation-delay: 2.5s, 1s
}

.snowflake:nth-of-type(18) {
	right: 9%;
	-webkit-animation-delay: 1s, 0s;
	animation-delay: 1s, 0s
}

.snowflake:nth-of-type(19) {
	right: 10%;
	-webkit-animation-delay: 3s, 1.5s;
	animation-delay: 3s, 1.5s
}