/* font */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700;800;900&family=Poppins:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700;800;900&family=Poppins:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700;800;900&family=Poppins:wght@400;500&family=Roboto&display=swap');

/* common style */
a{
    text-decoration: none;
    color: white;
}
body{
    font-family: 'Poppins', sans-serif;
    background-color: #f3f1ff;
    margin: 0;
    padding: 0;
}

footer {
    background-color: #276521;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
}


/* header start */
header{
    background-color: #35a21f;
    display: flex;
    justify-content: center;
    padding: 7px;
}
.mainHeader{
    width: 80%;
    display: flex;
    justify-content: space-between;
}
.head-left{
    display: flex;
    align-items: center;
    padding: 5px;

}
.head-right{
    display: flex;
    align-items: center;
}

.head-right a{
    margin: auto 10px;
}
.head-right img{
    margin-left: 3px;
}
/* header end */




/* top players start*/

main{
    display: flex;
    /* justify-content: center; */
    flex-direction: column;
    align-items: center;
}
.container{
    background-color: white;
    border-radius: 5px;
    width: 80%;
    margin: 21px;
}
.top-players{
    padding: 16px;
    
}
.player-title{
    font-size: 24px;
    color: #562eff;
    margin: 0% auto 13px 1%;

}
.players{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    
    
}
.player{
    display: flex;
    /* justify-content: center; */
    align-items: center;
    margin: 5px;
}
.player img{
    width: 56px;
    height: 56px;
    margin-right: 16px;
}
hr{
    border: 1px solid #D1D1D1;
}
/* top players end */


/* top blocks start */
.top-block{
    margin: 25px;
}
.top-block-list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    
}
.top-block-items{
    display: flex;
    align-items: center;
    margin: 5px;
    margin-top: 20px;
    justify-content:first baseline;
}
#author{
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size:15px;
    font-weight: 100;

}
#date{
    color: #562eff;
}
.right_des #dates{
    font-size: small;
    font-weight: 100;
}
.left_img img{
    width: 177px;
    margin-top: 5px;
}
.right_des{
    margin-left: 15px;
}
.right_des p{
    margin: 0px auto;
}
.right_des a{
    margin: 0px auto;
    color: #562eff;
}
/* top block ended */



/* lates course start */
.contant_item img{
    width:100%;
}
.lates_course{
    margin: 8px;
}
.course_contant{
    display: flex;
}
.contant_item{
    margin: 2px 25px;
    padding: 15px;
    box-shadow: 0px 0px 11px -5px grey;
    border-radius: 10px;
}
.contant_item p{
    margin: 0px;
    font-weight: bolder;
    margin: 5px 0px;
}
.contant_item .course_deteils{
    display: flex;
    justify-content: space-between;
    margin-top: 23px;

}
.course_deteils{
    box-sizing: 2px 4px 1px 6px red;
}
.contant_item #course_name{
    color: #ed6b4f;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}
.course_deteils span i{
    font-size: 12px;
}
.course_deteils .rating{
    margin-left: 5px;
    font-size: 14px;
}
.course_deteils #times {
    background-color: #fddcd5;
    color: #ff677a;
    padding: 1px 16px;
    border-radius: 16px;
}
/* lates course end */





/* lates_course start */

.lates_course{
    width: 80%;
    border-radius: 10px;
    background-color: white;
    margin-bottom: 10px;
}

.fa-star.filled{
    color: rgb(245, 229, 8);
}
.fa-star.empty{
    color: gray;
    opacity: 0.4;
}

@media (max-width: 850px){
    .players{
        grid-template-columns: repeat(2, 1fr);
    }
    .top-block-items{
        flex-direction: column;
        margin-top: 15px;
    }
    .player-title{
        text-align: center;
    }
    .course_contant{
        display: grid;
        grid-template-columns: repeat(2, 1fr);

    }
}


@media (max-width:668px){
    .mainHeader{
        flex-direction: column;
        align-items: center;
    }
    .container{
        grid-template-columns: repeat(2, 1fr);
        width: 90%;
    }
    .player-title{
        text-align: center;
    }
    .players{
        grid-template-columns: repeat(1, 1fr);
    }
    .top-block-list{
        grid-template-columns: repeat(1, 1fr);
    }
    .top-block-items{
        flex-direction: column;
        margin-top: 10px;
    }
    .left_img img{
        width: 100%;
    }
    .right_des{
        width: 100%;
    }



    .course_contant{

        display: flex;
        flex-direction: column;
    }
    .lates_course{
        width: 100%;
}

}


/* Codepen Specific */
/* * {
    margin:0;
    padding:0;
    font-family:Helvetica, Arial, sans-serif;
  } */
  body {
    background-color: #8d818153 !important;;
}
  input[type=text], textarea, input[type=email], input[type=password], input[type=tel], input[type=url], input[type=search], input[type=date] {
      padding: 10px;
      width: 100%;
      font-size: 14px;
      font-family: inherit;
      line-height: 24px;
      color: #555;
      background-color: #f1f1f1;
      border: none;
      transition: all 0.2s ease;
      -webkit-transition: all 0.2s ease;
  }
  input[type=text], textarea, input[type=email], input[type=password], input[type=tel], input[type=url], input[type=search], input[type=date], .material.woocommerce-page[data-form-style="default"] input#coupon_code {
      background-color: rgba(0,0,0,0.1);
      border-radius: 4px;
      border: 2px solid rgba(0,0,0,0);
  }
  /* /end Codepen Specific */
  /* Ladder Navigation */
    #leaderboard {
        padding:50px;
    }
    .ladder-nav {
        display:flex;
        flex-wrap:wrap;
        align-items: center;
        background:#31732b;
        padding:10px 25px;
        border-radius:10px;
        border:5px solid #276521;
    }
    .ladder-title {
      flex:2;
    }
    .ladder-search {
      flex:1;
      padding-right:25px;
    }
    .ladder-title {
      font-size:20px;
      color:#ffffff!important;
      font-weight:bold;
      text-transform:uppercase;
    }
    .ladder-search input {
        color:white
    }
    .ladder-search input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
        color: #c1ffdc;
    }
    .ladder-search input::-moz-placeholder { /* Firefox 19+ */
        color: #c1ffdc;
    }
    .ladder-search input:-ms-input-placeholder { /* IE 10+ */
        color: #c1ffdc;
    }
    .ladder-search input:-moz-placeholder { /* Firefox 18- */
        color: #c1ffdc;
    }
  /* /end Ladder Navigation */
  /* Leaderboard Results */
  .leaderboard-results {
    text-align:left;
    border-collapse: collapse;
  }
  .leaderboard-results thead th {
    padding: 25px;
    color:#504c4c;
    font-size:14px;
    font-weight:bold;
  }
  .leaderboard-results tbody td {
    padding:15px 25px;
    background:#1f521a; /* background for td*/
    font-size:16px;

    border-bottom:5px solid #b0b0b0;
  }
  .leaderboard-results tbody td:nth-of-type(7) {
    font-weight:bold;
  }
  .leaderboard-results tbody tr:hover td {
      background:#37982e; /* background for td hover*/
  }
  .leaderboard-results tbody tr {
    color:#fefefe; /* text for tr*/
  }
  .leaderboard-results tbody tr:first-child {
    color:#68f979;  /* text for first tr*/
  }
  .leaderboard-results tbody span {
    font-weight:bold;
    padding:10px 15px;
    border-radius:50%;
  }
  .leaderboard-results tbody tr:first-child span {
    background:#68f979;
    color:white;
  }
  .leaderboard-results tbody tr span {
    background:#262626;
    color:#747474;
  }
  /* /end Leaderboard Results */


  /*--------------------
Leaderboard Activity
--------------------*/
.leaderboardActivity {

    margin-top: 10%;
    margin-bottom: -5%;

    width: 285px;
    height: 308px;

    /* background:#31732b; */

    background: linear-gradient(to top, #31732b, #276521);
    border-radius: 15px;
    box-shadow: 0 7px 30px rgba(62, 9, 11, 0.3);

    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.leaderboardActivity h1 {
    font-size: 18px;
    color: #e1e1e1;
    padding: 12px 13px 18px;
}

.leaderboardActivity h1 svg {
    width: 25px;
    height: 26px;
    position: relative;
    top: 3px;
    margin-right: 6px;
    vertical-align: baseline;
}

.leaderboardActivity ol {
    counter-reset: leaderboardActivity;
}

.leaderboardActivity ol li {
    position: relative;
    z-index: 1;
    font-size: 14px;
    counter-increment: leaderboardActivity;
    padding: 18px 10px 18px 50px;
    cursor: pointer;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0) scale(1, 1);
}

.leaderboardActivity ol li::before {
    content: counter(leaderboardActivity);
    position: absolute;
    z-index: 2;
    top: 15px;
    left: 15px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    color: #c24448;
    background: #fff;
    border-radius: 20px;
    text-align: center;
}

.leaderboardActivity ol li mark {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 18px 10px 18px 50px;
    margin: 0;
    background: none;
    color: #fff;
}

.leaderboardActivity ol li mark::before,
.leaderboardActivity ol li mark::after {
    content: "";
    position: absolute;
    z-index: 1;
    bottom: -11px;
    left: -9px;
    border-top: 10px solid #c24448;
    border-left: 10px solid transparent;
    transition: all 0.1s ease-in-out;
    opacity: 0;
}

.leaderboardActivity ol li mark::after {
    left: auto;
    right: -9px;
    border-left: none;
    border-right: 10px solid transparent;
}

.leaderboardActivity ol li small {
    position: relative;
    z-index: 2;
    display: block;
    text-align: right;
}

.leaderboardActivity ol li::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fa6855;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    opacity: 0;
}

.leaderboardActivity ol li:nth-child(1) {
    background: #fa6855;
}

.leaderboardActivity ol li:nth-child(1)::after {
    background: #fa6855;
}

.leaderboardActivity ol li:nth-child(2) {
    background: #e0574f;
}

.leaderboardActivity ol li:nth-child(2)::after {
    background: #e0574f;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

.leaderboardActivity ol li:nth-child(2) mark::before,
.leaderboardActivity ol li:nth-child(2) mark::after {
    border-top: 6px solid #ba4741;
    bottom: -7px;
}

.leaderboardActivity ol li:nth-child(3) {
    background: #d7514d;
}

.leaderboardActivity ol li:nth-child(3)::after {
    background: #d7514d;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.11);
}

.leaderboardActivity ol li:nth-child(3) mark::before,
.leaderboardActivity ol li:nth-child(3) mark::after {
    border-top: 2px solid #b0433f;
    bottom: -3px;
}

.leaderboardActivity ol li:nth-child(4) {
    background: #cd4b4b;
}

.leaderboardActivity ol li:nth-child(4)::after {
    background: #cd4b4b;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.leaderboardActivity ol li:nth-child(4) mark::before,
.leaderboardActivity ol li:nth-child(4) mark::after {
    top: -7px;
    bottom: auto;
    border-top: none;
    border-bottom: 6px solid #a63d3d;
}

.leaderboardActivity ol li:nth-child(5) {
    background: #c24448;
    border-radius: 0 0 10px 10px;
}

.leaderboardActivity ol li:nth-child(5)::after {
    background: #c24448;
    box-shadow: 0 -2.5px 0 rgba(0, 0, 0, 0.12);
    border-radius: 0 0 10px 10px;
}

.leaderboardActivity ol li:nth-child(5) mark::before,
.leaderboardActivity ol li:nth-child(5) mark::after {
    top: -9px;
    bottom: auto;
    border-top: none;
    border-bottom: 8px solid #993639;
}

.leaderboardActivity ol li:hover {
    z-index: 2;
    overflow: visible;
}

.leaderboardActivity ol li:hover::after {
    opacity: 1;
    transform: scaleX(1.06) scaleY(1.03);
}

.leaderboardActivity ol li:hover mark::before,
.leaderboardActivity ol li:hover mark::after {
    opacity: 1;
    transition: all 0.35s ease-in-out;
}

.the-most {
    position: fixed;
    z-index: 1;
    bottom: 0;
    left: 0;
    width: 50vw;
    max-width: 200px;
    padding: 10px;
}

.the-most img {
    max-width: 100%;
}