@keyframes bounceIn {
  from, 20%, 40%, 60%, 80%, to {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    transform: scale3d(.3, .3, .3);
  }

  15% {
    transform: scale3d(1.4, 1.4, 1.4);
  }

  30% {
    transform: scale3d(.6, .6, .6);
  }

  45% {
    transform: scale3d(1.2, 1.2, 1.2);
  }

  60% {
    transform: scale3d(.8, .8, .8);
  }

  75% {
  	transform: scale3d(1.05, 1.05, 1.05);
  }

  90% {
  	transform:scale3d(0.95, 0.95, 0.95);
  }

  to {
    transform: scale3d(1, 1, 1);
  }
}



.score_bar {
	border:1px solid rgba(0,0,0,0.08);
	box-sizing:border-box;
	border-radius:18px;

	width:100%;
	height:36px;
	margin-bottom:60px;

	position:relative;
	display:flex;
	justify-content:space-around;
}

.score_bar .bar {
	
	position:absolute;
	left:9px;right:85px;top:9px;bottom:9px;

	border-radius:9px;
	background-color:rgb(221,221,221);
	overflow:hidden;
}

.score_bar .bar .color {
	position:absolute;
	left:0;top:0;bottom:0;width:0%;
	background-color:#1a73d9;
	transition:width 0.5s;
}

.score_bar .inner {
	position:absolute;
	width:60px;
	top:5;
	right:10px;

}

.score_bar .star_path {
	fill:rgb(221,221,221);
	stroke:white;
	stroke-width:4px;
	transform:scale(0.5);
}

.score_bar[data-star] .star_path {
	fill:rgb(255, 255, 0);
	stroke:rgb(196,128,0);
	transition-delay:0.3s;
}

.score_bar[data-star] .star {
	animation:bounceIn 1s;
	animation-delay:0.3s;
}

.score_bar .star {
	position:absolute;
	left:-35px;top:-3px;
	transform-origin:50% 50%;
	width:36px;
	height:36px;
}

.score_bar .val_score, .score_bar .val_total {
	font-family:arial;
	font-size:20px;
	font-weight:bold;
	color:rgb(60,60,60);
	display:inline-block;
	position:relative;
}

.score_bar .val_total:before {
	content:"/";
	width:10px;
	color:rgb(160,160,160);
	margin-left:3px;
	margin-right:3px;
}

.score_bar .button {
	background-color:#1a73d9;
	display:inline-block;
	padding:8px;
	font-family:arial;
	color:white;
	border-radius:16px;
	position:relative;
	top:45px;
	width:100px;
	text-align:center;
	cursor:pointer;
}

.score_bar .button:hover {
	background-color:#1356a3
}

.score_bar[data-mode=count] .retry {
	display:none;
}

.score_bar[data-mode=check] .check {
	display:none;
}

