section {
    width: var(--all-width);
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    overflow: hidden;
}

section img {
    height: 100%;
    position: absolute;
    top: 0;
}

section .img-box {
    width: 38%;
}

section .img-box::before {
    padding-top: 60%;
}

.ban-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 10%;
}

.ban-text h2 {
    font-size: 32px;
}

.ban-text span {
    width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    text-align: center;
    font-size: 20px;
    line-height: 1.3;
}

.ban-text a {
    background-color: #46ccc5;
    position: relative;
    padding: 6px 80px 6px 50px;
    font-size: 17px;
    font-weight: 700;
    color: #000;
    background-image: url(../images/game-handle.png);
    background-repeat: no-repeat;
    background-size: 30px 30px;
    background-position: 12px 4px;
    border-radius: 30px;
    transition: .4s;
    overflow: hidden;
}

.ban-text a::after {
    content: '';
    background-image: url(../images/play.png);
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 43px;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: 12px 10px;
    background-color: #41b7ae;
    transition: .4s;
}

.ban-text a:hover {
    background-color: #41b7ae;
}

.ban-text a:hover::after {
    width: 30%;
}

@media (max-width:799px) {

    .banner {
        padding: 0 5px;
    }

    section {
        flex-direction: column;
    }

    section .img-box {
        width: 100%;
    }

    .ban-text {
        padding: 10px 0;
        row-gap: 15px;
    }

    .ban-text h2 {
        font-size: 24px;
    }

    .ban-text span {
        font-size: 18px;
    }
}