.match {
    background: #432362;
    width: 100%;
    min-height: 357px;
    grid-auto-rows: max-content;
    margin: auto;
}

.main_content {
    place-items: center;
    row-gap: 8px;
}

.match_header {
    display: grid;
    grid-template-columns: 3fr 2fr 1fr;
    background: #311a48;
    padding: 8px;
}

.match_header p {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.match_header .match_header-pink {
    color: #e7347a;
    place-self: center;
}

.match_header-line {
    width: 80%;
    height: 2px;
    background-color: #e73372;
    place-self: center;
}

.main_content-img {
    border: 3px solid #e93578;
    padding: 8px;
    border-radius: 50%;
    width: 72px;
    height: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.main_content-img figure {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_content-img figure img {
    border-radius: 50%;

    border: 3px solid #e93578;
}

.main_content-img figure,
.main_content-img figure img {
    margin: 0;
    width: 72px;
    height: 72px;
}

.match_header-user {
    font-size: 24px;
    color: #fff;
    margin: 0 20px;
    text-align: center;
}

.match_header-userBold {
    font-weight: bold;
    color: #e53578;
    font-size: 24px;
    text-align: center;
}

body .match_token {
    display: flex;
    align-items: center;
    column-gap: 8px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
}

body .match_token p {
    font-size: 24px;
}

.match_token figure {
    border: 2px solid #e93578;
    padding: 2px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.match_token figure img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #e93578;
}

.button_general-space-juego {
    margin: 12px;
}

.match_buttons {
    width: 100%;
    padding: 30px;
    row-gap: 20px;
}

@media(max-width:1024px) {
    .match_buttons {
        padding: 0;
        margin: 20px 0;
    }
}

.match_buttons button {
    margin: 0;
    width: 100%;
}

.button_general-purple {
    background: #532e77;
}

.match_proximos {
    width: 100%;
    background: #432362;
    min-height: 466px;

}

.match_proximos-header {
    width: 100%;
    padding: 2px 0;
    background: #311a48;
}

.match_proximos-header p,
.match_popular-header p {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    margin-left: 4%;
}

.match_proximos-contain {
    padding: 0 4%;
    transform: scale(1);
    transition: transform 500ms cubic-bezier(0.4, 0, 1, 1);
    row-gap: 20px;
    padding: 20px 4%;
    overflow-x: hidden;
    overflow-y: scroll;
    height: 90%;
    grid-auto-rows: max-content;
    min-height: 400px;

}

body .match_proximos-itm {
    background: #542f78;
    border-bottom: 4px solid #e93578;
    padding: 8px;
    display: flex;
}

.match_proximos-itm div {
    width: 50%;
}

.match_proximos-itm-right button {
    margin: 0;
}



.match_proximos-itm {
    display: flex;
}

.match_proximos-itm-left {
    display: flex;
    justify-content: left;
    align-items: center;
    color: #fff;
    text-align: start;
    padding-left: 20px;
}
.match_proximos-itm-right{
    display: flex;
    flex-direction: column;
    align-items: end;
    padding-right: 20px;

}

@media(max-width:465px){
    .match_proximos-itm-right button{
        font-size: 12px;
        white-space: nowrap;
    }
    .match_proximos-itm-left h5{
        font-size: 18px;
    }

    .match_proximos-itm-left {
        padding-left: 10px;
    }

    .match_proximos-itm-right {
        padding-right: 10px;
    }

    .match_proximos-itm-right h5{
        font-size: 20px;
    }

}

.match_proximos-itm-right p {
    margin: 0;
}

.match_proximos-itm-right p,
.match_proximos-itm-right h5 {
    color: #fff;
    text-align: center;
}

.match_proximos-itm-right h5 {
    font-size: 24px;
    font-weight: bold;
}

.match_proximos-itm {
    transition: transform 300ms cubic-bezier(0.4, 0, 1, 1);
}

.match_proximos-itm:hover {
    transform: scale(1.05);
    transition: transform 250ms cubic-bezier(0.4, 0, 1, 1);
}

.juegos_container-vw {
    max-width: 99vw;
    width: 88vw;
}

.juego_line {
    width: 100vw;
    height: 20px;
    background-color: #e93578;
    margin: 20px 0;
}

.match_popular-player {
    width: 100vw;
    background: #e93578;
}

@media (max-width: 767px) {
    .match_popular-player {
        width: 100%;
    }
    .juego_line {
        width: 100%;
        margin: auto;
    }
}

@media (max-width: 500px) {

    .juego_line,
    .match_popular-player {
        width: 100%;
    }

    .juego_line {
        margin: auto;
    }
}

.match_popular-header {
    background-color: #c82964;
}

.match_popular-player-itm {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.match_popular-player-itm figure,
.match_popular-player-itm figure img {
    margin: 0;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    background-color: #432362;
}

.match_popular-player-itm p {
    color: #fff;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
}

.match_popular-player-contain {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 20px 4%;
    overflow-x: hidden;
}

/* Track */
.match_popular-player-contain::-webkit-scrollbar-track {
    background: #414137;
}

/* Handle */
.match_popular-player-contain::-webkit-scrollbar-thumb {
    background: #f8f815;
    border-radius: 10px;
}

.main_content-withoutText,
.match_proximos-withoutText,
.match_popular-player-contain-withoutText {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

body .main_content-without {
    height: 100%;
    display: flex;
    align-items: center;
    height: 294px;
}

body .match_proximos-without {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 398px;
    width: 100%
}

.match_proximos-contain::-webkit-scrollbar {
    width: 12px;
}

.match_proximos-contain::-webkit-scrollbar-track {
    background: #4a276b;
}

.match_proximos-contain::-webkit-scrollbar-thumb {
    background: #311a48;
}

.match_popular-player-contain-without {
    min-height: 680px;
    display: flex;
    justify-content: center;
    grid-area: 1 / 1 /2 /3;
    width: 100%;
}

.informacion_main-gap {
    margin: 20px 4%;
    position: relative;
    z-index: 2;
}

.invitacion-l {
    display: flex;
    justify-content: center;
    align-items: center;
}

.invitacion-l figure,
.invitacion-l figure img {
    margin: 0;
    width: 185px;
    height: 200px;
    object-fit: cover;
}

.invitacion_title {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.invitacion_title-bold {
    color: #e93477;
}

.invitacion_sub {
    font-size: 16px;
    color: #fff;
    text-align: center;
}

.invitacion_win-token {
    color: #fff;
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.invitacion_win-token-bold {
    font-weight: bold;
}

.invitacion_buttons {

    display: flex;
    justify-content: space-between;

}

.invitacion_buttons button {
    margin: 0;
    width: 48%
}

@media(max-width:768px){
    .invitacion_buttons.invitacion_buttons-row{
        flex-direction: column;
        gap: 10px;
    }

    .invitacion_buttons.invitacion_buttons-row button{
       width: 100%;
    }
}


.invitacion-r {
    position: relative;
    padding-left: 15px;
}

@media(max-width:768px){
    .invitacion-r {
        padding-left: 0;
    }
}

.line_informacion-mg {
    height: 40px;
    background-color: #e93578;
    position: absolute;
    width: 100%;
    bottom: 55px;
}

@media (min-width: 768px) {

  
    
    .match .match_header {
        width: 97%;
    }

    .main_content .main_content-img {
        width: 72px;
    }

    .match .match_token {
        align-items: center;
        justify-content: center;
    }

    .match_proximos .match_proximos-header {
        width: 100%;
    }

    .match_proximos-contain div {
        width: 100%;
    }

    body .match_popular-header {
        width: 100%;
    }

    body .match_popular-player-contain-wo {
        justify-items: center;
    }

    .match_popular-player-contain-without {
        align-content: start;
    }
}

@media (min-width: 1024px) {
    body .juego_line {
        display: none;
    }

    .juegos_container-vw>div {
        width: 63vw;
        max-width: 63vw;
    }

    .match_header {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .match_proximos {
        margin-bottom: 30px;
    }

    .main_content-without {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .match_proximos {
        margin: 0;
    }

    .invitacion {
        display: flex;
    }

    .invitacion-l {
        z-index: 2;
    }

    .line_informacion-mg {
        bottom: 61px;
    }

    .juego_main-container {
        margin-bottom: 0
    }

    .modal-content-juegos {
        height: 340px;
    }
}

@media (min-width: 1300px) {
    .juegos_container-vw {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .juegos_container-vw>div {
        width: 90%;
        max-width: 90%;
    }

    .match_proximos {
        grid-area: 1 / 1 / 4 / 2;
        height: 100%;
    }

    body .match_buttons {
        display: flex;
        padding: 30px 0;
        justify-content: space-between;
    }

    body .match_buttons button {
        width: 49%;
    }

    body .match_proximos {
        display: flex;
        flex-direction: column;
    }
    body .match_popular-player{
        display: flex;
        flex-direction: column;
    }

    body .juegos_container-vw {
        width: 63vw;
        max-width: 63vw;
    }

    .match_popular-player-contain::-webkit-scrollbar {
        width: 12px;
    }

    .match_popular-player-contain::-webkit-scrollbar-track {
        background: #ef6699;
    }

    .match_popular-player-contain::-webkit-scrollbar-thumb {
        background: #b14970;
        border-radius: 0;
    }

    .match_proximos {
        max-height: 840px;
    }
}

@media (min-width: 1440px) {
    .match_popular-player-contain {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .match_popular-player-contain-without {
        grid-area: 1 / 1 /2 /4;
    }
}