.how-it-works-container {
    margin-top: 100px;
    position: relative;
    max-width: 776px;
    margin-left: auto;
    margin-right: auto;
}

.how-it-works-content h1 {
    font-style: normal;
    font-weight: bold;
    font-size: 42px;
    line-height: 42px;
    letter-spacing: -0.2px;
    color: #000000;
    margin-top: 180px;
    margin-bottom: 36px;
}

.how-it-works-content p {
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 30px;
    color: #373B48;
    margin-bottom: 120px;
}

.step h1 {
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 34px;
    display: flex;
    align-items: center;
    color: #373B48;
}

.step p {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    color: #373B48;
    margin: 0;
}

.step ul li {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    color: #373B48;
}

.step ul {
    padding-left: 20px;
}

.step a {
    color: #3E64FF;
    text-decoration: none;
}

.step a:hover {
    color: #375ae5;
}

.first-step img {
    width: 604px;
}

.first-step .step-img {
    text-align: center;
    margin-top: 60px;
}

video {
    width: 527px;
}

.video-container {
    text-align: center;
    margin: 48px 0 120px 0;
}

.third-step .images-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
    margin-bottom: 100px;
}

.third-step .images-section .image {
    height: 298px;
    position: relative;
}

.third-step .images-section .image:first-of-type img {
    position: relative;
    top: 20px;
}

.third-step .images-section .image:nth-of-type(3) img {
    position: relative;
    top: 30px;
}

.third-step .images-section .image:nth-of-type(2) img {
    margin: 0 70px;
}

.third-step .images-section p {
    font-style: normal;
    font-weight: bold;
    font-size: 42px;
    line-height: 55px;
    text-align: center;
    color: #93969F;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.fourth-step .images-container {
    display: flex;
    justify-content: center;
    margin-top: 48px;
    flex-wrap: wrap;
    margin-bottom: 120px;
}

.fourth-step .images-container img {
    width: 374px;
    align-self: flex-start;
}

@media all and (max-width: 992px) {
    .how-it-works-container {
        max-width: 650px;
        margin-top: 50px;
    }

    .how-it-works-content h1 {
        margin-top: 0;
    }

    .first-step img {
        width: 100%;
        max-width: 604px;
    }
}

@media all and (max-width: 767px) {
    .images-section {
        flex-wrap: wrap;
    }

    .third-step .images-section .image {
        width: 100%;
        text-align: center;
    }

    .third-step .images-section p {
        left: 0;
        top: 50%;
        transform: translate(0, -50%);
    }

    .third-step .images-section .image {
        height: auto;
        min-height: 200px;
    }

    .third-step .images-section .image:nth-of-type(2) img {
        margin: 0;
    }
}

@media all and (max-width: 600px) {
    .how-it-works-container {
        padding: 0 24px;
        margin-top: 0;
    }

    .how-it-works-content h1 {
        font-size: 24px;
        line-height: 36px;
    }

    .how-it-works-content p {
        font-size: 14px;
        line-height: 21px;
        margin-bottom: 60px;
    }

    .step h1 {
        font-size: 16px;
        line-height: 25px;
    }

    .step p,
    .step ul li {
        font-size: 14px;
        line-height: 21px;
    }

    .first-step .step-img {
        margin-top: 20px;
    }

    video {
        width: 100%;
    }

    .fourth-step .images-container img {
        width: 100%;
    }
}
