@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

:root {
    /* +
    *Variable colours
    + */
    --bg-one: rgb(53, 53, 53);
    --bg-two: rgb(32, 32, 32);

    --border-one: rgb(12, 12, 12);
    --border-two: rgb(155, 5, 255);

    --font-one: rgb(255, 255, 255);

    --g1: rgb(174, 0, 255);
    --g2: rgb(47, 0, 255);

    /* +
    *Typography
    +  */
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 10px;
}

body {
    animation: background-pan 5s linear infinite;
    margin: 0;
    padding: 0;
    background-color: var(--bg-one);
    color: var(--font-one);
    font-size: 2rem;
    min-height: 100dvh;
    background: linear-gradient(
        to right,
        var(--g1),
        var(--g2),
        var(--g1)
    );
    background-size: 200%;
}

@keyframes background-pan {
    from {
        background-position: 0% center;
    }

    to {
        background-position: -200% center;
    }
}

#tiles {
    position: fixed;
    height: 100vh;
    width: 100vw;

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Modify this line */
    grid-template-rows: repeat(auto-fill, minmax(100px, 1fr)); /* And this line */
    z-index: 5;
}

.tile {
    position: relative;
}

.tile::before {
    background-color: var(--bg-one);
    content: "";
    position: absolute;
    inset: 0.25rem;
}

.Content {
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
}

th h1 {
    font-size: 4rem;
    font-weight: 500;
    margin: 0;
}

th h2 {
    font-size: 3rem;
    font-weight: 500;
    margin: 0;
    text-decoration: underline;
}

table {
    border: 1px solid var(--border-one);
    border-collapse: collapse;
    z-index: 6;
    background-color: var(--bg-one);
    margin: 10.5rem 0;
}

th, td {
    border: 0.1rem solid var(--border-one);
    padding: 1.5rem;
    text-align: left;
    max-width: 30rem;
}


th#title {
    background-color: var(--bg-two);
}