/* BB */

html {
  height: 100%;
}

body {
  height: 100%;
  font-size: 18px;

  font-family: "Open Sans", Helvetica, sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h1 {
  margin-top: 15%;

  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  font-size: 3rem;
}

h1 .sub {
  display: block;
  font-size: 1.41rem;
  font-weight: 400;
}

h2 {
  font-size: 1.55rem;
  text-transform: uppercase;
}

a {
  color: inherit;
  text-transform: uppercase;
  text-decoration: none;
}

p {
  font-size: clamp(16px, 4vw, 18px);
  margin: 2rem 0;

  line-height: 1.3;
}

p a {
  text-transform: unset;
}

/* MAIN */
#wrapper {
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
}

main {
  padding: 0 25%;
}

main p.centered {
  text-align: center;
  margin: 0 0 2.5rem;
  font-size: clamp(19px, 4vw, 22px);
}

main .inner {
  padding: 10% 0;
}

.impressum .inner {
  /* padding-left: 5%;
  padding-right: 5%; */
}

/* FOOTER */
footer {
  margin-top: 3%;
}

footer .top {
  display: grid;
  grid-gap: 3rem;
  grid-template-columns: 1fr 1fr;
  padding: 0 25%;

  font-size: clamp(14px, 4vw, 16px);
}

footer .bottom {
  color: #fff;
  background-color: black;
  white-space: nowrap;
  margin-top: 5rem;
  padding-left: 25%;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;

  display: flex;
  gap: 3rem;

  text-transform: uppercase;

  font-size: clamp(14px, 4vw, 16px);
}

/* MEDIA QUERIES */
@media (max-width: 1400px) {
  main,
  footer .top,
  footer .bottom {
    padding-left: 15%;
    padding-right: 15%;
  }
}

@media (max-width: 768px) {
  main,
  footer .top,
  footer .bottom {
    padding-left: 20px;
    padding-right: 20px;
  }

  footer .bottom {
    flex-flow: column;
    align-items: center;

    gap: 2rem;
    padding: 2rem;
  }
}

@media (max-width: 550px) {
  footer .top {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 2.5rem;
  }
  h1 .sub {
    font-size: 1.17rem;
  }
  .impressum .inner {
    padding-left: 0;
    padding-right: 0;
  }
}

::-moz-selection {
  /* Code for Firefox */
  color: white;
  background: black;
}

::selection {
  color: white;
  background: black;
}

/* FONTS */

/* open-sans-regular - latin */
@font-face {
  font-display: auto; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/open-sans-v40-latin-regular.woff2") format("woff2"),
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url("fonts/open-sans-v40-latin-regular.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* open-sans-700 - latin */
@font-face {
  font-display: auto; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/open-sans-v40-latin-700.woff2") format("woff2"),
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url("fonts/open-sans-v40-latin-700.ttf") format("truetype"); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
