.coffee {
display: flex;
align-items: center;
justify-content: center;

}

.coffee_container {
position: relative;
top: 50px;
}
.cup {
	position: relative;
	width: 140px;
	height: 150px;
	background: linear-gradient(to right, #f9f9f9, #c6c6c6 60%, #c1c1c1);
	border-radius: 0 0 40% 40%;
}

/* holds the rim and inside of the cup and the 'tea' */
.rim {
	position: absolute;
	top: -30px;
	left: 0;
	width: 100%;
	height: 60px;
	background: linear-gradient(to right, #f9f9f9, #c6c6c6);
	border-radius: 50%;
}
.inside {
	position: absolute;
	top: 5px;
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% - 15px);
	height: 50px;
	background: linear-gradient(to left, #f9f9f9, #c6c6c6);
	border-radius: 50%;
	overflow: hidden;
}
.tea {
	position: absolute;
	top: 15px;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, #c57e65, #dd7048);
	border-radius: 50%;
}
.handle {
	position: absolute;
	top: 20px;
	right: -35px;
	width: 80px;
	height: 90px;
	border: 12px solid #c1c1c1;
	border-left: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-radius: 50%;
	transform: rotate(42deg);
}
.saucer {
	position: absolute;
	bottom: -35px;
	left: 50%;
	transform: translateX(-50%);
	width: 250px;
	height: 90px;
	background: linear-gradient(to right, #f9f9f9, #c6c6c6);
	border-radius: 50%;
	box-shadow: 0 35px 25px rgba(0 128 0 / 0.1);
}
.saucer::before {
	content: "";
	position: absolute;
	top: 5px;
	left: 5px;
	bottom: 5px;
	right: 5px;
	border-radius: 50%;
	box-shadow: 12px 12px 20px 15px rgba(0 0 0 / 0.6);
}
.saucer::after {
	content: "";
	position: absolute;
	top: 25px;
	left: 25px;
	bottom: 15px;
	right: 15px;
	background: radial-gradient(rgba(0 0 0 / 0.4) 25%, transparent, transparent);
	border-radius: 50%;
}
.steam {
	position: relative;
	display: flex;
	z-index: 1;
	padding: 0 20px;
}
.steam span {
	display: block;
	position: relative;
	bottom: 50px;
	margin: 0 2px 50px;
	min-width: 7px;
	height: 120px;
	background: #fff;
	border-radius: 50%;
	opacity: 0;
	filter: blur(12px);
	animation: steam 5s linear infinite;
	animation-delay: calc(var(--i) * -0.75s);
}
@keyframes steam {
    0% {
		transform: translateY(0) scaleX(1);
		opacity: 0;
	}
	15% {
		opacity: 1;
	}
	50% {
		transform: translateY(-200px) scaleX(5);
		opacity: 1;
	}
	70% {
		opacity: 0.75;
	}
	100% {
		transform: translateY(-400px) scaleX(8);
	}
}
