#stages-block {
    margin-top: 80px;
    margin-bottom: 80px;
}
#stages-block .block__title {
    margin-bottom: 20px;
}
.stages-block__stages {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.stages-block__stage,
.stages-block__stage-image--wrapper,
.stages-block__stage-image {
    width: 100%;
}
.stages-block__stage-image--wrapper {
    position: relative;
    height: 120px;
    margin-bottom: 20px;
}
.stages-block__stage-image--wrapper::before {
    content: '';
    width: 100%;
    height: 100%;
    background-image: url('./images/decorate.svg');
    position: absolute;
    left: 0;
    top: 0;
    background-size: contain;
    background-repeat: no-repeat;
}
.stages-block__stage-image {
    position: relative;
    object-fit: contain;
    object-position:bottom;
    z-index: 1;
    height: 100%;
    width: 100%;
}
.stages-block__stage-number {
    position: absolute;
    left: 10px;
    top: 10px;
    color: var(--card);
    font-size: 12px;
    font-weight: 400;
    line-height: 120%;
}
.stages-block__stage-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 120%;
    color: var(--text);
}
@media (max-width: 768px) {
    .stages-block__stages {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 20px;
    }
    .stages-block__stage {
        width: calc(50% - 20px);
    }
}
@media (max-width: 500px) {
    .stages-block__stage-text {
        font-size: 12px;
    }
    .stages-block__stage-image--wrapper {
        height: 100px;
    }
}