 /* Simplify width and height calculations */
 html {
   box-sizing: border-box;
 }
 *, *:before, *:after {
   box-sizing: inherit;
 }
 /* GENERAL SETUP */
 body {
   font-family: source-sans-pro;
   background-color: #000000;
   background-repeat: repeat;
   -webkit-box-shadow: 0px 0px;
   box-shadow: 0px 0px;
   border-radius: 0;
   min-height: 100%;
   color: #fffeea;
   font-size: 1em;
   line-height: 1.5;
 }
 lang-active {
   display: block;
 }
 lang-inactive {
   display: none;
 }
 #wrapper {
   max-width: 130ch;
   width: 100%;
   margin: auto;
   background-color: #001A33;
   background-image: url(../images/soft-wallpaper.png);
 }

#wrapper-full {
   max-width: 90ch;
   width: 100%;
   margin: auto;
   background-color: #001A33;
   background-image: url(../images/soft-wallpaper.png);
 }


 header {
   grid-area: hd; /* handle grid layout for medium/large devices */
   background-size: cover;
   margin-bottom: 10px;
   padding: 0;
   background-repeat: no-repeat;
   background-position: center;
   background-image: -webkit-linear-gradient(270deg, rgba(0, 26, 51, 0.50) 0%, rgba(0, 26, 51, 0.00) 20.12%, rgba(0, 26, 51, 0.00) 79.54%, rgba(0, 26, 51, 0.50) 100%);
   background-image: -moz-linear-gradient(270deg, rgba(0, 26, 51, 0.50) 0%, rgba(0, 26, 51, 0.00) 20.12%, rgba(0, 26, 51, 0.00) 79.54%, rgba(0, 26, 51, 0.50) 100%);
   background-image: -o-linear-gradient(270deg, rgba(0, 26, 51, 0.50) 0%, rgba(0, 26, 51, 0.00) 20.12%, rgba(0, 26, 51, 0.00) 79.54%, rgba(0, 26, 51, 0.50) 100%);
   background-image: linear-gradient(180deg, rgba(0, 26, 51, 0.50) 0%, rgba(0, 26, 51, 0.00) 20.12%, rgba(0, 26, 51, 0.00) 79.54%, rgba(0, 26, 51, 0.50) 100%);
   border-bottom: medium double #fffeea;
   background-color: #002a54;
 }

aside {
	grid-area: ri; /* handle grid layout for medium/large devices */
	height: fit-content;
	margin-right: 5ch;
}

main {
	grid-area: le; /* handle grid layout for medium/large devices */
	margin-left: 5ch;
}
 main, aside {
   background-color: #fffeea;
   border-radius: 20px;
   color: #001a33;
   -webkit-box-shadow: 10px 10px 5px 2px rgba(0, 0, 0, 0.50);
   
   box-shadow: 10px 10px 5px 2px rgba(0, 0, 0, 0.50);
 }
 main li, aside li {
   padding-bottom: 5px;
 }
 main p, aside p {
   margin-right: 20px;
   margin-left: 20px;
 }

 footer {
   grid-area: ft;  /* handle grid layout for medium/large devices */
   text-align: center;
   text-shadow: 5px 5px 2px rgba(0, 0, 0, 0.50);
   background-color: rgba(0, 0, 0, 0.50);
   padding-top: 20px;
   padding-bottom: 20px;
   border-top-left-radius: 5px;
   border-top-right-radius: 5px;
   margin-top: 20px;
 }
 #footer {
   padding: 20px;
   height: auto;
 }
 footer p {
   width: 45%;
   display: inline-block;
 }
 h1 {
   font-weight: 700;
   text-transform: uppercase;
   margin-top: 10px;
   margin-bottom: 10px;
   text-shadow: 2px 2px 5px #001A33;
   width: 100%;
   text-align: center;
   letter-spacing: 1em;
 }
 h2 {
   text-align: center;
 }
 h3 {
   margin-left: 25px;
   margin-right: 25px;
 }
 h4 {
   text-align: center;
   font-weight: normal;
   font-style: italic;
 }
 h6 {
   text-decoration: none;
   font-weight: 600;
   font-variant: normal;
   font-size: large;
   text-shadow: 2px 2px 5px #001A33;
   text-align: center;
   padding-bottom: 10px;
 }
 /* HANDLING LINKS*/
 a:link, a:visited, main a:link, main a:visited, aside a:link, aside a:visited {
   color: #002A54;
   font-weight: bold;
   text-decoration: none;
 }
 footer a:link, footer a:visited {
   color: #FFFBAD;
 }
 a:hover, a:active, a:focus, footer a:hover, footer a:active, footer a:focus, main a:hover, main a:active, main a:focus, aside a:hover, aside a:active, aside a:focus {
   text-decoration: underline;
 }
 /* HANDLING IMAGES */
 figcaption {
   text-align: center;
   text-transform: uppercase;
   padding-top: 5px;
 }
 header img {
   margin: 0 auto;
   display: block;
   width: 75%;
 }
 .shadow {
   -webkit-filter: drop-shadow(1px 5px 2px rgba(255, 254, 234, 0.40));
   filter: drop-shadow(1px 5px 2px rgba(255, 254, 234, 0.40)); /* Similar syntax to box-shadow */
 }
 .person figure {
   border-radius: 5px;
   -webkit-box-shadow: 5px 5px 20px 5px #001A33;
   box-shadow: 5px 5px 20px 5px #001A33;
 }
 /* MENU & NAVLINKS*/
 #menu {
   float: left;
   width: 100%;
   margin: 0;
   font-weight: 400;
 }
 #menulink {
   background-color: #001A33;
   margin: 0;
   text-align: center;
 }
 #menulink a {
   color: #FFFEEA;
   font-size: 1em;
   text-transform: uppercase;
   font-weight: 200;
   text-decoration: none;
   font-family: source-sans-pro;
   font-style: normal;
 }
 #navlinks {
   width: 100%;
   list-style-type: none;
   padding: 0;
   margin: 0;
   text-align: center;
   background-color: #000000;
   background-color: rgba(0, 26, 51, 0.65);
   position: absolute;
   -webkit-transition: all ease-out 0.5s;
   transition: all ease-out 0.5s;
   font-weight: 400;
 }
 #navlinks.displayed {
   top: 35px;
   z-index: 1;
   opacity: 1;
 }
 #navlinks.start {
   display: none;
 }
 #navlinks.collapsed {
   top: -20em;
   opacity: 0;
 }
 #navlinks a {
   display: block;
   padding: 10px 0;
   color: #FFFEEA;
   font-weight: 400;
   text-decoration: none;
   text-transform: uppercase;
 }
 #navlinks a:hover, #navlinks a:active, #navlinks a:focus, #navlinks a.thispage {
   color: #FFFBAD;
 }
 .center {
   padding: 10px;
   margin: auto;
 }
 /* BIOS*/
 .person {
   border-bottom: thin solid #001A33;
   clear: left;
   margin: 10 0;
   padding: 10 0;
 }
 .person figure img {
   width: 200px;
   object-fit: cover;
 }
 .person p {
   vertical-align: middle;
 }
 /* BEISPIELE*/
 .einblick {
   border-radius: 60% 40% / 50% 30%;
   overflow: hidden;
   position: relative;
   object-fit: cover;
   width: 200px;
   margin: auto;
   height: 150px;
 }
 .einblick #bagat {
   height: 250%;
   position: absolute;
   left: 50%;
   top: 20%;
   margin-top: -80px;
   margin-left: -175px;
 }
 .einblick:hover {
   background-color: rgba(0, 26, 51, 0.20);
 }
 .bsp_container {
   position: relative;
   padding: 10px 4%;
   display: inline-block;
   border-radius: 5px;
   margin: 10px 4%;
   border: thin solid #001A33;
   max-height: 500px;
 }
 .bsp_container img {
   max-height: 500px;
   padding-bottom: 20px;
   object-fit: cover;
 }
 .image {
   opacity: 1;
   display: block;
   width: 100%;
   height: auto;
   transition: .5s ease;
   backface-visibility: hidden;
 }
 .middle {
   transition: .5s ease;
   opacity: 0;
   position: absolute;
   text-align: center;
   top: 50%;
   left: 50%;
   -webkit-transform: translate(-50%, -50%);
   -moz-transform: translate(-50%, -50%);
   transform: translate(-50%, -50%);
 }
 .bsp_container:hover .image {
   opacity: 0.3;
 }
 .bsp_container:hover .middle {
   opacity: 1;
 }
 .text {
   color: #001A33;
   font-size: 16px;
   padding: 5px;
 }
 /* CONTACT */
 .map {
   overflow: hidden;
   padding-bottom: 56.25%;
   position: relative;
   height: 0;
 }
 .map iframe {
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	border: 0;
	position: absolute;
 }
 input, select, textarea, button {
   font-family: inherit;
 }
 label {
   font-size: 16px;
   font-weight: bold;
   width: 20%;
   text-align: right;
   float: left;
   display: block;
   margin: 0 0.5em;
   padding: 0 0.5em;
   color: #001A33;
 }
 #form {
   width: 100%;
 }
 .row {
   display: block;
   line-height: 30px;
   padding: 12px 0px;
   overflow: auto;
   width: 100%;
 }
 .input {
   float: left;
   width: 70%;
   margin: 0 0.5em;
   padding: 0 0.5em;
 }
 #form .row .input2 {
   float: left;
   margin-right: 10px;
   width: 70%;
 }
 .detail {
   padding: 7px 8px;
   margin: 0px;
   font-size: 20px;
   border-radius: 5px;
   display: block;
   border-left: 1px;
   border-right: 1px;
   border-bottom-color: rgba(0, 26, 51, 1.00);
   border-bottom-width: 1px;
   border-top: 1px;
   background-color: rgba(0, 26, 51, 0.10);
   width: 100%;
 }
 .detail:focus {
   border: 1px solid rgba(0, 26, 51, 1.00);
   background-color: #FFFEEA;
   outline: none;
 }
 .mes {
   height: 250px;
   max-width: 100%;
   overflow: auto;
   padding: 7px 8px;
   font-size: 20px;
   margin: 0;
   line-height: 1em;
   border-radius: 5px;
   display: block;
   background-color: rgba(0, 26, 51, 0.10);
   width: 100%;
 }
 .mes:focus {
   border: 1px solid rgba(0, 26, 51, 1.00);
   background-color: #FFFEEA;
   outline: none;
 }
 span .error {
   color: rgba(255, 0, 0, 0.50);
   display: block;
   background-image: url(…/images/x.png);
   background-repeat: no-repeat;
   background-position: 6px 0;
   padding-left: 25px;
   text-align: center;
   font-style: italic;
 }
 #thank_mes {
   text-align: center;
 }
 .kopie {
   margin-left: 25%;
   margin-bottom: 25px;
 }
 #form #submit {
   margin-top: 25px;
   margin-left: 25%;
   margin-bottom: 25px;
   font-size: 16px;
   padding: 10px;
 }
 .zitat p {
   width: 75%;
   margin: auto;
   font-style: italic;
 }
 .overview {
	margin: auto;
	text-align: center;
 }
 .row-honey {
   display: none;
 }
 #translator {
   position: absolute;
   top: 50%;
   right: 0;
   width: 15em;
   color: #fffbad;
   text-align: center;
   overflow: hidden;
   white-space: nowrap;
   padding: 10px;
   -webkit-transform: rotate(90deg);
   -moz-transform: rotate(90deg);
   -ms-transform: rotate(90deg);
   -o-transform: rotate(90deg);
   transform: rotate(90deg);
   -webkit-transfrom-origin: 80% 100%;
   -moz-transform-origin: 80% 100%;
   -ms-transform-origin: 80% 100%;
   -o-transfrom-origin: 80% 100%;
   transform-origin: 80% 100%;
   background-image: -webkit-linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 26, 51, 1.00) 100%);
   background-image: -moz-linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 26, 51, 1.00) 100%);
   background-image: -o-linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 26, 51, 1.00) 100%);
   background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 26, 51, 1.00) 100%);
   border-bottom-left-radius: 5px;
   border-bottom-right-radius: 5px;
   background-color: transparent;
   text-shadow: 3px 3px 5px #000;
   font-weight: 500;
   font-size: 1em;
   font-style: italic;
   word-spacing: 0.2em;
 }
 
 #redirect, #stay {
    cursor: pointer;
    margin: 5px;
    text-align: center;
 }
 #cookie-banner, #lang-select {
	position: fixed;
    padding: 5px 14px;
    display: none;
    align-items: center;
    border: 1px #fffeea ridge;
    justify-content: space-between;
    background-color: #002a54;
    color: #fffeea;
    border-radius: 5px;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
    bottom: 0px;
 }
 #cookie-banner a {
   color: #fffbad;
 }
 #cookie-close {
   font-size: 1em;
   background-color: transparent;
   border: none;
   color: #fffeea;
   cursor: pointer;
 }
.button {
	padding: 0.25em 1em;
	border-radius: 2em;
	background-color: #FFFBAD;
	white-space: nowrap;
	display: inline-block;
	font-style: italic;
	margin: 0.25em;
	border: thin groove #001A33;
}

/* Video popup */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

@media(min-width:700px) and (max-width:1000px){
	#wrapper, #wrapper-full	 {
		display:grid;
		grid-template-columns: repeat(8, 1fr);
		grid-auto-rows: minmax(100px, auto);
		grid-template-areas: 
			"hd hd hd hd hd hd hd hd"
			"le le le le ri ri ri ri" /*le = left; ri = right */
			"ft ft ft ft ft ft ft ft";
	}
}

@media(min-width:1001px){
	#wrapper, #wrapper-full {
		display:grid;
		grid-template-columns: repeat(8, 1fr);
		grid-auto-rows: minmax(100px, auto);
		grid-column-gap: 5ch;
		grid-template-areas: 
			"hd hd hd hd hd hd hd hd"
			"le le le le le ri ri ri"
			"ft ft ft ft ft ft ft ft";
	}
}
 /* For Mobile*/
 @media (min-width: 600px) {
   #menulink {
     display: none;
   }
   #navlinks {
     max-width: 1000px;
     position: static;
   }
   #navlinks.collapsed {
     opacity: 1;
   }
   #navlinks a {
     width: 15%;
     padding-top: 15 0;
     margin-bottom: 20px;
     float: left;
     font-weight: 700;
   }
   #navlinks a:hover, #navlinks a:active, #navlinks a:focus, #navlinks a.thispage {
     font-size: 18px;
   }
   /* BIO */
   .person figure {
     float: left;
   }
   .person {
     overflow: auto;
   }
 }
 /* ENABLE TWO-COLUMN DISPLAY*/
 @media (min-width : 700px) {
   .full_width {
	   grid-column-start: 1;
 	   grid-column-end: eight;
       background-color: #fffeea;
       border-radius: 20px;
       color: #001a33;
       margin: 0 4%;
       -webkit-box-shadow: 10px 10px 5px 2px rgba(0, 0, 0, 0.50);
       box-shadow: 10px 10px 5px 2px rgba(0, 0, 0, 0.50);
   }
 }
 /* HANDLE IMAGE FLOATS */
 @media (min-width: 900px) {
   .float_left {
     float: left;
   }
   .float_left:after {
     clear: right;
   }
 }
 #vogel {}
 .zitat {
   text-align: left;
   padding-top: 20px;
   padding-bottom: 20px;
   margin-top: 20px;
   margin-bottom: 20px;
   border-bottom-width: medium;
   border-bottom-style: groove;
 }
 .zitat h3 {
   text-align: center;
 }
 .verweis {
   font-size: small;
   font-style: normal;
   border-radius: 5px;
   padding: 2px;
   background-color: rgba(129, 129, 129, 0.25);
 }
