/*************************
  Allgemein
*************************/

* {
    margin: 0;
    padding: 0;
    border: 0;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  @font-face {
    font-family: schrift;
    src: url(../font/Roboto-Regular.ttf);
  }
  
  @font-face {
      font-family: fett;
      src: url(../font/Roboto-Bold.ttf);
    }
  
  @font-face {
    font-family: ueberschrift;
    src: url(../font/Montserrat-ExtraBold.ttf);
  }
  
  body {
    font-family: schrift;
  }

  /*************************
    Header mit Video
  *************************/
  header {
    margin: 0 auto;
    color: white;
    background: #e20613;
  }

  #header-img {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .header-text {
    max-width: 480px;
    margin: auto;
    padding: 20px;
    padding-top: 0px;
  }

  h1 {
    font-family: ueberschrift;
    letter-spacing: 1px;
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 100;
  }

  h3 {
    font-family: ueberschrift;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 100;
  }

  h4 {
    font-family: ueberschrift;
    font-size: 1.6rem;
    font-weight: 100;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  a, a:hover, a:visited {
    text-decoration: none;
    color: #e20613;
  }

  button {
    font-family: ueberschrift;
    font-size: 1.1rem;
    cursor: pointer;
    color: white;
    background-color: #fff0;
    border: 3px solid white;
    border-radius: 4px;
    transition-duration: 0.4s;
    padding: 8px;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  
  button:hover {
    background-color: white;
    color: #e20613;
  }

  .button2 {
    font-family: fett;
    font-size: 1rem;
    cursor: pointer;
    color: #e20613;
    background-color: #fff0;
    border: 3px solid #e20613;
    border-radius: 4px;
    transition-duration: 0.4s;
    padding: 4px;
    margin-top: 5px;
    margin-bottom: 1rem;
  }

  .button2:hover {
    background-color: #e20613;
    color: white;
  }

  @media screen and (max-width: 490px) {
    h1 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1rem;
    }
  }

  /*************************
    Hauptteil
  *************************/

  main {
    max-width: 1920px;
    margin: auto;
    color: #424242;
    font-family: schrift;
    position: relative;
  }

  article {
    position: relative;
    padding: 20px;
    padding-right: 50px;
    max-width: 480px;
    margin: auto;
  }
  
  p {
    line-height: 1.5rem;
    margin-bottom: 10px;
  }

  strong {
    font-family: fett;
    font-weight: 100;
  }
  
  /*************************
    Sektionen
  *************************/
  h2 {
    font-family: ueberschrift;
    font-size: 8rem;
    color: #dfdfdf;
    margin-left: -55px;
  }

  section {
    margin-top: 20px;
    margin-bottom: 40px;
    position: relative;
  }
  
  @media screen and (max-width: 480px) {
    h2 {font-size: 6.5rem;}
  }

  @media screen and (max-width: 360px) {
    h2 {font-size: 6rem;}
  }

  @media screen and (max-width: 335px) {
    h2 {font-size: 5rem;}
  }

  /*************************
    Schule des Sehens Startseite
  *************************/
  
  .schuledessehens {
    margin-top: 60px;
    position: relative;
  }
  
  .schuledessehens p {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
  
  #schule {
    width: 240px;
  }
  
  @media screen and (max-width: 500px) {
    #schule {width:180px;}
  }
  
  @media screen and (max-width: 400px) {
    #schule {width:120px;}
  }
  
  /*************************
    Scroll Up
  *************************/
  
  #up {
    position: absolute;
    bottom: 20px;
    right: 5px;
  }
  
  #up-start {
    position: absolute;
    bottom: 200px;
    right: 5px;
  }
  
  @media screen and (min-width: 1000px) {
    #up-start {
        bottom: 320px;
    }
  }

  @media screen and (min-width: 1200px) {
    #up-start {
        bottom: 420px;
    }
  }

  /*************************
    Verborgener Text
  *************************/

  #text1, #text2, #text3, #text4 {
    display: none;
  }

  /*************************
    Footer
  *************************/
  
  footer {
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    margin-top: 70px;
    text-align: center;
    padding: 20px;
  }
  
  .logos {
    text-align: center;
  }
  
  .logos img {
    filter: grayscale(100%);
    opacity: 0.5;
    max-height: 45px;
    padding: 10px;
  }
  
  /*************************
    Footer Startseite
  *************************/
  
  #reiter {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    z-index: -1;
  }
  
  .footer {
    position: relative;
    margin-top: 0px;
    padding-top: 60px;
    background-color: #e8e8e8;
  }
  
  .footer .logos img {
    opacity: 1;
  }
  
  .footer p, .footer p a {
    color: #626262;
  }
  
  .footer p a:hover {
    color: black;
  }