/* body {
  background: linear-gradient(45deg, #15222e, #8100E0);
  height: 100vh;
} */

/* .wrapper {
  display: table;
  margin: 0 auto;
  background: rgba(21, 34, 46, 0.25);
  padding: 35px 40px 40px;
  border-radius: 6px;
  box-shadow: 0 0 1px 0 rgba(255, 255, 255, 0.32), 0 1px 9px -1px #15222e;
} */

/* .wrapper-header {
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  color: rgba(255, 255, 255, 0.74);
  margin: 30px 0 15px;
  font-weight: normal;
} */

.heart {
  margin: 0 8px;
  display: inline-block;
  animation: simplePulse ease-in-out 1.1s infinite;
}

.gauge {
  font-family: Arial, Helvetica, sans-serif;
  background: #e7e7e7;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.09), 0 0 35px 5px rgba(255, 255, 255, 0.29);
  width: 200px;
  height: 100px;
  border-radius: 100px 100px 0 0;
  position: relative;
  overflow: hidden;
  /* safari fix */
  -webkit-transform-style: flat;
  -webkit-transform: translateZ(0px);
}
.gauge.min-scaled {
  transform: scale(0.5);
}

.gauge-center {
  content: '';
  color: #fff;
  width: 60%;
  height: 60%;
  background: #15222E;
  border-radius: 100px 100px 0 0;
  position: absolute;
  box-shadow: 0 -13px 15px -10px rgba(0, 0, 0, 0.28);
  right: 21%;
  bottom: 0;
  color: #fff;
}
.gauge-center::before {
  /* content: 'BMI'; */
  content: '';
  font-size: 1.5em;
  width: 100%;
  padding: 10px 0 0 0;
  text-align: center;
  float: left;
  -webkit-font-smoothing: antialiased;
}
.gauge-center::after {
  content: '';
  width: 100%;
  float: left;
  opacitY: .6;
  text-align: center;
}

.gauge-center .label, .gauge-center .number {display:block; width: 100%; text-align: center; border:0!important;}
.gauge-center .label {font-size:0.75em; opacity:0.6; margin:1.1em 0 0.3em 0;}
.gauge-center .number {font-size:1.1em;}

.needle {
  width: 78px;
  height: 7px;
  background: #15222E;
  border-bottom-left-radius: 100%;
  border-bottom-right-radius: 5px;
  border-top-left-radius: 100%;
  border-top-right-radius: 5px;
  position: absolute;
  bottom: 4px;
  left: 20px;
  transform-origin: 100% 4px;
  animation: speed 2s normal;
  box-shadow: 0 2px 2px 1px rgba(0, 0, 0, 0.38);

  transform: rotate(var(--rotation));
    /* transform: rotate(attr(data-turn)'deg');  */
    /* transform: rotate(attr(data-rotate deg, 0));  */
    /* transform: rotate(attr(data-rotate)deg);  */
    /* transform: rotate(70deg);  */
  /* // set degree of the needle  */
  /* transform: rotate(70deg); */
/* // set degree of the needle  */
}

.slice-colors .st {
  position: absolute;
  bottom: 0;
  width: 60px;
  height: 0;
  border-bottom: 80px solid #000;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
}
.slice-colors .st.slice-item:nth-child(1) {
  border-bottom-color: #1eaa59;
  left: -2px;
}
.slice-colors .st.slice-item:nth-child(2) {
  border-bottom-color: #9baa1e;
  transform: rotate(135deg);
  transform-origin: right;
  /* top: 12px; */
  /* left: -65px; */
  top: 27px;
  left: -25px;
}
.slice-colors .st.slice-item:nth-child(3) {
  border-bottom-color: #f1c40f;
  transform: rotate(179deg);
  transform-origin: right;
  /* top: -20px; */
  /* left: -62px; */
  top: 0px;
  left: -36px;
  border-bottom-width: 90px;
  border-left-width: 45px;
  border-right-width: 45px;
  width: 18px;
}
.slice-colors .st.slice-item:nth-child(4) {
  border-bottom-color: #e67e22;
  transform: rotate(219deg);
  transform-origin: right;
  /* top: -23px; */
  /* left: 43px; */
  top: -5px;
  left: 55px;
}
.slice-colors .st.slice-item:nth-child(5) {
  border-bottom-color: #E84C3D;
  /* transform: rotate(240deg); */
  transform: rotate(242deg);
  transform-origin: right;
  /* right: 52px; */
  right: 52px;
  top: 22px;
}

.reverse-slice.slice-colors .st.slice-item:nth-child(1) {
  border-bottom-color: #E84C3D;
}
.reverse-slice.slice-colors .st.slice-item:nth-child(2) {
  border-bottom-color: #e67e22;
}
.reverse-slice.slice-colors .st.slice-item:nth-child(3) {
  border-bottom-color: #f1c40f;
}
.reverse-slice.slice-colors .st.slice-item:nth-child(4) {
  border-bottom-color: #9baa1e;
}
.reverse-slice.slice-colors .st.slice-item:nth-child(5) {
  border-bottom-color: #1eaa59;
}

@-webkit-keyframes speed {
  0% {
    transform: rotate(0);
  }
  40% {
    transform: rotate(180deg);
  }
  55% {
    transform: rotate(170deg);
  }
  75% {
    transform: rotate(180deg);
  }
}
@-webkit-keyframes simplePulse {
  from {
    opacity: .4;
  }
  to {
    opacity: .98;
  }
}
