body {
    margin: 0;
    padding: 0;
  }
  
  .mainbox {
    background-color: rgb(255, 255, 255);
    padding: 20px;
  }
  
  .image-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .image-column {
    flex: 1 1 28%;
    margin-bottom: 20px;
    padding: 0 10px;
    box-sizing: border-box;
  }
  
  .image-wrapper {
    position: relative;
    overflow: hidden;
  }
  
  .image {
    width: 100%;
    height: auto;
  }
  
  .image-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(247, 242, 242, 0.6);
    color: black;
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
  }
  
  .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;
    
    text-align: center;
  }
  
  .overlay-image {
    width: 38%;
    height: auto;
    margin: 10px;
  }
  
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: rgb(255, 253, 253);
    font-size: 30px;
    text-decoration: none;
  }
  
  .close-btn1 {
    position: absolute;
    top: 10px;
    right: 10px;
    color: rgb(255, 253, 253);
    font-size: 30px;
    text-decoration: none;
  }
  
  .overlay:target {
    display: block;
  }