body {
    margin: 0;
    padding: 0;
  }

  .mainbox {
    background-color: white;
    padding: 20px;
  }

  .image-container {
    display: flex;
    justify-content: space-between;
  }

  .image-row {
    display: flex;
    width: 100%;
  }

  .image-column {
    flex: 1;
    margin-right: 10px;
  }

  .image {
    width: 100%;
    height: auto;
  }

  .image-link {
    display: block;
  }

  .image-wrapper {
    position: relative;
    overflow: hidden;
  }

  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
  }

  .overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .overlay-image {
    width: 50%;
    height: auto;
    margin: 0 10px;
  }

  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 30px;
    text-decoration: none;
  }

  .overlay:target {
    display: block;
  }

  
  @media screen and (max-width: 768px) {
  .video-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
  }

}
@media screen and (max-width: 480px) {
.video-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
     
      
  }
 

  .overlay-content {
    position: absolute;
    top: 50%;
    left: 32%;
    right: 18%;
    transform: translate(-50%, -50%);
    text-align: center;
    
  }
  .overlay-image {
 
    width: 170%;
    height: auto;
    margin: 0;
  }
  .close-btn {
    position: absolute;
    top: 10px;
    left: 200%;
    right: 2px;
    color: white;
    font-size: 30px;
    text-decoration: none;
  }

 
  .overlay:target {
    display: block;
  }
  
}