body {
    font-family: book antiqua;
    background-color: rgb(55, 0, 100);
}

h1 {
    text-align: center;
    font-size: 50px;
    font-weight: 500;
    color: azure;
    text-shadow: 0 0 10px black;
}

table {
    margin: auto;
    border: 5px dotted azure;
    background-color: black;
    width: 100%;
    height: 100%;
    border-radius: 25px;
}

th {
    border: 3px solid black;
    font-size: 100px;
    background-color: azure;
    color: azure;
    width: 33.34%;
    height: 33.34%;
    border-radius: 50%;
    cursor: pointer;
    box-sizing: border-box;
}

.container {
    width: 70%;
    margin: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.score-area,
.game-board,
.game-play {
    height: 468px;
    margin: 3px;
}

.score-area,
.game-play {
    width: 20%;
    height: 450px;
    background-color: black;
    color: azure;
    border: 3px solid azure;
    box-sizing: border-box;
    font-size: 25px;
}

.score-area {
    border-radius: 25px 0 0 25px;
}

.p1-area,
.p2-area {
    width: 100%;
    height: 50%;
    padding: 15px;
    box-sizing: border-box;
}

.p1-area {
    border-radius: 25px 0 0 0;
}

.p2-area {
    border-radius: 0 0 0 25px;
}

.turn {
    width: 30%;
    height: 25%;
    border-radius: 50%;
    border: 3px solid azure;
    box-sizing: border-box;
    margin: auto;
    padding: 5px;
    text-align: center;
}

.p1-area .turn {
    background-color: blue;
    margin-top: 15px;
    margin-bottom: 25px;
}

.p2-area .turn {
    background-color: red;
    margin-bottom: 25px;
}

.score {
    font-size: 33px;
    display: block;
    background-color: azure;
    color: black;
    height: 25%;
    margin: auto;
    border-radius: 7px;
    line-height: 50px;
    padding: 7px;
    text-align: center;
}

.game-board {
    width: 50%;
}

.game-play {
    border-radius: 0 25px 25px 0;
    text-align: center;
}

.now-turn,
.steps-move,
.game-play-explaining {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
}

.now-turn {
    height: 30%;
    border-radius: 0 25px 0 0;
    padding-top: 7px;
    padding-bottom: 7px;
}

.now-turn .turn {
    width: 33%;
    height: 40%;
    padding: 5px;
    background-color: blue;
    margin: 3px auto;
    box-sizing: border-box;
}

.steps-move {
    height: 20%;
    padding-top: 7px;
    padding-bottom: 7px;
}

.steps {
    padding: 3px;
    display: block;
    border-radius: 7px;
    height: 50%;
    background-color: azure;
    color: black;
    margin: auto;
    box-sizing: border-box;
}

.game-play-explaining {
    height: 50%;
    padding-top: 7px;
    padding-bottom: 7px;
    box-sizing: border-box;
    border-radius: 0 0 25px 0;
}

.explain {
    width: 100%;
    height: 80%;
    text-align: center;
    font-size: 15px;
    display: block;
    background-color: azure;
    color: black;
    box-sizing: border-box;
    border-radius: 7px;
    overflow: auto;
}

@media screen and (max-width: 1286px) {
    .container {
        width: 80%;
    }

    .score-area,
    .game-play {
        font-size: 22px;
    }
}

@media screen and (max-width: 1108.5px) {
    .container {
        width: 90%;
    }
}

@media screen and (max-width: 1019.75px) {
    .container {
        width: 100%;
    }

    .score-area,
    .game-play {
        font-size: 19px;
    }
}

@media screen and (max-width: 975.375px) {
    h1 {
        margin-top: -7px;
    }

    th {
        font-size: 70px;
    }

    .container {
        margin-top: -33px;
        flex-direction: column;
    }

    .game-board {
        min-width: 370px;
        max-width: 370px;
        width: 75%;
    }

    .score-area,
    .game-board,
    .game-play {
        height: 370px;
    }

    .score-area,
    .game-play {
        display: flex;
        font-size: 13px;
        min-width: 430px;
        max-width: 540px;
        height: 125px;
        width: 100%;
        background-color: black;
        color: azure;
        border: 2px solid azure;
        box-sizing: border-box;
    }

    .score-area {
        border-radius: 0 0 25px 25px;
    }

    .turn {
        width: 15%;
        height: 33px;
        border: 2px solid azure;
        padding: 7px;
    }

    .p1-area .turn {
        margin-top: 0;
        margin-bottom: 0;
    }

    .p2-area .turn {
        margin-bottom: 0;
    }

    .score {
        font-size: 25px;
        height: 25px;
        line-height: 25px;
        padding: 7px;
    }

    .game-play {
        border-radius: 25px 25px 0 0;
    }

    .now-turn {
        order: 1;
    }

    .now-turn .turn {
        width: 25%;
        height: 33px;
        line-height: 20px;
    }

    .steps-move {
        height: 80px;
        order: 3;
    }

    .steps {
        font-size: 15px;
        line-height: 25px;
    }

    .game-play-explaining {
        order: 2;
    }

    .explain {
        font-size: 10px;
        height: 80px;
    }
}

th:active {
    background-color: black;
}