html{
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}
/* ----------------------------------------------------------------- */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header{
    position: fixed;
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(0, 174, 255);
    z-index: 1000;
    animation: fadeIn 1s ease;
}
header .logo{
    margin: 50% 0;
    padding-left: 12.5%;
    text-decoration: none;
    color: white;
    font-size: 50px;
    font-weight: bolder;
    letter-spacing: 2px;
    margin-top: auto;
    margin-bottom: auto;
}
header ul{
    position: relative;
    display: flex;
    padding-right: 7.5%;
}
header ul li{
    position: relative;
    list-style: none;
}
header ul li a{
    font-size: 30px;
    position: relative;
    padding: 1.5vh 20px;
    margin: 0;
    color: white;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 1s, box-shadow .5s;
}
header ul li a:hover{
    background-color: rgb(22, 22, 99);
    box-shadow: 0 0 20px rgb(22, 22, 99);
    transition: background-color 1s, box-shadow .5s;
}
.toggle{
    display: none;
}


@media (max-width: 992px){
    header ul{
        position: absolute;
        width: 100%;
        margin-top: -4vh;
        height: auto;
        padding: 50px 100px;
        text-align: center;
        overflow: auto;
        transition: 0.5s;
        background-color: rgba(22, 22, 200, 0.75);
        flex-direction: column;
        opacity: 0;
        transform: translateY(-100%);
    }
    header.active ul{
        top: 80px;
        opacity: 1;
        transform: translateY(0);
    }
    header ul li a{
        margin: 5px 0;
        font-size: 24px;
    }

    .toggle{
        display: block;
        position: relative;
        width: 30px;
        height: 30px;
        cursor: pointer;
        margin-right: 12.5%;
    }
    .toggle:before{
        content: '';
        position: absolute;
        top: 4px;
        width: 100%;
        height: 2px;
        background: #fff;
        z-index: 1;
        box-shadow: 0 10px 0 #fff;
        transition: 0.5s;
    }
    .toggle:after{
        content: '';
        position: absolute;
        bottom: 4px;
        width: 100%;
        height: 2px;
        background: #fff;
        z-index: 1;
        box-shadow: 0 0 0 #fff;
        transition: 0.5s;
    }

    header.active .toggle:before{
        top: 14px;
        transform: rotate(45deg);
        box-shadow: 0 0 0 #fff;
    }
    header.active .toggle:after{
        bottom: 14px;
        transform: rotate(-45deg);
    }
}
/* ----------------------------------------------------------------- */

footer{
    width: 100%;
    height: auto;
    background-color: black;
    color: white;
    animation: fadeIn 3.5s ease;
}

footer div{
    display: flex;
    flex-direction: row;
    flex: 1;
}

footer div p{
    margin: auto 0;
    width: 50vw;
    text-align: justify;
    padding-left: 20vw;
    padding-top: 5vh;
    padding-bottom: 5vh;
    font-size: 18px;
}

/* CSS-Code für Social Media-Buttons */

#socialMediaButtons{
    margin-top: 3vh;
    padding-left: 12.5%;
}

.fa {
    height: 65px;
    margin-right: 2.5vw;
    padding: 25px;
    font-size: 30px;
    text-align: center;
    text-decoration: none;
  }
  
  .fa:hover {
      opacity: 0.7;
  }

  .fa-facebook {
    background: #3B5998;
    color: white;
  }

  .fa-linkedin {
    background: #007bb5;
    color: white;
  }

  .fa-youtube {
    background: #bb0000;
    color: white;
  }

  @media(max-width: 965px){    
      #socialMediaButtons{
          display: flex;
          flex-direction: column;
      }
      .fa{
          width: 65px;
          margin-left: 10vw;
      }
  }

/* ----------------------------------------------------------------- */

#aboutUs{
    height: auto;
    animation: fadeIn 2s ease;
}

#aboutUsText{
    max-width: 100%;
    margin: 0 auto;
    padding: 2.5rem 12.5% 20vh;
    align-items: center;
    animation: fadeIn 3.5s ease;
}

#aboutUsText h1, p{
    padding: auto 10%;
}
#aboutUsText h1{
    text-align: center;
    font-size: 50px;
    color: orange;
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
}
#aboutUsText p{
    color: black;
    font-size: 22px;
    text-align: justify;
    font-family: 'Montserrat', sans-serif;
}

.iframe-container {
  overflow: hidden;
  padding-bottom: 25%;
  height: 75vh;
  padding: 0 auto;
  position: relative;
  margin: 0 15vw 15vh;
  animation: fadeIn 4s ease;
}

.iframe-container iframe {
   border: 0;
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   width: 100%;
}

@media(max-width: 675px){
    #aboutUs #slideShow{
        width: 100vw;
        margin: 0 auto;
        padding: 0;
    }
}

#aboutUs #slideShow{
    display: flex;
    justify-content: center;
    padding-top: 12.5vh;
    animation: fadeIn 1.5s ease;
}

/*Einblendeanimation für startSection */

@keyframes fadeIn{
    0% {opacity: 0%;}
    50% {opacity: 0%;}
    100% {opacity: 100%;}
}