@font-face {
  font-family: 'Bradford LL Book';
  src: url("../fonts/BradfordLL-Book.woff2") format("woff2"), url("../fonts/BradfordLL-Book.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

html, body {
  z-index: 1;
  padding: 0;
  margin: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Bradford LL Book';
  font-size: 0;
  width: 100vw;
  height: 100vh;
  overflow: scroll;
}

.backgroundimage {
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  pointer-events: none;
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: calc(100vh - 2vw);
  height: calc(100vh - 2vw);
}

body {
  padding-top: 1.75vw;
}

a, button, input, label {
  cursor: pointer;
}

em {
  font-style: italic;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-weight: lighter;
}

ul, li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Your CSS */
main {
  display: block;
  width: 100vw;
}

#home {
  position: fixed;
  top: 1.75vw;
  left: 1.75vw;
  color: black;
  text-decoration: none;
  border: 0.1vw solid transparent;
  border: 0.1vw solid black;
  padding-left: 0.25vw;
  padding-right: 0.25vw;
  font-size: 1.5vw;
  line-height: 1.75vw;
  display: inline-block;
  background: white !important;
  transition: border .25s linear, padding .25s linear, filter .25s linear;
  z-index: 99999999;
}

#home .icon {
  display: inline-block;
  vertical-align: bottom;
  line-height: 1.35vw;
  font-size: 1.25vw;
}

#home .icon, #home .icon2 {
  margin-left: 0.25vw;
}

.element {
  z-index: 9;
  display: inline-block;
  vertical-align: top;
  font-size: 1.5vw;
  line-height: 1.5vw;
  width: 47.25vw;
  margin: 1.75vw;
  margin-bottom: 3.5vw;
  margin-top: 0;
  padding-bottom: 0.5vw;
  transition: border-bottom 0.25s linear;
  border-bottom: 0.1vw solid black;
}

.element video, .element img {
  width: 47.25vw;
  display: block;
  margin-top: 0.5vw;
  margin-bottom: 0.5vw;
  transition: filter 0.25s linear, opacity 0.25s linear;
}

.element video.mobileprev, .element img.mobileprev {
  display: none;
}

.element p:last-child {
  margin-bottom: 0.25vw;
}

.element:nth-of-type(2n) {
  margin-left: 0;
}

.element.legals {
  width: 96vw;
  border-bottom: none !important;
  margin-left: 1.75vw;
}

.element.legals > div {
  transition: max-height 0.5s linear;
  max-height: 0;
  overflow: hidden;
}

.element.legals > div h1 {
  display: block;
  margin-top: 2vw;
  margin-bottom: 1vw;
}

.element.legals > div.open {
  overflow: visible;
  max-height: 400vh;
  padding-top: 2vw;
  padding-bottom: 2vw;
}

.element h1, .element .quote {
  font-size: 3vw;
  line-height: 3vw;
}

.element h1.quote, .element .quote.quote {
  margin-top: 0.5vw;
  max-height: 1000vh;
  transition: max-height 0.25s linear;
}

.element h1.quote.closed, .element .quote.quote.closed {
  max-height: 0;
}

.element .text, .element video {
  transition: max-height 0.25s linear;
  max-height: 100vh;
}

.element .text.closed, .element video.closed {
  max-height: 0;
}

.element .textvideo, .element videovideo {
  background-color: black;
}

.element .text {
  margin-top: 0.5vw;
}

.element h1 {
  display: inline;
  margin-right: 1vw;
  margin-bottom: 0.5vw;
}

.element p {
  margin-bottom: 0.75vw;
}

.element .icon {
  display: inline-block;
  vertical-align: bottom;
  line-height: 1.35vw;
  font-size: 1.25vw;
}

.element .icon, .element .icon2 {
  margin-left: 0.25vw;
}

.element .navlink .icon {
  margin-left: 0vw;
}

.element a {
  color: black;
  text-decoration: none;
  border: 0.1vw solid transparent;
  border-bottom: 0.1vw solid black;
  padding-left: 0;
  padding-right: 0;
  line-height: 1.75vw;
  display: inline-block;
  transition: border .25s linear, padding .25s linear, filter .25s linear;
}

.element a.name {
  margin-right: 0.25vw;
  opacity: 0;
  pointer-events: none;
}

.element a.en, .element a.de {
  margin-right: 0 !important;
}

@media screen and (min-width: 800px) {
  .element a:hover {
    border: 0.1vw solid black;
    padding-left: 0.25vw;
    padding-right: 0.25vw;
  }
  .element a.open {
    border: 0.1vw solid black;
    padding-left: 0.25vw;
    padding-right: 0.25vw;
  }
}

.element a.navlink {
  border: 0.1vw solid black;
  padding-left: 0.25vw;
  padding-right: 0.25vw;
  position: sticky;
  top: 0vw;
  background-color: white !important;
}

.element.navigation {
  border-bottom: none !important;
  position: sticky;
  top: 0vw;
  z-index: 999999999;
}

.element.navigation .index {
  float: right;
  margin-left: 1vw;
}

.element.navigation .navlink {
  margin-right: 1vw;
}

.element.navigation .hidden {
  display: none;
}

.element p, .element h1 {
  transition: filter .25s linear;
}

.element .first {
  display: inline-block;
  margin-left: 0.5vw;
}

.iframe {
  pointer-events: none;
  overflow: hidden;
}

.iframe .element {
  border-bottom: none !important;
}

.iframe a:not(.static), .iframe h1, .iframe p, .iframe video {
  opacity: 0;
  background: red;
}

.iframe *:not(.static) {
  pointer-events: none;
}

.iframe .static {
  background: white !important;
  z-index: 99999;
  position: fixed;
  border: 0.1vw solid black;
  padding-left: 0.25vw;
  padding-right: 0.25vw;
  pointer-events: auto;
}

.iframe .static .icon {
  display: none;
}

.iframe .static .icon2 {
  display: inline-block;
}

.icon2 {
  display: none;
}

iframe {
  z-index: 99;
  pointer-events: auto !important;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  outline: none;
  border: none;
  background-color: white;
}

.grid {
  z-index: 99;
}

.grid-sizer {
  width: 47.25vw;
  display: block;
}

/* Media Queries */
@media screen and (max-width: 800px) {
  #home {
    opacity: 0;
  }
  .special a.name {
    padding-left: 1vw;
    padding-right: 1vw;
    display: inline-block;
    opacity: 1;
    font-size: 5.5vw;
    line-height: 6vw;
  }
  .navlink {
    border: 0.5vw solid black !important;
    padding-left: 1vw !important;
    padding-right: 1vw !important;
    line-height: 6vw !important;
  }
  .backgroundimage {
    display: none;
  }
  .element {
    font-size: 5.5vw;
    line-height: 6vw;
    width: 96vw;
    margin-bottom: 5vw;
    padding-bottom: 1vw;
    border-bottom: 0.5vw solid black;
  }
  .element:nth-of-type(2n) {
    margin-left: 2vw;
  }
  .element .icon, .element .icon2 {
    font-size: 4.5vw;
    line-height: 4vw;
  }
  .element .mobileprev {
    display: block !important;
    margin-top: 1.5vw;
    margin-bottom: 1.5vw;
    width: 100%;
  }
  .element h1, .element .quote {
    font-size: 10vw;
    line-height: 10vw;
  }
  .element a {
    border: 0.5vw solid transparent;
    border-bottom: 0.5vw solid black;
    line-height: 5vw;
    display: inline-block;
    transition: border .25s linear, padding .25s linear, filter .25s linear;
  }
  .element a.open {
    text-decoration: line-through;
    border-bottom: none;
  }
  .element video {
    margin-bottom: 1.5vw;
    width: 96vw;
  }
}
