/*
 * Copyright (C) 2026  Encelade SRL
 * Copyright (C) 2026  elephantchess.io
 * Copyright (C) 2026  Benoît Vleminckx (benckx)
 *
 * 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/>.
 */

.piece-rules {
    display: flex;
    flex-flow: column;
    width: 100%;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
}

.piece-row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-flow: row;
    margin-bottom: 30px;
}

.piece-row .explanation {
    width: 30%;
    padding-right: 20px;
}

.piece-row .board {
    width: 70%;
}

#board-setup-outer-container {
    padding: 25px;
    display: flex;
    justify-content: center;
    height: 700px;
}

#board-setup-outer-container .board-container-7k {
    height: 100%;
}

#turn-to-play-box {
    margin-top: 10px;
    height: 22px;
}

#turn-to-play-box .kingdom-color-indicator {
    margin-bottom: 2px;
}

@media (max-width: 1000px) {
    .piece-row {
        flex-flow: column;
    }

    .piece-row .explanation,
    .piece-row .board,
    .piece-rules {
        width: 100%;
    }

    .piece-row,
    .piece-rules {
        margin-bottom: 60px;
    }

    .piece-row .explanation {
        padding-left: 0;
    }

    #board-setup-outer-container {
        height: 800px;
    }
}
