/* Christmas mode (inc/sekyere-christmas.php): only loaded while it's on. */

/* Santa hat on the tip of the logo's flame */
#mainNav .brandfull div.icon {
	position: relative;
}

#mainNav .brandfull .xmas-hat {
	position: absolute;
	top: -4%;
	left: 35%;
	width: 34%;
	height: auto;
	transform: rotate(-12deg);
	transform-origin: 30% 80%;
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
	pointer-events: none;
}

/* Light snowfall over the homepage hero */
.xmas-snow {
	position: absolute;
	inset: 0;
	z-index: 3;
	overflow: hidden;
	container-type: size;
	pointer-events: none;
}

.xmas-snow i {
	position: absolute;
	top: 0;
	left: var(--x);
	width: var(--s);
	height: var(--s);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
	opacity: var(--o);
	animation: xmas-fall var(--d) linear var(--delay) infinite;
}

@keyframes xmas-fall {
	from {
		transform: translate3d(0, -12px, 0);
	}

	to {
		transform: translate3d(var(--drift), 102cqh, 0);
	}
}

@media (max-width: 767px) {
	.xmas-snow i:nth-child(n + 13) {
		display: none;
	}
}

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

/* Season's greeting above the footer copyright */
.copyright .xmas-greeting {
	display: block;
	margin-bottom: 4px;
	color: #80b435;
	font-weight: 700;
}

.copyright .xmas-greeting .fa {
	margin-right: 4px;
}

@media (max-width: 767px) {
	.copyright {
		text-align: center;
	}
}
