* {
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  background: url(background.jpg) center bottom no-repeat;
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  font-family: 'Josefin Slab', serif;
  color: rgba(255,255,255,1);
  text-rendering: optimizeLegibility;
  letter-spacing: 0.1em;
  line-height: 26px;
}

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

a {
  color: rgba(255,255,255,1);
  text-decoration: none;
}

.wrapper {
  margin: 0 auto;
  max-width: 1080px;
  padding: 0 40px;
}

#container {
  display: table;
  width: 100%;
  height: 100%;
}

#content {
  display: table-cell;
  vertical-align: middle;
}

#logo {
    position: absolute;
    top: 45%;
    right: 50%;
    width: 160px;
    height: 280px;
    margin-top: -140px;
    margin-right: -80px;
    background: url(gewicht.svg) no-repeat; /* SVG for Retina Display */
    z-index: 100;
    animation: 4s move infinite;
    -moz-animation: 4s move infinite;
    -webkit-animation: 4s move infinite;
}

@keyframes move {
    45% {
        top: 44%;
    }
}

@-moz-keyframes move {
    45% {
        top: 44%;
    }
}

@-webkit-keyframes move {
    45% {
        top: 44%;
    }
}

#slogan {
    position: absolute;
    top: 50%;
    right: 0px;
    left: 0px;
    width: 100%;
    margin-top: 180px;
    font-size: 60px;
    font-weight: 300;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
}

#imprintcontent {
  display: none;
  position: fixed;
  overflow-x: scroll;
  z-index: 101;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(111,111,111,1);
}

#datacontent {
  display: none;
  position: fixed;
  overflow-x: scroll;
  z-index: 101;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(111,111,111,1);
}

#imprintcontent > .wrapper {
  position: relative;
  margin: 100px auto 170px auto;
}

#datacontent > .wrapper {
  position: relative;
  margin: 100px auto 170px auto;
}

#closebutton {
  position: absolute;
  top: 0;
  right: 40px;
  cursor: pointer;
}

#closebutton2 {
  position: absolute;
  top: 0;
  right: 40px;
  cursor: pointer;
}
.open {
  display: block !important;
  bottom: 0px !important;
  animation: open 0.5s ease-out;
  -moz-animation: open 0.5s ease-out;
  -webkit-animation: open 0.5s ease-out;
}

@keyframes open {
  0% {
    bottom: -100px;
    opacity: 0
  }

  100% {
    bottom: 0;
    opacity: 1;
  }
}

@-moz-keyframes open {
  0% {
    bottom: -100px;
    opacity: 0
  }

  100% {
    bottom: 0;
    opacity: 1;
  }
}

@-webkit-keyframes open {
  0% {
    bottom: -100px;
    opacity: 0
  }

  100% {
    bottom: 0;
    opacity: 1;
  }
}

#footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  font-weight: 500;
  text-align: center;
  line-height: 70px;

}

#imprint {
  cursor: pointer;
}

#data {
  cursor: pointer;
}

@media only screen and (max-width: 736px) {
  html,
  body {
    font-size: 14px;
    line-height: 24px;
  }

   #logo {
        top: 45%;
        width: 100px;
        height: 175px;
        margin-top: -87px;
        margin-right: -50px;
    }
    
    @keyframes move {
        50% {
            top: 43%;
        }
    }

    @-moz-keyframes move {
        50% {
            top: 43%;
        }
    }

    @-webkit-keyframes move {
        50% {
            top: 43%;
        }
    }
    
    #slogan {
        margin-top: 85px;
        font-size: 50px;
    }

  #footer {
    font-size: 12px;
  }

  #footer > .wrapper {
    padding: 0 20px;
  }
}