@keyframes bake-pie {
	from {
		transform: rotate(0deg) translate3d(0, 0, 0);
	}
}

.pie-chart {
	font-family: "Open Sans", Arial;
}

.pie-chart--wrapper {
	width: 100%;
	margin: 30px auto;
	text-align: center;
}

.pie-chart__pie,
.pie-chart__legend {
	display: inline-block;
	vertical-align: top;
}

.pie-chart__pie {
	position: relative;
	height: 200px;
	width: 200px;
	margin: 10px auto 35px;
}

.pie-chart__pie::before {
	content: "";
	display: block;
	position: absolute;
	z-index: 1;
	width: 120px;
	height: 120px;
	background: #EDF3E0;
	border-radius: 50%;
	top: 40px;
	left: 40px;
}

.pie-chart__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 1s;
}

.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);
}

.pie-chart__legend {
	display: block;
	margin-top: 30px;
	list-style-type: none;
	padding: 0;
	margin: 0 auto;
	background: none;
	padding: 2.75em 0.75em 0.05em;
	font-size: 13px;
	text-align: left;
	width: 100%;
}

.pie-chart__legend li {
	height: 1.25em;
	margin-bottom: 0.7em;
	padding-left: 1em;
	margin-right: 20px;
	border-left: 1.25em solid black;
}

.pie-chart__legend em {
	font-style: normal;
}

.pie-chart__legend span {
	float: right;
}

.pie-charts {
	display: flex;
	flex-direction: row;
}

@media (max-width: 500px) {
	.pie-charts {
		flex-direction: column;
	}
}
