html,
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a,
.btn-link {
    color: #006bb7;
}

.btn-info {
    --bs-btn-bg: #ffc965;
    --bs-btn-border-color: #ae8840;
    --bs-btn-hover-bg: #ae8840;
    --bs-btn-hover-border-color: #916c26;
    --bs-btn-active-bg: #fce3b4
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}


.form-check-input {
    --bs-form-check-bg: #ffc965;
    --bs-btn-border-color: #ae8840;
    border: #ae8840;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.table {
    display: table;
    width: 100%;
}

.table-cell {
    display: table-cell;
    max-width: 0px;
    border: 1px solid gray;
}

.table-cell:hover {
    background-color: #f2f2f2;
}

.answerModal {
    top: 150px;
}

.answerContent {
    padding: 10px 0;
    background-color: white;
    border-radius: 10px;
}

.answerInput {
    padding: 0 12px;
    width: 100%;
    height: 30px;
    border-width: 0;
    border-radius: 10px;
}

.answerInput:focus {
    outline: none;
}

.guessOption {
    display: grid;
    grid-template-columns: auto 70px;
    padding: 3px 12px;
    margin: 0;
    height: 40px;
    line-height: 34px;
    color: black;
    background-color: white;
}

.guessOption:hover {
    background-color: #F0F0F0;
}

.wrong {
    color: #dd0000;
}

.recentlyWrong {
    animation-name: shake;
    animation-duration: 0.25s;
}

@keyframes shake {
    0% { transform: translateX(0) }
    35% { transform: translateX(-6px) }
    85% { transform: translateX(3px) }
    100% { transform: translateX(0) }
}

.guessOptionButton {
    padding: 0;
    text-align: center;
    max-height: 34px;
    line-height: 34px;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
    text-align: start;
}


.top-container {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #2a0204;
    height: 100vh;
}

.three-column-layout {
    display: flex;
    background-color: #2a0204;
    justify-content: center;
    flex: 1;
}

.sidebar {
    width: 2vw;
    min-height: 500px;
    position: sticky;
    top: 0;
}

.panel {
    flex-direction: column;
}

.panel,
.row {
    display: flex;
    gap: 8px;
}

.row {
    align-items: stretch;
    flex-direction: row;
    min-height: var(--cell-width);
}

.row:first-child {
    height: -moz-max-content;
    height: max-content;
    margin-bottom: 8px;
    margin-right: 0;
}

.prompt {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #dfdfdf;
    font-size: 14px;
    background-color: #723034;
    min-height: 60px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 16px;
    cursor: pointer;
    width: var(--cell-width);
}

.prompt:hover {
    background-color: #b1474c;
}

.box {
    width: var(--cell-width);
    height: 100%;
    background-color: rgba(0, 0, 0, .3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: #dfdfdf;
    cursor: pointer;
    transition: background-color .25s;
    border-radius: 12px;
    box-sizing: border-box;
    padding: 6px;
}

.box:hover {
    background-color: rgba(54, 54, 54, 0.3)
}



.modal-box {
    height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #dfdfdf;
    background-color: #3a31b1;
    transition: background-color .25s;
    border-radius: 12px;
    overflow-y: auto;
    padding-right: 5px;
    flex-grow: 0;
    flex-shrink: 0;
    margin: 1px;
}

.modal-box ul {
    cursor: pointer;
}

.modal-box-right {
    height: 100%;
    padding: 6px;
    background-color: #3a31b1;
    color: #dfdfdf;
    transition: background-color .25s;
    border-radius: 12px;
    overflow-y: auto;
    flex-grow: 100;
    margin-left: 10px;
}

.modal-box-right a {
    color: #ffc965
}

.modal-content {
    height: fit-content;
    background-color: #1b1385;
}

.title {
    width: 100%;
    padding-inline: 32vw;
    padding-bottom: 25px;
    padding-top: 25px;
}

.modal-title {
    color: white
}

.invisible {
    width: var(--cell-width);
}

.column-item {
    padding: 8px;
}

.card {
    text-align: center;
    color: #fff;
    background-color: #8d4a4e;
}

.howtoplay:hover {
    background-color: #c45b61;
    cursor: pointer;
}

.modal-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.howtoplayModal {
    color: white;

}

.howtoplayHeader {
    background-color: #1b1385;

}

.howtoplayBody {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.howtoplayContent {
    background-color: #2a21b1;
}

.tonycanollisBox {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #dfdfdf;
    background-color: #3a31b1;
    transition: background-color .25s;
    border-radius: 12px;
    overflow-y: auto;
    padding-right: 5px;
    flex-grow: 0;
    flex-shrink: 0;
    margin: 1px;
    padding-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
}


@media screen and (min-width: 1200px) {
    .board {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        justify-content: center;
        margin-right: auto;
        margin-left: auto;
        gap: 12px;
    }

    :root {
        --cell-width: 10vw;
    }

    .modal-body {
        display: flex;
        flex-direction: row;
        background-color: #2a21b1;
    }
}

@media screen and (max-width: 1200px) {
    .board {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        margin-right: auto;
        margin-left: auto;
        width: 85%;
        gap: 12px;
    }

    :root {
        --cell-width: 20vw;
    }

    .modal-body {
        display: flex;
        flex-direction: column;
        background-color: #2a21b1;
        max-height: 200%;
    }

    .modal-box-right {
        margin-left: 0px;
        margin-top: 10px;
    }


}