/* The Frizbeeness page (frizbeeness/frizbeeness.html): a plain white page that flows top to bottom */

html, body {
    background-color: white;
    color: black;
    margin: 0;
}

.gameArea {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px 80px 24px;
    font-family: Arial;
    font-size: 19px;
    line-height: 1.45;
}

    .gameArea h2 {
        font-size: 32px;
        margin: 48px 0 12px 0;
    }

    .gameArea h3 {
        font-size: 24px;
        margin: 26px 0 8px 0;
    }

    .gameArea p {
        margin: 8px 0;
    }

    .gameArea ul {
        margin: 8px 0;
        padding-left: 26px;
    }

    .gameArea li {
        margin: 5px 0;
    }

.gameTitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

    .gameTitle img {
        width: 120px;
    }

    .gameTitle h1 {
        font-size: 72px;
        margin: 0;
    }

/* Above the downloads, so visitors know they can try the game before buying */
.freeDemo {
    text-align: center;
    margin-top: 28px;
}

    .freeBadge {
        display: inline-block;
        margin-right: 6px;
        padding: 2px 10px;
        border-radius: 999px;
        background-color: #269240;
        color: white;
        font-weight: bold;
        font-size: 15px;
        text-transform: uppercase;
    }

/* Downloads stacked top to bottom, with the payment pill beside them */
.downloadRow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 28px;
}

.downloadColumn {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.osButton {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 250px;
    padding: 12px 18px;
    box-sizing: border-box;
    border-radius: 8px;
    text-decoration: none;
    font-family: Arial;
}

    .osButton svg {
        width: 34px;
        height: 34px;
        flex-shrink: 0;
        fill: currentColor;
    }

    .osButton span {
        display: flex;
        flex-direction: column;
        font-size: 13px;
    }

    .osButton b {
        font-size: 20px;
    }

    .osButton:hover {
        filter: brightness(1.12);
    }

    .osButton:active {
        transform: scale(0.96);
    }

.windowsButton {
    background-color: #0078d4;
    color: white;
}

.macButton {
    background-color: black;
    color: white;
}

.linuxButton {
    background-color: #fcc624;
    color: black;
}

/* Buy button (PayPal and Google Pay checkout opens under it) */
.payPill {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    border: none;
    border-radius: 999px;
    padding: 8px 20px;
    font-family: Arial;
    font-weight: bold;
    font-size: 16px;
    background-color: #269240;
    color: white;
}

    .payPill small {
        font-weight: normal;
    }

/* The buy pill with what it unlocks underneath */
.buyColumn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 220px;
    text-align: center;
}

    .buyColumn small {
        font-size: 15px;
        color: #555;
    }

/* Shown instead of the buy button once the game is bought */
.ownedMessage {
    font-weight: bold;
    font-size: 18px;
    color: #269240;
}

.checkout {
    max-width: 400px;
    margin: 24px auto 0 auto;
    text-align: center;
}

    #googlePayButton {
        height: 48px;
        margin: 12px 0;
    }

        #googlePayButton:empty {
            display: none;
        }

.checkoutMessage {
    text-align: center;
    font-weight: bold;
}

    .checkoutMessage:empty {
        display: none;
    }

.downloadNote {
    text-align: center;
    margin-top: 20px;
}

code, .keyCap {
    font-family: "Courier New", monospace;
    font-weight: bold;
}

.command {
    display: inline-block;
    background-color: #222;
    color: #7df07d;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 18px;
    user-select: all;
    overflow-wrap: anywhere; /* the flatpak install URL is wider than a phone */
}

/* Screenshots */
.shot {
    margin: 16px 0;
    text-align: center;
}

    .shot img {
        width: 640px;
        max-width: 100%;
        border-radius: 6px;
    }

    .shot figcaption {
        font-size: 16px;
        font-style: italic;
        margin-top: 4px;
    }

/* Throw keys laid out the way the frisbee flies on screen */
.keyGrids {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 14px 0;
}

.keyGridBox {
    text-align: center;
    font-weight: bold;
}

.keyGrid {
    display: grid;
    grid-template-columns: repeat(3, 52px);
    grid-template-rows: repeat(3, 52px);
    gap: 6px;
    margin: 8px auto 0 auto;
    width: max-content;
}

.keyCap {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid black;
    border-radius: 6px;
    font-size: 24px;
    background-image: linear-gradient(0deg, #e3e098 0%, #fafa70 100%);
}

.keyMiddle {
    border-radius: 50%;
    border: 2px dashed black;
    margin: 8px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.keyTable {
    border-collapse: collapse;
    margin: 10px 0;
}

    .keyTable th, .keyTable td {
        border: 2px solid black;
        padding: 6px 14px;
        text-align: center;
    }

    .keyTable th {
        background-color: #fafa70;
    }

    .keyTable .arrowCell {
        font-size: 26px;
    }

.credits a {
    color: #1675a4;
}

/* Phones: the full-size logo and title are wider than the screen */
@media (max-width: 600px) {
    .gameTitle {
        gap: 12px;
    }

        .gameTitle img {
            width: 64px;
        }

        .gameTitle h1 {
            font-size: 44px;
        }
}
