/*
 * SPDX-FileCopyrightText: 2026 blinry <mail@blinry.org>
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 */

:root {
    font-family: "Fira Sans";
}

h1 {
    font-size: 800%;
    margin: 0;
    margin-bottom: -0.3em;
    font-weight: normal;
    letter-spacing: -0.05em;

    em {
        font-family: "Beau Rivage";
        font-weight: normal;
        font-size: 120%;
        margin-right: 0.2em;
        letter-spacing: 0;
    }
}

h2 {
    font-weight: normal;
    margin-left: 1.5em;
}

p {
    margin: 3em 0;
    line-height: 2em;
}

#legend {
    list-style-type: none;
    display: flex;
    padding: 0;
    margin-bottom: 3em;

    li {
        margin-right: 3em;
        margin-bottom: 1em;
    }
}

thead {
    font-weight: bold;

    tr {
        text-wrap: nowrap;
    }

    td {
        padding-bottom: 1em;
    }
}

tr {
    padding: 20px;
}

.nr {
    font-size: 400%;
    font-weight: bold;
    padding-right: 20px;
}

.day {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-end;
}

.swim,
.rest,
.scale {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    font-size: 15px;
}

.swim {
    background: blue;
    height: 30px;
    color: white;
    line-height: 30px;
}

.rest {
    background: lightgrey;
    height: 30px;
    color: black;
    line-height: 30px;
}

thead {
    .scale:nth-child(odd) {
        background: #eee;
    }
    .scale:nth-child(even) {
        background: #ccc;
    }
}

@media screen and (max-width: 700px) {
    h1 {
        font-size: 300%;
    }

    h2 {
        font-size: 80%;
    }

    #legend {
        flex-direction: column;
    }
}
