/* BASIC */
html, body {
  overflow-x: hidden;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Roboto', sans-serif;
}

.media-controls.inline > .controls-bar {
  display: none !important;
  z-index: -100;
}

.media-controls {
  display: none !important;
}


/* FONTS */
h1, h2, h3 {
  font-weight: 900;
  font-style: italic;
  color: #3C3C3B;
}

h1 {
  font-size: 46px;
  line-height: 54px;
  margin: 40px 0;
}

h2 {
  font-size: 38px;
  line-height: 42px;
  margin: 0 0 20px 0;
}

h3 {
  font-size: 32px;
  color: #ECF5E2;
  text-align: center;
  line-height: 36px;
  margin: 0 0 40px 0;
}

p {
  margin: 15px 0 0 0;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  color: #3C3C3B;
  line-height: 24px;
}

strong {
  font-weight: 700;
}

.shadow {
  border-radius: 15px;
  box-shadow: 0 5px 15px 0 rgba(0,0,0,0.5);
  transition: all 300ms ease;
  max-height: 100vh;
  opacity: 1;
  margin-bottom: 40px;
  transition: all .2s ease-in-out;
  margin-top: 20px;
}

.shadow:hover {
  transform: scale(1.05);
}

/* KEYVISUAL */
#keyvisual {
  background-image: url("/img/immuntraining-keyvisual.jpg");
  background-size: cover;
  background-position: top right;
  background-repeat: no-repeat;
  height: 594px;
  padding: 30px 0;
}

/* INTRO */
#intro {
  padding: 80px 0;
}

#video-immuntraining {
    position: relative;
}

/* CTA */
#cta {
  padding: 20px 0;
  background: #85BC40;
}

/* ANIMATION */
#animation {
  padding: 80px 0;
  background: #EFEFEF;
}

video#video-animation {
  margin-top: 30px;
  max-width: 100%;
}

#video-overlay {
  position: absolute;
  width: 520px;
  max-width: calc(100% - 30px);
  height: 330px;
  z-index: 5;
  transition: all 300ms ease;
}

@media (min-width: 768px) {
  #video-overlay {
      display: none;
  }
}

/* DOWNLOAD */
#download {
  padding: 80px 0;
  background: #85BC40;
}

#download p {
  font-size: 15px;
  color: #ECF5E2;
  line-height: 17px;
  margin: 0 0 0 13px;
}

#download .data-policy {
  position: relative;
  margin: 20px 0 0 0;
  padding: 0 25px;
}

#download a {
  color: #ECF5E2;
  text-decoration: underline;
}


/* FOOTER */
footer {
  background: #EFEFEF;
  padding: 80px 0 17px 0;
}

footer .contact-details {
  padding: 0 0 70px 0;
}

footer p {
  font-size: 14px;
  color: #3C3C3B;
  line-height: 20px;
}

footer .social {
  float: left;
  margin: 5px 10px 0 0;
  transition: all .2s ease-in-out;
}

footer .social:hover {
  transform: scale(1.1);
}

footer a {
  font-weight: 900;
  font-size: 14px;
  color: #3C3C3B;
  float: right;
  transition: all .2s ease-in-out;
}

footer a:hover {
  color: #85BC40;
  text-decoration: none;
}

footer hr {
  border: 1px solid #E3E3E3;
}

/* BUTTONS */
.btn {
  border-radius: 100px;
  font-weight: 900;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  padding: 10px 20px;
  transition: all .2s ease-in-out;
}

.btn-filled-green {
  background: #85BC40;
  border: 2px solid #86BD40;
  color: #ECF5E2;
}

.btn-filled-green:hover {
  background: none;
  border: 2px solid #86BD40;
  color: #86BD40;
}

.btn-outline-green {
  border: 2px solid #86BD40;
  color: #85BC40;
}

.btn-outline-green:hover {
  border: 2px solid #86BD40;
  color: #ECF5E2;
  background: #86BD40;
}

.btn-outline-white {
  border: 2px solid #ECF5E2;
  color: #ECF5E2;
}

.btn-outline-white:hover {
  border: 2px solid #ECF5E2;
  color: #86BD40;
  background: #ECF5E2;
}

/* FORM */
input[type="text"] {
  background: #E3E3E3;
  border-radius: 100px;
  border: 0;
  font-weight: 400;
  font-size: 16px;
  color: #8C8C8C;
  padding: 17px 20px;
  width: 100%;
  height: 50px;
  margin: 0 0 10px 0;
}

button[type='submit'] {
  font-weight: 700;
  font-size: 18px;
  color: #ECF5E2;
  text-align: center;
  border: 2px solid #ECF5E2;
  border-radius: 100px;
  width: 100%;
  height: 50px;
  position: relative;
}

button[type='submit'].progress {
  text-indent: -500px;
  overflow: hidden;
  pointer-events: none;
}
button[type='submit'].progress:after {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 50px;
  content:' ';
  background-image: url("/img/loading.gif");
  background-position: center center;
  background-repeat: no-repeat;
  mix-blend-mode: darken;
}

input[type='checkbox'] {
  position: relative;
  float: left;
  top: 2px;
  width: 28px;
  height: 28px;
  background: #E3E3E3;
  border-radius: 50%;
  border: 0;
  -webkit-appearance: none;
}

input[type='checkbox']:checked {
  background-image: url("/img/checkmark.svg");
  background-size: 20px 13px;
  background-position: center center;
  background-repeat: no-repeat;
}

#success {
  color: white;
  text-align: center;
  font-weight: bold;
}

/* COOKIE BAR */

.cookieBar {
  bottom: 0;
  left: 0;
  position: fixed;
  z-index: 100 !important;
  right: 0;
  width: 100%;
  height: auto;
  padding: 40px 0;
  transform: translateY(100%);
  transition:transform 500ms ease-in-out;
  background-color: #85BC40;
}

.cookieBar .container {
  margin-top:0
}

.cookieBar h2 {
  margin: 0;
  color: white;
}


.cookieBar.fade-in {
  transform: translateY(0%)
}

.cookieBar p {
  margin-top: 1rem;
  color: white;
}

.cookieBar a {
  color: white;
  text-decoration: underline;
}

.cookieBar .buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

#decline {
  border: none;
}

/* MOBILE */
@media (max-width: 768px) {
  footer a {
    float: none;
  }
  h1 {
    font-size: 42px;
    line-height: 50px;
    color: #fff;
  }
  #keyvisual {
    padding-top: 0;
    background-image: url("/img/immuntraining-keyvisual-mobile.jpg");
  }
  #keyvisual .container {
    width: 100%;
    max-width: 100%;
  }
  #logo {
    background: #fff;
    padding: 15px;
  }
  video {
    margin-top: 30px;
    max-width: 100%;
  }
}

@media (max-width: 500px) {
  #keyvisual .btn-filled-green {
    margin-bottom: 10px;
  }
}


/* DATENSCHUTZ */

body#data-policy h4 {
  margin-top: 25px;
}
