* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .container {
    position: relative;
    background: white;
  }

  .container .image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 10px;
  }

  .container .image-container .image {
    position: relative;
    height: 250px;
    width: 350px;
    border: 10px solid white;
    box-shadow: 0 5px 15px black;
    overflow: hidden;
    cursor: pointer;
}

  .container .image-container .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: 0.2s linear;
  }
  .container .image-container .image:hover img {
    transform: scale(1.1);
  }

  .container .popup-image {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.596);
    height: 100%;
    width: 100%;
    z-index: 1000;
    display: none;
}

.container .popup-image span {
    position: absolute;
    top: 40px;
    right: 10px;
    font-size: 50px;
    font-weight: bolder;
    color: white;
    cursor: pointer;
    z-index: 101;
}

.container .popup-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 5px solid white;
    border-radius: 5px;
    width: 37vw;
    max-height: 95vh;
    object-fit: cover;
    z-index: 1000;
}
.cardTitle {
    font-weight: bold;
    font-size: calc(2 * (1vw + 1vh)/2);
    margin: 1.3vh 0;
    color: #ffffff;
    transition: color 0.3s;
    text-align: center;
    font-family: "Crimson Text", serif;
    font-weight: 500;
    font-style: normal;
    text-shadow: 2px 2px 3px rgba(12, 51, 20, 0.3), 2px 2px 3px rgba(16, 77, 26, 0.3);
}
.container .image-container .image-title {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.5); 
    padding: 5px;
    width: 100%;
    text-align: center;
}



  @media (max-width: 768px) {
    .container .popup-image img {
      width: 95%;
    }
}