/* step one */
.case-step-one{
    font-size: 16px;
    font-weight: normal;
}
.case-step-one__img-wrapper {
    display: block;
    position: relative;
    height: 300px;
    width: 100%;
    border: .5px solid var(--l-black);
    border-radius: 12px;
    overflow: hidden;
}

.case-step-one__img-icon {
    position: absolute;
    right: 22px;
    top: 13px;
    width: 74px;
    height: 26px;
    /* background: url(img/sitemap.svg) no-repeat center; */
    background-size: contain;
    z-index: 1;
}

.case-step-one__img-wrapper::before {
    content: '';
    display: none;
    /* position: absolute;
    right: 22px;
    top: 13px;
    width: 74px;
    height: 26px;
    background: url(img/sitemap.svg) no-repeat center;
    background-size: contain;
    z-index: 1; */
}

.case-step-one__img-wrapper::after {
    content: '';
    position: absolute;
    right: 17px;
    bottom: 14px;
    width: 39px;
    height: 39px;
    background: url(img/zoom.svg) no-repeat center;
    background-size: contain;
    z-index: 1;
}

.case-step-one__img-wrapper img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -webkit-transition: var(--l-transition);
    -o-transition: var(--l-transition);
    transition: var(--l-transition);
}

.case-step-one__img-wrapper:hover img,
.case-step-one__img-wrapper:focus img {
    -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
            transform: scale(1.2);
}

.case-step-one__screenshot {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
}

.case-step-one__screenshot--blue {
    background-color: #DDF1FF;
}

.case-step-one__screenshot--yellow {
    background-color: #FDEEDD;
}

.case-step-one__screenshot img {
    /* max-width: 270px;
    max-height: 240px; */
    max-width: 95%;
    max-height: 95%;
    width: auto;
    height: 100%;
}

.case-step-one__grid {
    gap: 1rem;
}

@media (min-width: 992px) {
    .case-step-one{
        font-size: 18px;
        font-weight: normal;
    }
    .case-step-one__img-wrapper {
        height: 560px;
    }

    .case-step-one__img-wrapper::after {
        display: none;
    }

    .case-step-one__img-wrapper::before {
        width: 128px;
        height: 42px;
        top: 45px;
        right: 38px;
    }
    
    .case-step-one__screenshot {
        height: 632px;
    }

    /* .case-step-one__screenshot img {
        max-width: 655px;
        max-height: 500px;
    } */
}

/* popup */
.case-step-one__overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
    padding: 0;
    background-color: rgba(0, 0, 0, .75);
    color: var(--l-black);
    z-index: 500;
}

.case-step-one__popup {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
    height: 100%;
}

.case-step-one__popup img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.case-step-one__close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 18px;
    height: 18px;
    background-color: var(--l-black);
    border-radius: 50%;
    cursor: pointer;
}

.case-step-one__close-popup:before {
    content: '';
    background-color: var(--l-white);
    position: absolute;
    height: .5px;
    width: 8px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}

/* step two */
.case-step-two{
    font-size: 16px;
}
.case-step-two__img-wrapper {
    display: block;
    position: relative;
    height: 300px;
    width: 100%;
}

.case-step-two__overflow {
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.case-step-two__img-wrapper::before {

    content: attr(data-name);
    position: absolute;
    left: 0;
    top: -50px;
    width: 103px;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    text-align: left;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    z-index: 1;
}

.case-step-two__img-wrapper[data-name]::after {
    content: '';
    position: absolute;
    left: 105px;
    top: -36px;
    width: 70px;
    height: 76px;
    background: url(img/arrow-1.svg) no-repeat center;
    background-size: contain;
    z-index: 1;
}

.case-step-two__img-wrapper img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.case-step-two__screenshot {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
}

.case-step-two__screenshot--blue {
    background-color: #DDF1FF;
}

.case-step-two__screenshot--yellow {
    background-color: #FDEEDD;
}

.case-step-two__screenshot img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
}

.case-step-two__grid {
    gap: 1rem;
}

@media (min-width: 992px) {
    .case-step-two{
        font-size: 18px;
    }
    .case-step-two__img-wrapper {
        height: 632px;
    }

    .case-step-two__img-wrapper::before {
        font-size: 16px;
        line-height: 19px;
        width: 125px;
        top: -60px;
    }

    .case-step-two__img-wrapper::after {
        left: 130px;
        top: -45px;
        width: 92px;
        height: 100px;
        background: url(img/arrow-4.svg) no-repeat center;
        background-size: contain;
    }

    .case-step-two__screenshot {
        height: 560px;
    }

    .case-step-two__screenshot img {
        max-width: 95%;
        max-height: 95%;
    }
}