body{
	font-family: Calibri;
	font-size: 16px;
	background-color: white;
}
html{
	scroll-behavior: smooth;
}

/* logo top right corner */
img{
	position: fixed;
	right: 25px;
	top: 5px;
	height: 65px;
}
/* If the screen size is 1050px wide or less, resize the element */
@media only screen and (max-width: 1050px) {
	img {
		right: 10px;
		height: 50px;
	}
}
.name{
	position: fixed;
	top: 67px;
	right: 40px;
	font-family: Georgia;
	font-size: 18px;
	color: gray;
}
/* If the screen size is 1050px wide or less, resize the element */
@media only screen and (max-width: 1050px) {
	p.name {
		font-size: 11px;
		right: 10px;
	}
}
/* If the screen size is 600px wide or less, hide the element */
@media only screen and (max-width: 600px) {
	p.name {
		display: none;
	}
}

/* navbar */
ul{
	color: darkblue;
	font-size: 17px;
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background-color: white;
	left: 0;
	right: 150px;
	position: fixed;					/* always show */
	z-index: 999;						/* always in front */
}
@media only screen and (max-width: 1050px) {
	ul {
		font-size: 15px;
	}
}
@media only screen and (min-width: 1800px){
	ul{
		left: 25%;
	}
}
@media only screen and (min-width: 2000px){
	ul{
		left: 30%;
	}
}
li{
	float: left;
	border-right: 1px solid #bbb;		/* grey */
	background: white;
	width: 90px;
}
li:last-child{
	border-right: none;
}
li a{
	display: block;
	color: black;
	text-align: center;
	padding: 10px 5px;
	text-decoration: none;
}
li a:hover:not(.active){
	background-color: rosybrown;
}
@media only screen and (max-width: 800px) {
	ul {
		font-size: 13px;
	}
	li {
		width: 85px;
	}
}
@media only screen and (max-width: 700px) {
	li {
		width: 80px;
	}
}
@media only screen and (max-width: 600px) {
	ul {
		display: none;
	}
	li {
		display: none;
	}
}
.active{
	background-color: #891217; /* red */
	color: white;
}

/* general layout*/
.topbar{
	position: fixed;
	right: 0;
	top: 0;
	height: 75px;
	width: 100%;
	background-color: white;
	z-index: -1;
	border-bottom: 2px solid #891217;
	box-shadow: 0 0 .5em rgba(0, 0, 0, .5);
}
.sidefade{
	position: fixed;
	right: 0;
	width: 40%;
	height: 100%;
	z-index: -5;
	background-color: white;
	background-image: linear-gradient(to left, white, #f7fad4);
}
.sidebarBig{
	position: fixed;
	right: 0;
	width: 10%;
	max-width: 200px;
	height: 100%;
	z-index: -5;
	background-color: #C0C0C0;
}
.sidebarSmall{
	position: fixed;
	right: 0;
	width: 8%;
	max-width: 180px;
	height: 100%;
	z-index: -5;
	background-color: #891217;
}

/* page content */
.headline{
	color: #891217;
	font-weight: bold;
	position: absolute;
	top: 100px;
	left: 7%;
	z-index: -2;
}
.content{
	position: absolute;
	top: 200px;
	left: 10%;
	right: 25%;
	max-width: 1100px;
	hyphens: auto;
	text-align: justify; /* Blocksatz */
	z-index: -2;
	height: 100%;
	margin-bottom: 70px; /* footer is 60px */
}
@media only screen and (min-width: 1500px){
	.content{
		left: 20%;
		right: 35%;
	}
	.headline{
		left: 18%;
	}
}
@media only screen and (min-width: 1800px){
	.content{
		left: 25%;
		right: 35%;
	}
	.headline{
		left: 23%;
	}
}
@media only screen and (min-width: 2000px){
	.content{
		left: 30%;
		right: 40%;
	}
	.headline{
		left: 29%;
	}
}
@media only screen and (max-width: 470px){
	.content{
		text-align: left;
	}
}
.line{
	width: 65%;
	max-width: 600px;
	height: 2px;
	display: block;
	margin-top: 35px;
	margin-left: auto;
	margin-right: auto;
	background-color: #891217;
}
.nextColumn{
	position: relative;
	left: 15%;
	right: 25%;
	text-align: left;
}
@media only screen and (max-width: 320px){
	.nextColumn{
		font-size: 14px;
	}
}
@media only screen and (max-width: 250px){
	.nextColumn{
		font-size: 12px;
	}
}
@media only screen and (max-width: 140px){
	.nextColumn{
		font-size: 10px;
	}
}

/* log-in buttons */
input{
	background-image: linear-gradient(white, #C0C0C0);
	background-repeat: no-repeat;
	border: 2px outset #891217;
	height: 40px;
	width: 180px;
	text-align: center;
	display: inline-block;
	font-family: Arial;
	font-size: 16px;
	position: relative;
	left: 10%;
	cursor: pointer;
}
input:hover{
	transform: scale(1.05);
}
input:active{
	border: 2px inset #891217;
}

/* button to go to top of page */
.goToTop{
	position: fixed;
	bottom: 15px;
	right: 15px;
	border-radius: 50px;
	border: 2px outset grey;
	height: 35px;
	width: 120px;
	background-color: #C0C0C0;
	z-index: 10;
}
.goToTop a{
	text-decoration: none;
	color: black;
	font-size: 12px;
	display: block;
	text-align: center;
	padding: 8px 0;
	z-index: 10;
}
.goToTop a:hover{
	font-weight: bold;
}
.goToTop a:active{
	color: darkred;
	border-radius: 50px;
	border: 2px inset grey;
}
/* If the screen size is 600px wide or less, hide the element */
@media only screen and (max-width: 600px) {
	.goToTop{
		display: none;
	}
}
.chapter{
	text-decoration: none;
	color: #891217;
	font-weight: bold;
}

/* flyout menu */
.menu{
	position: fixed;
	top: 0;
	left: 0;
	min-width: 200px;
	max-width: 80%;
}
.menu input{
	position: absolute;
	margin: 10px;
	left: -5px;
	height: 30px;
	width: 30px;
	border-radius: 5px;
	border: 2px solid #891217;
	cursor: pointer;
	z-index: 6;
	opacity: 0;
}
.menuButton{
	position: absolute;
	margin: 10px;
	height: 30px;
	width: 30px;
	border-radius: 5px;
	border: 2px solid #891217;
	cursor: pointer;
	z-index: 5;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.menuButton img{
	position: absolute;
	left: 2px;
	top: 1px;
	bottom: 3px;
	height: 27px;
	width: 27px;
}
.menuContainer{
	position: fixed;
	width: 180px;
	max-width: 80%;
	background-color: #891217;
	color: white;
	border-right: 5px solid #C0C0C0;
	border-bottom: 5px solid #C0C0C0;
	left: 0;
	top: 59px;
	height: 250px;
	transform: translateX(-300px);
	transition: transform 0.8s;
	z-index: 20;
}
.menu input:checked ~ .menuContainer{
	transform: none;
}
.menu input:checked ~ .menuContainerBig{
	transform: none;
}
dt a{
	color: white;
	font-size: 18px;
	text-decoration: none;
	position: relative;
	left: 20px;
}
dt a:hover:not(.active){
	color: #C0C0C0;
}
.activeFly{
	color: indianred;
}
.menuContainerBig{
	position: fixed;
	width: 180px;
	max-width: 90%;
	background-color: #891217;
	color: white;
	border-right: 5px solid #C0C0C0;
	border-bottom: 5px solid #C0C0C0;
	left: 0;
	top: 59px;
	height: 250px;
	transform: translateX(-300px);
	transition: transform 0.8s;
	z-index: 20;
	visibility: hidden;
}
/* If the screen size is 600px wide or more, hide the element */
@media only screen and (min-width: 600px) {
	.menu {
		display: none;
	}
	.menuButton {
		display: none;
	}
	.menuContainer {
		display: none;
	}
}

/* footer */
.footerBar{
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 50px;
	background-color: #891217;
	z-index: 2;
	display: flex;
	justify-content: center;
	border-top: 3px solid #C0C0C0;
}
.footer{
	width: auto;
	margin: 10px;
}
.footer a{
	color: #C0C0C0;
	display: block;
	text-align: center;
	padding: 5px 5px;
	text-decoration: none;
	margin: auto;
}
.footer a:hover{
	text-decoration: underline;
}
@media only screen and (max-width: 320px){
	.footerBar, .footer, .footer a{
		display: none;
	}
	.menuContainer{
		display: none;
	}
	.menuContainerBig{
		visibility: visible;
	}
}
@media only screen and (min-width: 320px){
	.menuContainerBig{
		visibility: hidden;
	}
}

/* Justitia */
.justitia{
	position: fixed;
	right: 8%;
	bottom: 50px;
	height: 100vh;
	opacity: 0.4;
	z-index: -10;
}
.justitiaTransparent{
	position: fixed;
	right: 8%;
	bottom: 50px;
	height: 100vh;
	opacity: 0.3;
	z-index: -10;
}
@media only screen and (max-width: 450px){
	.justitia{
		display: none;
	}
	.justitiaTransparent{
		display: none;
	}
}
@media only screen and (max-width: 600px){
	.justitia{
		opacity: 0.3;
	}
	.justitiaTransparent{
		opacity: 0.2;
	}
}
@media only screen and (min-width: 1500px){
	.justitiaTransparent{
		opacity: 0.5;
	}
	.justitia{
		opacity: 0.5;
	}
}
