@import url('https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap');

html,
body {
    background-color: #201f1f;
    font-family: "Noto Sans", sans-serif;
    color: white;
}

nav {
    color: white;
    background-color: #0c0c0c;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
}

nav a {
    color: white;
    display: inline;
    font-family: "Noto Sans", sans-serif;
    padding: .8em 1em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
}

nav a:hover {
    font-size: 150%;
    background-color: black;
}

table {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}

h2 {
    font-size: 130%;
    text-align: center;
}

.info {
    display: block;
    width: 100%;
    margin-top: 15vh;
    background-color: var(--background);
    border-radius: 3vw;
    text-align: center;
    display: flex;

}

footer {
    padding: 10px;
    text-align: center;
    margin-top: 45vh;
    padding-bottom: 2vh;
}


@media screen and (max-width: 600px) {

    /* Mobile optimisation*/
    body {
        font-size: 14px;
        line-height: 1.5;
        margin: 0;
        padding: 10px;
    }

    p {
        font-size: 16px;
        text-align: center;
    }

    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        position: static;
    }

    nav a {
        font-size: 16px;
        padding: 8px;
        text-align: center;
        width: 100%;
        /* Full width for easier tapping */
        box-sizing: border-box;
    }

    footer {
        font-size: 14px;
        text-align: center;
        padding: 20px 0;
        padding-top: 10.5vh;
    }
}
