
html, body {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 18px;
	color: #0a0a0a;
	background-color: #fafafa;
	padding: 0;
	margin: 0;
}

#head_image {
	aspect-ratio: 1 / 1;
	height: min(30vh, calc(100vh - 80px));
	margin-left: calc((100% - min(30vh, calc(100vh - 80px))) / 2);
	border-radius: 0;
	border: 0 solid #ffffff;
	box-shadow: 0 0 5px rgba(0,0,0, 0);
	overflow: hidden;
	transition: all 0.5s;
	background-image: url(/img/Profilbild.jpg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}
#head_image.clicked {
	height: 60px;
	margin-left: calc((100% - 70px) / 2);
	border-width: 10px;
	border-radius: 50%;
	box-shadow: 0 0 5px rgba(0,0,0, 0.3);
	transform: translateY(-50px);
}

body > ul {
	margin-top: 20px;
	list-style: none;
	padding: 0;
	width: min(400px, calc(100% - 40px));
	margin-left: calc((100% - min(400px, calc(100% - 40px))) / 2);;
	border: 1px solid #b9b9b9;
	border-bottom-width: 0;
	background-color: #ffffff;
	box-shadow: 0 0 5px rgba(0,0,0, 0.3);
	transition: all 0.5s;
	overflow: hidden;
}

body > ul > li > a {
	display: block;
	padding: 0 30px;
	height: 80px;
	line-height: 80px;
	text-decoration: none;
	color: #878787;
	border-bottom: 1px solid #b9b9b9;
	background: #ffffff;
	transition: all 0.2s;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body > ul > li > a > b {
	color: #8e4a4b;
	transition: all 0.2s;
	font-weight: 700;
}

body > ul > li > a:hover, body > ul > li > a.active {
	background: #8e4a4b;
	color: #cdcdcd;
}
body > ul > li > a.active:hover {
	background: #efefef;
	color: #878787;
}
body > ul > li > a:hover > b, body > ul > li > a.active > b {
	color: #ffffff;
}
body > ul > li > a.active:hover > b {
	color: #8e4a4b;
}

body > ul.clicked {
	margin-top: 0;
	margin-left: 20px;
	opacity: 0;
	height: 0px;
}

body > section {
	width: calc(100% - 20px);
	margin: auto;
	display: none;
	padding: 1%;
	transform: translateY(-50px);
}

body > section a {
	text-decoration: underline;
	color: #8e4a4b;
	cursor: pointer;
}
body > section a:hover {
	text-decoration: none;
}

body > section > p, body > section > div {
	margin-top: 0;
	margin-bottom: 20px;
	background-color: #ffffff;
	box-shadow: 0 0 5px rgba(0,0,0, 0.3);
	line-height: 30px;
}
body > section > div.short {
	font-family: 'EB Garamond', serif;
	background: #fdf4e6;
}
body > section > div > p:first-child {
	margin-top: 0;
}
body > section > div > p:last-child {
	margin-bottom: 0;
}
body > section > * {
	position: relative;
	top: 50px;
	transition: all 0.5s;
	width: 96%;
	padding: 1%;
	opacity: 0;
}
body > section > *.active {
	top: 0;
	opacity: 1;
}
body > section > div > table {
	border-spacing: 0;
	width: 100%;
	border-right: 1px solid #e1e1e1;
	border-bottom: 1px solid #e1e1e1;
}
body > section > div > table td {
	padding: 5px 10px;
	border-top: 1px solid #e1e1e1;
	border-left: 1px solid #e1e1e1;
}


h1, h2, h3, h4, h5, h6 {
	color: #8e4a4b;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 300;
}
body > section > h1 {
	font-size: 2em;
	margin-top: 0;
	margin-bottom: 5px;
	padding: 0;
}
body > section > h2 {
	font-size: 1.4em;
	margin-top: 0;
	margin-bottom: 5px;
	padding: 0;
}
body > section > h3 {
	font-size: 1.1em;
	margin-top: 0;
	margin-bottom: 5px;
	padding: 0;
}
body > section > div > figure {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
}
body > section > div > figure > img {
	width: 20%;
	height: auto;
	clear: right;
}
body > section > div > figure > figcaption {
	width: 78%;
	float: right;
}
.headline {
	background: #8e4a4b;
	height:15px;
	margin-bottom: 25px;
	color:#ffffff;
	padding: 10px;
	box-shadow: 0 0 5px rgba(0,0,0, 0.3);  
	margin-bottom: 25px;
}


.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
	background-color: #8e4a4b;
	border-color: #522c2c;
}

.passcode {
	width: calc(100% - 10px);
}
.passcode > input {
	margin-top: 5px;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 18px;
	padding: 10px;
	box-sizing: border-box;
	width: 100%;
}

@media (min-width: 1400px) {
	#head_image.clicked {
		height: 300px;
		margin-left: 60px;
		border-width: 10px;
		border-radius: 50%;
		box-shadow: 0 0 5px rgba(0,0,0, 0.3);
		transform: translateY(0px);
	}
	body > ul.clicked {
		margin-top: 20px;
		margin-left: 20px;
		opacity: 1;
		height: auto;
		float: left;
	}

	
	body > section {
		float: right;
		margin-top: 25px;
		width: calc(100% - 500px);
		margin-top: -300px;
	}

	
	.passcode {
		display: block;
		top: 200px !important;
		max-width: 600px;
		margin: auto;
	}
}