@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body{
    background: #f8b31a;
}

.container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.container .pre-container{
    height: 500px;
    width: 330px;
    background: #fff;
    border-radius: 15px;
    /* display: none; */
}
.player_turn{
    height: 60px;
    width: 300px;
    background: #0e3055;
    border-radius: 50px;
    margin: auto;
    margin-top: 30px;
    overflow: hidden;
}

.player_turn .turn{
    height: 60px;
    width: 150px;
    float: left;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.turn_indicator{
    height: 60px;
    width: 150px;
    background: #f8b31a;
    border-radius: 50px;
    position: absolute;

    transition: all .3s;
}
.board{
    height: 320px;
    width: 280px;
    
    margin: auto;
    margin-top: 45px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: repeat(3,1fr);

}

.cell{
    border-bottom: 4px solid #ebe9ec;
    border-right: 4px solid #ebe9ec;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0e3055;
    font-size: 55px;
}

.cell:nth-child(3n){
    border-right: none;
}
.cell:nth-child(n+7){
    border-bottom: none;
}

.cell .fa-o{
    color: #f8b31a;
}

.container .result-box{

    position: absolute;
    height: 115px;
    width: 300px;
    padding: 20px;
    background: #fff;
    display: none;
    border-radius: 15px;
    text-align: center;
}
.container .result-box span{
    color: #000;
    font-weight: 500;
    white-space: nowrap;
}
.container .result-box button{
    position: absolute;
    top: 50%;
    left: 50%;  
    transform: translate(-50%, -50%);
    all: unset;
    height: 40px;
    width: 160px;
    background: #0e3055;
    color: #fff;
    border-radius: 30px;
    margin-top: 10px;
    font-size: 15px;
    cursor: pointer;
}




