section#main {
  position: relative;
}

#main {
  text-shadow: 0 0 1em black;
}

.left-text {
  line-height: 1.2;
}

.more {
  border: 1px solid white;
  width: fit-content;
  padding: 0.5em 2em;
  font-size: calc(max(1em, 1.1vw));
  margin-top: 3em;
}

.back_container {
  text-decoration: none !important;
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
}

header.black:not(.main-nav.opened-nav~header.black) {
  background-color: rgba(255, 255, 255, 0.95);
}

header.black:not(.main-nav.opened-nav~header.black) .menu-icon .line {
  stroke: black;
}

header.black:not(.main-nav.opened-nav~header.black) .logo-container {
  background: url("assets/images/schriftzug2_black_de.png") no-repeat top center;
  background-size: 100% auto;
  width: 17.5%;
}

header.black:not(.main-nav.opened-nav~header.black) .logo-container.en {
  background: url("assets/images/schriftzug2_black_en.png") no-repeat top center;
  background-size: 100% auto;
  width: 17.5%;
}

.container:not(.contact) {
  margin-inline: auto;
  max-width: 1200px;
}

.btn-container {
  margin-block: 2vh;
  height: fit-content;
  width: 100%;
  border: 1px solid black;
  width: 100%;
  padding: 0.5em 2em;
  font-size: calc(max(1em, 1.1vw));
  text-decoration: underline;
}

section:not(.full-height) {
  height: fit-content;
}

section.white {
  background-color: white;
  padding-block: 2vh;
}

section.grey {
  background-color: rgb(215, 215, 215);
}

section.white * {
  color: black;
}

.center {
  text-align: center;
}

.p-5 {
  padding-block: 5vh;
}

h1 {
  font-size: 3.8em;
  font-weight: 900;
  margin-block: 0.25em;
  line-height: 1.1;
}

h2 {
  font-weight: 600;
  font-size: 2.8em;
}

h3 {
  font-weight: 500;
  font-size: 2.4em;
  margin: 0;
}

h5 {
  font-size: 1.5em;
  margin: 0;
}

p {
  font-size: 1.45em;
  line-height: 1.2;
}

#contact p {
  font-weight: 400;
}

.font-light {
  font-weight: 200;
}

.p-t-20 {
  padding-top: 20vh !important;
}

@media screen and (orientation: portrait) and (max-width: 767px) {

  header .logo-container,
  header .logo-container.second {
    width: 50% !important;
  }

  header:not(.main-nav.opened-nav~header) .logo-container,
  header:not(.main-nav.opened-nav~header) .logo-container.en {
    background: url("assets/images/schriftzug.png") no-repeat center center;
    background-size: 100% auto;
  }

  header.black:not(.main-nav.opened-nav~header.black) .logo-container,
  header.black:not(.main-nav.opened-nav~header.black) .logo-container.en {
    background: url("assets/images/schriftzug_black.png") no-repeat center center;
    background-size: 100% auto;
  }

  .full-height .section-left {
    height: 100%;
    padding-bottom: 10vh;
    display: flex;
    flex-direction: column;
    justify-content: end;
  }

  .container:not(.contact) {
    width: 95%;
    margin-inline: auto;
  }

  .p-t-20 {
    padding-top: 10vh !important;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    line-height: 1.2;
    font-size: 7.5vw;
  }

  h3 {
    font-size: 6.5vw;
  }

  h5 {
    font-weight: 500;
    font-size: 1em;
  }

  p {
    font-size: 1em;
  }

  .font-light {
    font-weight: 200 !important;
  }

  .m-w-100 {
    width: 100% !important;
  }
}