/* For Firefox, one might want to add selector HTML too, but that yields problems combined with STRICT */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: #fff;
}

body, p {
    font-family: "Lucida Sans Unicode", "Lucida Sans", verdana, arial, helvetica, serif;
    color: #888;
}

#movie {
    /*height: 100%;*/
    /*width: 100%;*/
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

#msg {
    position: absolute;
    /*z-index: 9;*/
    bottom: 10px;
    left: 0;
    width: 100%;
    padding: 0 0 0 4%;
    text-align: left;
    font-size: 5vw; /* Responsive based on viewport width */
    font-weight: bold;
    opacity: 0.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#msg:hover, a, a:visited {
    color: white;
    opacity: 1;
    text-decoration: none;
}

video {
    /* Not supported in IE, oh well. */
    object-fit: cover;
    /* See object-fit-videos.js */
    font-family: 'object-fit: cover;';
    height: 100%;
    width: 100%;
}

/* Media query for smaller screens */
@media screen and (max-width: 768px) {
    #msg {
        font-size: 4vw; /* Slightly smaller font on smaller screens */
    }
}

/* Media query for very small screens */
@media screen and (max-width: 480px) {
    #msg {
        font-size: 3.5vw; /* Even smaller font on very small screens */
        /*width: 90%; !* Allow more horizontal space *!*/
    }
}
