#como-jogar {
    height: 40vh;
    display: flex;
    align-items: center;
}


.como-jogar-img {
    position: relative;
    top: -7vw;
    left: 2vw;
}

.avatar-como-jogar {
    width: 100%;
}

.box-lower-como-jogar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    right: 8vw;
    width: 50%;
}

.btns {
    display: flex;
    justify-content: space-evenly;
    gap: 3%;
}

.box-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.box-btn h2{
    font-size: clamp(1.7rem, 3vw, 3.7rem);
    transition: 0.7s;
    font-weight: 400;
}

.box-btn:hover h2 {
    font-weight: 600;
    transform: scale(1.1);
}

.box-btn button {
    width: 14rem;
    height: 3.5rem;
    font-size: clamp(0.9rem, 1.2vw, 2rem);
    background: linear-gradient(to right, red 50%, black 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: 1s;
}

.box-btn button:hover {
    background-position: left bottom;
}

.box-btn p {
    font-size: clamp(0.9rem, 1vw, 2.5rem);
    text-align: center;
}

.box-btn p::after {
    content: '';
    display: block;
    width: 10vw;
    height: 3px;
    background: linear-gradient(to right, red 50%, black 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    margin: 0 auto;
    margin-top: 10%;
    transition: 1s;
}

.box-btn:hover p::after  {
    background-position: left bottom;
}


@media screen and (max-width:1245px) {

    #como-jogar{
        height: 100%;
    }

    .box-lower-como-jogar {
        right: 1rem;
    }

    .como-jogar-img {
        width: 100%;
        left: -40vw;
    }

    .avatar-como-jogar {
        width: 100%;
    }

    .btns {
        flex-direction: column;
    }

    .box-btn {
        gap: 1rem;
    }

    .box-btn button {
        width: 100%;
    }

    .box-btn p::after {
        display: none;
    }
}