body {
    background-image: url('../webimages/bg-desktop.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    background-color: #000;
    color: #fff;
    font-family: 'Metropolis', sans-serif;
    margin: 0;
    min-height: 100vh;
}

@media only screen and (max-width: 767px) and (orientation: portrait) {
    body {
        background-image: url('../webimages/bg-mobile.svg');
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    body {
        background-image: url('../webimages/bg-mobile.svg');
    }
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
}

.cardDiv {
    gap: 12px;
}

#gameDiv {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#selectedTeamDiv {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#timeOutDiv {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.row img {
    width: 75%;
    height: auto;
    margin: 0 10px;
    /* border-radius: 15px; */
}

.textDiv {
    margin-top: 2rem;
}

.resultTextDiv {
    margin-top: 2rem;
    color: #fff;
    font-family: Metropolis, sans-serif;
    text-align: center;
    flex-direction: column;
}

.resultTextDiv span {
    color: #C71C22;
}

.button {
    padding: 10px 20px;
    background-color: #EC1C24;
    color: #fff;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    font-family: Poppins, sans-serif;
    font-size: 1rem;
    margin-left: 1rem;
}

#matchType0,
#matchType1,
#matchType2 {
    display: none;
}

#matchType0SD,
#matchType1SD,
#matchType2SD {
    display: none;
}

@media (max-width: 768px) {
    #gameDiv {
        width: 100%;
    }

    #selectedTeamDiv {
        width: 100%;
    }

    #timeOutDiv {
        width: 100%;
    }

    .row {
        flex-direction: column;
        text-align: center;
    }

    .row img {
        margin: 15px 0;
    }

    .textDiv {
        margin-top: 1rem;
    }

    .textDiv .button {
        margin-bottom: 10px;
    }

    .resultTextDiv {
        margin-top: 1.2rem;
        white-space: pre-line;
        line-height: 30px;
    }

    .txtInfoMessage {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .selectedTeamImg {
        width: 85%;
    }
}

.homeTeam,
.awayTeam {
    cursor: pointer;
}

.ChennaiCard,
.RCBCard,
.PunjabCard,
.DelhiCard,
.KolkataCard,
.HyderabadCard,
.RajasthanCard,
.LucknowCard,
.GujaratCard,
.MumbaiCard {
    transform: scale(1);
}

.ChennaiCard:hover {
    /* filter: drop-shadow(2px 4px 6px #aea304); */
    /* filter: drop-shadow(9px 7px 10px #fff); */
    filter: drop-shadow(5px 5px 8px #fff);
    transform: scale(1.05);
}

.RCBCard:hover {
    /* filter: drop-shadow(2px 4px 6px #931410); */
    filter: drop-shadow(5px 5px 8px #fff);
    transform: scale(1.05);
}

.PunjabCard:hover {
    /* filter: drop-shadow(2px 4px 6px #b1050f); */
    filter: drop-shadow(5px 5px 8px #fff);
    transform: scale(1.05);
}

.DelhiCard:hover {
    /* filter: drop-shadow(2px 4px 6px #0507b0); */
    filter: drop-shadow(5px 5px 8px #fff);
    transform: scale(1.05);
}

.KolkataCard:hover {
    /* filter: drop-shadow(2px 4px 6px #4a05b2); */
    filter: drop-shadow(5px 5px 8px #fff);
    transform: scale(1.05);
}

.HyderabadCard:hover {
    /* filter: drop-shadow(2px 4px 6px #b14d05); */
    filter: drop-shadow(5px 5px 8px #fff);
    transform: scale(1.05);
}

.RajasthanCard:hover {
    /* filter: drop-shadow(2px 4px 6px #b20572); */
    filter: drop-shadow(5px 5px 8px #fff);
    transform: scale(1.05);
}

.LucknowCard:hover {
    /* filter: drop-shadow(2px 4px 6px #0546b2); */
    filter: drop-shadow(5px 5px 8px #fff);
    transform: scale(1.05);
}

.GujaratCard:hover {
    /* filter: drop-shadow(2px 4px 6px #041f6d); */
    filter: drop-shadow(5px 5px 8px #fff);
    transform: scale(1.05);
}

.MumbaiCard:hover {
    /* filter: drop-shadow(2px 4px 6px #0556b2); */
    filter: drop-shadow(5px 5px 8px #fff);
    transform: scale(1.05);
}

.ChennaiCardHover {
    /* filter: drop-shadow(2px 4px 6px #aea304); */
    filter: drop-shadow(5px 5px 8px #fff);
    transform: scale(1.05);
}

.RCBCardHover {
    /* filter: drop-shadow(2px 4px 6px #931410); */
    filter: drop-shadow(5px 5px 8px #fff);
    transform: scale(1.05);
}

.PunjabCardHover {
    /* filter: drop-shadow(2px 4px 6px #b1050f); */
    filter: drop-shadow(5px 5px 8px #fff);
    transform: scale(1.05);
}

.DelhiCardHover {
    /* filter: drop-shadow(2px 4px 6px #0507b0); */
    filter: drop-shadow(5px 5px 8px #fff);
    transform: scale(1.05);
}

.KolkataCardHover {
    /* filter: drop-shadow(2px 4px 6px #4a05b2); */
    filter: drop-shadow(5px 5px 8px #fff);
    transform: scale(1.05);
}

.HyderabadCardHover {
    /* filter: drop-shadow(2px 4px 6px #b14d05); */
    filter: drop-shadow(5px 5px 8px #fff);
    transform: scale(1.05);
}

.RajasthanCardHover {
    /* filter: drop-shadow(2px 4px 6px #b20572); */
    filter: drop-shadow(5px 5px 8px #fff);
    transform: scale(1.05);
}

.LucknowCardHover {
    /* filter: drop-shadow(2px 4px 6px #0546b2); */
    filter: drop-shadow(5px 5px 8px #fff);
    transform: scale(1.05);
}

.GujaratCardHover {
    /* filter: drop-shadow(2px 4px 6px #041f6d); */
    filter: drop-shadow(5px 5px 8px #fff);
    transform: scale(1.05);
}

.MumbaiCardHover {
    /* filter: drop-shadow(2px 4px 6px #0556b2); */
    filter: drop-shadow(5px 5px 8px #fff);
    transform: scale(1.05);
}

.hide {
    display: none;
}

.show {
    display: block;
}

#gameDiv {
    position: absolute;
    top: 48%;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 414px) and (min-device-height: 683px) and (max-device-height: 896px) and (-webkit-device-pixel-ratio: 3) {
    #gameDiv {
        position: absolute;
        top: 45%;
        height: 70vh;
    }

    .row img {
        width: 70%;
    }

    .fixed-buttons {
        position: fixed;
        bottom: 1.2rem;
    }
}

.predictCountDiv {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 25px;
    grid-row-gap: 0;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    align-content: center;
    padding-left: 10%;
    padding-right: 10%;
}

.pcdC1 {
    grid-area: 1 / 1 / 2 / 2;
    display: inline-flex;
}

.pcdC2 {
    grid-area: 1 / 2 / 2 / 3;
    display: inline-flex;
}

.pcdC3 {
    grid-area: 2;
    display: inline-flex;
}

.timeLeftLabel {
    margin-right: 5px;
}

.timeLeftText {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    width: 60px;
}

.progress-bar {
    width: 200px;
    height: 10px;
    filter: drop-shadow(2px 4px 6px black);
    margin: 8px 0 3px 0;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.progress-bar-inner {
    height: 100%;
    width: 50;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 1s ease-in-out;
}

@keyframes countup {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#predictors {
    margin-left: 5px;
    margin-right: 5px;
    animation: countup 1s ease forwards;
}

body {
    touch-action: manipulation;
}

*:focus {
    -webkit-tap-highlight-color: transparent;
}

#matchCardDiv {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    height: 500px;
    user-select: none !important;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 414px) and (min-device-height: 683px) and (max-device-height: 896px) and (-webkit-device-pixel-ratio: 3) {
    #matchCardDiv {
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 768px) {
    #matchCardDiv {
        width: 100%;
    }
}

.matchTypeDiv {
    width: 338px;
    height: 170px;
    border-radius: 10px;
    position: absolute;
    background: rgb(253, 253, 253, 0.1);
}

.matchTypeDiv:hover {
    border: 2px solid rgba(255, 255, 255, 1);
    touch-action: manipulation;
}

.match1BoxHover {
    border: 2px solid rgba(255, 255, 255, 1);
    touch-action: manipulation;
}

.match2BoxHover {
    border: 2px solid rgba(255, 255, 255, 1);
    touch-action: manipulation;
}



.matchTypeClearDiv1 {
    background-color: transparent;
    width: 337px;
    height: 166px;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.matchTypeTeam1 {
    width: 100px;
    height: 100px;
    position: absolute;
    left: 21.43px;
    top: 57.22px;
    margin-left: 2%;
}

.matchTypeTeam2 {
    width: 100px;
    height: 100px;
    position: absolute;
    left: 228.63px;
    top: 57.22px;
    margin-left: 3%;
}

.matchTypeDivText1 {
    color: rgba(255, 255, 255, 1);
    width: 25px;
    height: 25px;
    position: absolute;
    left: 155px;
    top: 90px;
    font-family: Metropolis;
    text-align: center;
    font-size: 18.86px;
}

.matchTypeDivText2 {
    color: rgba(255, 255, 255, 1);
    width: 106px;
    height: 12px;
    position: absolute;
    left: 116px;
    top: 15px;
    font-family: Metropolis;
    text-align: center;
    font-size: 16px;
}

.matchTypeClearDiv2 {
    background-color: rgba(255, 255, 255, 0.2);
    width: 318px;
    height: 2px;
    position: absolute;
    left: 10px;
    top: 39px;
    border-radius: 103px;
}

.matchTypeTeam1 .matchTypeTeamLogo1 {
    margin: 0;
    width: auto;
    height: auto;
    border-radius: 0;
}

.matchTypeTeam2 .matchTypeTeamLogo2 {
    margin: 0;
    width: auto;
    height: auto;
    border-radius: 0;
}

.match2Box {
    position: relative;
    top: 230px;
}

.match12PredictBtn {
    position: relative;
    top: 245px;
    width: 165px;
    height: auto;
    text-align: center;
}

.m0PW, .m1PW1, .m2PW2, .m2PSBtnM1, .m1PSBtnM2 {
    width: 165px;
    height: auto;
    text-align: center;
}

.m2PSBtnM1, .m1PSBtnM2 {
    display: none;
}

.backBtn {
    position: fixed;
    top: 5%;
    left: 5%;
    z-index: 10000;
    width: 100%;
    background: url(../webimages/icon-back.svg) no-repeat;
    height: 25px;
}

@media screen and (max-width: 768px) {
    .backBtn {
        position: fixed;
        left: 5%;
    }
}