*{
    box-sizing: border-box;
    font-family: 'Comic Sans MS';
    margin: 0;
}

body{
    background: #1a252c;

}

h1{
    color: #fff;
    text-align: center;
    margin-top: 4rem;
    font-size: 4rem;
}

p{
    color: #fff;
    text-align: center;
    margin: 1rem 0;
    font-size: 1.5rem;

}

.board{
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: repeat(3, auto);
}

.cell{
    width: 8rem;
    height: 8rem;
    border: .1rem solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.cell:nth-child(1){
    border-top: none;
    border-left: none;
}
.cell:nth-child(2){
    border-top: none;
}
.cell:nth-child(3){
    border-right: none;
    border-top: none;
}

.cell:nth-child(4){
    border-left: none;
}

.cell:nth-child(6){
    border-right: none;
}

.cell:nth-child(7){
    border-left: none;
    border-bottom: none;
}

.cell:nth-child(8){
    border-bottom: none;
}

.cell:nth-child(9){
    border-bottom: none;
    border-right: none;
}

.circle:before{
    content: 'O';
    font-size: 3rem;
}

.circle{
    color: #498AFB;
}

.x:before{
    content: 'X';
    font-size: 3rem;
}

.x{
    color: #09C372;
}

.result{
    display: none;
    position: fixed;
    /* top: 0;
    bottom: 0;
    left: 0;
    right: 0; */

    inset: 0;
    background: rgba(44, 26, 44, 85%);
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 3rem;
    flex-direction: column;
    gap: 2rem;
}

.result.show{
    display: flex;
}

.result_button{
    font-size: 2rem;
    background: #fff;
    border: .1rem solid #111;
    padding: .4rem 1rem;
    border-radius: .5rem;
    cursor: pointer;
}

.result button:hover{
    background: #111;
    color: #fff;
    border-color: #fff;
}