body{
  background-size: 20%;
  background-color: black;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  padding: 0;
  margin: 0;
}

.container{
  width: 80%;
  margin: auto;
  overflow: hidden;
}

ul{
  margin:0;
  padding:0;
}

.button{
  font-weight: bold;
  text-align: center;
  border-radius: 8px;
  background-color: black;
  border: none;
  color: white;
  cursor: pointer;
  margin: 4px 2px;
  padding: 7px 25px;
  display: inline-block;
  transition-duration: 1s;
  text-decoration: none;
  }
.button:hover{
  background-color: white;
  color: black;
}

header{
  padding-top: 0;
  min-height:70px;
  border: black 3px solid;
}

header li{
  float: left;
  display: inline;
  padding: 30px 10px 0 10px;
}

header #logo{
  float: left;
}

header nav{
  float: right;
}

header .current a{
  color: #606060;
}

/*stamp*/
#stamp{
  margin-top: 40px;
  max-width:20%;
  max-height:20%;
  margin-left: 55%;
  position: absolute;
  float: right;
}

/*slideshow*/

#slideshow{
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
}

#slideshow-text-div{
  display:flex;
  justify-content: center;
}

#slideshow-text{
  margin-top: 150px;
  width:70%;
  position:absolute;
  z-index: 1;
}

#slideshow-images{
  opacity: 30%;
}

.slideshow-item{
  width:100%;
  height:100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  animation: cycleImages 51s infinite;
}


.slideshow-item:nth-child(1){
  animation-delay: 0s;
}

.slideshow-item:nth-child(2){
  animation-delay: 10s;
}

.slideshow-item:nth-child(3){
  animation-delay: 20s;
}

.slideshow-item:nth-child(4){
  animation-delay: 30s;
}

.slideshow-item:nth-child(5){
  animation-delay: 40s;
}

@keyframes cycleImages {
  25%{
    opacity: 1;
  }
  30%{
    opacity: 0;
  }
  100%{
    transform: scale(1.3);
  }
}

/* lower half */

#about{
  margin-top: 40px;
  margin-bottom: 40px;
  float: left;
  width: 60%;
  background: #151515;

}

#about h1{
  margin-bottom: 0;
  text-align: center;
}

#about p{
  text-indent: 40px;
  line-height: 1.2;
  margin: 0 40px 20px 40px;

}

/*Gallery*/
.container2{

}

#gallery{
  display: block;
  width: 80%;
  background: #151515;
  margin-left: auto;
  margin-right: auto;
}

#gallery h1{
  text-align: center;
}


.gallery-item{
  margin: 5px;
  border: 4px solid #505050;
  float: left;
  width: auto;
  height: auto;
  transition-duration: 1s;
  text-align: center;
}

.gallery-item img{
  vertical-align: middle;
  width:100%;
  height: auto;
  padding-bottom: 0;

}

.gallery-item:hover{
  display: inline-block;
  border: 4px solid white;
  overflow: hidden;
}

.gallery-item img:hover{
  animation: zoom 1s;
  animation-fill-mode: forwards;
}

* {
  box-sizing: border-box;
}

/*Contact*/

.middle{
  margin: auto;
  text-align: center;
  padding: 10%;
}

.contactbuttons{
  width: 50%;
}
.contactbuttons:hover{
    width: 50%;
  animation: zoom 1s;
}

.grid-container-element {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.middle h3{
  font-size: 15px;
}

.middle h3:hover{
  color: #606060;
  cursor: pointer;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
}

@media only screen and (max-width: 800px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }

  header #logo{
    float: none;
    text-align: center;
  }
  header nav{
    float: none;
    text-align: center;
  }
  header li{
    float: none;
    text-align: center;
  }
  .contactbuttons{
    width: 50%;
  }

  .middle h3{
    font-size: 12px;
  }



}

@media only screen and (max-width: 600px) {
  .responsive {
    width: 100%;
  }
  #slideshow{
    height: 250px;
  }
  #slideshow-text{
    margin-top: 100px;
  }
  .container{
    width: 100%;
  }
  header #logo{
    float: none;
    text-align: center;
  }
  header nav{
    float: none;
    text-align: center;
  }
  header li{
    float: none;
    text-align: center;
  }
  .grid-container-element {
      display: grid;
      grid-template-columns: 1fr;
  }
  .middle h3{
    font-size: 17px;
  }
  #about{
    float:none;
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  #stamp{
    position: relative;
    margin: auto;
    max-width:30%;
    max-height:30%;
    float: none;
    text-align: center;
    padding: 0px;
    padding-top: 50px;
  }

}

@keyframes zoom {
  100%{
    transform: scale(1.05);

  }
}
