body {
    background-color: #000000;
    color: #555;
    font-size: 1.5rem;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    display: grid;
    grid-template-rows: 1fr auto;
    /* Ensure footer is always at the bottom */
    height: 100%;
}

@font-face {
    font-family: 'BHN Cinema';
    src: url("/static/asset/fonts/BHN_CINEMA.TTF") format("truetype");
}

/* ========================================= Navigator panel ========================================= */
.navigator {
    display: flex;
    font-size: 1.5rem;
    position: sticky;
    top: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    z-index: 999;
}

.nav-item-big {
    font-family: 'Crimson Text';
    font-size: 1rem;
    font-weight: 200;
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
    color: #fff;
    border: 1px solid transparent;
    text-decoration: none;
}

.nav-item {
    font-family: 'Crimson Text';
    font-size: 1rem;
    font-weight: 200;
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
    color: #fff;
    border: 1px solid transparent;
    text-decoration: none;
}

.nav-item:hover {
    filter: blur(1px);
}

.nav-header {
    padding: 1rem;
    font-family: 'BHN Cinema';
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
    margin-right: auto;
    align-content: center;
}

.nav-header:hover {
    filter: blur(1px);
}

/* ========================================= Footer and Header ========================================= */
footer {
    font-family: "Crimson Text", serif;
    font-weight: 800;
    font-style: italic;
    border-radius: 0.25rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    padding-top: 0.5rem;
    padding-bottom: 1rem;
    text-align: center;
    vertical-align: middle;
    color: gray;
    bottom: 0;
    z-index: 0;
}

.com-footer:hover {
    background: linear-gradient(45deg, #1ca591, #fff, #1ca591);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientHover 2s infinite linear;
    z-index: 99;
}

.header {
    width: 95%;
    font-family: "BHN Cinema";
    font-size: 7rem;
    display: flex;
    height: 60vh;
    margin: auto;
    text-decoration: none;
    color: #fff;
    padding: 1rem 1rem;
    text-align: center;
    background: transparent;
    filter: grayscale(50%);
    background-size: 75vh 30vh;
    background-repeat: no-repeat;
    background-position: center;
}

/* ========================================= General actions ========================================= */
::placeholder {
    color: white;
    opacity: 1;
}

*::selection {
    color: #1ca591;
    text-shadow: 0px 0px 5px rgba(255, 255, 255, 1.5);
    background-color: transparent;
}


* {
    outline: none;
    border-width: 0;
}

*:focus {
    outline: none;
}

/* ========================================= Video settings ========================================= */
#video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95vw;
    height: 95vh;
    position: fixed;
    overflow: hidden;
    z-index: -1;
    padding-bottom: 0;
}

#background-video {
    width: 60%;
    height: auto;
    max-height: 70%;
    padding-bottom: 10%;
    z-index: -1;
    filter: grayscale(50%);
}


/* ===== Style Changes on Smaller Screen ===== */

/* ===== Tablet Styles ===== */
@media screen and (min-width: 666px) and (max-width:880px) {
    .nav-header {
        padding: 2rem;
        font-size: 4vw;
        margin: auto;
    }

    .nav-item-big {
        display: grid;
        flex: auto;
        grid-template-columns: 50% 50%;

    }

    .nav-item {
        padding: 0.2rem;
    }

    .header {
        font-size: 5rem;
        height: 50vh;
        background-size: contain;
        background-image: url(/static/asset/images/other/homebackground.jpg);

    }

    #video-container {
        padding-bottom: 10%;
    }

    #background-video {
        display: none;
    }

}

/* ===== Mobile Styles ===== */
@media screen and (max-width: 666px) {
    .navigator {
        font-size: 3rem;
    }

    .nav-item {
        padding: 0.2rem;
    }

    .nav-header {
        padding: 1rem;
        font-size: 5vw;
        margin: auto;
    }

    .nav-item-big {
        display: grid;
        text-align: right;
    }

    .header {
        font-size: 3rem;
        padding: 0rem;
        background-size: 85%;
        width: 98%;
        background-image: url(/static/asset/images/other/homebackground.jpg);
    }

    footer {
        font-size: 0.8rem;
        padding-top: 0rem;
        padding-bottom: 1rem;
    }

    #video-container {
        padding-bottom: 10%;
    }

    #background-video {
        display: none;
    }
}