/*@import url(https://fonts.googleapis.com/css?family=Montserrat);*/
@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(./font-awesome.min.css);
html, body {
  overflow: hidden;
  font-size: calc(18px + (33-14) * ( (100vw - 420px) / 1280));
  font-family: 'Yanone Kaffeesatz', serif;
}

a {
  text-decoration: none;
}

/* calc: min-size + (min-size - max-size) * ( (100vw - min-width) / ( max-width - min-width) ) */

@media screen and (max-width: 420px) {
  html {
    font-size: 18px;
  }
}

@media screen and (min-width: 1280px) {
  html {
    font-size: 33px;
  }
}

.background {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  overflow: hidden;
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  height: 130vh;
  position: fixed;
  width: 100%;
  -webkit-transform: translateY(30vh);
          transform: translateY(30vh);
  -webkit-transition: all 1.2s cubic-bezier(0.22, 0.44, 0, 1);
          transition: all 1.2s cubic-bezier(0.22, 0.44, 0, 1);
}
.background:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
}
.background:first-child {
/*  background-image: url(http://stephan-schiefelbein.de/images/bg.jpg);*/
  background-image: url(./img/01.jpg);
  -webkit-transform: translateY(-15vh);
          transform: translateY(-15vh);
}
.background:first-child .content-wrapper {
  -webkit-transform: translateY(15vh);
          transform: translateY(15vh);
}
/*.background:nth-child(2) { background-image: url(https://i.postimg.cc/kXq9Qmnj/bgd1.jpg); }
.background:nth-child(3) { background-image: url(https://i.postimg.cc/TY0xQ41T/photo-1433840496881-cbd845929862.jpg); }
.background:nth-child(4) { background-image: url(https://i.postimg.cc/W14vywqg/photo-1424746219973-8fe3bd07d8e3.jpg); }
.background:nth-child(5) { background-image: url(https://i.postimg.cc/kXq9Qmnj/bgd1.jpg); }*/

.background:nth-child(2) { background-image: url(./img/02.jpg); }
.background:nth-child(3) { background-image: url(./img/03.jpg); }
.background:nth-child(4) { background-image: url(./img/04.jpg); }
.background:nth-child(5) { background-image: url(./img/05.jpg); }

/* Set stacking context of slides */
.background:nth-child(1) { z-index: 5; }
.background:nth-child(2) { z-index: 4; }
.background:nth-child(3) { z-index: 3; }
.background:nth-child(4) { z-index: 2; }
.background:nth-child(5) { z-index: 1; }

.content-wrapper {
  height: 100vh;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
   justify-content: center;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-flow: column nowrap;
  color: #fff;
  /*font-family: Montserrat;*/
  -webkit-transform: translateY(40vh);
          transform: translateY(40vh);
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-transition: all 1.7s cubic-bezier(0.22, 0.44, 0, 1);
  transition: all 1.7s cubic-bezier(0.22, 0.44, 0, 1);
}

#myElement {
  position: fixed;
  top: 0;
  z-index: 500;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.1);
  text-align: center;
  color: #ff0000;
}

.header {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 2rem;
  background-color: rgba(0,0,0,0.5);
}

.header-text {
  font-size: 1rem;
  line-height: 1rem;
  color: #fff;
  padding: 0.5rem;
  text-align: right;
}

.header-icons {
  font-size: 1rem;
  line-height: 1rem;
  color: #fff;
  padding: 0 0.1rem 0 0.1rem;
  text-align: right;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  text-transform: none !important;
}

.header-icons a:before {
  color: #486d82;
  text-decoration: none;
}

.header-icons a:hover:before {
  text-shadow: 0 0 0.5rem #fff;
  color: #fff;
  text-decoration: none;
}

a:link, a:visited {
  color: #486d82;
  text-decoration: none;
}

a:hover, a:active {
  text-shadow: 0 0 0.5rem #fff;
  color: #fff;
  text-decoration: none;
}

ul {
  list-style-type: disc;
  list-style-position: outside;
  text-align: left;
  padding: 1rem 2rem;
}

.uldiv {
  text-align: center;
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 800px) {
  .uldiv {
    width: 70%;
  }
}

@media screen and (max-width: 600px) {
  .uldiv {
    width: 80%;
  }
}

@media screen and (max-width: 500px) {
  .uldiv {
    width: 90%;
  }
}

li {
  font-size: 1rem;
  line-height: 1rem;
  padding: 0.25rem 0;
}

.textbox {
  background-color: rgba(255, 255, 255, 0.2);
}

.content-title {
  font-size: 3rem;
  line-height: 2.2rem;
  text-transform: uppercase;
  padding: 0 2rem;
}

.content-subtitle {
  font-size: 1rem;
  line-height: 1rem;
  padding: 1rem 2rem;
}

.content-float {
  font-size: 1rem;
  line-height: 1rem;
}

.copy {
  font-family: sans-serif;
  font-size:0.8rem;
}

.background.up-scroll {
  -webkit-transform: translate3d(0, -15vh, 0);
          transform: translate3d(0, -15vh, 0);
}
.background.up-scroll .content-wrapper {
  -webkit-transform: translateY(15vh);
          transform: translateY(15vh);
}
.background.up-scroll + .background {
  -webkit-transform: translate3d(0, 30vh, 0);
          transform: translate3d(0, 30vh, 0);
}
.background.up-scroll + .background .content-wrapper {
  -webkit-transform: translateY(30vh);
          transform: translateY(30vh);
}

.background.down-scroll {
  -webkit-transform: translate3d(0, -130vh, 0);
          transform: translate3d(0, -130vh, 0);
}
.background.down-scroll .content-wrapper {
  -webkit-transform: translateY(40vh);
          transform: translateY(40vh);
}
.background.down-scroll + .background:not(.down-scroll) {
  -webkit-transform: translate3d(0, -15vh, 0);
          transform: translate3d(0, -15vh, 0);
}
.background.down-scroll + .background:not(.down-scroll) .content-wrapper {
  -webkit-transform: translateY(15vh);
          transform: translateY(15vh);
}