main{
    display: flex;
    justify-content: center;
}

canvas {
    width: 100%;
    /* height: 300px; */
    border: 3px solid black;
}

body > main >div {
    display: flex;
    flex-direction: column;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
    height: 100%;
    justify-content: center;
}

#scoreView{
    display: flex;
    justify-content: flex-end;
    gap: 28px;
    font-family: system-ui;
    margin-bottom: 5px;
}

#gameArea ~ div{
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

#scoreBoard{
    max-height: 150px;
    overflow: auto;
}

#scoreBoard > table{
    width: 100%;
    text-align: left;
    display: flex;
}

#scoreBoard > table > tbody{
    width: 100%;
}

#scoreBoard > table > tbody > tr{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.kingOfSnakePlaceHolder {
    width: 10%;
    height: 10%;
}

#scoreBoard > table > tbody td:first-child, #scoreBoard > table > tbody th:first-child {
    width: 50%;
    overflow: auto;
    display: flex;
}

#scoreBoard > table > tbody > tr > th{
    text-decoration: underline;
}

#scoreBoard img{
    max-width: 40px;
    max-height: 40px;
}

#highScore{
    width: fit-content;
    background: #bebeef;
    padding: 10px;
    border-radius: 10px;
    font-family: system-ui;
}

.player-name {
    font-weight: bold;
    }
    
    .score {
    color: #27ae60;
    }

#scoreBoard {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 300px;
    padding: 20px;
    width: 300px;
    padding: 20px;
}

h1 {
text-align: center;
color: #3498db;
}

.player-name {
font-weight: bold;
}

.score {
color: #27ae60;
}

#gameSettings {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: large;
}

#gameSettings select{
    width: 100px;
    overflow: hidden;
}

#gameSettings div > span{
    margin-right: 5px;
}

