body {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 100vh;
    width: 100%;
    margin: 0;
}

.timerbox{
    height:175px;
    width:215px;
    scale:1.5;
    border-radius:10px;
    box-shadow: 1px 1px 3px 5px rgba(54, 218, 240, 0.353);
    background-color: #097167e5;
}

.turn,.playerTurn{
    text-align: center;
    font-family: "Salsa", cursive;
    font-weight: 400;
    font-style: normal;
}
.turn{
    margin-top:4px;
    margin-bottom: 0px;
    font-size: 16px;
}
.playerTurn{
    margin-bottom:2px;
    font-size: 35px;
}
.PR{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.timerbox .pause,.timerbox .reset{
    height:45px;
    width:85px;
    background-color: rgb(183, 156, 204);
    border:2px rgb(10, 172, 89) solid;
    margin-top:9px;
    border-radius: 8px;
    font-size:20px;
    font-family: "Orbitron", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
}
.pause:hover, .reset:hover{
    background-color: rgb(20, 220, 154);
    box-shadow: 1px 1px 3px 5px rgba(54, 218, 240, 0.353);
}
.timerbg{
    height:45px;
    width:215px;
    background-color: rgb(22, 183, 180);
    display: flex;
    justify-content: center;
    align-items: center;
}
.timer_text{
    font-family: "VT323", monospace;
    font-weight: 600;
    font-style: normal;
    text-align: center;
    margin-top:1px;
    font-size: 35px;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(11, 11, 11);
    border-radius:10px;
    box-shadow: 1px 1px 3px 5px rgba(54, 218, 240, 0.353);
}

.gameboard {
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: repeat(3, 168px);
    grid-template-rows: repeat(3, 168px);
    row-gap: 5px;
    column-gap: 5px; 
    background: transparent;
    height: 530px;
    width: 530px;
    transform: translateY(8px);
}

.cell {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    height: 168px;
    width: 168px;
    font-family: "Poetsen One", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 120px;
    /* border-radius: 3px; */
}

.cell:hover{
    background-color: yellow;
}

.ricbox{
    height:175px;
    width:215px;
    scale:1.5;
    border-radius:10px;
    box-shadow: 1px 1px 3px 5px rgba(54, 218, 240, 0.353);
    background-color: #097167e5;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}
.ricbox span{
    text-align: center;
    font-size: 35px;
    font-family: "VT323", monospace;
    font-weight: 300;
    font-style: normal;
    margin-top: 5px;
    color:rgb(206, 240, 13);
}

.blacken1, .blacken2{
    display:flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    background-color: #1515158e;
    position: absolute;
    visibility: hidden;
    transition: ease-in 0.4s;
}

.resumebox{
    border-radius: 15px;
    background-color: rgba(12, 6, 116, 0.928); 
    height:200px;
    width:300px;
    border: 3px rgba(1, 1, 39, 0.729) solid;
}

.resumebox .resume,.ricbox button{
    background-color: rgb(183, 156, 204);
    height:50px;
    width:90px;
    font-size:16.5px;
    text-align: center;
    border-radius: 8px;
    margin-top: 8px;
    font-family: "Orbitron", sans-serif;
    font-optical-sizing: auto;
    font-weight: 850;
    font-style: normal;
    border:4px rgb(9, 165, 87) solid;
    color:black;
}

.resumebox .resume:hover,.ricbox button:hover{
    background-color: rgb(20, 220, 154);
    box-shadow: 1px 1px 3px 5px rgba(54, 218, 240, 0.353);
}

.buttons{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.resumebox h1{
    text-align: center;
    margin-top:20px;
    font-size:40px;
    font-family: "Salsa", cursive;
    font-weight: 500;
    font-style: normal;
    margin-bottom:17px;
    color: #dc7c45;
}

.winBox{
    background-color: rgba(8, 2, 44, 0.781);
    height:150px;
    width:300px;
    border-radius: 10px;
}
.winBox p{
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 35px;
    margin-top: 5px;
    margin-bottom:18px;
    font-family: "Orbitron", sans-serif;
    font-optical-sizing: auto;
    font-weight: 850;
    font-style: normal;
}
.winBox span{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
}

.replay{
    height:60px;
    width:100px;
    font-size: 18.5px;
    color:black;
    border-radius: 8px;
    background-color: rgb(183, 156, 204);
    border:3px rgb(3, 97, 49) solid;
    font-family: "Orbitron", sans-serif;
    font-optical-sizing: auto;
    font-weight: 850;
    font-style: normal;
}

.replay:hover{
    background-color: rgb(20, 220, 154);
    box-shadow: 1px 1px 3px 5px rgba(54, 218, 240, 0.353);
}