.video-background {
    position: relative;
    width: 100%;
    height: 90vh; /* Ocupa toda la altura de la pantalla */
    overflow: hidden;
}
.video-background video {
    position: relative;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 232%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}  



  @media only screen and (min-width: 992px) {

    .video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover; /* Elimina bordes negros */
}

}