main {
    width: var(--all-width);
    margin: 0 auto;
}

main .list {
    margin-bottom: 15px;
}

main .big-box {
    display: flex;
    flex-wrap: wrap;
    row-gap: 14px;
}

main h2 {
    color: #323F5E;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

.hot-game {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 14px;
}

.hot-game .img-box {
    width: 55%;
    border-radius: 50%;
    overflow: hidden;
    transition: .8s;
}

.hot-game .img-box::before {
    padding-top: 100%;
}

.hot-game h3 {
    color: #323F5E;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-game p {
    color: #333;
    font-size: 15px;
    text-align: center;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    min-height: 57px;
}

.hot-game button {
    width: 45%;
    color: #333;
    font-size: 17px;
    font-weight: 600;
    padding: 10px 0;
    border: 1px solid #ccc;
    transition: .5s;
}

.hot-game button:hover {
    background-color: #000;
    color: #fff;
}

.hot-game:hover .img-box {
    transform: rotateY(180deg);
}

.new-game {
    border: 2px solid rgb(94, 126, 51);
    overflow: hidden;
    position: relative;
}

.new-game .img-box::before {
    padding-top: 80%;
}

.new-text {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #00000073;
    top: 0;
    left: 0;
    font-size: 18px;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: .5s;
}

.new-game:hover .new-text {
    transform: translateY(0);
}

@media screen and (min-width: 770px) {
    .hot-game {
        width: calc((100% - 60px) / 4);
        margin-right: 20px;
    }

    .hot-game:nth-of-type(4n) {
        margin-right: 0;
    }

    .new-game {
        width: calc((100% - 100px) / 6);
        margin-right: 20px;
    }

    .new-game:nth-of-type(6n) {
        margin-right: 0;
    }
}

@media screen and (max-width: 769px) {
    .hot-game {
        width: 100%;
    }

    .big-box {
        padding: 0 10px;
    }

    .new-game {
        width: calc((100% - 8px) / 2);
        margin-right: 8px;
    }

    .new-game:nth-of-type(2n) {
        margin-right: 0;
    }

    .new-text {
        transform: translateY(0);
    }
}