.wmd-starfall-host {
	position: relative !important;
	isolation: isolate;
}

.wmd-starfall-surface {
	position: relative !important;
	z-index: 2;
	isolation: isolate;
	overflow: hidden !important;
}

.wmd-starfall-surface > .et_pb_column {
	position: relative !important;
	z-index: 2;
}

.wmd-starfall {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
	border-radius: inherit;
	pointer-events: none;
}

.wmd-falling-star {
	position: absolute;
	left: var(--left);
	top: -12%;
	color: #fff3c4;
	font-size: var(--size);
	font-weight: 700;
	line-height: 1;
	opacity: 0;
	-webkit-text-stroke: .35px rgba(126, 78, 0, .48);
	text-shadow:
		0 0 2px rgba(94, 55, 0, .8),
		0 0 8px rgba(255, 245, 201, .88),
		0 0 17px rgba(255, 224, 117, .58);
	animation: wmd-star-fall var(--duration) linear var(--delay) infinite;
	will-change: transform, opacity;
}

@keyframes wmd-star-fall {
	0% {
		transform: translate3d(0, -12vh, 0) rotate(0deg);
		opacity: 0;
	}
	8% {
		opacity: .86;
	}
	35% {
		opacity: 1;
	}
	82% {
		opacity: .8;
	}
	100% {
		transform: translate3d(var(--drift), 112vh, 0) rotate(235deg);
		opacity: 0;
	}
}

@media (max-width: 767px) {
	.wmd-falling-star:nth-child(n + 13) {
		display: none;
	}

	.wmd-falling-star {
		text-shadow:
			0 0 2px rgba(94, 55, 0, .78),
			0 0 7px rgba(255, 245, 201, .84),
			0 0 13px rgba(255, 224, 117, .5);
	}
}

@media (prefers-reduced-motion: reduce) {
	.wmd-starfall {
		display: none;
	}
}
