:root {
    --theme-background: #1f1f1f;
    --theme-background-light: #353535;
    --theme-main-1: #2a75f3;
    --theme-main-1-dark: #215DC2 ;
    --theme-main-2: #722f37;
    --theme-main-2-dark: #692b32;
    --theme-main-2-darker: #441C21;
}

body {
    font-family: Arial, sans-serif;
    background-color: #1f1f1f;
    text-align: center;
    margin: 0;
    padding: 0;
}

#settingsButton,
.myButton{
    width: 50px;
    height: 50px;
    background-color: var(--theme-main-2);
    border: solid 7px var(--theme-main-2);
    border-radius: 10px;
    color: var(--theme-main-2-darker);
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
    font-size: x-large;
    transition: border-color .5s;
}

#settingsButton:hover, #settingsButton:active,
.myButton:hover{
    border-color: var(--theme-main-2-darker);
}

.myButton{
    width: 30%;
    font-weight: bold;
}

#customBingo{
    margin: 10px;
    width: 70%;
    max-width: 600px;
    height: 50%;
    background-color: var(--theme-background-light);
    border: solid 5px var(--theme-background-light);
    border-radius: 10px;
    outline: 0;
    padding: 10px;
    color: white;
}

#customBingo:focus{
    border-color: var(--theme-main-2);
}

.BingoLogo {
    max-width: 400px;
}

.BingoGrid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 10px;
    margin: 20px auto;
    max-width: 600px;
}

.BingoBox {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    word-wrap: break-word;
    font-size: max(1vw, 12px);
    line-height: 1.2;
    background-color: var(--theme-main-1);
    border: 7px solid var(--theme-main-1);
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.BingoBox:hover{
    border-color: var(--theme-main-1-dark);
}

.BingoBox.checked {
    background-color: var(--theme-main-2);
    border-color: var(--theme-main-2);
}

@media (max-width: 600px) {
    .BingoGrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.BingoBox.bingo {
    background-image: linear-gradient(
        45deg,
        var(--theme-main-2-dark) 25%,
        transparent 25%,
        transparent 50%,
        var(--theme-main-2-dark) 50%,
        var(--theme-main-2-dark) 75%,
        transparent 75%
    );
    border-color: var(--theme-main-2-dark) !important;
}