*{
    margin: 0;
    padding: 0;
}
@font-face {
    font-family: myFirstFont;
    src: url(../font/Saira-VariableFont_wdth\,wght.ttf);
  }
body{
    background: none;
    font-family: myFirstFont;
    color: #ffffff;
}

:root{
    --ft_22: 1rem;
    --ft_28: 1.25rem;
}

.Tv_ticker{
    background: radial-gradient(#002142, #004993);
    border: 2px solid #E4F2FF;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 0.8fr 0.9fr 1.8fr 0.7fr;
    gap: 0.5rem;
    justify-items: stretch;
}

.Playing_team{
    background: linear-gradient(#007FFF, #004993);
    border-radius: 10px 0px 200px 10px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 10px 20px;
    gap: 0.5rem;
}


.matc_data{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    align-items: flex-end;
    padding: 10px 0;
}
.this_over{
    background: linear-gradient(to right, #FFA100, #FF6600);
    padding: 2px 10px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--ft_22);
    justify-content: center;
    font-weight: 600;
}

.ball_by_ball{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.match_recrd{
    background: linear-gradient(to right, #004993, #00214200);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: var(--ft_22);
    justify-content: center;
    font-weight: 600;
}

.match_recrd >p{
    color: #E4F2FF;
    font-weight: 400;
}

.match_recrd >p >span{
    font-weight: 600;
    color: #ffffff;
}
.Teams_name{
    display: flex;
    align-items: center;
    gap: 1rem;
}
.player{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.player >img{
    width: auto;
    height: 28px;
}

.p_name{
    font-size: var(--ft_22);
    font-weight: 400;
    color: #E4F2FF;
}
.p_scr{
    font-size: var(--ft_28);
    font-weight: 600;
}


.players{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}



/* Ball by Ball */
.ball_by_ball >p{
    background: #ffa638;
    padding: 5px;
    font-size: var(--ft_22);
    font-weight: bold;
    color: #ffffff;
    min-width: 25px;
    height: 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.boundary{
    background: #86FF00 !important;
    color: #282828 !important;
}
.over-done{
    background: #00356b !important;
    color: #ffffff !important;
}
.innings-end{
    background: #0067d0 !important;
    color: #ffffff !important;
}
.req_runs{
    color: #86FF00 !important;
}

.wicket{
    background: #f10c0c !important;
    color: #ffffff !important; 
}


.bowling_team{
    background: linear-gradient(#004FA0, #011E3C);
    border-radius: 0px 10px 10px 200px;
    align-items: flex-end;
}




.t_name{
    font-size: var(--ft_22);
    font-weight: 400;
    color: #E4F2FF;
}
.Teams_score{
    font-size: var(--ft_28);
    font-weight: 600; 
    color: #ffffff;
}

.over_overall{
    font-size: var(--ft_22);
    font-weight: 400;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    color: #E4F2FF;
}
.over_overall >span{
    font-weight: 600;
    font-size: var(--ft_28);
}


.d_right{
    display: flex;
    justify-content: flex-end;
}
.pwrd_by{
    font-size: 14px;
    font-weight: 400;
    color: #E4F2FF;
    text-align: right;
    background: linear-gradient(#004FA0, #011E3C);
    padding: 5px;
    border: none;
    border-radius: 5px 5px 0px 0px;
    margin-right: 5px;
}
.pwrd_by >span{
    font-weight: 600;
    color: #ffffff;
}

/* Code need to be deleted */
#myVideo {
    position: relative;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
  }

  .btm_fix{
    position: fixed;
    bottom: 0;
    width: 98%;
    overflow: hidden;
    bottom: 10px;
  }

  .body_cen{
    display: flex;
    align-items: center;
    justify-content: center;
  }



  @media screen and (max-width: 1080px) {
    :root{
        --ft_22: 0.65rem;
        --ft_28: 0.8rem;
    }

    .player >img {
        width: auto;
        height: 20px;
    }
    .ball_by_ball >p{
        min-width: 20px;
        height: 20px;
        padding: 2px;
    }
    .matc_data {
        gap: 0.2rem;
        padding: 5px 0;
    }

    .pwrd_by{
        font-size: 10px;
    }
    .ball_by_ball {
        gap: 0.2rem;
    }
    .match_recrd{
        padding: 5px 10px;
    }
    .Tv_ticker{
        border-radius: 5px;
    }
  }




.pwrd_by2{
    border-radius: 10px 10px 0px 0px;
    margin-right: 0;
    border: 2px solid #E4F2FF;
    border-bottom: 0;
    margin-right: 10px;
}
.pwrd_by2 >img{
    width: auto;
    height: 35px;
    margin-bottom: -10px;
    border-radius: 10px 10px 0px 0px;
}


.inng_end{
    grid-template-columns: 1fr 2fr 1fr;
    min-height: 112px;
}

.inning_end{
    text-align: center;
}
.hide {
    display: none;
}
.show {
    display: grid;
}