body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0px;
  padding: 0px;
  background-color: white;
  width: 1200px;
  overflow-x: hidden;
  margin: 0 auto;
}

.secondNavbar{
  display: flex;
  flex-basis: 1200px;
  flex-shrink: 1;
  height: 40px;
  justify-content: center;
  object-position: fixed;
  z-index: 1;
  font-size: 16px;
  background-color:white;
  color: #171c8f;
}

.secondNavbar nav{
  display: flex;
  flex-basis: 1200px;
  justify-content: flex-start;
  background-color:center;
  flex-shrink: 1;
}

.secondNavbar nav ul{
  display: inline;
  list-style: none;
  padding: 0px;
  margin: 0px;
  justify: flex-start;

}

.secondNavbar nav li{
  display: inline;
  margin: 0px;
}

.secondNavbar nav a{
  color:#171c8f;
  text-decoration: none;
  display: inline-block;
  padding-top: 10px;
}

.secondNavbar nav a:hover{
  color: lightgrey;
}

.navbar {
  display: flex;
  flex-basis: 1200px;
  background-color: white;
  width: 1200px;
  justify-content: center;
  height: 100px;
  z-index: 1;
  flex-shrink: 1;
  margin: 0 auto;
}


.navbar nav{
  display: flex;
  flex-basis: 1200px;
  flex-shrink: 1;
  justify-content: space-between;
  align-items: center;
}


#logo > img{
  display: flex;
  height: 160px;
  object-fit: contain;
  width: 170px;
  flex: flex-end;
  z-index: 2;
  margin-top: -40px;
  background-color: white;
}
.navbar nav ul{
  display: inline;
  list-style: none;
  background-color: white;
  padding: 0px;
  margin-left: -15px;
}

.navbar nav li{
  display: inline;
  background-color: white;
  margin: 0px;
  margin-left: 0px;
  height: 100%;
}

.navbar a {
  overflow: hidden;
  font-size: 18px;
  color: #51565C;
  text-decoration: none;
  display: inline;
  justify-content: flex-end;
}

.dropdown {
  overflow: hidden;
  display: inline-block;
  justify-content: flex-end;
}

.dropdown .dropbtn {
  font-size: 18px;
  border: none;
  outline: none;
  color: #51565C;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  color: #51565C;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: #51565C;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: center;
}

.dropdown-content a:hover {
  color: lightgrey;
  background-color: #f8f8f8;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.sidenav{
  display: none;
}

#showbtn{
  display: none;
}

#hidebtn{
  display: none;
}

.sidenav ul{
  display: none;
}

.sidenav ul li {
  display: none;
}
/*BODY BODY BODY BODY BODY BODY BODY BODY*/

.body{
  margin: 0 auto;
  width: 1200px;
}

#banner{
  display: flex;
  justify-content: space-between;
  width: 695px ;
  height: 500px;
}

.banner > img{
  object-fit: contain;
}

.banner #pic2{
  width: 695px;
  height: 500px;
  margin-left: 5px;
}

#content {
  width: 1200px;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  height: 1000px;
  background-color: white;
  color:#151a6e;
  text-align: left;
  margin-top: 150px;
}

#content #inhalt{
	width: 500px;
}

#content #ueberschrift{
    color: #171c8f;
    font-size: 40px;
}

.color{
  color: blue;
}


.footer{
  display: flex;
  width: 100%;
  height: 30px;
  padding: 5px;
  justify-content: center;
  margin-bottom: 20px;
}

.footer nav{
  display: flex;
  flex-basis: 1150px;
  justify-content: center;
}

.footer nav ul{
  display: inline;
  list-style: none;
  padding: 0px;
  margin: 0px;
  margin-right: 15px;
  justify-content: center;

}

.footer nav li{
  display: inline;
  margin: 15px;
}

.footer nav a{
  color: #51565C;
  text-decoration: none;
  display: inline-block;
  padding-top: 5px;
}

@media screen and (min-width:63em) and (max-width:90em){
  body{
     overflow-x: hidden;
     width: 100%;
     margin: 0 auto;
  }

  .body{
    margin: 0 auto;
    margin-top: 50px;
    width: 100%;
  }

  .navbar{
    width: 100%;
  }

  .secondNavbar{
    width: 100%;
  }

  #banner{
    width: 50%;
  }

  .banner > img{
    object-fit: contain;
    width: 100%;
  }

  #content {
    display: flex;
    width:90%;
    justify-content:space-between;
    justify: center;
    margin: 0 auto;
    height:auto;
    background-color: white;
    color:#151a6e;
    text-align: left;
    margin: 5%;
  }

  #content > #inhalt{
    margin-top: 0px;
    width: 45%;
  }

  #content #ueberschrift{
    color: #171c8f;
    font-size: 40px;
    height: 50px;
  }

	.footer{
	  display: flex;
	  width: 100%;
	  height: 30px;
	  padding: 5px;
	  justify-content: center;
	  margin-bottom: 20px;
	}

	.footer nav{
	  display: flex;
	  flex-basis: 100%;
	  justify-content: center;
	}

	.footer nav ul{
	  display: inline;
	  list-style: none;
	  padding: 0px;
	  margin: 0px;
	  margin-right: 15px;
	  justify-content: center;

	}

	.footer nav li{
	  display: inline;
	  margin: 15px;
	}

	.footer nav a{
	  color: #51565C;
	  text-decoration: none;
	  display: inline-block;
	  padding-top: 5px;
	}
}

@media all and (min-width:59em) and (max-width:63em){

    body{
       overflow-x: hidden;
       width: 100%;
    }
    .body{
      margin: 0 auto;
      margin-top: 50px;
      width: 100%;
    }

    .navbar{
      width: 100%;
    }

    .secondNavbar{
      width: 100%;
    }

    #banner{
      width: 100% ;
      height: 450px;
      margin-top: -40px;
      justify-content: flex-start;
    }

    .banner {
      object-fit: contain;
      width: 100%;
      height: 450px;
      z-index: 1;
    }

    .banner #pic1{
      height: 450px;
    }

    .banner #pic2{
      height: 450px;
    }


    #content {
      width:90%;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      height: auto;
      background-color: white;
      color:#151a6e;
      text-align: left;
      margin-top: 100px;
      margin: 5%;
    }

    #content #ueberschrift{
        color: #171c8f;
        font-size: 40px;
    }

 
	.footer{
	  display: flex;
	  width: 100%;
	  height: 30px;
	  padding: 5px;
	  justify-content: center;
	  margin-bottom: 20px;
	}

	.footer nav{
	  display: flex;
	  flex-basis: 100%;
	  justify-content: center;
	}

	.footer nav ul{
	  display: inline;
	  list-style: none;
	  padding: 0px;
	  margin: 0px;
	  margin-right: 15px;
	  justify-content: center;

	}

	.footer nav li{
	  display: inline;
	  margin: 15px;
	}

	.footer nav a{
	  color: #51565C;
	  text-decoration: none;
	  display: inline-block;
	  padding-top: 5px;
	}
}

@media all and (max-width:59em) and (min-width: 40em){
  body{
     overflow-x: hidden;
     width: 100%;
  }

  .navbar{
    display: none;
  }

  #sidebar{
    display: none;
  }

  #hidebtn{
    display: block;
  }
    .sidenav ul{
      display: block;
    }

    .sidenav ul li {
      display: block;
    }

  .sidenav{
    text-align: left;
    height: 100%;
    width : 250px;
    background-color: white;
    display: none;
    margin-top: -40px;
    z-index: 2;
    position: fixed;
    overflow-y: scroll;
    scroll-behavior: auto;
  }

  .sidenav ul{
    margin-left: 0;
  }

  .sidenav li{
    list-style-type: none;
    margin: 0;
    padding: 20px;
  }

  .dropdownSide{
    display: block;
    border-bottom: 1px solid darkgrey;
  }

  .sidenav a{
    text-decoration: none;
    color:#51565C;
    font-size: 15px;
    font-family: Arial;
  }

  .sidenav a:hover{
    color: lightgrey;
  }

  #hidebtn{
    float: right;
    right: 10px;
    position: relative;
    font-size: 30px;
    color: #51565C;
  }

  #showbtn{
    display: block;
    text-decoration: none;
    color: #51565C;
    font-size: 30px;
    z-index: 1;
  }

  body{
     overflow-x: hidden;
  }
  .body{
    margin: 0 auto;
    margin-top: 50px;
    width: 100%;
  }

  #banner{
    width: 100% ;
    height: 450px;
    margin-top: -40px;
    justify-content: flex-start;
  }

  .banner {
    object-fit: contain;
    width: 100%;
    height: 450px;
    z-index: 1;
  }

  .banner #pic1{
    height: 450px;
  }

  .banner #pic2{
    height: 450px;
  }


  #content {
    width:90%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    height: auto;
    background-color: white;
    color:#151a6e;
    text-align: left;
    margin-top: 100px;
    margin: 5%;
  }

  #content #ueberschrift{
      color: #171c8f;
      font-size: 40px;
  }

	.footer{
	  display: flex;
	  width: 100%;
	  height: 50px;
	  padding: 5px;
	  justify-content: center;
	  margin-bottom: 20px;
	}

	.footer nav{
	  display: flex;
	  flex-basis: 100%;
	  justify-content: center;
	}

	.footer nav ul{
	  display: inline;
	  list-style: none;
	  padding: 0px;
	  margin: 0px;
	  margin-right: 15px;
	  justify-content: center;
	  text-align: center;

	}

	.footer nav li{
	  display: inline;
	  margin: 15px;
	}

	.footer nav a{
	  color: #51565C;
	  text-decoration: none;
	  display: inline-block;
	  padding-top: 5px;
	}
}

@media all and (max-width:40em){
  body{
     overflow-x: hidden;
     width: 100%;
  }

  .navbar{
    display: none;
  }
  #sidebar{
    display: none;
  }

  #hidebtn{
    display: block;
  }
    .sidenav ul{
      display: block;
    }

    .sidenav ul li {
      display: block;
    }

  .sidenav{
    text-align: left;
    height: 100%;
    width : 250px;
    background-color: white;
    display: none;
    margin-top: -40px;
    z-index: 2;
    position: fixed;
    overflow-y: scroll;
    scroll-behavior: auto;
  }

  .sidenav ul{
    margin-left: 0;
  }

  .sidenav li{
    list-style-type: none;
    margin: 0;
    padding: 20px;
  }

  .dropdownSide{
    display: block;
    border-bottom: 1px solid darkgrey;
  }

  .sidenav a{
    text-decoration: none;
    color:#51565C;
    font-size: 15px;
    font-family: Arial;
  }

  .sidenav a:hover{
    color: lightgrey;
  }

  #hidebtn{
    float: right;
    right: 10px;
    position: relative;
    font-size: 30px;
    color: #51565C;
  }

  #showbtn{
    display: block;
    text-decoration: none;
    color: #51565C;
    font-size: 30px;
    z-index: 1;
  }
  body{
     overflow-x: hidden;
  }
  .body{
    margin: 0 auto;
    margin-top: 50px;
    width: 100%;
  }

  #banner{
    width: 100% ;
    height: 450px;
    margin-top: -40px;
    justify-content: flex-start;
  }

  .banner {
    object-fit: contain;
    width: 100%;
    height: 450px;
    z-index: 1;
  }

  .banner #pic1{
    height: 450px;
  }

  .banner #pic2{
    height: 450px;
  }


  #content {
    width:90%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    height: auto;
    background-color: white;
    color:#151a6e;
    text-align: left;
    margin-top: 100px;
    margin: 5%;
    margin-bottom: 100px;
  }

  #content #ueberschrift{
      color: #171c8f;
      font-size: 40px;
  }

  .footer{
    display: flex;
    width: 90%;
    background-color:  darkgrey ;
    height: 200px;
    padding: 5px;
    justify-content: center;
    margin: 5%;
  }

  .footer nav{
    display: flex;
    flex-basis: 950px;
    justify-content: center;
  }

  .footer nav ul{
    display:block;
    list-style: none;
    padding: 0px;
    margin: 0px;
    margin-right: 15px;
    justify-content: flex-end;

  }

  .footer nav li{
    display: block;
    margin: 15px;
    text-align: center;
  }

  .footer nav a{
    color: white;
    text-decoration: none;
    display: inline-block;
    padding-top: 5px;
  }

  .footer nav a:hover{
    border-bottom: solid white;
    border-width: thin;
  }
}
