﻿body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, 'Microsoft JhengHei', sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    overflow-x: hidden;
}

pre {
    margin-bottom: 0;
}

a {
    text-decoration: none;
}

.dropdown-item {
    cursor: pointer;
}

.item-title {
    font-size: 1.75rem;
    text-align: center;
}

.item-name {
    font-size: 1.25rem;
}

.code-region {
    overflow-x: auto;
}

.col > hr:last-child {
    display: none;
}

#flex-preview-outer, #flex-css-outer,
#color-css-outer {
    border: 1px lightgray solid;
    padding: 5px;
    border-radius: 3px;
    height: 100%;
}

#flex-preview {
    display: flex;
    height: 350px;
    overflow: hidden;
}

    #flex-preview div {
        min-height: 100px;
        min-width: 100px;
        font-size: 36px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        #flex-preview div:nth-child(2n+1) {
            background-color: rgba(34, 139, 34, 0.6);
        }

        #flex-preview div:nth-child(2n) {
            background-color: rgba(30, 144, 255, 0.5);
        }

#color-picker-outer {
    width: auto;
    flex: 0 0 auto;
    overflow:auto;
}

#color-picker {
    text-align: center;
    min-width: 335px;
}

.color-picker .colorpicker-saturation {
    width: 256px;
    height: 256px;
}

.color-picker .colorpicker-hue,
.color-picker .colorpicker-alpha {
    width: 30px;
    height: 256px;
    margin-bottom: 0;
}

.color-picker .colorpicker-color,
.color-picker .colorpicker-color div {
    display: none;
}


.award {
    display: flex;
    font-family: Consolas, monospace;
    color: gray;
}

.amount {
    text-align: right;
    width: 7em;
}

    .amount.maybe {
        color: blue;
    }

    .amount.bingo {
        color: red;
        font-weight: bold;
    }

.A .A,
.B .B,
.C .C,
.D .D,
.E .E,
.F .F,
.G .G,
.H .H,
.I .I,
.J .J,
.K .K,
.L .L,
.M .M,
.N .N,
.O .O,
.P .P,
.Q .Q,
.R .R,
.S .S,
.T .T,
.U .U,
.V .V,
.W .W,
.X .X,
.Y .Y,
.Z .Z {
    color: orange;
}

#charity {
    display: none;
    color: red;
    font-weight: bold;
    font-size: large;
}

#time-result,
#ip-result {
    font-family: Consolas, 'Microsoft JhengHei', monospace;
    display: grid;
    gap: 0.5em;
    grid-template-columns: 120px 1fr;
}