@import url("fonts/Roboto-Thin.ttf");
* {
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: "Times New Roman", Times, serif;
  line-height: 1.5;
  font-weight: 300;
  color: #555;
  margin: 0;
  padding: 0;
  font-size: 18px;
}

main {
  margin: 0 auto;
  max-width: 50em;
  padding: 4em 1em;
}

.container.small {
  width: 75%;
  margin: 0 auto;
}

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

.inner {
  margin: 24px;
}

address {
  font-style: normal;
  font-style: normal;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

address a {
  color: inherit;
}

header nav {
  position: absolute;
  bottom: 36px;
  color: white;
  font-weight: 600;
  font-family: "Roboto", Arial, sans-serif;
  left: 0;
  right: 0;
}

header nav li {
  margin: 0px 12px;
}

#logo-bg {
  background: radial-gradient(circle, transparent 50%, #f8f8f8 150%), #f8f8f8;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  width: 350px;
  height: 200px;
}

nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

nav ul li {
  text-transform: uppercase;
  margin: 0px 24px;
}

nav ul li:not(:last-child)::after {
  content: "|";
  position: absolute;
  margin-left: 23px;
}

footer {
  padding-bottom: 3em;
}

footer nav ul {
  justify-content: center;
}

footer a {
  color: #555;
}

@media screen and (max-width: 767px) {
  address {
    flex-direction: column;
  }
  nav ul li:not(:last-child)::after {
    content: none;
  }
  nav ul li {
    margin: 6px 0px;
  }
  nav ul {
    flex-direction: column;
  }
}

#hero-img {
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.05),
      rgba(0, 0, 0, 0.05)
    ),
    url("img/RoterHase.jpg");
  background-image: -moz-linear-gradient(
      top,
      rgba(0, 0, 0, 0.05),
      rgba(0, 0, 0, 0.05)
    ),
    url("img/RoterHase.jpg");
  background-image: -o-linear-gradient(
      top,
      rgba(0, 0, 0, 0.05),
      rgba(0, 0, 0, 0.05)
    ),
    url("img/RoterHase.jpg");
  background-image: -ms-linear-gradient(
      top,
      rgba(0, 0, 0, 0.05),
      rgba(0, 0, 0, 0.05)
    ),
    url("img/RoterHase.jpg");
  background-image: -webkit-linear-gradient(
      top,
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.15)
    ),
    url("img/RoterHase.jpg");

  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#text-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  width: 30%;
}

#text-content.privacy {
  height: 100%;
  text-align: left;
  align-items: flex-start;
  width: 100%;
}

#text-content.privacy h1 {
  margin: 1em 0em;
}

#text-content.privacy h3 {
  margin: 1em 0em;
}
#text-content.privacy p {
  margin: 0;
  text-align: start;
}

h1 {
  margin-bottom: 0;
}
h3 {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
strong {
  color: #333;
  font-family: "Roboto", Arial, sans-serif;
}

.text-center {
  text-align: center;
}

cite {
  text-align: center;
  font-size: 18px;
  display: block;
  font-style: italic;
}
cite .author {
  margin-bottom: 18px;
}

p {
  margin: 24px 0px;
  line-height: 24px;
  text-align: justify;
}

.hl-yellow {
  color: #929000;
}

.italic {
  font-style: italic;
}

.light {
  font-weight: 300;
}

.title {
  display: flex;
  justify-content: center;
  align-items: center;
}

.title h2 {
  font-weight: 300;
  text-transform: uppercase;
  margin: 2em 0em 1em 0em;
  position: relative;
}

.title + p {
  margin-top: 0;
}

.title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #333;
}

.back-button {
  margin: 24px 0px;
  padding: 24px;
  border: thin solid #929000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 2px;
}

.back-button a {
  width: 100%;
  height: 100%;
}

a {
  text-decoration: none;
  color: #fff;
  transition: all ease 0.5s;
}
a:hover {
  color: #929000;
}

#workshops a {
  color: #333;
}

#workshops a:hover {
  color: #929000;
}

#workshops li {
  list-style: none;
}

.imprint {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 48px;
}

.imprint > p:first-child {
  margin-right: 12px;
}

#leistungen-container {
  display: flex;
  flex-wrap: wrap;
}

.img-container {
  flex: 0 50%;
  padding: 12px;
}

.img-container:nth-child(even) {
  padding-right: 0;
}

.img-container:nth-child(odd) {
  padding-left: 0;
}

.img-container img {
  width: 100%;
  max-height: 280px;
}

.text-over-img {
  position: relative;
  max-height: 280px;
  margin-bottom: 12px;
}

.text-over-img p {
  position: absolute;
  top: 0;
  padding: 12px;
  color: #f8f8f8;
  opacity: 0;
  transition: all ease 0.5s;
  height: 100%;
  background-color: rgba(146, 144, 0, 0.9);
  margin: 0;
  text-align: start;
}

.text-over-img:hover p {
  opacity: 1;
  cursor: pointer;
}

.img-container h3 {
  text-transform: uppercase;
  text-align: center;
  font-weight: 300;
  font-size: 17px;
}

@media screen and (max-width: 50em) {
  .img-container {
    flex: 1 100%;
    padding: 12px;
  }
  .img-container:nth-child(even),
  .img-container:nth-child(odd) {
    padding: 12px;
  }
  .text-over-img p {
    font-size: 16px;
    line-height: 20px;
  }
}

@media screen and (max-width: 1280px) {
  #text-content {
    height: auto;
  }
}

@media screen and (max-width: 1000px) and (orientation: landscape) {
  #text-content {
    height: 100%;
    overflow: scroll;
  }
}

@media screen and (orientation: portrait) {
  #text-content {
    position: absolute;
    color: #333333;
    background-color: rgba(233, 233, 233, 0.9);
    width: 100%;
  }
  #hero-img {
    width: 100%;
  }
  .imprint {
    display: inline;
  }
  .imprint > p:first-child {
    margin-right: 0px;
  }
  #text-content.privacy {
    width: 100%;
  }
}

@media screen and (orientation: portrait) and (max-width: 600px) {
  #text-content {
    margin: 0px;
  }
  #text-content.privacy {
    width: 90%;
  }
}

@media screen and (orientation: portrait) and (max-width: 350px) {
  #text-content {
    overflow: scroll;
    height: 100%;
  }
  #text-content.privacy {
    width: 100%;
  }
  #text-content.privacy .inner {
    padding: 24px;
    max-width: 90%;
  }
}
