* {
    margin: 0px;
}

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

body > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

h1 {
    background-color: #2F3C7E;
    color: #fef3f4;
    padding: 2% 0px 2% 0px;
    font-size: 4rem;
}

button {
    border-radius: 24px;
    border: 1px solid #000;
    background-color: #2F3C7E;
    color: #fef3f4;
    transition: 0.4s;
}

button:hover {
    background-color: #dddddd;
    color: #000;
    transition: 0.4s;
}

button:active {
    background-color: #b4b4b4;
}

#board {
    display: grid;
    grid-template-columns: repeat(3, 8rem);
    grid-template-rows: repeat(3, 8rem);
    gap: 5px;
    padding-top: 20px;
}

.cell {
    width: 8rem;
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    border: 1px solid #000;
    cursor: pointer;
}

#result {
    margin-top: 20px;
    font-size: 2em;
}

#restart {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
}