.mainContainer{
    background-color: var(--background-color);
        padding: 100px 50px;
    gap: 20px;
    padding-top: clamp(60px, 10vw, 150px);
    position: relative;
}
.miniNav{
    background-color: #2E5077;
}
nav{
    background-color: #2E5077;
}


.headerWrapper{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.headerWrapper *{
  text-align: center;
}

.headerWrapper .title{
  font-family: "Noto Sans";
}

.headerWrapper h1{
  font-family: "Helvetica";
  font-size: clamp(26px, 5vw, 54px);
  margin: 0 0 .5rem 0;
}
.gallery{
  margin: 100px 0;
}
.gallery{
  display: flex; 
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  align-items: center;
}
 .galleryRow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;

}

.thin{
  width: 20%;
}

.wide{
  width: 35%;
}

.imgWrapper{
  overflow: hidden;

}
.imgWrapper img{
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: 0.3s all ease-in-out;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

  /* Modal styles */
  .modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
  }

    .modal-content {
      position: relative;
      max-width: 90%;
      max-height: 80%;
    }

    .modal-content img {
      width: 100%;
      height: auto;
      border-radius: 10px;
    }

    .close {
      position: absolute;
      top: -10px;
      right: -10px;
      background: #fff;
      color: #333;
      font-size: 20px;
      border-radius: 50%;
      padding: 5px 10px;
      cursor: pointer;
      transition: background 0.3s;
    }

    .close:hover {
      background: #ff5252;
      color: white;
    }


  @media (max-width: 767px) {
    .galleryRow{
      display: grid;
      grid-template-columns: 1fr 1fr
    }
    .mainContainer{
      padding: 20px;
    }
    .headerWrapper{
      margin-top: 100px;
    }
    .thin{
      width: 100%;
    }

    .wide{
      width: 100%;
    }
    
    .imgWrapper img{
      width: 100%;
    }
  }
  @media (max-width: 500px) {
    .galleryRow{
      display: grid;
      grid-template-columns: 1fr
    }
    .headerWrapper{
      margin: 50px 0;
    }
  }