html, body {
  height: 100%;
}

/* for desktops */
@media all and (min-width: 964px) {
  @font-face {
    font-family: 'Courier';
    src: url('/css/Courier.ttf');
  }
  #mobile, #mobile-nav, #mobile-menu {
    display: none;
  }
  main {
    display: grid;
    grid-template-areas:
      "myHeader myHeader"
      "section aside"
      "footer footer";
    grid-template-columns: 70% 30%;
    grid-template-rows: 100px 1fr auto;
    row-gap: 2em;
    min-height: 100%;
  }
  aside {
    margin: 1em;
    padding-left: 1em;
  }
  section {
    width: 640px;
  }
	#desktop {
    grid-area: myHeader;
		position: relative;
    background: url(/images/balken_100.jpg) repeat-x;
    height: 100px;
		font-family: 'Courier', Courier New, Courier, monospace;
    font-weight: bold;
		color: var(--nearlyBlack);
	}
	#desktop ul {
		box-sizing: border-box;
		position: absolute;
		width: 100%;
		bottom: 16px;
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-between;
		list-style-type: none;
		font-size: 32px;
		padding: 0px 60px 0px 60px;
	}
	#desktop li {
		align-self: baseline;
	}
	#desktop a {
    color: var(--nearlyBlack);
	}
	#desktop li::first-letter {
		color: var(--red);
	}
	#desktop p {
		font-size: 16px;
		padding-top: 10px;
		padding-left: 60px;
	}
	.home {
		margin-left: 100px;
		font-size: 16px;
	}
  .active {
  	color: var(--red) !important;
  }
  /* modal content images */
  img {
    cursor: pointer;
  }
  .modal img {
    cursor: initial;
  }
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.5);
    justify-items: center;
    align-items: center;
  }
  .modal-content {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.5s;
    animation-name: zoom;
    animation-duration: 0.5s;
  }
  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
  }
  @keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
  }
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  .close:hover, .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
}

aside {
  grid-area: aside;
  background-color: var(--grey);
  font-family: Copperplate;
  font-size: 1.3em;
  line-height: 1em;
}
aside ul {
  list-style: none;
  padding-left: 0;
  padding-bottom: 0.5em;
}
aside li {
  padding-top: 0.5em;
}
aside a {
  color: #000;
}
aside .catName {
  font-size: 1.3em;
}
aside .title {
  color: var(--red);
}
aside .subtitle {
  font-size: 0.7em;
}
aside #layer_1 {
  padding-left: 1em;
  padding: 0 0 1em 0.5em;
}
.closed {
	display: none;
}
.open {
	display: block;
}
/* aside end */
section {
  grid-area: section;
  margin: 1em auto;
}
footer {
  grid-area: footer;
  margin: 0 auto 1em auto;
  font-family: Courier New;
  text-transform: uppercase;
}
footer a {
  color: var(--nearlyBlack);
}

#menu {
  text-align: right;
}
#menu a {
  font-family: Copperplate;
  text-transform: uppercase;
  color: var(--nearlyBlack);
  font-size: 1.2em;
}
.red {
  color: var(--red);
}
.bold {
  font-weight: bold;
}

h1 {
  padding-top: 1.5em;
	color: var(--red);
  font-family: Copperplate;
	font-size: 2em;
  line-height: 1.7em;
	font-weight: bold;
}
#section .title {
  padding-top: 1.5em;
	color: var(--red);
  font-family: 'Copperplate';
	font-size: 1.7em;
	font-weight: bold;
}
h1.error {
  color: black;
}
h2 {
  font-family: Copperplate;
	font-weight: bold;
  font-size: 1.3em;
	text-transform: uppercase;
  color: var(--nearlyBlack);
}
h2.list {
  font-size: 1.1em;
}
.author {
 	color: var(--nearlyBlack);
  font-weight: bold;
  padding-top: 1em;
}
.secAuthor {
 	color: var(--nearlyBlack);
  font-weight: bold;
}
.introtext {
  padding-top: 1em;
}
.upper {
	text-transform: uppercase;
}
article {
  margin-top: 1.5em;
}
#searchForm {
  margin: 2em 0;
}
#searchResult li {
  margin-bottom: 1em;
}
#searchResult .title {
  font-family: Copperplate;
  font-size: 1.5em;
}
#searchResult p {
  color: #000;
}
#errorMsg {
  padding-top: 1em;
  color: var(--red);
  line-height: 1.5em;
}

@media print {
	body * {
		visibility: hidden;
	}
	.section-to-print, .section-to-print * {
		visibility: visible;
	}
  .section-to-print {
    position: absolute;
    max-width: 640px;
    top: 0;
    left: 0;
  }
  h1 {
    padding-top: 0;
  }
}

/* everthing for cookies */
.video__iframe:not([src]) {
  display: none;
}
.video__iframe[src] + .video__notice {
  display: none;
}
.video__notice {
  background-color: var(--grey);
  text-align: center;
  height: 0px;
  padding: 20% 0 55% 0;
}
.video__notice > * {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}
.video__notice > button {
  font: inherit;
  padding: 0.5rem 1rem;
  margin-top: 1rem;
  background-color: rgb(0, 117, 121);
  border: none;
  color: #fff;
  cursor: pointer;
}
.video__notice > button:hover,
.video__notice > button:focus {
  background-color: #000;
}
