.container {
    position: relative;
}

.container .image-container {
    /* margin-top: 3rem; */
    gap: 2rem;
}

.container .image-container .image {
    height: 15rem;
    width: 20rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
    overflow: hidden;
    cursor: pointer;
}

.container .image-container .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: .2s linear;
}

.container .image-container .image:hover img {
    transform: scale(1.1);
}

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

.mark-image {
    max-width: 100rem !important;
    min-height: 98% !important;
}

.popup-image span {
    position: absolute;
    top: 0; right: 1rem;
    font-size: 40px;
    font-weight: bolder;
    color: #fff;
    cursor: pointer;
    z-index: 100;
}

.popup-image img {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    max-height: 95%;
    width: 80%;
    object-fit: cover;
}

@media (max-width:768px) {
    .popup-image img {
        width: 90%;
        max-height: 100%;
    }
}

@media (max-width:400px) {
    .container .image-container .image:hover img {
        transform: scale(1.1);
    }
}