*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --primary-color: #00000f;
    --secondary-color: #fffff0;
    --game_over_color: rgba(153, 153, 11, 0.8);
    --non_active: #686850;
}

body{
    background-color: var(--primary-color);
    color:var(--secondary-color);
    font-family:  serif, Times ,'Times New Roman';
}
h2{
    margin: 2rem 0 3rem 0;
    text-align: center;
}
table{
    border-collapse: collapse;
    margin: 0 auto;
}
table tr td{
    width: 5rem;
    height: 5rem;
    border: 1px solid var(--secondary-color);
    cursor: pointer;
    text-align: center;
    font-size: 1.5rem;
}
table tr:first-child td{
    border-top: 0;
}
table tr:last-child td{
    border-bottom: 0;
}
table tr td:first-child{
    border-left: 0;
}
table tr td:last-child{
    border-right: 0;
}

div.player{
    font-size: 1.5rem;
    margin: 0 auto;
    text-align: center;
    margin-top: 3rem;
}
div.player p{
    margin:0 2rem;
    text-align: center;
    color: var(--non_active);
    display: inline-block;
}
div.game_over{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--game_over_color) ;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 2rem;
}
div.game_over >*{
    margin: 1rem 0;
}
div.game_over h3{
    margin-top: 10rem;
}
div.game_over button{
    height: 2rem;
    width: 6rem;
    border-radius: 10px;
    border: 0;

}
@media screen and (max-width: 394px ) {
    div.player p{
        display: block;
        margin-bottom: 1rem;
    }
}

