@import "../../bootstrap/variables";

@keyframes up-down-hybrid-information-section-4-images-text-overlay-image-animation {
    0%, 100% {
        transform: translateY(8px);
    }
    50% {
        transform: translateY(-24px);
    }
}

@keyframes left-right-hybrid-information-section-4-images-text-overlay-image-animation {
    0%, 100% {
        transform: translateX(8px);
    }
    50% {
        transform: translateX(-24px);
    }
}


.hybrid-information-section-4-images-text-section {
    width: 100%;


    &__main-image {
        width: 100%;
        height: 576px;

    }

    &__overlay-image-1 {
        position: absolute;
        top: 60px;
        left: -48px;
        width: 160px;
        height: 160px;
        z-index: 2;
        animation: left-right-hybrid-information-section-4-images-text-overlay-image-animation 4s ease-in-out infinite;

        .rtl & {
            left: auto;
            right: -48px;
        }
    }

    &__overlay-image-2 {
        position: absolute;
        bottom: 28px;
        right: -48px;
        width: 160px;
        height: 160px;
        z-index: 2;
        animation: up-down-hybrid-information-section-4-images-text-overlay-image-animation 4s ease-in-out infinite;

        .rtl & {
            right: auto;
            left: -48px;
        }
    }

    &__revolver-image {
        position: absolute;
        top: 100px;
        right: -66px;
        width: 132px;
        height: 132px;
        z-index: 2;
        animation: rotate-animation 12s infinite linear;

        &, & img {
            border-radius: 50%;
        }

        img {
            fill: rgba(255, 255, 255, 0.20);
            backdrop-filter: blur(4px);
        }

        .rtl & {
            right: auto;
            left: -66px;
        }
    }


    &__statistic-item {

        .line {
            width: 2px;
            height: 20px;
            background-color: var(--primary);
        }
    }

    @media (max-width: $screen-sm-max) {
        &__main-image {
            height: 400px;
        }

        &__overlay-image-1 {
            left: -24px;
            width: 80px;
            height: 80px;

            .rtl & {
                left: auto;
                right: -24px;
            }
        }

        &__overlay-image-2 {
            right: -24px;
            width: 80px;
            height: 80px;

            .rtl & {
                right: auto;
                left: -24px;
            }
        }

        &__revolver-image {
            right: -24px;
            width: 80px;
            height: 80px;

            .rtl & {
                right: auto;
                left: -24px;
            }
        }
    }
}

