﻿@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

*{
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/*Homepage*/

header {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 40px 100px;
  z-index: 10000;
  transition: 0.6s;
}

header .Logo {
  position: relative;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  font-size: 1.6em;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.6s;
  cursor: text;
}

header #toggle {
  position: relative;  
  width: 30px; 
  height: 30px;    
  cursor: pointer;           
}

header #toggle:before {
  content: '';
  position: absolute;
  top: 7px;
  width: 100%;            
  height: 5px;
  background: #fff;              
}

header #toggle:after {
  content: '';
  position: absolute;
  bottom: 7px;
  width: 100%;            
  height: 5px;
  background: #fff;              
}

.banner.active header #toggle:before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  left: 200px;
}

.banner.active header #toggle:after {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  left: 200px;
}

.banner {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 100px;
  background: url(Background.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  transition: 0.5s;
  z-index: 2;
}

.banner.active {
  transform: translateX(-400px);
}

#navigation {
  position: fixed;
  top: 0px;
  right: -200px;
  width: 400px;
  height: 100vh;
  background: #40c3ff;
  z-index: 1;
  display: grid;
  place-items: center;
  transition: 0.5s;
}

#navigation.active {
  right: 0px;
}

#navigation ul {
  position: relative;
  display: flex;
  flex-direction: column;                                        
}

#navigation ul li {
  list-style: none;
  padding: 10px;      
}

#navigation ul li a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  font-size: 2em;
  font-weight: 600;
  text-transform: uppercase;
}

.content {
  max-width: 600px;                                          
}

.content h2 {
  color: #fff;
  font-size: 2.5em;
}

.content h2 span {
  color: #40c3ff;       
  font-size: 1.2em;                                 
}

.content p {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 1.2em;
  color: #fff;
  font-weight: 300;
}

.content a {
  position: relative;
  text-transform: uppercase;
  display: inline-block;
  margin-top: 80px;
  background: #fff;
  color: #274e71;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: 500;
  box-shadow: 10px 10px 10px rgb(70, 70, 70);
  margin-left: 20px;
}

.sci {
  position: absolute;
  display: flex;
  flex-direction: column;
  right: 80px;                                            
}

.sci li {
  list-style: none;                                    
}

.sci li a {
  position: relative;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  text-decoration: none;
  border: 1px solid #fff;    
  margin: 10px 0 0;
}

.sci li a:hover {
  background: #fff;              
}

.sci li a img {
  max-width: 30px;
  filter: invert(1);
  mix-blend-mode: difference;
}

/*Über uns*/

.container2 {
  position: relative;
  padding: 0 100px;
  min-height: 100vh;
}

.container2:before {
  content: '';
  position: absolute;
  top: 0px;
  right: 0px;
  width: 350px;
  height: 100%;
  background: #333;
  z-index: -2;
}

.container2:after {
  content: 'History';
  position: absolute;
  bottom: 0px;
  left: 0px;
  font-size: 18vw;
  z-index: -2;
  font-weight: 700;
  color: #000;
  opacity: 0.04;
}

.header2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
}

.Logo2 {
  font-weight: 700;
  text-transform: uppercase;
  color: #333;
  text-decoration: none;
  font-size: 25px;
}

.Logo2 span {
  color:#40c3ff;
}

.header2 ul {
  position: relative;
  display: flex;
}

.header2 ul li {
  list-style: none;
  margin: 0 20px;
}

.header2 ul li a {
  position: relative;
  text-decoration: none;
  font-size: 18px;
  padding: 4px 10px;
  color: #333;
  text-decoration: none;
}

.header2 ul li:nth-child(3) a, 
.header2 ul li:nth-child(2) a {
  color: #fff;
}

.header2 ul li a:before {
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  width: 0px;
  height: 100%;
  background: #78ff00;
  z-index: -1;
  transition: 0.5s ease-in-out;
}

.header2 ul li a:hover::before {
  width: 40px;
}

.content2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
}

.content2 .bannerText {
  position: relative;
  max-width: 500px;
  margin-right: 50px;
}

.content2 .bannerText div {
  display: none;
}

.content2 .bannerText div.active2 {
  display: initial;
}

.content2 .bannerText h2 {
  font-size: 54px;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.2em;
  color: #333;
}

.content2 .bannerText p {
  font-size: 18px;
  color: #333;
  line-height: 1.8em;
  margin: 20px 0;
}

.content2 .bannerText a {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  font-weight: 700;
  color: #333;
  letter-spacing: 1px;
  font-size: 18px;
  text-decoration: none;
  padding: 15px;
}

.content2 .bannerText a:before {
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  width: 73px;
  height: 100%;
  background: #78ff00;
  z-index: -1;
  transition: 0.5s ease-in-out;
}

.content2 .bannerText a:hover:before {
  width: 100%;
}

.content2 .bannerImg {
  position: relative;
  width: 440px;
  height: 440px;
  background: #000;
}

.content2 .bannerImg img {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
  opacity: 0;
}

.content2 .bannerImg img.active2 {
  opacity: 1;
}

.icons2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 0;
}

.icons2 .sci2, .icons2 .controls {
  position: relative;
  display: flex;
}

.icons2 .sci2 li {
  list-style: none;
  margin-right: 30px;
}

.icons2 .sci2 li img {
  display: inline-block;
  max-height: 30px;
  transition: 0.5s ease-in-out;
}

.icons2 .sci2 li:hover img {
  transform: translateY(-10px);
}

.icons2 .controls li {
  list-style: none;
  margin-left: 20px;
  cursor: pointer;
  filter: invert(1);
  transition: 0.5s ease-in-out;
}

.icons2 .controls li img {
  max-height: 70px;
}

.icons2 .controls li:hover {
  opacity: 0.5;
}

.menuIcon {
  display: none;
}

/*Größenverhältnisse*/

@media (max-width: 992px) {
  header {
    padding: 20px 50px;                                            
  }
  header .Logo{
    font-size: 1.2em;
    margin-top: 5px;
  }
  .banner {
    padding: 100px 50px 150px;
  }
  .banner h2 {
    font-size: 1.8em;                                          
  }
  .banner .content p, .banner .content a {
    font-size: 1em;
  }
  .content a {
    margin-left: 1px;
    margin-top: 40px;
  }
  .banner.active {
    transform: translateX(-250px);
  }
  #navigation {
    width: 250px;
  }
  #navigation ul li a {
    font-size: 1.5em;
    margin: 5px 0;
  }
  .sci {
    position: absolute;
    bottom: 50px;         
    right: initial;
    flex-direction: row;                                      
  }
  .sci li a{
    margin: initial;
    margin-right: 10px;
    width: 50px;
    height: 50px;
  }

/*Über Uns*/

  .container2 {
    padding: 20px 50px;
  }
  .container2:before {
    display: none;
  }
  .header2 {
    padding: 0px;
  }
  .icons2 .controls li {
    filter: invert(0);
  }
  .content2 .bannerText h2 {
    font-size: 20px;
  }
  .content2 .bannerText p {
    font-size: 14px;
  }
  .content2 {
    margin-top: 0px;
    flex-direction: column-reverse;
  }
  .content2 .bannerImg {
    width: 100%;
    height: 40vh;
    margin: 20px 0;
  }
  .content2 .bannerText {
    max-width: 100%;
    padding-right: 0px;
  }
  .header2 ul {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 10000;
    padding: 100px 0;
  }
  .header2.active2 ul {
    display: initial;
  }
  .header2 ul li {
    padding: 20px;
    text-align: center;
  }
  .header2 ul li a {
    color: #333 !important;
    font-size: 36px;
  }
  .header2 ul li a:hover:before {
    width: 100%;
  }
  .menuIcon {
    display: initial;
    position: absolute;
    right: 60px;
    cursor: pointer;
    padding: 8px;
    z-index: 100000;
    background: transparent url(menu.png);
    width: 34px;
    height: 34px;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .header2.active2 .menuIcon {
    position: fixed;
    right: 30px;
    background: transparent url(close.png);
    background-repeat: no-repeat;
    background-size: cover;
  }
}

@media (max-width: 867px) {

  .banner.active header #toggle:before {
    left: 120px;
  }
  
  .banner.active header #toggle:after {
    left: 120px;
  }
  .container2 {
    padding: 20px 30px;
  }
  .icons2 .controls li img {
    max-width: 40px;
  }
  .icons2 .sci2 li img {
    max-width: 20px;
  }
  .container2:after {
    left: 20px;
    bottom: 90px;
  }
}
