* {
    -o-user-select: none;
    user-select: none;
}

main {
    padding: 32px 0% !important;
}

.menu {
    background-color: #C0C0C0;
    border: 3px solid;
    border-top-color: #ffffff;
    border-right-color: #7B7B7B;
    border-bottom-color: #7B7B7B;
    border-left-color: #ffffff;
}

.tip {
    text-align: center;
    margin: 6px;
    padding: 4px 5px;

    color: black;
    background-color: #C0C0C0;
    border: 2px solid;
    border-top-color: #808080;
    border-left-color: #808080;
    border-right-color: #FAFAFA;
    border-bottom-color: #FAFAFA;
}



#board {
    background-color: lightgray;
    border-spacing: 0px;
    padding: 6px;
    margin: 16px 8px;
    border: 3px solid;
    border-top-color: #ffffff;
    border-right-color: #7B7B7B;
    border-bottom-color: #7B7B7B;
    border-left-color: #ffffff;
}

#top-bar, #bottom-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 4px 5px;
    border: 2px solid;
    border-top-color: #7B7B7B;
    border-right-color: #ffffff;
    border-bottom-color: #ffffff;
    border-left-color: #7B7B7B;
}

#top-bar  {
    justify-content: space-between;
    margin: 0 0 6px 0;
}

#bottom-bar  {
    justify-content: center;
    margin: 6px 0 0 0;
}



#reset {
    width: 24px;
    height: 24px;
}

#reset:hover, .cell:hover {
    cursor: pointer;
}

#timer, #bomb-counter {
    height: 24px;
    display: flex;
    background-color: black;
    border: 1px solid;
    border-top-color: #7B7B7B;
    border-right-color: #ffffff;
    border-bottom-color: #ffffff;
    border-left-color: #7B7B7B;
}


/* Top border on first row of cells */
.game tr:first-child td {
    border-top: 2px solid #7B7B7B;
}

/* Bottom border on last row of cells */
.game tr:last-child td {
    border-bottom: 2px solid #ffffff;
}

/* Left border on first cell in each row */
.game tr td:first-child {
    border-left: 2px solid #7B7B7B;
}

/* Right border on last cell in each row */
.game tr td:last-child {
    border-right: 2px solid #ffffff;
}

td {
    max-width: 16px;
    max-height: 16px;
    width: 16px;
    height: 16px;
    padding: 0px;
}

.cell img, #reset img { 
    display: block;
    min-width: 100%;
    padding: 0px;
}

label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 14px;
    line-height: 150%;
    margin: 0px 8px;
}

input {
    font-family: "Nova Square";
    font-size: 12px;
    width:40px;
}