* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

body, html {
    height: 100%;
    font-family: Arial, sans-serif;
}

.video-background, .image-background {
    position: relative;
    overflow: hidden;
    border: 2px solid green;
}
.video-background, .content1 { height: 100vh;}
.image-background, .content { height: 21.99vh;}

#bg-video, #bg-image  {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.content, .content1 {
    position: relative;
    z-index: 1;
    color: #fff;
    border: blue 1px solid;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for readability */
}

h1 {
    font-size: 3em;
}

p {
    font-size: 1.5em;
}

