/* =========================================
   IMAGE SHOWCASE
========================================= */

.about-image-showcase {
    position: relative;

    width: 100%;

    min-height: 700px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.about-image-stack {
    position: relative;

    width: 100%;

    height: 700px;
}

/* =========================================
   CARD
========================================= */

.about-image-card {
    position: absolute;

    width: 82%;

    height: 540px;

    overflow: hidden;

    border-radius: 34px;

    background: #fff;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.8s ease,
        opacity 0.8s ease,
        z-index 0.8s ease;

    cursor: pointer;
}

/* =========================================
   IMAGE
========================================= */

.about-image-card img {
    width: 100%;

    height: 100%;

    object-fit: contain;

    display: block;

    transition: transform 0.7s ease;
}

.about-image-card:hover img {
    transform: scale(1.06);
}

/* =========================================
   STACK POSITIONS
========================================= */

.about-image-card:nth-child(1) {
    top: 0;
    left: 0;
}

.about-image-card:nth-child(2) {
    top: 80px;
    right: 0;
}

.about-image-card:nth-child(3) {
    bottom: 0;
    left: 60px;
}

/* =========================================
   ACTIVE
========================================= */

.about-image-card.active {
    z-index: 10;

    transform: scale(1.03);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 992px) {
    .about-image-showcase {
        min-height: 520px;
    }

    .about-image-stack {
        height: 520px;
    }

    .about-image-card {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .about-image-showcase {
        min-height: 420px;
    }

    .about-image-stack {
        height: 420px;
    }

    .about-image-card {
        width: 88%;

        height: 280px;

        border-radius: 24px;
    }

    .about-image-card:nth-child(2) {
        top: 60px;
    }

    .about-image-card:nth-child(3) {
        left: 25px;
    }
}
