/************************** General content **************************/
#general{
    margin-bottom: 50px;
    max-width: 80%;
    margin-top: 50px;
}
#general_card{
    border-radius: 10px;
    padding: 10px;
}

h1#header{
    text-align: center;
    padding: 20px;
    color: white;
    background-color: rgb(39, 39, 56);
    margin-bottom: 0px;
}
#barchart_conatiner{
    background-color: rgb(39, 39, 56);
}
g{
    color: white;
}
#barchart{
    padding-left: 15%;
    padding-right: 15%;
}
.col#background{
    background-color: rgb(39, 39, 56);
}
h2{
    color: white;
    margin: auto;
    padding-top: 80px;
}
h4{
    color: white;
    margin: auto;
    padding-top: 10px;
}
@media screen and (max-width:425px){
    h1#header{
        font-size: 32px;
    }
}
@media screen and (max-width:335px){
    h2{
        font-size: 22px;
    }
    h4{
        font-size: 18px;
    }
}

#todays_score{
    padding-left: 200px;
    padding-right: 200px;
    padding-top: 50px;
    padding-bottom: 50px;
}
#link{
    position: absolute;
    right: 16%;
}
#today{
    position: absolute;
    left: 16%;
    font-weight: bold;
}

/* circle percentage */
#progrbars{
    margin-top: 50px;
}
.circle-wrap {
  position: absolute;
  right: 60px;
  width: 150px;
  height: 150px;
  background: #f7c6f0;
  border-radius: 50%;
}
.circle-wrap .circle .mask,
.circle-wrap .circle .fill {
  width: 150px;
  height: 150px;
  position: absolute;
  border-radius: 50%;
}

.mask .fill {
  clip: rect(0px, 75px, 150px, 0px);
  background-color: #8a0681;
}
.circle-wrap .circle .mask {
    clip: rect(0px, 150px, 150px, 75px);
  }
  
  .mask.full,
  .circle .fill {
    animation: fill ease-in-out 3s;
    transform: rotate(140deg);
  }
  
  @keyframes fill{
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(140deg);
    }
}
.circle-wrap .inside-circle {
    width: 122px;
    height: 122px;
    border-radius: 50%;
    background: white;
    line-height: 120px;
    text-align: center;
    margin-top: 14px;
    margin-left: 14px;
    color: #8a0681;
    position: absolute;
    z-index: 100;
    font-weight: 700;
    font-size: 2em;
}
p#number{
    color: black;
    font-size: 30px;
    font-weight: bold;
    padding-top: 30px;
}
.progress{
    background-color: #f7c6f0;
}
.progress-bar{
    background: #8a0681;
}
.card#lastcard{
    width: 50%;
    background-color: #f1f1f1;
}
p#descriptions{
    font-family: sans-serif;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    right: 0px;
}
#position{
    margin-top: 5px;
    margin-left: 10px;
    margin-bottom: 15px;
}
@media screen and (max-width:767px){
    .circle-wrap{
        position: relative;
        margin-top: auto;
        margin-bottom: auto;
        margin-left: 50%;
    }
    .card#lastcard{
        margin-top: 40px;
        margin-left: 25%;
    }
}
@media screen and (max-width:425px){
    .card#lastcard{
        width: 60%;
    }
}