@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

* {
  box-sizing: border-box;
}

.mySlides {
  display: none;
}

img {
  vertical-align: middle;
  z-index: 1;
}

.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: .3
  }

  to {
    opacity: 1
  }
}

@keyframes fade {
  from {
    opacity: .3
  }

  to {
    opacity: 1
  }
}

/* responsive */

body {
  font-family: 'Lato', sans-serif;
  font-size: 1.3em;
  overflow-y: scroll;
}

#filter ul {
  list-style: none;
}

#filter ul li {
  display: inline-block;
  margin-right: right 40px;
  margin: 15px;
  text-align: center;
  color: #404040;
  cursor: pointer;
}

.inactive {
  opacity: 0.1;
  pointer-events: none;
  user-select: none;
}

#oben {
  margin: 2em;
  height: auto;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.5);
}

#seiteninhalt {
  margin: 2em;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.5);
}

.responsive {
  max-width: 100%;
  height: auto;
}

.flex {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.rahmen {
  margin: 1em;
  height: 350px;
  width: 350px;
  text-align: center;
}

.bottom {
  height: auto;
}

.ende {
  align-items: flex-end;
}

.rahmen a,
.instalink {
  text-decoration: none;
  color: black;
}

.rahmen a:hover,
a img:hover,
.instalink:hover {
  text-decoration: none;
  opacity: 0.5;
}

.rahmen img {
  max-width: 320px;
  max-height: 320px;
}

img.logo {
  width: 2em;
  height: 2em;
}

section {
  padding: .5em;
  text-align: center;
}


/* Navigation start */
* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  font-family: "lato";
  box-sizing: border-box;
}

body {
  background: #fefefe;
}

header {
  width: 100%;
  height: 80px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, .5);
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: #404040;
}

.hamburger {
  display: none;
}

.nav-bar ul {
  display: flex;
}

.nav-bar ul li a {
  display: block;
  color: #404040;
  font-size: 20px;
  padding: 10px 15px;
  border-radius: 10px;
  transition: 0.2s;
  margin: 0 5px;
  z-index: 2;
}

.nav-bar ul li a:hover {
  background: rgb(234, 234, 234);
  color: #404040;
}

.nav-bar ul li a.active {
  color: #404040;
  background: rgb(234, 234, 234);
}

@media only screen and (max-width: 1320px) {
  header {
    padding: 0 40px;
  }
}

@media only screen and (max-width: 1100px) {
  header {
    padding: 0 20px;
  }
}

@media only screen and (max-width: 900px) {
  .hamburger {
    display: block;
    cursor: pointer;
  }

  .hamburger .line {
    width: 30px;
    height: 3px;
    background: #404040;
    margin: 6px 0;
  }

  .nav-bar {
    height: 0;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    width: 100vw;
    background: rgb(255, 255, 255);
    transition: 0.5s;
    overflow: hidden;
  }

  .nav-bar.active {
    height: 300px;
    box-shadow: 0px 6px 20px 0 rgba(0, 0, 0, .5);
    z-index: 2;
  }

  .nav-bar ul {
    display: block;
    width: fit-content;
    margin: 80px auto 0 auto;
    text-align: center;
    transition: 0.5s;
    opacity: 0;
  }

  .nav-bar.active ul {
    opacity: 1;
  }

  .nav-bar ul li a {
    margin-bottom: 12px;
  }
}


/* Navigation end */

@media (min-width: 768px) {
  #top {
    height: 5em;
  }

  #oben {
    height: auto;
    margin: 2em 4em 2em 4em;
  }

  #seiteninhalt {
    margin: 2em 4em 2em 4em;
  }
}

a:hover {
  color: rgb(109, 109, 109);
}