body {
    background-color: black;
    background-image: url(./Static/x4d_bg_loop2.gif);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    min-height: 100vh;
    overflow: hidden;
}

@font-face {
  font-family: eurostile-bold;
  src: url(./Static/Fonts/eurostile-bold-webfont.woff2) format("woff2"),
}

@font-face {
    font-family: ebgaramond12-regular;
    src: url(./Static/Fonts/ebgaramond12-regular-webfont.woff2) format("woff2"),
}

@font-face {
    font-family: ebgaramond12-italic;
    src: url(./Static/Fonts/ebgaramond12-italic-webfont.woff2) format("woff2"),
}

h1 {
    color: limegreen;
    font-size: 2rem;
    font-family: eurostile-bold;
}

p {
    color: white;
    font-size: 1.5rem;
    font-family: ebgaramond12-regular, serif;
}

em {
    font-family: ebgaramond12-italic;
    vertical-align: baseline;
}

a {
    color: limegreen;
    font-family: ebgaramond12-italic;
    text-decoration: none;
}

a:hover {
    color: gray;
    text-decoration: underline;
}

nav {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 10px;
    color: white;
    margin: 0 1rem 0 1rem;
}

main {
    display: grid;
    grid-template-columns: repeat(1, 40vw);
    gap: 2rem;
    color: white;
    margin: 30vh 1rem 0 1rem;
}

footer {
    color: gray;
    font-family: ebgaramond12-regular, serif;
    margin: 5rem 1rem 1rem 1rem;
}

ul {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 10px;
    list-style-type: none;
}

li {
    color: white;
    font-family: eurostile-bold;
    padding: 10px;

}

.highlight {
    color: limegreen;
}

@media (max-width: 1200px) {
    body {
        overflow: auto;
    }

    h1 {
        font-size: 1.4rem;
    }

    p {
        font-size: 1.1rem;
    }

    nav {
        grid-template-columns: repeat(2, auto);
    }
    main {
        grid-template-columns: repeat(1, 40vw);
        max-width: 70vw;
    }
    ul {
        grid-template-columns: repeat(1, auto);
    }
}

@media (max-width: 600px) {
    body {
        overflow: auto;
    }
    
    h1 {
        font-size: 1.4rem;
    }

    p {
        font-size: 1rem;
    }

    nav {
        grid-template-columns: repeat(2, auto);
    }
    main {
        grid-template-columns: repeat(1, auto);
        max-width: 100vw;
    }
    ul {
        grid-template-columns: repeat(1, auto);
    }
}

