.image-text-animation {
    padding-top: var(--padding-top-mobile);
    padding-bottom: var(--padding-bottom-mobile);
}

.image-text-animation__inner {
    display: flex;
    align-items: center;
    gap: 3.1250vw;
    flex-wrap: wrap;
    height: 100%;
    flex-direction: var(--flex-direction);
}

.image-text-animation__image {
    flex: 0 0 50%;
    max-width: 50%;
    transition: all 0.8s;
}

.image-text-animation__content {
    flex: 0 0 50%;
    max-width: calc(50% - 3.1250vw);
    transition: all 0.8s;
}

h2.image-text-animation__title {
    font-size: 28px;
    color: #000000;
    font-family: 'GT America Bold' !important;
}

p.image-text-animation__text {
    margin: 12px 0 0 0;
    line-height: 1.6;
    color: #000;
    font-size: 20px;
}

.image-text-animation__image img {
    width: 100%;
    display: block;
    object-fit: cover;
}

@media(min-width: 769px) {
    .image-text-animation {
        padding-top: var(--padding-top);
        padding-bottom: var(--padding-bottom);
        height: 200vh;
    }

    h2.image-text-animation__title {
        font-size: 2.0833vw;
    }

    p.image-text-animation__text {
        margin: 1.5625vw 0 0 0;
    }

    .image-text-animation__wrapper {
        position: sticky;
        height: 100vh;
        top: 0;
        overflow: hidden;
    }

    .image-text-animation__inner.active .image-text-animation__content {
        transform: translateY(8.8542vw);
    }

    .image-text-animation__inner.active .image-text-animation__image {
        transform: translateY(-8.8542vw);
    }
}

@media(max-width: 768px) {

    .image-text-animation__image,
    .image-text-animation__content {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .image-text-animation__image img {
        height: auto;
    }

    h2.image-text-animation__title {
        text-align: center;
        font-size: 24px;
    }

    p.image-text-animation__text {
        margin: 14px 0 0 0;
        line-height: 1.5;
        font-size: 14px;
        text-align: center;
    }

    p.image-text-animation__text br {
        display: none;
    }

    .image-text-animation__inner {
        gap: 20px;
        flex-direction: column-reverse;
    }
}