.dancedance * {
	box-sizing: border-box;
}

.dancedance {
	position: relative;
	z-index: 1;
	max-width: 400px;
	margin: auto;
}

.dancedance__emoji {
	font-style: normal;
	font-weight: 400;
	font-family: "apple color emoji", "segoe ui emoji", "noto color emoji",
	"android emoji", emojisymbols, "emojione mozilla", "twemoji mozilla",
	"segoe ui symbol", serif;
}

@keyframes dancedance-progress {
	0% {
		transform: scale(0, 100%);
	}
	100% {
		transform: scale(100%, 100%);
	}
}

.dancedance__progress {
	--dancedance-max-time: 1s;

	position: relative;
	display: block;
	width: 100%;
	height: 15px;
}

.dancedance__progress::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #47474d;

	transform: scale(0, 100%);
	transform-origin: left top;
	animation: var(--dancedance-max-time) dancedance-progress linear;
	animation-play-state: paused;
}

[data-dancedance-progress="start"]::before {
	animation-play-state: running;
}

[data-dancedance-progress="pause"]::before {
	animation-play-state: paused;
}

[data-dancedance-progress="stop"]::before {
	animation: none;
}

.dancedance__header {
	position: relative;
	height: 75px;
	padding: 10px 0;
	font-family: "Racing Sans One", cursive;
	font-size: 30px;
	line-height: 1.5;
	text-shadow: 1px 1px white, -1px -1px white;
	text-align: center;
}

.dancedance__overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	background: white;

	display: flex;
	justify-content: center;
	align-items: center;

	font-family: "Racing Sans One", cursive;
	font-size: 30px;
	line-height: 1.5;
	text-shadow: 1px 1px white, -1px -1px white;
	text-align: center;
}

.dancedance__counter {
	position: absolute;
	top: 10px;
	right: 20px;
}

.dancedance__ratio {
	position: relative;
	width: 100%;
	padding-top: 112.5%;
}

.dancedance__pad {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background: #47474d;
	border: 5px solid black;
	border-radius: 20px;
}
.dancedance__pad * {
	position: absolute;
}

.dancedance__select {
	display: block;
	width: 17%;
	height: 4%;
	background: #47474d;
	border-radius: 20px;
	border: 2px solid #faf0fa;
	background: #db5c7d;
	top: 4%;
	left: 10%;
	cursor: pointer;
}

.dancedance__select::after {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	content: "SELECT";
	top: 110%;
	font-family: "Racing Sans One", cursive;
	color: #faf0fa;
	text-align: center;
}

.dancedance__start {
	display: block;
	width: 17%;
	height: 4%;
	background: #47474d;
	border-radius: 20px;
	border: 2px solid #faf0fa;
	background: #61a6f5;
	top: 4%;
	right: 10%;
	cursor: pointer;
}

.dancedance__start::after {
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	content: "START";
	top: 110%;
	left: 6%;
	font-family: "Racing Sans One", cursive;
	color: #faf0fa;
	text-align: center;
}

.dancedance__playarea {
	top: 13%;
	left: 0%;
	width: 100%;
	height: 87%;
	border-bottom-left-radius: 17px;
	border-bottom-right-radius: 17px;
	background: #faf0fa;
}

.dancedance__subject-copy {
	width: 100%;
	height: 100%;
	position: absolute;
	background: #47474d;
	border-radius: 50%;
	z-index: 2;
}

.dancedance__corner-squares {
	width: 30%;
	height: 30%;
	border: 1px solid black;
	border-radius: 10px;
	background-image: radial-gradient(ellipse farthest-corner at center, white 0%, #faf0fa 30%, #47474d 60%);
}

.dancedance__tl,
.dancedance__tr {
	top: 3%;
}

.dancedance__bl,
.dancedance__br {
	bottom: 3%;
}

.dancedance__tl,
.dancedance__bl {
	left: 3%;
}

.dancedance__tr,
.dancedance__br {
	right: 3%;
}

.dancedance__holder {
	width: 60%;
	height: 60%;
	top: 20%;
	left: 20%;
	border-radius: 50%;
	background: #faf0fa;
	box-shadow: 0 0 15px 10px #696366, inset 0 0 5px 10px #b0b0b5;
}

.dancedance__redblue {
	-webkit-clip-path: polygon(10% 0, 90% 0, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0 90%, 0 10%);
	clip-path: polygon(10% 0, 90% 0, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0 90%, 0 10%);
}

.dancedance__bs-top,
.dancedance__bs-bot {
	width: 30%;
	height: 36%;
	background: #61a6f5;
	left: 35%;
}

.dancedance__rs-right,
.dancedance__rs-left {
	width: 36%;
	height: 30%;
	background: #db5c7d;
	top: 35%;
}

.dancedance__bs-bot {
	bottom: 0%;
}

.dancedance__rs-right {
	right: 0%;
}

.dancedance__center {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 36%;
	height: 36%;
	background: #faf0fa;
	border: 5px solid #faf0fa;
	border-radius: 50%;
	box-shadow: inset 0 0 35px 20px #47474d;
	left: 32%;
	top: 32%;

	text-align: center;
}

.dancedance__center::after {
	content: "ZUPPLE DANCE DANCE";
	font-family: "Racing Sans One", cursive;
	font-size: 1.5em;
	text-shadow: 1px 1px white, -1px -1px white;
	line-height: 0.9;
	opacity: 0.6;
}

.dancedance__shade-rs-left {
	width: 100%;
	height: 80%;
	top: 10%;
	box-shadow: inset 10px 0 25px 1px #47474d;
	background-image: linear-gradient(to left, #db5c7d 60%, #47474d 100%);
}

.dancedance__shade-rs-right {
	width: 100%;
	height: 80%;
	top: 10%;
	box-shadow: inset -10px 0 25px 1px #47474d;
	background-image: linear-gradient(to right, #db5c7d 60%, #47474d 100%);
}

.dancedance__arrowredleft-white {
	width: 60%;
	height: 90%;
	top: 5%;
	right: 15%;
	background: #faf0fa;
	clip-path: polygon(50% 0, 50% 20%, 96% 20%, 96% 80%, 50% 80%, 50% 100%, 0% 50%);
}

.dancedance__arrowredleft-red {
	width: 100%;
	height: 100%;
	transform: scale(0.9, 0.9);
	right: 2%;
	background: #db5c7d;
	clip-path: polygon(50% 0, 50% 20%, 100% 20%, 100% 80%, 50% 80%, 50% 100%, 0% 50%);
}

.dancedance__arrowredright-white {
	width: 60%;
	height: 90%;
	top: 5%;
	left: 15%;
	background: #faf0fa;
	clip-path: polygon(4% 20%, 50% 21%, 50% 0, 100% 50%, 50% 100%, 50% 80%, 4% 80%);
}

.dancedance__arrowredright-red {
	width: 100%;
	height: 100%;
	transform: scale(0.9, 0.9);
	left: 2%;
	background: #db5c7d;
	clip-path: polygon(0% 20%, 50% 21%, 50% 0, 100% 50%, 50% 100%, 50% 80%, 0% 80%);
}

.dancedance__shade-bs-top {
	width: 80%;
	height: 100%;
	left: 10%;
	box-shadow: inset 0 10px 25px 1px #47474d;
	background-image: linear-gradient(to top, #61a6f5 60%, #47474d 100%);
}

.dancedance__shade-bs-bot {
	width: 80%;
	height: 100%;
	left: 10%;
	box-shadow: inset 0 -10px 25px 1px #47474d;
	background-image: linear-gradient(to bottom, #61a6f5 60%, #47474d 100%);
}

.dancedance__arrowbluetop-white {
	width: 90%;
	height: 60%;
	bottom: 15%;
	left: 5%;
	background: #faf0fa;
	transform: rotate(-90deg);
	clip-path: polygon(4% 20%, 50% 21%, 50% 0, 100% 50%, 50% 100%, 50% 80%, 4% 80%);
}

.dancedance__arrowbluetop-blue {
	width: 100%;
	height: 100%;
	transform: scale(0.9, 0.9);
	left: 2%;
	background: #61a6f5;
	clip-path: polygon(0% 20%, 50% 21%, 50% 0, 100% 50%, 50% 100%, 50% 80%, 0% 80%);
}

.dancedance__arrowbluebot-white {
	width: 90%;
	height: 60%;
	top: 15%;
	left: 5%;
	background: #faf0fa;
	transform: rotate(90deg);
	clip-path: polygon(4% 20%, 50% 21%, 50% 0, 100% 50%, 50% 100%, 50% 80%, 4% 80%);
}

.dancedance__arrowbluebot-blue {
	width: 100%;
	height: 100%;
	transform: scale(0.9, 0.9);
	left: 2%;
	background: #61a6f5;
	clip-path: polygon(0% 20%, 50% 21%, 50% 0, 100% 50%, 50% 100%, 50% 80%, 0% 80%);
}

@keyframes dancedance__clicked {
	0%,
	100% {
		opacity: 1;
	}
	10% {
		opacity: 0.4;
	}
}

.dancedance__arrow {
	cursor: pointer;
}

.dancedance__arrow--clicked {
	animation: 0.4s ease-in 0s 1 dancedance__clicked;
}

.dancedance__power {
	width: 25%;
	height: 8%;
	background: black;
	left: 37.5%;
	top: -3%;
	clip-path: polygon(35% 0, 65% 0, 100% 25%, 75% 100%, 25% 100%, 0% 25%);
}

.dancedance__power-inner {
	width: 100%;
	height: 100%;
	background: #696366;
	transform: scale(0.8, 0.8);
	clip-path: polygon(35% 0, 65% 0, 100% 25%, 75% 100%, 25% 100%, 0% 25%);
}

.dancedance__power-bottom {
	background: #948f94;
	width: 50%;
	height: 60%;
	left: 25%;
	top: 40%;
	clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}

.dancedance__power-top {
	background: #b0b0b5;
	width: 36%;
	height: 40%;
	left: 32%;
	clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%);
}
