/**
 * Minified by jsDelivr using clean-css v5.3.2.
 * Original file: /npm/modern-normalize@3.0.1/modern-normalize.css
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
/*! modern-normalize v3.0.1 | MIT License | https://github.com/sindresorhus/modern-normalize */
*,::after,::before{box-sizing:border-box}html{font-family:system-ui,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji';line-height:1.15;-webkit-text-size-adjust:100%;tab-size:4}body{margin:0}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-color:currentcolor}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}
/*# sourceMappingURL=/sm/d2d8cd206fb9f42f071e97460f3ad9c875edb5e7a4b10f900a83cdf8401c53a9.map */

html {
    height: 100%;
}

body {
    height: 100%;
    background-color: antiquewhite;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.player-div {
    background-color: greenyellow;
    padding: 0.5rem;
    border: 4px solid darkgreen;
    border-radius: 0.5rem;
    color: darkgreen;
    font-size: 1.5rem;
    font-weight: 500;
}

.name-input {
    width: 10rem;
    color: darkgreen;
    border: 2px solid darkgreen;
    border-radius: 3px;
}

.board {
    display: flex;
    width: calc(30rem + 4px);
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border: 2px solid black;
}

.field {
    width: 10rem;
    height: 10rem;
    background-color: aqua;
    border: 2px solid black;
    text-align: center;
    vertical-align: center;
    font-size: 8rem;
    font-weight: 700;
}

.field.hovered {
    background-color: rgb(0, 138, 138);
    color: aqua;
}

.restart-button {
    background-color: crimson;
    color:antiquewhite;
    font-size: 2rem;
    padding: 0.6rem;
    border: 4px solid rgb(100, 17, 8);
    border-radius: 1rem;
}

.restart-button:hover {
    cursor: pointer;
    background-color: rgb(124, 13, 35);
}

.unselectable {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.modal {
    display: none;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    position: fixed;
    color: whitesmoke;
    font-size: 4rem;
    font-weight: bold;
    justify-content: center;
    align-items: center;
}