.gallery_container {
    min-height: 100vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
    background: linear-gradient(to right,#123101,#000000);
 
}

.left-text {
    flex-basis: 30%;
}

.heading {
    font-size: 3rem;
    color: white;
    text-align: center;
}

.subheading {
    color: #ddd;
    margin-top: 10px;
    text-align: center;
}
.OAT{
  height: 350px;

}
.OAT-2{
  width: 330px;
}
.gallery {
    flex-basis: 50%;
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 120px;
    margin-top: 10px;
}

.gallery_box {
    background-size: cover;
    background-position: top;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #222;
    background-blend-mode: hard-light;
    transition: all 1s ease-in-out;
    cursor: pointer;
}

.gallery_box:hover {
    background-color: #999;
    background-position: center;
    box-shadow: 0 0 4px #fff;
}

.gallery_row-2 {
    grid-row: span 2;

}

.gallery_col-2 {

    grid-column: span 2;
    color: black;

}

/* media query for width <= 1024px */

@media screen and (max-width: 1024px) {
    .gallery_container {
        flex-direction: column;
        padding-block: 20px;
    }
    .gallery {
        width: 100%;
        padding-inline: 12px;
        grid-auto-rows: 220px;
    }
    .gallery_box {
        grid-row: span 1;
        grid-column: span 3;
    color: black;

    }
}
/* Media query for tablets and larger smartphones (width <= 768px) */
@media screen and (max-width: 768px) {
  header {
      flex-direction: column;
      gap: 20px;
      align-items: center;
      height: auto;
      padding: 10px;
  }
  .left {
      margin-left: 0;
  }
  #nav-toggle {
      right: 10px;
      top: 10px;
  }
  #nav-section {
      width: 60%;
  }
  .gallery_container {
      padding: 20px;
  }
  .left-text {
      flex-basis: 100%;
  }
  .heading {
      font-size: 2.5rem;
  }
  .gallery {
      grid-template-columns: 1fr;
      grid-auto-rows: 200px;
  }
  .gallery_box {
      grid-column: span 1;
      grid-row: span 1;
  }
}

/* Media query for smartphones (width <= 480px) */
@media screen and (max-width: 480px) {
  header {
      flex-direction: column;
      gap: 10px;
      align-items: center;
      height: auto;
      padding: 10px;
  }
  .left, .right {
      justify-content: center;
      align-items: center;
  }
  .left img, .right img {
      height: 80px;
      width: 80px;
  }
  .left div {
      font-size: 12px;
  }
  #nav-toggle {
      right: 10px;
      top: 10px;
  }
  #nav-section {
      width: 80%;
  }
  .gallery_container {
      padding: 10px;
  }
  .left-text {
      flex-basis: 100%;
  }
  .heading {
      font-size: 2rem;
  }
  .subheading {
      font-size: 1rem;
  }
  .gallery {
      grid-template-columns: 1fr;
      grid-auto-rows: 150px;
  }
  .gallery_box {
      grid-column: span 1;
      grid-row: span 1;
  }
}


