
/* Space Golf - Website Stylesheet */

/* Generated with coolors.co */

/* CSS HEX */




:root {
    --background: #23231aff;
    --surface: #322f20ff;
    --border: rgba(169, 140, 86, 1);
    --text: #ffffff;
    --muted: rgba(250, 250, 250, 1);
    --accent: #82acffff;
    --accent-secondary: #edb458ff;

    --carbon-black: #23231aff;
    --charcoal-brown: #322f20ff;
    --olive-bark: #6a5837ff;
    --olive: #988f2aff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0 auto;
    padding: 56px 48px 100px;
    max-width: 1400px;
    min-height: 100vh;

    font-family: "Courier New", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.75;

    color: var(--text);
}

/* Full-page space background */

html {
    min-height: 100%;
    background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)), url("images/starry.gif");
    background-attachment: fixed;
}

/* Main title */

h1 {

    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -1.5px;

    color: #ffffff;

    margin: 0 0 20px;
}

/* Author and introductory paragraphs */

p {
    color: var(--muted);
    margin: 12px 0;
}

strong {
    color: var(--text);
    font-weight: 600;
}

/* Links */

a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

a:hover {
    color: var(--accent-secondary);
    border-bottom-color: currentColor;
}

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 2px;
}

/* Section divider */

hr {
    border: 0;
    height: 1px;

    background: linear-gradient(
        to right,
        var(--accent),
        var(--accent-secondary),
        transparent
    );

    margin: 42px 0;
}

/* Section headings */

h2 {
    color: #f4f6ff;
    font-size: 1.65rem;
    font-weight: 650;
    letter-spacing: -0.5px;

    margin-top: 55px;
    margin-bottom: 20px;
    padding-left: 16px;

    border-left: 3px solid var(--border);
}

/* Screenshot styling */

.screenshot {
    display: block;
    width: 100%;
    height: auto;

    margin: 28px auto 45px;

    border: 1px solid var(--border);
    border-radius: 12px;

    box-shadow:
        0 12px 45px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(91, 113, 220, 0.08);
}

/* Feature lists */

ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 35px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

li {
    position: relative;

    padding: 16px 18px 16px 42px;

    background: rgba(18, 27, 46, 0.8);
    border: 1px solid var(--border);
    border-radius: 9px;

    color: var(--text);
    font-size: 0.95rem;

    transition:
        background 0s,
        border-color 0s,
        transform 0s;
}

li::before {
    content: "";
    position: absolute;

    left: 19px;
    top: 26px;

    width: 7px;
    height: 7px;

    background: var(--accent);
    border-radius: 50%;
}

li:hover {
    background: #1a2640;
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Mobile layout */

@media (max-width: 650px) {
    body {
        padding: 32px 20px 70px;
    }

    h1 {
        letter-spacing: -0.8px;
    }

    h2 {
        font-size: 1.4rem;
        margin-top: 40px;
    }

    ul {
        grid-template-columns: 1fr;
    }

    .screenshot {
        border-radius: 8px;
    }
}