.board.grid {
    background-image:
        repeating-linear-gradient(rgba(29, 210, 255, 0.6) 0 1px, transparent 1px 100%),
        repeating-linear-gradient(90deg, rgba(29, 210, 255, 0.6) 0 1px, transparent 1px 100%);
    background-size: 40px 40px;
}

.board.grid.dark {
    background-image:
        repeating-linear-gradient(rgba(255, 255, 0, 0.3) 0 1px, transparent 1px 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 0, 0.3) 0 1px, transparent 1px 100%);
    background-size: 40px 40px;
}

.board .controls {
    z-index: 1;
}

.board .clr-field {
    border: groove;
}

.board .clr-field button {
    width: 100%;
    height: 100%;
}

.board .w-full {
    width: 100%;
}

.board .h-full {
    height: 100%;
}

.board.bg-white {
    background-color: white;
}

.board.bg-black {
    background-color: black;
}

.board .bg-transparent {
    background-color: transparent;
}

.board .flex {
    display: flex;
}

.board .hidden {
    display: none !important;
}

.board .swatch {
    border: 2px solid black;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.board .absolute {
    position: absolute;
}

.board .relative {
    position: relative;
}

.board .right-0 {
    right: 0;
}

.board .top-0 {
    top: 0;
}

.board .top-full {
    top: 100%;
}

.board .justify-center {
    justify-content: center;
}

.board .select-none {
    user-select: none;
}

.board .swatchWrapper {
    position: absolute;
    z-index: 1;
}

.board {
    width: 100%;
    height: 100%;
    position: relative;
}

.board .toolbar {
    display: flex;
    position: absolute;
    z-index: 1;
    justify-content: space-evenly;
    background-color: transparent;
    width: 100%;
    left: 50%;
    transform: translate(-50%, 0%);
    flex-direction: row;
}

.board .btn-active {
    background-color: lightgoldenrodyellow;
}

.board .border-2 {
    border-width: 2px;
}

.board .modal {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.board .modal-box {
    background-color: white;
    padding: 1em;
    border-radius: 0.5em;
    font-size: 2em;
}

.board .modal .buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 5px;
}

.board h3 {
    padding: 0px;
    margin: 0px;
    margin-bottom: 0.5em;
    font-size: 1em;
}
