/* Box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
    margin: 0;
  padding: 0;
}

:root {
  /*--op-main-color: #006b6b;*/
  --op-main-color: #282828;
  --op-spacing: .625em;
  --op-spacing-l: 2em;
  --op-color: #282828;
  --op-bg-color: #eee
}

/* Roboto */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Roboto Bold */
@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Roboto Condensed Bold */
@font-face {
  font-family: 'Roboto Condensed';
  src: url('../fonts/roboto-condensed-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Quattrocento Bold */
@font-face {
  font-family: 'Quattrocento';
  src: url('../fonts/quattrocento-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html {
  height: 100%;
}

body {
  height: 100vh;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  max-width: 1920px;
  margin: 0 auto;
  background: var(--op-bg-color);
  color: var(--op-color);
}

h1,
h2,
h3 {
  font-family: 'Roboto Condensed', sans-serif;
  margin-bottom: var(--op-spacing);
  color: var(--op-main-color);
}
h1 {
  font-size: 3em;
}
h2 {
  font-size: 2em;
}
h3 {
  font-size: 1.5em;
}

.flex-container {
  height: 100%;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  background: var(--op-main-color);
}

.flexcontainer {
  height: 100%;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
}

.flex-container a {
  text-decoration: none;
  color: var(--op-bg-color);
}

.row {
  width: auto;
}

.flex-item {
  text-align: center;
  padding: 0 var(--op-spacing);
}

.page-name {
  font-family: 'Quattrocento', serif;  
  font-size: 3em;
  color: var(--op-bg-color);
}

.main {
  height: 100%;
}

/*Menü*/

.name {
  display: none;
}

#responsive-nav {
  position: absolute;
  opacity: 0;
}

.responsive-nav-label {
	display: flex;
	align-items: center;
  font-size: 1.5em;
  padding-left: var(--op-spacing);
}

.responsive-nav-label::before {
  display: block;
  position: absolute;
  left: -25px;
  width: 20px;
  height: 20px;
  content: '';
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 80' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='100' height='10'/%3E%3Crect y='30' width='100' height='10'/%3E%3Crect y='60' width='100' height='10'/%3E%3C/svg%3E");
}

#responsive-nav:checked + .responsive-nav-label::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='10' y1='10' x2='90' y2='90' stroke='black' stroke-width='10'/%3E%3Cline x1='90' y1='10' x2='10' y2='90' stroke='black' stroke-width='10'/%3E%3C/svg%3E");
}

nav {
  font-family: 'Quattrocento', serif;
  color: #eee;
  display: none;
}

#responsive-nav:checked ~ nav {
  display: block;
}

nav ul {
  background: var(--op-main-color);
  list-style-type: none;
}

nav ul ul {
  padding-left: 1em;
}

nav a {
  display: flex;
  padding: 1em;
  text-decoration: none;
  color: var(--op-bg-color);
}

label {
  display: block;
  position: relative;
  margin-left: 1.5em;
}


/*Menü Ende*/

main {
  padding: var(--op-spacing) var(--op-spacing-l);
}

#inhalt {
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
}
#inhalt main {
  width: 90vw;
  margin: 0 auto;
  flex: 1;
}


footer {
  padding: var(--op-spacing-l);
  background: var(--op-main-color);
  color: #eee;
  text-align: center;
}
footer a:link {
  color: var(--op-bg-color);
}

/*Allgemein*/

main a:link {
  color: var(--op-main-color);
  text-decoration: underline;
}

main a:visited {
  text-decoration: underline;
}

main a:active {
  text-decoration: underline;
}

main a:hover {
  opacity: 0.8;
}

img {
  max-width: 100%;
  height: auto;
}

@-moz-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
@-webkit-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

.arrow {
  width: 40px;
  height: 40px;
  margin: 2em auto;
  display: block;
}

.arrow::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: no-repeat center / contain url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'>\
<polyline points='6 9 12 15 18 9'/>\
</svg>");
}

.bounce {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

.lightSpeedIn {
  -webkit-animation-name: lightSpeedIn;
  animation-name: lightSpeedIn;
  -webkit-animation-timing-function: ease-out;
  animation-timing-function: ease-out;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
@-webkit-keyframes lightSpeedIn {
  0% {
    -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
    transform: translate3d(100%, 0, 0) skewX(-30deg);
    opacity: 0;
  }
  60% {
    -webkit-transform: skewX(20deg);
    transform: skewX(20deg);
    opacity: 1;
  }
  80% {
    -webkit-transform: skewX(-5deg);
    transform: skewX(-5deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}
@keyframes lightSpeedIn {
  0% {
    -webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
    transform: translate3d(100%, 0, 0) skewX(-30deg);
    opacity: 0;
  }
  60% {
    -webkit-transform: skewX(20deg);
    transform: skewX(20deg);
    opacity: 1;
  }
  80% {
    -webkit-transform: skewX(-5deg);
    transform: skewX(-5deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

.small {
  font-size: 0.9em;
}

/*mozilo*/

.leftcontentimage {
  float: left;
}
.rightcontentimage {
  float: right;
}

.listitem {
  list-style-position: inside;
}

.alignright {
  text-align: right;
}

.alignleft {
  text-align: left;
}

.aligncenter {
  text-align: center;
}

table.contenttable {
  width: 100%;
  text-align: center;
}

th.contenttable {
  background: var(--op-main-color);
  color: var(--op-bg-color);
  border-right: 1px solid;
  padding: 7px;
}

th.contenttable:last-child {
  border-right: none;
}

td {
  padding: 7px;
  border-bottom: 1px solid var(--op-color);
}

.result-list-header {
font-weight: 700
}

.result-list-item {
margin-left: var(--op-spacing-l);
}
/*Mozilo Ende*/

/*Barrierefreiheit*/

:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}


@media only screen and (min-width: 768px) {
  /* For desktop: */
  .name {
    display: block;
    color: var(--op-bg-color);
    padding: 1em;
    position: absolute;
    left: 0;
  }

  .page-name {
    font-size: 4em;
  }
  nav {
    display: block;
  }
  nav ul {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    justify-content: flex-end;
    padding-right: var(--op-spacing-l);
  }

  nav ul a:hover {
    background: var(--op-bg-color);
    color: var(--op-main-color);
  }

  nav ul ul {
    position: absolute;
    list-style: none;
    visibility: hidden;
    display: inline-block;
    padding: 0;
    background: var(--op-bg-color);
    -webkit-box-shadow: 1px 1px 5px 0px rgba(51, 51, 51, 1);
    box-shadow: 1px 1px 5px 0px rgba(51, 51, 51, 1);
    min-width: 100%
  }
  nav ul li:hover ul,
nav ul li:focus-within ul {
  visibility: visible;
}

  nav ul ul a {
    color: var(--op-color);
  }

  .responsive-nav-label {
    display: none;
  }

  .menuactive {
    background: var(--op-bg-color);
    color: var(--op-main-color);
    text-transform: uppercase;
  }


.mainmenu-item {
position: relative;
}
}

@media only screen and (min-width: 1200px) {
  /* For large desktop: */
  .page-name {
    font-size: 5em;
  }
  nav {
    font-size: 1.2em;
  }
}
