@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');

/* Generelles Layout */

body {
  margin:0;
  padding: 0;
  font-family: Nunito;
  font-size: 22px;
  height:100%;
  box-sizing: border-box;
}

::-moz-selection { background: #e71f2C; color: #fff; }
::selection { background: #e71f2C; color: #fff; }

.navleiste{
  width:20%;
  min-height: 100%;
  height: 100%;
  position: fixed;
  z-index: 2;

}

.navleiste ul {
  background-color: #e71f2C;
  position: absolute;
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 20%;
  height: 100vh;
  position: fixed;

}

.navleiste li a{
  display: block;
  color: white;
  text-decoration: none;
  text-align: center;
  padding-top: 2.5vh;
  padding-bottom: 2.5vh;
  font-size: 3vh;

}

.navleiste li a.aktiv{
  font-weight:bolder;
  transform: scale(1.15);
}


.menuicon img{
  margin-left: 1vh;
  margin-top:2.5vh;
  height:5vh;

}
.menuleiste{
  display: none;
  background-color: #e71f2C;
  width:5vh;
  height:10vh;
  border-radius: 0 6vh 6vh 0;
  margin-top: 45vh;
  position: fixed;
  margin-left:60vw;
  z-index: 3;
}

.menuleiste img:hover{
  transform:scale(1.2);
  transition:200ms
}

.kopfzeile{
  position:relative;
  color: #e71f2C;
    box-shadow: 0 4px 10px -4px rgba(0,0,0,0.4);
  margin-left: 20%;
  background-color: white;
  z-index:1;

}

.navleiste li a:hover {
  color:#e71f2C;
  background-color: white;
  transform: scaleY(1.2);
  box-shadow: 0px 0px 15px rgba(0,0,0,0.25);
}

.navleiste li a:hover .navtext{
  transform: scale(1.2);
  transition:200ms;
}

.news-ticker{
  display: none;
  position: fixed;
  box-shadow: 0 4px 8px -4px rgba(0,0,0,0.3);
  align-items: center;
  height: 50px;
  width:100%;
  padding-right: 100px;
  background-color: #ffffff;
  z-index: 100
}

.news-ticker .title{
  position: absolute;
  height: 100%;
  display: flex;
  background-color: #ffffff;
  align-items: center;
  padding: 0 24px;
  font-weight: bold;
  z-index: 200;
}

.news-ticker ul{
  display: flex;
  list-style: none;
  margin: 0;
  animation: scroll 25s infinite linear;

}

.news-ticker ul li{
  color: #000000;
  white-space: nowrap;
  padding: 10px 25px;
  position: relative;
}

.news-ticker ul li::after{
  content: "";
  width: 2px;
  height: 100%;
  background: #cccccc;
  position: absolute;
  top:0;
  right:0;
}

.news-ticker ul li:last-child::after{
  display:none;
}

@keyframes scroll{
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

.ueberschrift {
  margin:2%;
  font-size: 250%;
  font-weight: bold;
  text-align: left;

}

.logo img{
 width:40vw;
 height:auto;
 margin-top:70px;
 margin-left:20vw;
}

.div1{
  min-height:100vh;
  margin-left: 22%;
  margin-top: 2%;
  margin-bottom: 2%;
  margin-right: 2%
}

.indexbild{
  margin-top: -2%;
  margin-right: 18px;
  position: relative;
  z-index: -1;
}

.indexbild img{
  min-height:100vh;
  max-width:100vw;
  object-fit: cover;
  display: block;
  margin-left: 50%;
  transform: translateX(-50%);

}

.bodenleiste{
  background-color: #e71f2C;
  position:absolute;
  bottom;
  width:80%;
  margin-left: 20%;
  height:100px;
  text-align: center;
  color: white;

}

.bodenleiste a{
  margin-left: 10px;
  margin-right: 10px;
  text-decoration: underline;
  color:white;
}

.sprachenicons{
  display: flex;
  position: relative;
  z-index: 7;
  justify-content: center;
  align-items: center;
  top:84vh;
}

.sprachenicons img {
  margin: 1vw;
  width:5.5vh;
  border-radius: 50%;

}

.sprachenicons img:hover{
  transform: scale(1.2);
  box-shadow: 0px 0px 15px rgba(0,0,0,0.35);
  transition:200ms;

}

.logo img:hover{
  transform: scale(1.1);
  transition:200ms;

}

/* Textlayout */
h3{
  color:#e71f2C;
}

.div1 a{
  color: black;
}

/* Mobile Ansicht */

@media screen and (max-width:850px){
  .sprachenicons img{
    width: 70%;
  }
}

@media screen and (orientation: portrait) {
    body{
      overflow-x: hidden;
    }
    .navleiste {
      width:60vw;
    }


   .menuleiste{
      transform: translateX(-60vw);
      transition: transform 0.5s ease-in;
    }

    .navleiste{
       transform: translateX(-60vw);
       transition: transform 0.5s ease-in;
     }

     .sprachenicons img{
       margin: 3vw;
     }

    .navleiste ul{
    width: 60vw;
    }

    .menuleiste{
      display: block;
      cursor:pointer;
    }

    .bodenleiste{
      margin:0;
      width:100%;
    }

    .kopfzeile{
      margin:0;
      width:100%;
    }

    .ueberschrift{
      font-size: 380%;
      margin-left: 3%;
    }

    .div1{
      margin-left: 3%;
      margin-left: 3%;
    }

    .indexbild img{
      max-height:100vh;
    }


    .logo img{
      width:60vw;
    }
  }

/*um Navbar zu animieren (mobile Ansicht) */
  .nav-active{
    transform: translateX(0%);
  }

  .menuactive{
    transform: translateX(0%);
  }

  .mirrorimage{
    margin-right: 1.7vw;
    transform: scaleX(-1);
    transition: 0.5s;
  }
