.pie-chart { width: 340px; height: 340px; background: conic-gradient(#8b22ff 0% 25%, #ffc33b 25% 56%, #21f3d6 56% 100%); border-radius: 50%; } body { display: flex; justify-content: center; align-items: center; height: 100vh; }