.s-parallax {
    padding: 12.6rem 0 10rem;
    background-color: #222;
}

.s-parallax__container {
    display: flex;
    max-width: 1440px;
    width: 85%;
}

.s-parallax__left {
    position: relative;
    width: 45%;
    margin-right: 10%;
}

.s-parallax__image {
    position: sticky;
    top: calc(50% - 20rem);
    max-height: 60vh;
    overflow: hidden;
    aspect-ratio: 0.75;
    display: flex;
    margin: auto;
}

.s-parallax__image img {
    transition: 1s ease-out;
    transform: translate(0, 0) scale(1);
    margin: auto;
}

.s-parallax__right {
    flex: 1;
}

.s-parallax__item {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4rem;
}

.s-parallax__text {
    text-align: center;
}

.s-parallax__text h2 {
    font-size: 5rem;
    color: #fff;
    margin-bottom: 2rem;
}

.s-parallax__text h2 span {
    display: block;
    font-size: 3.5rem;
    color: #fff;
}

.s-parallax__text p {
    font-size: 1.8rem;
    color: #fff;
}

@media only screen and (max-width: 1440px) {
    .s-parallax__image {
        top: calc(50% - 25rem);
    }
}

@media only screen and (max-width: 800px) {
    .s-parallax {
        padding: 0 0 10rem;
    }

    .s-parallax__container {
        flex-direction: column;
        padding: 40vh 0 0;
        position: relative;
        width: 100%;
    }

    .s-parallax__left {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .s-parallax__text h2 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .s-parallax__text h2 span {
        font-size: 2rem;
    }

    .s-parallax__text p {
        font-size: 1.5rem;
        line-height: 1.6;
    }

    .s-parallax__image {
        top: 12.1rem;
        aspect-ratio: unset;
        height: 40vh;
        justify-content: center;
    }

    .s-parallax__image img {
        margin: unset;
    }

    .s-parallax__item {
        min-height: 55vh;
        padding: 5rem 5%;
    }
}