* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    height: 100%;
    overflow: hidden;
  }
  
  body {
    background-image: url("../img/bg.png");
    background-size: cover;
    background-position: center;
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation; 
    -ms-touch-action: manipulation; 
  }
  
  .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2vh 4vw;
  }
  
  .left, .right {
    display: flex;
    align-items: center;
  }
  
  .grid-container {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 2vmin;
    padding: 2vh 5vw 5vh;
    width: 100%;
    height: 80vh;
    align-items: center;
    justify-items: center;
  }
  
  .grid-container img {
    width: 60%;
    height: 60%;
    object-fit: contain;
  }
    

  @media (max-aspect-ratio: 1/1) {

    .grid-container {
      padding: 0 5vw 5vh;
    }
  }
  
  @media (min-aspect-ratio: 16/9) {

    .grid-container {
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: repeat(3, 1fr);
    }
  }

  #overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.floating-image {
    position: absolute;
    z-index: 9999; 
}