/* Homepage logo intro. Hidden unless the script in the page head turns it on. */

.vx-intro {
	display: none;
}

html.vx-intro-on {
	overflow: hidden;
}

html.vx-intro-on .vx-intro {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	overflow: hidden;
	background: #fff;
	animation: vx-intro-out .7s cubic-bezier(.22, 1, .36, 1) 2.6s forwards;
}

html.vx-intro-leaving .vx-intro {
	animation: vx-intro-out .3s ease forwards;
}

.vx-intro-glow {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 42rem;
	height: 42rem;
	border-radius: 50%;
	background: radial-gradient(circle, var(--tourio-theme-color-015, rgba(235, 102, 43, .15)), transparent 62%);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.vx-intro-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 26px;
	padding: 0 24px;
	text-align: center;
}

.vx-intro-mark {
	position: relative;
	display: grid;
	place-items: center;
	width: 168px;
	height: 168px;
}

.vx-intro-ring {
	position: absolute;
	inset: 0;
	transform: rotate(-90deg);
}

.vx-intro-ring circle {
	fill: none;
	stroke: var(--tourio-theme-color, #eb662b);
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-dasharray: 1;
	animation: vx-intro-draw 1.5s cubic-bezier(.22, 1, .36, 1) both;
}

.vx-intro-icon {
	width: 108px;
	height: auto;
	animation: vx-intro-spin 1.5s cubic-bezier(.22, 1, .36, 1) both;
}

.vx-intro-text {
	animation: vx-intro-rise .8s cubic-bezier(.22, 1, .36, 1) .75s both;
}

.vx-intro-word {
	display: block;
	width: 250px;
	height: auto;
	margin: 0 auto;
}

.vx-intro-tagline {
	margin: 12px 0 0;
	color: var(--tourio-theme-color, #eb662b);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: .04em;
}

.vx-intro-skip {
	position: absolute;
	right: 28px;
	bottom: 28px;
	padding: 6px 16px;
	border: 1px solid var(--tourio-theme-color-050, rgba(235, 102, 43, .5));
	border-radius: 42px;
	background: rgba(255, 255, 255, .7);
	color: #05073c;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
}

.vx-intro-skip:hover,
.vx-intro-skip:focus-visible {
	background: var(--tourio-theme-color, #eb662b);
	color: #fff;
}

@keyframes vx-intro-spin {
	from {
		opacity: 0;
		transform: rotate(-200deg) scale(.5);
	}
	to {
		opacity: 1;
		transform: rotate(0) scale(1);
	}
}

@keyframes vx-intro-draw {
	from {
		stroke-dashoffset: 1;
		opacity: 0;
	}
	to {
		stroke-dashoffset: 0;
		opacity: 1;
	}
}

@keyframes vx-intro-rise {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes vx-intro-out {
	to {
		opacity: 0;
		transform: scale(1.04);
		visibility: hidden;
	}
}

@media (prefers-reduced-motion: reduce) {
	html.vx-intro-on .vx-intro {
		animation: vx-intro-out .2s ease .5s forwards;
	}

	.vx-intro-ring,
	.vx-intro-ring circle,
	.vx-intro-icon,
	.vx-intro-text {
		animation: none;
	}

	.vx-intro-ring {
		display: none;
	}
}
