@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');

*{
  font-family: 'Oswald', sans-serif;
}

p{
  margin: 10px 15px;
  font-size: 1.3em;
  letter-spacing: 0.05em;
  color:white;
}

body{
	max-width: 100%;
  overflow-x: hidden;
  padding:0;
  margin:0;
}

header{
  border-bottom: 3px solid #5858FA;
  display: flex;
}

footer{
  margin: 50px 0 0 0;
  border-top: 3px solid #5858FA;
}

h3{
  font-size: 1.5em;
  color: white;
}

li{

  color: white;
}

/* Navigation */

#mainNav nav ul{
  display: flex;
  margin-top: 100px;
  margin-left: 300px;
}

#mainNav nav ul li{
  list-style: none;
}

#mainNav nav ul li a{
  text-decoration: none;
  font-size: 2.5em;
  color: white;
  margin-right: 20px;
  border-bottom: 5px solid rgba(88,88,250, 0);
  transition: border-bottom 0.4s;
}

#mainNav nav ul li a:hover{
  border-bottom: 4px solid rgba(88,88,250,1);
}


/* Navigation Ende */

/* Kontaktinfo */

#contactInfo{
  background-color: rgba(0,0,0,0.5);
  border-radius: 10px;
  padding: 5px;
  right: 0px;
  position: fixed;
}

#contactInfo a{
  display: block;
}

#contactInfo img{
  filter: invert(100%) sepia(70%) saturate(2%) hue-rotate(55deg) brightness(106%) contrast(100%);
}


/* Kontaktinfo Ende */

#background{
  z-index: -100;
  width: 100%;
  height: 100vh;
  /* background-size: contain; */
  position: fixed;
  background-image: url('../img/hintergrund.jpg');
  background-size: cover;
}

#wrapper{
  text-align: center;
  width: 80%;
  margin: 0 auto;
  background-color: rgba(0,0,0,0.5)
  /* border-left: 3px solid #5858FA; */
}

#logo{
  width: 250px;
  margin-top: 10px;
  margin-bottom: 15px;
}

.trennstrich{
  margin: 30px auto;
  background-color: #5858FA;
  height: 3px;
  width: 50%;
}

h1{
  margin-top: 100px;
  font-size: 3em;
  text-align: center;
  color: white;
}

h2{
  color: white;
  display: inline-block;
 /* text-align: left; */
  font-size: 3em;
  /* border-bottom: 4px solid white; */
}

#mainNav .active{
  border-bottom: 4px solid rgba(88,88,250,1);
}

.textLink{
  text-decoration: none;
  color:#5858FA;
  transition: color 0.5s;
}

.textLink:hover{
  color: white;
}

.explane{
  margin-bottom: 50px;
}

.explaneColumn{
  margin: 20px 10%;
  display: inline-block;
}

.explaneColumn img{
  filter: invert(100%) sepia(70%) saturate(2%) hue-rotate(55deg) brightness(106%) contrast(100%);
}

.reference{
  background-color: white;
}

.reference img{
  
  width: 30%;
}


.leftFood{
  padding: 20px;
  /* text-align: left; */
}

.rightFood{
  /* width: 30%; */
  padding: 20px;
}

.rightFood p{
  display: inline-block;
}

.rightFood p a{
  text-decoration: none;
  color: white;
  border-bottom: 2px solid rgba(88,88,250,0);
  transition: border-bottom 0.3s;
}

.rightFood p a:hover{
  border-bottom: 2px solid rgba(88,88,250,1);
}



.leftFood img{
  filter: invert(100%) sepia(70%) saturate(2%) hue-rotate(55deg) brightness(106%) contrast(100%);
}

.footerText{
  display: inline-block;
  border-bottom: 2px solid #5858FA;
}

/* Style für Leistungen */

.leistungen h2{
  margin-top: 20px;
  color: #5858FA;
  font-size: 2.5em;
}

.leistungen ul{
  padding-left: 0;
}

.leistungen ul li {
  list-style: none;
  font-size: 2em;
  color: white;
}

.extraInfo{
  color: #5858FA;
  font-size: 1.5em;
}

/* style for the gallery */

.object-fit { 
  display: inline-block;
	width: 40%; 
	height: 300px; 
	margin: 5px; 
}

#thumbs img{
  object-fit: cover; 
	width: 100%; 
	height: 100%;
  cursor: zoom-in;
  margin: 5px;
}

#zoomPic{
  visibility: hidden;
  position: fixed;
  z-index: 10;
  background-color: rgba(0,0,0,0.9);
  width: 100%;
  height: 100%;
}

.picContainer{
  width: 75%;
  height: 100vh;
  margin: auto;
}

.picContainer img{
  z-index: 20;
  object-fit:scale-down;
  width: 100%;
  height: 100%;
}

.closingBtn{
  position: absolute;
  color: white;
  right: 2%;
  top: 2%;
  font-size: 3em;
  cursor: pointer;
}

.prev, .next{
  cursor: pointer;
  padding: 0.5em;
  position: absolute;
  font-size: 4em;
  color: rgba(255,255,255, 0.4)
}

.prev{
  left: 2%;
  top: 40%;
}

.next{
  right: 2%;
  top: 40%;
}

.prev:hover, .next:hover{
  color: rgba(255,255,255, 0.9)
}

/* end of gallery */

@media screen and (max-width: 1470px){
  #mainNav nav ul{
    margin-left: 100px;
  }
}

@media screen and (max-width: 1170px){
  #mainNav nav ul{
    display: block;
  }

  #mainNav{
    width: 100%;
    /* display: inline-block; */
    position: relative;
    right: 0px;
    top: 0px;
  }

  #mainNav nav ul{
    margin-top: 20px;
  }

  .object-fit{
    width: 45%;
    height: 200px;
  }
}

@media screen and (max-width: 950px){
  #wrapper{
    width: 100%;
  }

  #mainNav nav ul{
    /* display: inline-block; */
    margin-top: 20px;
    margin-left: 0px;
  }
}

@media screen and (max-width: 500px){
  #logo{
    width: 150px;
  }

  #mainNav nav ul li a{
    font-size: 1.5em;
  }

  #contactInfo{
    right: auto;
    top:50%;
  }

  #contactInfo img{
    width:70%;
  }

  .reference img{
    width: 50%;
  }

  .explane img{
    width: 60%;
  }

  .explane{
    margin-bottom: 20px;
  }

  h1{
    margin: 10px 10px;
  }

  .object-fit{
    width: 90%;
  }

  .picContainer{
    margin-top: 12.5vh;
    width:100%;
    height:75vh;
  }

  .closingBtn{
    top: 1%;
  }
}