*,
*::after,
*::before {
    box-sizing: border-box;
}

:root {
    --cell-size: 150px;
    --el-size: calc(var(var(--cell-size)*0.8));
}

body {
    margin: 0;
    background-color: black;
}

.div1 {
    border-left: 170px solid rgb(73, 72, 72);
    height: 590px;
    position: absolute;
    left: 8%;
    margin-left: -3px;
    top: 100px;
}

.div2 {
    border-left: 170px solid rgb(73, 72, 72);
    height: 590px;
    position: absolute;
    left: 82%;
    margin-left: -3px;
    top: 100px;
}

.header {
    top: 20px;
    padding: 10px;
    text-align: center;
    color: white;
    font-size: 30px;
}

h1 {
    text-align: center;
    text-transform: uppercase;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: white;
}

.board {
    width: 100vw;
    height: 70vh;
    display: grid;
    justify-content: center;
    align-content: center;
    justify-items: center;
    align-items: center;
    grid-template-columns: repeat(3, auto)
}

.cell.x,
.cell.o {
    cursor: not-allowed;
}

.cell {
    width: var(--cell-size);
    height: var(--cell-size);
    border: 2px solid white;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.cell:hover {
    background-color: rgb(59, 57, 57);
    color: white;
}

.cell.x::before,
.cell.x::after {
    content: '';
    position: absolute;
    width: calc(var(--cell-size)*.15);
    height: var(--cell-size);
    background-color: grey;
}

.cell.x::before {
    transform: rotate(-45deg);
}

.cell.x::after {
    transform: rotate(45deg);
}

.cell.o::before,
.cell.o::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background-color: grey;
}

.cell.o::before {
    width: calc(var(--cell-size)*0.85);
    height: calc(var(--cell-size)*0.85);
    background-color: grey;
}

.cell.o::after {
    width: calc(var(--cell-size)*.55);
    height: calc(var(--cell-size)*.55);
    background-color: black;
}

.win-msg {
    position: fixed;
    top: 130px;
    left: 670px;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    flex-direction: column;
}

.btn-group button {
    position: relative;
    top: 0px;
    left: 545px;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    border-radius: 2%;
    background-color: grey;
    padding: 10px 24px;
    /* Some padding */
    cursor: pointer;
}

.btn-group button {
    transition-duration: 0.4s;
}

.btn-group button:hover {
    background-color: rgb(41, 39, 39);
    color: white;
}