/* SPDX-FileCopyrightText: 2026 Richard Guse <bunchberrySoftware@protonmail.com> */
/* SPDX-License-Identifier: GPL-3.0-or-later */
/* This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. */

:root {
    --bg-color-light: #ffffff;
    --bg-color-dark: #000000;
    --text-color-light: #000000;
    --text-color-dark: #ffffff;
}

html * {
    /* font-size: 28px !important; */
    font-size: 28px;
}

button {
    width: auto;
    height: auto;
}

input[type="text"] {
    width: 200px;
}

input[type=submit] {
    width: auto;
    height: auto;
}

div {
    /* border: 2px solid blue; */
    text-align: center;
    margin: 0;
}

.divSection {
    text-align: center;
    margin: 0;
    /* border: 2px solid green; */
    margin-bottom: 20px;
}

.myMainDiv {
    display: inline-block;
    text-align: center;
    padding: 20px;
    border: 2px solid orange;
    margin-bottom: 20px;
}

#timer-display {
    text-align: center;
}

select {
    margin-bottom: 20px;
}
/*option {
    background-color: gray;
}*/

header {
    /* background-color: #f8f9fa; */
    padding: 10px;
    text-align: center;
}

footer {
    padding: 10px;
    text-align: center;
    /*position: fixed;
    left: 0;
    bottom: 0;
    background-color: #222222;
    align-items: center;
    justify-content: space-between;
    width: 100%; */
}

form {
    display: inline-block;
    margin-top: 0px;
    margin-bottom: 0px;
}

input[type="text"], textarea {
    background-color: gray;
}

/*input[type="search"] {
    background-color: gray;
    padding: 5px;
    margin-right: 10px;
}*/

button {
    background-color: gray;
    padding: 5px 10px;
}

/* @media only screen and (max-width: 768px) {
    html {
        font-size: 20px;
    }
} */

/* body {
    background-color: var(--bg-color-light);
    color: var(--text-color-light);
} */

@media (prefers-color-scheme: dark) {
    body {
        background-color: var(--bg-color-dark);
        color: var(--text-color-dark);
    }
}

a:link {
    color: #5198D4; /* blue-ish */
}

a:visited {
    color: #7166A9; /* magenta-ish */
}

a:hover {
    text-decoration: underline; /* Add underline on hover */
}

.header {
    background-color: #222222;
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.footer {
    bottom: 0;
    background-color: #222222;
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.left-align {
    /* display: inline-block; */
    text-align: left;
}

.center-align {
    /* display: inline-block; */
    text-align: center;
    flex: 1;  /* this allows it to take up all remaining space */
}

.right-align {
    /* display: inline-block; */
    text-align: right;
}

th {
    vertical-align: middle;
}

td {
    vertical-align: middle;
}

table {
    /* this makes the table center properly */
    margin: auto;
    /* these two do NOT make the table center properly */
    /* margin: 0 auto; */
    /* margin-left: 2em; */
    vertical-align: middle;
}

.special-cell:hover {
    background:blue;
    color:#fff
}
.special-cell:td {
    background:red;
    border:1px solid #000
}
.special-cell:td a {
    display:block;
    position: relative
}
