#steps-block {
    transition: .6s ease-in;
}

#steps-block .tabs-holder {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

#steps-block .tab {
    padding: 10px 10px 10px 20px;
    box-sizing: border-box;
    border-left: 5px solid var(--stroke);
    cursor: pointer;
}

#steps-block .tab.active {
    border-left: 5px solid var(--primary);
}

#steps-block .tabs {
    display: flex
;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
    width: 100%;
}

#steps-block .tabs-content {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#steps-block .tab-content {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: auto;
    display: flex;
    top: 0;
    z-index: 1;
    right: 0;
    gap: 30px;
    max-width: 880px;
}

#steps-block .left-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#steps-block .right-side {
    width: 100%;
    height: 350px;
    max-width: 480px;
    box-sizing: border-box;
}

#steps-block .right-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom: 5px solid var(--primary);
}

#steps-block .tab-content.active {
    opacity: 1;
    z-index: 2;
}

@media (max-width: 1400px) {
    #steps-block .tab-content {
        flex-direction: column;
    }
}

@media (max-width: 790px) {
    #steps-block .tabs-holder {
        display: flex;
        flex-direction: column;
    }
    #steps-block .tabs {
        flex-direction: row;
        max-width: 100%;
        flex-wrap: wrap;
    }
    #steps-block .right-side {
        max-width: 100%;
    }
}