:root {
    --hero-color: white; 
}

.hero {
    position: relative;
    overflow: hidden;
    height: 70vh;   
    color: var(--hero-color);    
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
}

.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -35%); 
    z-index: -1;
}

@media (max-width: 1024px) {
    .hero {
        height: 20vh;   
    }

    .hero video {
        width: 100%;
       
        
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 50%;
        min-height: 50%;
        transform: translate(-50%, -50%); 
        z-index: -1;
    }
}
