body {
    background-color: #f8f8f8;
    margin: 0;
    overflow: scroll;
    /* Damit der Scrollbereich größer als der Viewport ist */
    min-width: 3000px;
    min-height: 3000px;
    font-family: 'Open Sans', sans-serif;
    font-weight: bolder;
  }

  body h1 {
    display:none;
  }
  
  /* Fixierter Header oben links */
  .header {
    position: fixed;
    top: 10px;
    left: 10px;
    font-size: 20px;
    opacity: 0.85;
    z-index: 10;
  }
  
  .header a {
    color: rgb(0, 0, 0);
    font-size: 20px;
    text-decoration: none;
  }
  
  .wrapper {
    width: 3000px;
    height: 3000px;
    margin: 0 auto;
  }
  
  .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 10px;
    padding: 10px;
  }
  
  .gallery a {
    display: block;
  }
  
  .gallery img {
    width: 1500px;
    /* Fixe Breite */
    height: auto;
    /* Höhe passt sich automatisch an */
    object-fit: cover;
    display: block;
  }
  
  html,
  body {
    scroll-behavior: auto;
  }
  
  /* Media Queries für Smartphones */
  @media only screen and (max-width: 767px) {
    body {

        min-width: 1000px;
    min-height: 1000px;
      overflow: auto;
    }

    .wrapper {
    width: 1000px;
    height: 1000px;
    margin: 0 auto;
  }
  
  .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 10px;
    padding: 10px;
  }
  
  .gallery a {
    display: block;
  }
    
  
    .gallery img {
    width: 500px;
    /* Fixe Breite */
    height: auto;
    /* Höhe passt sich automatisch an */
    object-fit: cover;
    display: block;
  }
  }

  
  
  /* Media Queries für Tablets */
  @media only screen and (min-width: 768px) and (max-width: 1023px) {
    body {
      min-width: 1500px;
      min-height: 1500px;
    }
    
    .wrapper {
      width: 1500px;
      height: 1500px;
    }
    
    .gallery img {
      width: 700px;
    }
  }