* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: all 0.4s;
}

body {
    font-family: "Roboto", sans-serif;
}

main {
    margin-top: 20px;
}

.container {
    padding: 0 20px;
}

.title {
    text-align: center;
}

.game {
    width: 600px;
    max-width: 100%;
    margin: 20px auto;
    border-radius: 10px;
    color: #fff;
}
.score {
    /* background-color: #F1F8E9; */
    text-align: center;
    font-size: 10px;
    text-transform: uppercase;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-family: "Orbitron", sans-serif;
    letter-spacing: 2px;
    font-weight: bold;
    background-color: #009688;
    padding: 15px;
    border-radius: 10px;
}
.score .vs {
    font-size: 25px;
    font-family: "Tektur", sans-serif;
}
.score .score-item span {
    font-size: 20px;
    display: block;
}

.game-body {
    background-color: #009688;
    width: calc(100% - 100px);
    padding: 20px;
    margin: 0 auto;
    margin-top: 10px;
    border-radius: 10px;
}
.game-body .boxes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.game-body .boxes .box {
    width: 140px;
    height: 140px;
    background-color: #AED581;
    cursor: pointer;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    position: relative;
}
.game-body .boxes .box[data-select="x"]::before {
    content: "X";
}
.game-body .boxes .box[data-select="o"]::before {
    content: "o";
}
.game-body .boxes .box[data-select="x"]::before, .game-body .boxes .box[data-select="o"]::before {
    font-size: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Orbitron", sans-serif;
    font-weight: bold;
}
.game-body .boxes .box:hover {
    transform: scale(1.03);
    background-color: #9fbd7d;
}

.message {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    background: #3b676700;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.message .msg {
    background-color: #844cce;
    width: 100%;
    text-align: center;
    padding: 30px;
    font-size: 40px;
    color: #fff;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
}

.d-none {
    display: none;
}

@media (max-width: 630px) {
    .game-body .boxes .box {
        width: 110px;
        height: 110px;
    }
}
@media (max-width: 544px) {
    .game-body .boxes .box {
        width: 90px;
        height: 90px;
    }
}
@media (max-width: 480px) {
    .game-body .boxes .box {
        width: 80px;
        height: 80px;
    }
}
@media (max-width: 450px) {
    .game-body .boxes .box {
        width: 60px;
        height: 60px;
    }
}
@media (max-width: 390px) {
    .game-body .boxes .box {
        width: 50px;
        height: 50px;
    }
}