


.hero-section-vehicle {
    position: relative;
    height: 50dvh;

    background:
        linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.4)),
        var(--hero-img) center / cover no-repeat;
}

.hero-content-vehicle {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    color: white;
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}


#hero-healine-vehicle {
    color: #b00020;
    display: inline-block;
    color: white;
    animation: fillText 10s ease-in-out infinite;

}

.hero-content-vehicle h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content-vehicle p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}
