*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    width: 100%;
    height:100%;
    overflow: hidden;
    transform: rotate3d(1.1,1.1,-2,40deg);
    background-color: #ffcdb2;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
}
.tictactoe{
    text-shadow: #f7790b -4px 4px 5px;
    font-size: 10vh;
    color: white;
    margin-top: 5vh;
}
.rotate30{
    box-shadow: #f7790b -10px 6px 15px ;
    padding: 5vh;
    height: 55vh;
    width: 55vh;
}
td{
    transform: all 1s;
    border: 6px solid #4de1fe;
    height: 15vh;
    width: 15vh;
    opacity: 0;
    border-collapse: collapse;
    color: rgb(255, 255, 255);
    font-family: "Conic San MS", cursive,sans-serif;
    font-size: 9vh;
    cursor: pointer;
}
table{
    border-collapse: collapse;
    height: 100%;
    width: 100%;
}

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;
}
.span{
    font-family: "Conic San MS", cursive,sans-serif;
}
.endGame{
    transition: all 1s;
    text-shadow: #f7790b -4px 4px 5px;
    opacity: 0;
    margin-left:5vh;
    text-align:center;
    vertical-align: center;
    color:rgb(255, 255, 255);
    font-size:6vh;
}
.op{
    opacity: 1;
}
.shadow{
    text-shadow: #f97b0d -5px 5px 7px;
}
button{
    box-shadow: #f7790b -2px 2px 5px ;
    display: inline-block;
    color: white;
    background-color: #ffcdb2;
    font-size: 3vh;
    padding: 5px 14px;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
}
@media (max-width:950px) {
    body{
        transform: none;
    }
    .tictactoe{
        font-size: 15vw;
        margin-top: 5vw;
        margin-bottom: 13vw;
    }
    .rotate30{
        height: 70vw;
        width: 70vw;
        padding: 5vw;
        transform: rotate3d(1.1,1.1,-2,30deg);
    }
    td{
        width: 15vw;
        height: 15vw;
        font-size: 12vw;
    }
    .endGame{
        margin-left: 5vw;
        margin-top: 15vw;
        font-size: 7vw;
    }
    .endGame .text{
        margin-bottom: 5vw;
    }
    .button{
        font-size: 3vw;
    }
}