* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: 0.5s all;
    font-size: 2vmax;
    outline: none;
    text-align: center;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    width: 100vw;
    height: 100vh;
    background-color: #ced8ce;
    user-select: none;
}

header,
footer {
    width: 100%;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 1% 0;
}

footer {
    position: static;
    bottom: 0;
    background-color: rgb(27, 23, 23);
}

main {
    width: 100%;
    /* height: 100vh; */
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 0.4fr);
    justify-items: center;
    /* grid-template-rows: 33% 33% 33%; */
}
.curr-user,.result,button{
    width: fit-content;
    margin: 2% 0;
    padding: 1% 3%;
    background-color: #68ce6c;
    color: #000;
    border: 5px solid #000;
    border-radius: 50px;
    display: flex;
    align-items: center;
}
#reset:hover{
    background: linear-gradient(90deg,#f0ad6f,#45ff4b,#4c56af);
    color: #000;
}
.game-board{
    width: 40%;
    height: fit-content;
    display: grid;
    grid-template-columns: repeat(3,0.4fr);
    grid-template-rows: repeat(3,1.5fr);
    align-content: center;
    margin: 2% 5%;
    background: #4CAF50;
    border: 5px solid #000;
    border-radius: 50px;
    gap: 5%;
}
.game-board button{
    margin: 15% 15%;
    padding: 5% 30%;
    /* background: #ced8ce; */
    border-radius: 50px;
    border: 5px solid #000;
    font-weight: bolder;
    /* color: #ced8ce; */
}
.x{
    background: rgb(32, 32, 255);
    /* color: #000; */
    color: #ced8ce;
}
.o{
    background: rgb(179, 9, 9);
    /* color: #000; */
    color: #ced8ce;
}
@media screen and (max-width:500px) {
    main{
        grid-template-rows: repeat(4,0.3fr);
    }
    .game-board,.game-board>button,.curr-user,.result,button{
        border: 2px solid;
        border-radius: 10px;
    }
    .game-board{
        width: 80%;
        padding: 10%;
    }
    .game-board button{
        padding: 20% 40%;
        margin: 10%;
    }
}
