* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
body {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	font-family: "Roboto", sans-serif;
	background-color: #1f1f23;
}

.button {
	width: 220px;
	height: 70px;
	background-color: #2d2d31;
	color: #7fd7c4;
	font-size: 30px;
	border-radius: 15px;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1;
	cursor: pointer;
	position: relative;
	user-select: none;
}
.button.shrink {
	height: 8px;
	transition: all 200ms ease-out;
}
.button.shrink::after {
	content: "";
	display: block;
	position: absolute;
	z-index: -1;
	height: 8px;
	width: 0px;
	background-color: #505357;
	border-radius: 5px;
	animation: scale 0.5s ease-in-out;
	animation-delay: 200ms;
}
.button.circle {
	animation: circle 0.2s ease-in-out;
	animation-fill-mode: forwards;
	animation-delay: 1s;
}

#checkmark {
	stroke: white;
	width: 20px;
	stroke-width: 3px;
	position: absolute;
	z-index: 10;
	opacity: 0;
	transform: scale(0);
	stroke-linejoin: round;
	stroke-linecap: round;
	pointer-events: none;
	fill: none;
}
#checkmark.visible {
	opacity: 1;
	animation: checkScale 250ms linear forwards;
	animation-delay: 2s;
}
@keyframes circle {
	to {
		width: 90px;
		height: 90px;
		border-radius: 50%;
		background-color: #7fd7c4;
		position: relative;
		z-index: 1;
	}
}
@keyframes checkScale {
	to {
		transform: scale(2);
	}
}

@keyframes scale {
	to {
		width: 220px;
		opacity: 0;
	}
}
