/* @font-face {
    font-family: Jura;
    src: url(../assets/fonts/jura.woff2);
}

@font-face {
    font-family: Ubuntu;
    src: url(../assets/fonts/Ubuntu-Regular.ttf);
}
    */

html {
    background-color: rgb(0, 0, 0);
    min-height: 100%;
    /* make sure it is at least as tall as the viewport */
    position: relative;
}

body {
    font-family: 'Ubuntu', sans-serif;
    margin: 0;
    height: 100%;
    /* force the BODY element to match the height of the HTML element */
}

.item1 {
    grid-area: header;
    color: white;
    z-index: 100 !important;
}

.item2 {
    grid-area: main;
}

.item3 {
    grid-area: right;
}

.item4 {
    grid-area: footer;
}

.grid-container {
    display: grid;
    grid-template-areas: 'header header header header header header' 'left main main main main right' 'footer footer footer footer footer footer';
    grid-gap: 20px;
    /* background-color: #2196F3; */
    padding: 0;
}

.grid-container>div.item1 {
    font-family: 'Jura', sans-serif !important;
    background-color: rgb(0, 0, 0);
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 1);
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
}

.grid-container>div.item2 {
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0px 0px 2.5px 2.5px rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 20px;
}

.pageTitle {
    font-size: 2.5em !important;
}

.nav_link {
    color: white;
    text-decoration: none;
    font-size: 24px;
    margin: 15px;
    text-decoration: underline;
}

.nav_link:hover {
    text-decoration-style: wavy;
    /* text-decoration-color: white; */
    color: rgb(160, 160, 160);
    -webkit-transition: 0.25s;
    transition: 0.25s;
}

#top-image {
    background: url(https://static.web-backgrounds.net/uploads/2010/11/Preview-4.jpg);
    backdrop-filter: blur(3px);
    filter: blur(3px);
    -webkit-filter: blur(3px);
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background-position: center;
    background-size: cover;
    /* Center the image */
    /* background-size: calc(100%, 50px); */
    z-index: -10000000;
}


/* Background Blur using backdrop-filter */


/** Now for the responsive Nav Bar supplied by https://css-tricks.com/convert-menu-to-dropdown/ (I understand the code, and have used it on several other occasions on private projects.). This goes to the file 'dropdown.js' too. **/

nav select {
    outline: none;
    display: none;
}

@media (max-width: 960px) {
    .pageTitle {
        font-size: 2em !important;
    }
    nav .pcLinks {
        display: none;
    }
    nav select {
        display: inline-block;
    }
    #top-image {
        /* background: unset; */
        display: none;
    }
    html {
        background: url("https://static.web-backgrounds.net/uploads/2010/11/Preview-4.jpg");
        background-color: #000000;
        height: 500px;
        background-position: center;
        background-repeat: repeat;
        background-size: cover;
    }
    select {
        width: 70%;
        border-radius: 15px;
        text-align-last: center;
    }
}