main {
    width: var(--all-width);
    margin: 0 auto;
    background-color: #ffffffb8;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
}

main h3 {
    position: relative;
    font-size: 23px;
    margin-bottom: 15px;
}

main h3 span {
    background-color: #fff;
    position: relative;
    z-index: 1;
    padding-right: 10px;
}

main h3::before {
    content: '';
    width: 100%;
    position: absolute;
    background-image: url(../images/h3-bg.png);
    height: 12px;
    top: 50%;
    transform: translateY(-30%);
}

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

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

.content {
    flex: 1;
    display: flex;
    justify-content: space-between;
}

.cont-lef {
    width: 616px;
}

.cont-rig {
    width: 320px;
    position: sticky;
    top: 10px;
    margin-bottom: auto;
}

.game-box {
    position: relative;
    overflow: hidden;
}

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

.game-box .game-type {
    position: absolute;
    top: 0;
    left: calc(100% - 30px);
    height: 20px;
    background-color: rgba(255, 73, 3, .8);
    color: #fff;
    width: 100%;
    padding-left: 35px;
    transition: .4s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
    font-size: 13px;
}

.game-box .game-type::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 20px;
    background-image: url(../images/play.png);
    background-repeat: no-repeat;
    background-color: rgba(255, 73, 3, .8);
    background-position: 8px;
}

.game-box .game-name {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    min-height: 42px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.game-box:hover .game-type {
    left: 0;
}

.recom-box {
    width: 100%;
    padding: 6px 0;
    border-bottom: 1px solid #ccc;
    display: flex;
}

.recom-box .img-box {
    width: 30%;
}

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

.recom-text {
    flex: 1;
    padding-left: 5%;
    display: flex;
    flex-direction: column;
}

.recom-text b {
    color: #f14400;
    margin-top: 5%;
    margin-bottom: 5%;
    font-size: 14px;
}

.recom-text span {
    font-size: 17px;
    color: #000;
    line-height: 1.1;
    font-weight: 700;
}

.more {
    min-width: 50%;
    display: block;
    margin: 20px auto;
    background-color: rgb(253, 119, 30);
    color: #fff;
    padding: 8px 0;
    font-size: 16px;
    border-radius: 7px;
}

.more:disabled {
    cursor: no-drop;
    background-color: gray;
    color: #c5c4c4;
}

@media (min-width:800px) {
    .game-box {
        width: calc((100% - 30px)/3);
        margin-right: 15px;
    }

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

@media (max-width:799px) {
    main {
        padding: 5px;
    }

    .content {
        flex-direction: column-reverse;
    }

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

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

    .cont-lef,
    .cont-rig {
        width: 100%;
    }

    .cont-rig {
        position: relative;
    }

    .game-box .game-type {
        left: 0;
    }
}