@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);
 @keyframes bake-pie {
	 from {
		 transform: rotate(0deg) translate3d(0, 0, 0);
	}
}
.pie-wrap {
    display: flex;
    justify-content: center;
}
 .pie-section {
	 margin-top: 30px;
     display: flex;
     flex-direction: column;
}
 .pieID {
	 display: inline-block;
	 vertical-align: top;
}
 .pie {
	 height: 200px;
	 width: 200px;
	 position: relative;
	 margin: 0 30px 30px 0;
     display: flex;
     align-self: center;
}
 .pie::before {
	 content: "";
	 display: block;
	 position: absolute;
	 z-index: 1;
	 width: 100px;
	 height: 100px;
	 background: black;
	 border-radius: 50%;
	 top: 50px;
	 left: 50px;
}
 .pie::after {
	 content: "";
	 display: block;
	 width: 120px;
	 height: 2px;
	 background: rgba(0, 0, 0, 0.1);
	 border-radius: 50%;
	 box-shadow: 0 0 3px 4px rgba(0, 0, 0, 0.1);
	 margin: 220px auto;
}
 .slice {
	 position: absolute;
	 width: 200px;
	 height: 200px;
	 clip: rect(0px, 200px, 200px, 100px);
	 animation: bake-pie 5s steps(5, end), linear;
     animation-iteration-count: 3;
}
 .slice span {
	 display: block;
	 position: absolute;
	 top: 0;
	 left: 0;
	 background-color: black;
	 width: 200px;
	 height: 200px;
	 border-radius: 50%;
	 clip: rect(0px, 200px, 200px, 100px);
}
 .legend {
    display: flex;
	 list-style-type: none;
	 padding: 0;
	 margin: 0;
	 background: transparent;
	 /* padding: 15px; */
	 font-size: 13px;
}
 .legend li {
	 height: 1.25em;
	 margin-bottom: 0.7em;
	 padding-left: 0.5em;
	 border-left: 1.25em solid black;
     margin-right: 32px;
}
.percentage {
    display: inline;
    margin-left: 4px;
}
 .legend em {
	 font-style: normal;
}
 .legend span {
    margin-left: 8px;
	 /* float: right; */
}
 footer {
	 position: fixed;
	 bottom: 0;
	 right: 0;
	 font-size: 13px;
	 background: #ddd;
	 padding: 5px 10px;
	 margin: 5px;
}
@media only screen and (max-width: 767px) {
    .pie-wrap {
      flex-direction: column;
    }
    .pie-wrap h1 {
      font-size: 24px;
      text-align: center;
    }
    .pie-wrap p {
      font-size: 12px;
      text-align: center;
    }
    .pie {
      margin: 0 0 20px 0;
    }
    .legend {
        flex-direction: column;
    }
}