body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bs-dark);
    color: var(--bs-light);
    touch-action: manipulation;
    min-height: 1000px;
}

h1 {
    font-weight: 700;
}

textarea {
    border-style: none;
    border-color: Transparent;
    overflow: auto;
    resize: none;
    font-family: 'Roboto Mono', monospace;
    font-size: 1rem;
}

#outputTable td {
    font-family: 'Roboto Mono', monospace;
}

.top-nav-button,
.accordion-button {
    font-size: 1.5rem;
}

.wrapper {
    display: grid;
    grid-template-columns: 100px repeat(5, 50px);
    grid-auto-rows: 50px;
    grid-gap: 5px 5px;
    justify-content: center;
}

.tile {
    font-family: 'Roboto Mono', monospace;
    border: 2px solid;
    padding: 5px;
    position: relative;
    cursor: default;
}

.tile:focus {
    outline: none;
}

.tile:hover {
    border-width: 3px;
}

.selected-tile {
    border-width: 4px !important;
}

.c-tile {
    border-color: var(--bs-success);
    /* border-color: #75b798; */
    /* background: #0a3622;*/
    /* background: #051b11; */
}

.m-tile {
    border-color: var(--bs-warning);
    
    /* border-color: #ffda6a; */
}

.i-tile {
    border-color: var(--bs-danger);
    /* border-color: #ea868f; */
}

.tile p {
    margin: 0;
    line-height: 85%;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tile#x0_y2 {
    grid-column-start: 2;
    grid-column-end: 7;
}

.row-label {
    font-weight: 500;
    position: relative;
}

.row-label p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FBFBFB'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}

.btn-close {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FBFBFB'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") !important;
}

#about {
    position: fixed;
    bottom: 10px;
    right: 10px;
    border: none;
}

.strategy-letters {
    font-weight: bold;
    font-family: 'Roboto Mono', monospace;
    font-size: x-large;
}

.inline {
    width: 14px;
    height: 14px;
    border: 2px solid;
    display: inline-flex;
}