
.about-text-animation{
    display: flex;
    justify-content: center;
    min-height: 126px;
    

}
.about-text-animation::before {
    content: '';
    background-image: var(--mobilefirst-bg-image);
    background-size: 100%;
    background-position: top;
    background-repeat: no-repeat;
    background-color: var(--main-bg-color);
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.5;
}
#about-us-animation-h1 {
    color: #ffffff;
    font-weight: 100;
    line-height: 1.3;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

.rotating-text {
    display: block;
    margin-left: 0;
    color: #ffffff;
    overflow: hidden;
    border-right: 2px solid #ffffff7a;
    white-space: nowrap;
}
.about-us-wrapper {
    background-color:var(--main-bg-color);
    display: flex;
}
.about-us-article-wrapper {
display: flex;
flex-direction: column;
}
.about-us-section{
    display: flex;
    flex-direction: column;
    padding-bottom: 1em;
    align-items: center;
}


@media (min-width: 769px) {
    .about-us-section {
    padding-bottom: 2em;
    min-height: 200px;
    }

    .about-text-animation {
        min-height: 200px;
    }
    .about-text-animation::before{
        background-image: var(--tablet-bg-image);
    }
        
}

@media (min-width: 955px) {
    .about-us-section {
    align-items: flex-start;
    padding-left: 2em;
    }
    #about-us-animation-h1 {
        display: flex;
    }
    .rotating-text {
        display: inline-block;
    }
    .about-text-animation {
        justify-content: flex-start;
        align-items: center;
            padding-left: 2em;
    }
    .about-text-animation::before {
        background-image: var(--desktop-bg-image);
    }
}


@media (min-width: 1200px) {
    #about-us-animation-h1  {
        display: flex;
        font-size: 2rem;

    }

    .rotating-text {
        margin-left: 20px;
    }

    .about-text-animation {
        padding-left: 1em;
    }
    .about-us-section {
        padding-left: 1em;
    }
}

@media (min-width: 1980px) {
        .about-text-animation {
            margin-left: 64%;
                padding-left: 1em;
            }
}