/*
    Copyright (C) 2025 G J Barnard

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see https://www.gnu.org/licenses/.
*/

:root {
  --dr-main-colour: #009640;
  --dr-secondary-colour: #E30613;
}

@font-face {
    font-family: 'railwayregular';
    src: url('Railway-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'railwayregular';
}

.bingo {
    border: 4px solid var(--dr-main-colour);
}

.bingo .saying {
    border: 2px dotted var(--dr-main-colour);
}

h1,
h2 {
    color: var(--dr-main-colour);
    text-align: center;
}

.container {
    box-sizing: border-box;
}

.saying {
    align-items: center;
    cursor: default;
    display: flex;
    font-size: 1.5rem;
    justify-content: center;
    min-height: 100px;
    text-align: center;
    user-select: none;
}

.hidden {
    display: none;
}

.said {
    background-image: url("said.png");
    background-position: center;
    background-repeat: no-repeat;
    color: var(--dr-secondary-colour);
}

#bingo,
#count-container.all-said {
    color: var(--dr-secondary-colour);
}

@media (prefers-color-scheme: dark) {
    /* CSS that applies to dark mode, only available on newer browsers */
    body {
        background: #0E0E0E;
        color: #FFFFFF;
    }

    .said {
        /* Supported on modern browsers to darken the background image */
        background-color: #0E0E0E60;
        background-blend-mode: darken;
    }
}