@media only screen and (max-width: 1640px) {
    .btn-play-now {
        bottom: 2rem;
        width: 18.8rem;
    }
}

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


    .banner-plan-name-container{
        left: 0;
        width: 100%;
        bottom: 9.5%;
        font-size: 2.5vmin;
        justify-content: center;
     }

    .disable-phone,
    .deatils-text,
    .bet-info-container,
    .version-text,
    .terminal-text,
    .home-btn {
        display: none !important;
    }

    .ticket-selection-header-container {
        font-size: 2.75vmin !important;
        padding: 1vmin 1vmin;
    }

    .ticket-team-selection-item-container {
        padding: 1vmin 1vmin;
    }

    .ticket-team-selection-container {
        margin: 0em 6vmin;
    }

    

    .selection-container {
        display: flex;
        flex-direction: column;
    }

    .selection-container>div {
        flex: 1;
    }

    .selection-icon-container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0.5em 0;
        width: 100%;
    }

    .selection-table-item-container {
        height: 59vmin;
    }

    .selection-table-item {
        height: 15vmin;
    }

    .player-img {
        width: 9vmin;
        height: 9vmin;
    }

    .selection-icon {
        width: 4vmin;
        object-fit: contain;
    }

    .selection-show-more-players-container {
        border: 1.5px solid #d3940e;
        padding: 0.25em 1em;
        display: flex;
        gap: 0.5em;
        border-radius: 0.5em;
        font-size: 2.5vmin;
    }


    .deatils-text-phone {
        display: flex;
    }


    .selection-table-container {
        border-radius: 2vmin;
        overflow: hidden;
    }

    .selection-table-header-container {
        font-size: 3vmin;
    }


    .selection-banner-week-container {
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        margin: 1em;
        text-transform: uppercase;
        font-weight: 800;
        font-size: 3vmin;
    }

    .card-slots-selected,
    .card-slots-unselected:hover {
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        border-radius: 1em;
        overflow: hidden;
        padding: 2vmin 3vmin
    }

    .card-slots-unselected {
        padding: 1vmin 3vmin 1vmin 3vmin;
    }

    .selection-print-ticket-button {
        font-size: min(3cqmin,15px) !important;
        font-weight: 700 !important;
    }


    .selection-countdown-container {
        display: block;
        bottom: 1.5em;
        left: 2em;
    }

    .selection-rules-continer {
        display: block;
        bottom: 1.5em;
        right: 2em;
    }

    .bets-timer {
        font-size: 12px !important;
    }

    .card-body {
        padding: 0.5vmin 0.5vmin;
    }

    .card-players {
        border-radius: 1em !important;
        margin-bottom: 8vmin;
    }

    .selection-list-container {
        padding: 0.5vmin 1vmin
    }

    .bets-timer {
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 1em;
    }

    .main-banner-bg {
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }


    .justify-content-center {
        margin-bottom: 3vmin;
    }

    .bets-timer{
        font-size: 12px !important;
        margin-bottom: 0 !important;
    }
    .rule-text{
        font-size: 2vmin;
    }
    .selection-header-container {
        display: flex;
        margin-top: 3rem;
        flex-direction: row;
        align-items: center;
    }

    .player-selection-container {
        padding: 2vmin 3vmin;
        display: flex;
        flex-direction: column;
    }

    .selection-header-home-container {
        display: flex;
        align-items: flex-start;
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .selection-header-home-btn {
        display: flex;
        flex-direction: revert;
        border: 1.75px solid #edbf2f;
        height: 35px;
        position: relative;
        font-size: 17px;
        padding-right: 2em;
        padding-left: 0.75em;
        justify-content: center;
        align-items: center;
        color: white;
        border-radius: 1em;
    }

    .selection-header-home-btn>img {
        position: absolute;
        width: 22%;
        right: 0.25em;
    }

  

    .selection-bottom-banner-container {
        display: flex;
        margin-top: 3vmin;
        justify-content: space-between;
    }

    .main-banner-bg>img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


    .main-banner-container {
        visibility: hidden;
    }

    .btn-play-now {
        position: absolute;
        display: flex;
        bottom: 25% !important;
        width: 100% !important;
        font-weight: 600;
        right: 0 !important;
    }

    .btn-play-now>span {
        width: 80% !important;
        margin: 0 auto;
        color: #ffc107 !important;
        border-radius: 0.25em;
        border: 2px solid #ffc107;
        font-size: min(7vmin,4.5vmin);
        border-radius: 0.25em;
        padding: 0.15em 0.25em !important;
        filter: drop-shadow(5px 5px 2px black);
    }

    .banner-match-week-contianer {
        left: 0;
        position: absolute;
        bottom: 3%;
        display: flex;
        width: 100%;
        margin: 0 auto;
        font-weight: 700;
        line-height: 3vmin;
        letter-spacing: 0;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }

    .main-container {
        inset: 0;
        width: 100vw;
        height: 100vh;
        position: absolute;
    }

    .main-heading-line {
        text-align: center;
        position: absolute;
        bottom: 37%;
        right: 0;
        color: white;
        line-height: 8vmin;
        width: 100%;
        font-size: min(7vmin,5vmax);
        filter: drop-shadow(3px 3px 1px black);
        font-weight: 600 !important;
        font-family: "montserrat", sans-serif !important;
    }

    .main-heading-line>span {
        width: 79%;
        margin: 0 auto;
    }

    .banner-bets-close-contianer {
        position: absolute;
        display: flex;
        top: auto;
        bottom: 13%;
        width: 100%;
        text-align: center;
        justify-content: center;
        left: 0;
    }

    .bets-timer {
        font-size: 12px;
        font-weight: 600;
    }

    .card-player-slot-number {
        font-size: 3.5vmin;
        padding: 0.2em;
    }

    .selection-player-name {
        font-size: 3vmin;
    }

    .selection-player-text {
        font-size: 2.5vmin;
    }

    .bg-card-player,
    .bg-card-player-slot {
        width: 7vmin !important;
        height: 10vmin !important;
        min-height: 10vmin !important;
        max-height: 10vmin !important;
        min-width: 7vmin !important;
        max-width: 7vmin !important;
    }

    .custom-selection-name {
        font-size: 3vmin;
    }

    .ticket-team-selection {
        font-size: 5vmin !important;
    }

    .ticket-team-selection-item {
        padding-bottom: 2vmin;
        line-height: 3vmin;
    }

    .ticket-team-selection-item>span:nth-child(1) {
        width: 50%;
        font-size: 3vmin;
    }

    .ticket-team-selection-item>span:nth-child(2) {
        width: 40%;
        font-size: 2.5vmin;
        text-align: center;
    }

    .ticket-team-selection-item>span:nth-child(3) {
        width: 20%;
        font-size: 2.5vmin;
        text-align: center;
    }

    .ticket-count-generate,
    .ticket-count-button {
        font-size: min(3cqmin,18px) !important;
    }

    .ticket-qr-barcode-container {
        font-size: 3.5vmin !important;
        transform: scale(0.85);
    }

    .ticket-logo-container>img {
        width: 30vmin;
        margin-top: 0.5em;
        filter: grayscale(1);
    }

    .custom-popup {
        margin: 0 !important;
        padding: 3vmin 4vmin 3vmin 4vmin !important;
        max-width: 100% !important;
    }

    .btn-card-del {
        font-size: 2.5vmin !important;
        right: -2.5vmin !important;
        top: -2.5vmin !important;
    }
}

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



    .background {
        background-image: url(/static/img/phone_bg.png);
        background-position: bottom;
    }

    .p-2 {
        padding: 0 !important;
    }

    .card-slots-unselected {
        padding: 1vmin 3vmin 1vmin 3vmin;
    }

    .mb-2 {
        margin-bottom: 1vmin !important;
    }

    .card-players {
        border-radius: 1em !important;
        margin-bottom: 3vmin;
    }

    .selection-table-item-container {
        height: 28vh;
    }

}

@media only screen and (max-height: 775px) {

    .assotiate-logo-container>img {
        width: 35vmin;
    }
}

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

    .ticket-pos-action-button{
        font-size: 10px;
        width: 34vw;
        padding: 0.5rem;
     }
}
