
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

h1, h2 {
    text-align: center;
    color: black;
}
a {
    color: black;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}


.nav {
    height: 55px;
    width: 100%;
    background-color: #4d4d4d;
    position: relative;
  }
  
  .nav > .nav-header {
    display: inline;
  }
  
  .nav > .nav-header > .nav-title {
    display: inline-block;
    font-size: 22px;
    color: #fff;
    padding: 10px 10px 10px 10px;
  }
  
  .nav > .nav-btn {
    display: none;
  }
  
  .nav > .nav-links {
    display: inline;
    float: right;
    font-size: 18px;
  }
  
  .nav > .nav-links > a {
    display: inline-block;
    padding: 13px 10px 13px 10px;
    text-decoration: none;
    color: #efefef;
  }
  
  .nav > .nav-links > a:hover {
    background-color: rgba(0, 0, 0, 0.3);
  }
  
  .nav > #nav-check {
    display: none;
  }


header {
    text-align: center;
    padding: 20px;
    background: #ffffff;
    margin-bottom: 20px;
}

.angebot {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.gallery-section {
    padding: 20px;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.gallery img {
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.gallery img:hover {
    transform: scale(1.05);
}


#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
}
#lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}
#close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}
#prev-btn, #next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}
#prev-btn {
    left: 20px;
}
#next-btn {
    right: 20px;
}



@media(max-width: 1000px)
{
  .innerdiv
  {
    transform: scale(0.7);
  }
}
@media (max-width: 800px)
{
  .innerdiv
  {
    transform: scale(0.6);
  }
}
@media (max-width: 600px)
{
  .div1 {
    background-position-x: 10rem;
  }
  .innerdiv
  {
    display: flex; 
    flex-direction: column;
    transform: scale(1);
    margin: 2rem;
    margin-bottom: 5rem;
  }
  .attribution
  {
    position: relative;
  }
  h1, h2 {
    font-size: 1.5rem;
    text-align: center;
}
a {
padding: 10px;
display: inline-block;
}
}
@media (min-width: 767px) {
  body {
      font-size: 14px;
  }

  .h1 {
      width: 100vw;
  }

  p {
      font-size: 0.875rem;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body {
      font-size: 16px; 
  }

  h1 {
      font-size: 2rem;
  }

  p {
      font-size: 1rem;
  }
  .outerdiv{
    width: auto;
  }
}
@media (min-width: 1025px) {
  body {
      font-size: 18px; 
  }}    
@media (max-width:600px) {
  .nav > .nav-btn {
    display: inline-block;
    position: absolute;
    right: 0px;
    top: 0px;
  }
  .grund-bild{
    display: hide;
  }
  .nav > .nav-btn > label {
    display: inline-block;
    width: 50px;
    height: 50px;
    padding: 13px;
  }
  .nav > .nav-btn > label:hover,.nav  #nav-check:checked ~ .nav-btn > label {
    background-color: rgba(0, 0, 0, 0.3);
  }
  .nav > .nav-btn > label > span {
    display: block;
    width: 25px;
    height: 10px;
    border-top: 2px solid #eee;
  }
  .nav > .nav-links {
    position: absolute;
    display: block;
    width: 100%;
    background-color: #333;
    height: 0px;
    transition: all 0.3s ease-in;
    overflow-y: hidden;
    top: 50px;
    left: 0px;
  }
  .nav > .nav-links > a {
    display: block;
    width: 100%;
  }
  .nav > #nav-check:not(:checked) ~ .nav-links {
    height: 0px;
  }
  .nav > #nav-check:checked ~ .nav-links {
    height: calc(100vh - 50px);
    overflow-y: auto;
  }
}
@media (min-width: 480px) {
  .grund p {
      font-size: 0.875rem;
      line-height: 1.5;
  }
}
@media (min-width: 600px) {
  .innerdiv .eachdiv {
      margin: 0 auto;
  }
}

@media (min-width:375px){
  .grund-bild{
    width: 100px;
    height: 100px;
  }
  .slide-top {
    -webkit-animation: unset;
            animation: unset
              margin-top: 60%;
  }
  .slide-fwd-center {
    -webkit-animation: unset;
            animation: unset;
            margin-top: 60px;
  }
  .ende{
    margin-top: 100%;
  }
} 
@media (min-width:425px){
  .grund-bild{
    width: 100px;
    height: 100px;
  }
  .slide-top {
    -webkit-animation: unset;
            animation: unset
              margin-top: 60%;
  }
  .slide-fwd-center {
    -webkit-animation: unset;
            animation: unset;
            margin-top: 60px;
  }
} 
@media (min-width:768px){
  .grund-bild{
    width: 200px;
    height: 220px;
    left: auto;
  }
  .slide-top {
    -webkit-animation: unset;
            animation: unset;
            margin-top: 60px;
  }
  .slide-fwd-center {
    -webkit-animation: unset;
            animation: unset;
            margin-top: 60px;
  }
  .ende{
    margin-top: 60%;
  }
}
.grund-link{
  text-align: center;
  margin: 20px;
}
.fdsiug{
  font-size: large;
}
@media (min-width:1024px){
  .grund-bild{
    width: 200px;
    height: 220px;
    margin-left: 15vw;
  }
  .slide-top {
    -webkit-animation: unset;
            animation: unset
              margin-top: 60%;
  }
  .slide-fwd-center {
    -webkit-animation: unset;
            animation: unset;
            margin-top: 60px;
  }
} 
@media (min-width:1440px){
  .grund-bild{
    width: 400px;
    height: 420px;
    margin-left: 12vw;
  }
  .slide-top {
    -webkit-animation: unset;
            animation: unset
              margin-top: 60%;
  }
  .slide-fwd-center {
    -webkit-animation: unset;
            animation: unset;
            margin-top: 60px;
  }
} 

@media (max-width:320px){
  .grund-bild{
    width: 100px;
    height: 100px;
    margin-left: 10vw;
  }
  .slide-top {
    -webkit-animation: unset;
            animation: unset;
              margin-top: 30%;
              font-size: large;
  }
  .slide-fwd-center {
    -webkit-animation: unset;
            animation: unset;
            margin-top: 60px;
  }
  h1{
    font-size: 150%;
  }
  .ende{
    margin-top: 110vw;
  }
}
