*{
    padding: 0;
    margin: 0;
    font-family: 'Montserrat',sans-serif;
    box-sizing: border-box;
}
body{
    height: 100vh;
    background-image: url(../imgs/aaad.jpg);
    background-size: cover;
    /* background-color: #458684; */
}
.content{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.gameHeader{
    width: 300px;
    /* height: 100px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px;
    transition: all,0.3s;
    border-bottom: none;
}
.gameHeader p{
    font-family: 'Montserrat',sans-serif;
    color: #dddddd;
    margin-bottom: 5px;
}
h1{
    font-size: 42px;
    color: #eee;
    font-family: 'Montserrat',sans-serif;
}
.xoCon{
    height: 300px;
    width: 300px;
    display: grid;
    grid-template-columns:repeat(3, calc(300px/3)) ;
    grid-template-rows:repeat(3, calc(300px/3));
    /* grid-template-columns:repeat(3, calc(300px/3 - 10px/3)) ;
    grid-template-rows:repeat(3, calc(300px/3 - 10px/3)); */
    /* gap: 5px 5px; */
    /* background-color: transparent; */
}
.xod{
    background-color:#458684;
    cursor: pointer;
    transition: 0.5s;
    text-align: center;
    background-color: transparent;
    color: #458684;
    font-family: 'Montserrat',sans-serif;
    font-size: 84px;
    font-weight: 500;
    line-height: 87.66px;
    position: relative;
}
.xod:first-child,
.xod:nth-child(2),
.xod:nth-child(4),
.xod:nth-child(5),
.xod:nth-child(7),
.xod:nth-child(8){
    border-right: 5px solid #ddd;
}
.xod:first-child,
.xod:nth-child(2),
.xod:nth-child(3),
.xod:nth-child(4),
.xod:nth-child(5),
.xod:nth-child(6){
    border-bottom: 5px solid #ddd;
}
.hw::after{
    content: "";
    display: inline-block;
    height: 5px;
    background-color: #ddd;
    transition: all,0.5s;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0,-50%);
    z-index: 9;
    animation: hwinAnimation 1s ease-in-out 0.1s 1 normal forwards;
}
.vw::after{
    content: "";
    display: inline-block;
    width: 5px;
    background-color: #ddd;
    transition: all,0.5s;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 9;
    animation: vwinAnimation 1s ease-in-out 0.1s 1 normal forwards;
}
.sw1::after{
    content: "";
    display: inline-block;
    width: 5px;
    height: 300px;
    transform: rotate(45deg) translate(-100%, 0%);
    background-color: transparent;
    transition: all,0.5s;
    position: absolute;
    top: -100%;
    right: 45%;
    z-index: 9;
    animation: swinAnimation 1s ease-in-out 0.1s 1 normal forwards;
}
.sw2::after{
    content: "";
    display: inline-block;
    width: 5px;
    height: 300px;
    transform: rotate(135deg) translate(-100%, 0%);
    background-color: transparent;
    transition: all,0.5s;
    position: absolute;
    top: -100%;
    left: 45%;
    z-index: 9;
    animation: swinAnimation 1s ease-in-out 0.1s 1 normal forwards;
}
@keyframes hwinAnimation {
    0%{
        width: 0;
    }
    /* 80%{
        background-color: red;
    } */
    80%{
    background-color: #ddd;
    }
    100%{
        width: 300px;
        background-color: rgba(194, 38, 38, 0.996);
    }
}
@keyframes vwinAnimation {
    0%{
        height: 0;
    }
    /* 80%{
        background-color: red;
    } */
    80%{
    background-color: #ddd;
    }
    100%{
        height: 300px;
        background-color: rgba(194, 38, 38, 0.996);
    }
}
@keyframes swinAnimation {
    0%{
        opacity: 0;
    }
    /* 80%{
        background-color: red;
    } */
    80%{
    background-color: #ddd;
    }
    100%{
        opacity: 300px;
        background-color: rgba(194, 38, 38, 0.996);
    }
}
.xod:hover{
    background-color: #77a9a34d;
}
button{
    padding:4px 6px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    margin: 0px 7px;
    transition: all, 0.3s;
    background-color: #ddd;
    border: 2px solid transparent;
    color: #434b5e;
    opacity: 1;
}
/* div button:nth-child(2){
    opacity: 0;
} */
button:hover{
    border: 2px solid #dddddd;
    color: #dddddd;
    background-color: transparent;
    font-weight: 500;
}
img{
    width: 20px;
}
span{
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%,0);
    color: #dddddd;
    display: flex;
    justify-content: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 500;
}