*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: var(--font-mono);
}

main{
    background-color: var(--teal-2);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title{
    color: var(--gray-6);
    text-align: center;
    font-size: var(--font-size-5);
}

.display{
    color: var(--gray-6);
    text-align: center;
    font-size: var(--font-size-4);
    margin-top: 1em;
    margin-bottom: 1em;
}

.hidden{
    display: none;
}

.board{
    margin: 0 auto;
    display: grid;
    grid-template-columns: calc(100%/3) calc(100%/3) calc(100%/3);
    grid-template-rows: calc(100%/3) calc(100%/3) calc(100%/3);
    max-width: 300px;
}

.tile {
    border: 4px solid var(--teal-5);
    min-width: 100px;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--font-size-6);
    cursor: pointer;
}

.tile:nth-child(-n + 3) {
    border-top: none;
} 

.tile:nth-child(3n) {
    border-right: none;
}

.tile:nth-child(3n  - 2) {
    border-left: none;
} 

.tile:nth-child(n + 7) {
    border-bottom: none;
}

.Playerxmark{
    color: var(--gray-6);
}

.Playercircle{
    color: var(--gray-0);
}

.buttons{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1em;
}

#reset{
    background-color: var(--red-6);
    color: var(--gray-0);
    padding: 15px;
    border-radius: 20px;
    border: none;
    font-size: var(--font-size-3);
    cursor: pointer;
    width: 90px;
    text-transform: uppercase;
}