*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: cursive;
}
button,
a {
    cursor: pointer;
}

body{
    width: 100vw;
    height: 100vh;
    background: pink;
    display: flex;
    justify-content: center;
    align-items: center;
}

canvas#gameBoard{
    width: 80vw;
    height: 80vh;
    background: white;
    box-shadow: inset 0 0 5px 2px crimson;
}

.game-menu.show{
    position: absolute;
    width: 30%;
    height: 38%;
    min-width: 500px;
    min-height: 270px;
    background: pink;
    box-shadow: inset 0 0 5px 2px crimson;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.game-menu.hide{
    display: none;
}

.game-menu h1.menu-heading{
    width: 100%;
    height: 40px;
    background: rgb(210, 118, 133);
    font-size: 20px;
    text-align: center;
    line-height: 40px;
}

.game-menu p{
    width: 100%;
    padding-inline: 20px;
    font-size: 18px;
    text-align: center;
    color: crimson;
}



.game-menu button.menu-btn{
    width: 40%;
    height: 40px;
    font-size: 19px;
    background: rgb(220, 79, 107);
    border: none;
    border-radius: 3px;
    color: pink;
    box-shadow: 0 0 2px 1px crimson;
    transition: all .2s ease-out;
}

button.menu-btn:hover{
    transform: scale(1.05);
}

.game-menu .copyright{
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 13px;
    font-family: sans-serif;
    color: crimson;
}

.score-div{
    position: absolute;
    top: 10px;
    right: 10px;
    width: fit-content;
    padding-inline: 8px;
    padding-block: 10px;
    height: fit-content;
    background: crimson;
    color: white;
    font-size: 16px;
    text-align: center;
    line-height: 20px;
}

.settings{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

input[type="range"] {
    appearance: none;
    background: #242222;
    border-radius: 15px;
    cursor: pointer;
}



.settings input::-webkit-slider-runnable-track{
    height: 3px;
    background: rgb(220, 79, 107);
    border: none;
    border-radius: 20px;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    position: relative;
    top: -6px;
    width: 15px;
    height: 15px;
    background: pink;
    border: none;
    border: 1px solid black;
    border-radius: 50%;
}

input[type="range"]::-webkit-slider-thumb:active{
    background: rgb(220, 79, 107);
}
