@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');

a {
    color: white;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
}

a:hover {
    background-color: rgba(234, 0, 255, 0.4);
}

body {
    background: black url("lucy.png") no-repeat;
    background-size: cover;
    color: white;
    display: grid;
    font-family: "Space Mono", monospace;
    font-weight: bold;
    grid-template-rows: 1fr auto;
    letter-spacing: 0.08rem;
    margin: 0;
}

body,
html {
    height: 100dvh;
}

footer nav {
    text-align: right;
}

footer nav a {
    font-size: 1.8rem;
    padding: 0 0.5rem 0 2rem;
}

header {
    display: none;
}

iframe {
    border-style: none;
    height: 100%;
    width: 100%;
}

main nav,
.error {
    align-content: center;
    display: grid;
    justify-content: center;
    height: 100%;
}

nav > * {
    background: rgba(0, 0, 0, 0.8);
}

main nav > * {
    width: 12rem;
}

main nav a {
    display: block;
    padding: 0.15rem 1rem 0.15rem 0.5rem;
}

#content {
    width: 100%;
    height: 100%;
}

.bar {
    color: #8ad0ff;
}

.error {
    font-size: 3em;
}

@media only screen and (min-width: 1200px) {
    a {
        font-size: 1.5rem;
    }

    footer nav a {
        font-size: 3rem;
    }

    header {
        background: rgba(0, 0, 0, 0.8);
        box-sizing: border-box;
        display: block;
        font-size: 0.75rem;
        font-weight: 400;
        max-height: 100dvh;
        overflow: hidden;
        padding: 1em;
        position: absolute;
        white-space: pre;
    }

    main nav > * {
        width: 18rem;
    }

    .stats__header {
        border-bottom: 1px solid #ff0088;
        color: #ff0088;
        font-size: 1rem;
        font-weight: 600;
        line-height: 0.8rem;
        margin-bottom: 0.2rem;
        text-transform: uppercase;
    }

    .stats__cpu__core__number,
    .stats__disk__disk__name,
    .stats__gpu__engine__name,
    .stats__gpu__power__gpu__label {
        color: #ff83da;
        font-weight: 600;
    }

    .stats__gpu__power__gpu {
        text-align: right;
    }

    .stats span {
        margin-right: 0.5rem;
    }

    .stats > * {
        margin-bottom: 1rem;
    }
}
