@import url('https://fonts.googleapis.com/css2?family=Aboreto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.photo-galler-section {
    padding: 20PX;
    /* width: 100%; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 40px auto;
}

.container {
    width: 1300px;
    max-width: 2500px;
}

.photo-galler-section ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

section ul li {
    list-style: none;
    background-color: #eee;
    padding: 12px 20px;
    margin: 5px;
    letter-spacing: 1px;
    cursor: pointer;
    color: #000;
}

section ul li a {
    text-decoration: none;
    color: #000;
}

section ul li.active {
    background: #000;
    color: #fff;
}

.product {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.product .itemBox {
    position: relative;
    width: 252px;
    height: 378px;
    margin: 5px;
    display: block;
    overflow: hidden;
}

.product .itemBox.hide {
    display: none;
}

.product .itemBox img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    transition: transform 0.3s ease;
}

.product .itemBox img:hover {
    transform: scale(1.2);
    cursor: pointer;
}

/* Overlay styles */
.overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 100000;
}

/* Modal container */
.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  justify-content: center;
}

.modal-content img {
  width: 70%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* Close button */
#closeModal {
  position: absolute;
  top: 15px;
  right: 110px;
  background: white;
  border: none;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 35px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}


    /********* MEDIA QUERIES ********/

    @media screen and (max-width: 1440px) {
      .container {
        width: 1100px;
      }
    }

    @media screen and (max-width: 1140px) {
      .container {
        width: 900px;
      }
    }