html {
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	height: 100%;
	width: 100%;
	background: url('wallpaper.jpg') no-repeat fixed center;
	background-size: cover;
	font-size: 1em;
	scroll-behavior: smooth;
}

body {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	flex-direction: column;
	margin: 0;
	padding: 0;	
	color: #000;
	min-height:100vh;
	overflow-y: scroll
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
}

a, a:active, a:visited {
	color: #000;
	text-decoration: none;
}

a:hover {
	color: #215694;
	text-decoration: underline;
}

header #wappen {
	width: 10%;
	min-width: 150px;
	display: block;
	margin: auto;
}

header h1 {
	font-size: 3em;
	text-align: center;
	color: #215694;
	text-shadow: 2px 2px 4px black; 
}

header h2 {
	font-size: 1.25em;
	text-align: center;
	color: #ffffff;
	text-shadow: 2px 2px 4px black;
}

main h3 {
	font-size: 1.25em;
	display: block;
	text-align: center;
	font-weight: bold;
	color: white;
	text-shadow: 2px 2px 4px black;
	margin-top: 15px;
}

main {
	flex-grow: 2;
	display: flex;
	margin: 10px 0 50px 0;
	flex-direction: column;
}

.boxwrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	flex-direction: row;
	
}

.box {
	position: relative;
	display: block;
	padding: 10px;
	margin: 10px;
	width: 85%;
	max-width: 300px;
	background-color: rgba(220, 220, 255, 0.7);
	border-radius: 10px;
	flex-shrink: 0;
}

.box:hover {
	background-color: rgba(220, 230, 255, 0.9);
}

.box h3 {
	text-align: center;
	font-size: 1.3em;
	color: #223;
}

.box .imgbox {
	height: 70px;
	margin: 0;
	display: flex;
	align-items: center;
}

.box .imgbox a {
	width: 300px;
}

.box .imgbox a img {
	display: block;
	max-height: 80px;
	max-width: 80%;
	margin: auto;
}


.box details summary {
	position: absolute;
	top: 0px;
	right: 0px;
	text-align: center;
	height: 90px;
	width: 70px;
	cursor: pointer;
}

details summary::marker {
	content: "";
}

.box details summary i {
	font-size: 30px;
	color: #215694 ;
	position: absolute;
	right: 5px;
	top: 55px;
}

details summary i.fa-angles-up {
	display: none;
}

details[open] summary i.fa-angles-up {
	display: inline;
}

details summary i.fa-angles-down {
	display: inline;
}

details[open] summary i.fa-angles-down {
	display: none;
}

.box details description {
	text-align: center;
}

/* Fade in animation */
details > p {
  opacity: 0;
  max-height: 0;
  animation: fadeout 0.5s ease-out;
  transition: max-height 0.25s ease-out;
}

details[open] > p {
  opacity: 1;
  max-height: 500px;
  animation: sweep 0.5s ease-in;
  transition: max-height 0.25s ease-in;
}

@keyframes sweep {
  0% {
    opacity: 0;
    margin-left: 5px;
    margin-right: -5px;
  }

  100% {
    opacity: 1;
    margin-left: 0px;
    margin-right: 0px;
  }
}

@keyframes fadeout {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}



ul {
	list-style: none;
	margin: 0;
	padding: 10px;
}

ul li {
	margin-bottom: 10px;
}

ul li i {
	width: 30px;
	margin: 0;
}

footer {
	width: 75%;
	max-width: 320px;
	font-size: 1.1em;
	border-radius: 10px;
	margin: 10px auto;
	background-color: rgba(220, 220, 255, 0.8);
	cursor: pointer;
}

footer:hover {
	background-color: rgba(220, 230, 255, 0.9);
}

footer details div {
	padding: 10px;
}

footer details div i{
	display: inline-block;
	width: 30px;
}

footer h3 {
	margin: 5px;
	text-align: center;
	font-size: 1em;
}

footer .fa-solid {
	color: #215694;
}