@keyframes sway {
	0% {
		background-position: 40vw 0;
	}
	50% {
		background-position: 30vw 0;
	}
	100% {
		background-position: 40vw 0;
	}
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font: 100%/1.5 system-ui, "Verlag A", "Verlag B", Helvetica, Arial, sans-serif;
	font-weight: 600;

	background-color: #ff793e;
	background-image: url(../img/pink_leaves.png);
	background-size: contain;
	background-repeat: repeat-x;
	background-position: 40vw 0;
	background-attachment: fixed;
	color: #fff;

	height: 100vh;

	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

body {
	min-height: 100%;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: #ff793e;
}

.leaves {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100vh;
	background-image: url(../img/pink_leaves.png);
	background-size: contain;
	background-repeat: repeat;
	background-position: 40vw 0;
	/* animation: sway 15s infinite ease-in-out; */
	z-index: 0;
}

.birds {
	overflow: hidden;
	position: relative;
	height: 16rem;
}

.birds img.peacock {
	display: block;
	width: 130px;
	height: auto;
	position: absolute;
	left: 0;
	bottom: 0;
}

.birds img.crow {
	display: block;
	width: 200px;
	height: auto;
	position: absolute;
	right: 0;
	bottom: 0;
}

.main {
	position: relative;
	margin: 4rem auto;
	width: 85%;
	z-index: 10;
}

.main > h1 {
	position: absolute;
	top: 8rem;
	width: 100%;
	text-align: center;
	font-size: 3rem;
	letter-spacing: 0.2rem;
	text-decoration: underline;
	z-index: 20;
}

.main > h1 em {
	font-style: normal;
	text-transform: uppercase;
}

.content {
	color: #438094;
	display: flex;
	flex-flow: row wrap;
}

.content h2 {
	text-transform: uppercase;
	font-size: 1.2rem;
	margin-bottom: 0.75rem;
}

.content h3 {
	text-transform: uppercase;
	font-size: 1rem;
	color: #ff793e;
}

.content .section {
	background: #fff;
	padding: 1.5rem;
	margin-bottom: 4rem;
	flex: 0 0 100%;
}

.content .section .hide {
	display: none;
}

.content .welcome p a {
	color: currentColor;
}

.content .forms {

}

.content p {
	margin-bottom: 1rem;
}

.content ul {
	margin-bottom: 1rem;
}

.content li {
	list-style: outside square;
	margin-left: 1.15rem;
}

.content #mapbox {
	display: none;
	width: 100%;
	margin-bottom: 1rem;
}

.content #mapbox #map {
	width: 100%;
	height: 30vh;
}

.content form label {
	display: block;
}

.content form .email,
.content form .password,
.content .register .fullname,
.content .register .attending,
.content .register .note,
.content .register .public,
.content .register .relation {
	margin-bottom: 1rem;
}

.content form input[type="text"],
.content form input[type="password"],
.content form input[type="email"],
.content form textarea {
	width: 100%;
	padding: 0.35rem 0.5rem;
	font-size: 1rem;
	resize: vertical;
	line-height: 1.25;
	border: 2px solid #ddd;
	border-radius: 0;
	-webkit-appearance: none;
	transition: border-color 1s ease;
}

.content form input[type="text"]:focus,
.content form input[type="email"]:focus,
.content form input[type="password"]:focus,
.content form textarea:focus {
	border-color: #e12b6c;
	outline: none;
}

.content .register input[type="radio"],
.content .register input[type="checkbox"] {
	margin-right: 0.25rem;
	vertical-align: 10%;
}

.content form input[type="submit"],
a.button {
	-webkit-appearance: none;
	display: inline-block;
	background: #ff793e;
	border: 0;
	border-radius: 0;
	color: #fff !important;
	padding: 0.4rem 0.5rem;
	text-transform: uppercase;
	text-decoration: none;
	font: 0.85rem "Verlag A", "Verlag B";
	font-weight: 700;
	letter-spacing: 0.1rem;
	cursor: pointer;
	transition: background-color 0.5s ease;
}

.content form input[type="submit"]:hover,
.content form input[type="submit"]:focus,
a.button:hover,
a.button:focus {
	background-color: #e12b6c;
}

.content form .message {
	background: #318caf;
	color: #fff;
	padding: 0.35rem 0.5rem;
	margin-bottom: 1rem;
}

.content .avatar img {
	display: inline-block;
	width: 45px;
	height: 45px;
	border-radius: 100%;
}

.content .contact table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5rem;
}

.content .contact td {
	border-bottom: 1px solid #ddd;
	padding: 0.2rem 0.3rem 0.2rem 0;
}

.content .contact .willnotattend td {
	color: #ccc;
}

.content .contact td:nth-child(3) {
	text-align: right;
}

.content .contact tr:last-child td {
	border: 0;
}

.content .message-form { overflow: hidden; }
.content .message-form #msg-counter { float: right; }
.content .message-form .submit { float: left; }

.content .messageboard .messages li {
	list-style: none;
	margin: 0;
}

.content .messageboard .messages li + li {
	border-top: 1px solid #ddd;
	padding-top: 1rem;
}

.content .messageboard .messages .head { overflow: hidden; }
.content .messageboard .messages .head p { display: inline-block; float: left; color: #ff793e; margin: 0; }
.content .messageboard .messages .head .avatar img { width: 16px; height: 16px; vertical-align: -10%; margin-right: 0.35rem; }
.content .messageboard .messages .head time { display: inline-block; float: right; color: #ccc; }
.content .messageboard .messages .head .role {
	display: inline-block;
	padding: 0.05rem 0.2rem;
	font-size: 0.625rem;
	color: #fff;
	text-transform: uppercase;
	background: #318caf;
	margin-left: 0.35rem;
	border-radius: 0.15rem;
	letter-spacing: 0.05rem;
	vertical-align: 10%;
}
.content .messageboard .messages .head .role:empty { display: none; }

.imprint,
.imprint a {
	text-align: center;
	color: #fff;
	text-decoration: none;
}

@media screen and (max-width: 54em) {
	html {
		background-size: contain;
	}

	.main > h1 {
		font-size: 2.5rem;
	}

	.content .welcome {
		margin-bottom: 4rem;
	}
}

@media screen and (min-width: 54em) {

	.content .section {
		flex: 1 1 CALC(50% - 2rem);
	}

	.content .section:nth-child(odd) {
		margin-right: 4rem;
	}

	.no-flex .content {
		display: block;
	}

	.no-flex .content .section {
		flex: none;
	}

	.no-flex .content .section:nth-child(odd) {
		margin-right: 0;
	}

	.no-flex .main {
		max-width: 45rem;
	}
}