/* scrollbar */
::-webkit-scrollbar {
	width: max(0.375rem, 0.375rem);
	height: max(0.125rem, 0.125rem);
	background-color: rgba(0, 0, 0, 0.4);
}

::-webkit-scrollbar-thumb {
	background-color: #253e6b;
}

::-webkit-scrollbar-thumb:hover {
	background-color: #355e9b;
}

/* prld */
.prld {
	background-color: rgba(23, 23, 23, 1);
	min-width: 20rem;
	position: fixed;
	z-index: 500;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 1;
	visibility: visible;
	transition: all 0.5s cubic-bezier(0.64, 0.14, 0.34, 1.32);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	box-sizing: border-box;
	padding: 0 0.625rem;
}

.prld__logo {
	max-width: 100%;
	width: auto;
	height: auto;
	display: block;
}

.prld_fade {
	opacity: 0;
	visibility: hidden;
	transform: scale(1.4);
}

@-webkit-keyframes preanimateout {
	0% {
		transform: translate(-50%, -50%) scale(1);
	}

	100% {
		transform: translate(-50%, -50%) scale(0);
	}
}

@keyframes preanimateout {
	0% {
		transform: translate(-50%, -50%) scale(1);
	}

	100% {
		transform: translate(-50%, -50%) scale(0);
	}
}

.prld__progress {
	position: absolute;
	z-index: 20;
	top: 0;
	left: 0;
	width: 0;
	height: 0.3125rem;
	background: rgb(200, 129, 107);
}

.prld__items {
	display: flex;
	justify-content: center;
	align-items: center;
	grid-gap: 0.9375rem;
	gap: 0.9375rem;
	margin-top: 0.9375rem;
}

.prld__item {
	width: 0.5rem;
	height: 0.5rem;
	background: #d0e4ff;
	border-radius: 50%;
}

/* ww */
.ww {
	max-width: 42.5rem;
	width: 100%;
	/* box-shadow: none; */
	box-sizing: border-box;
	background-color: transparent;
	padding: 0;
	box-shadow: 0px 0.9375rem 1.875rem rgba(255, 0, 0, 0.1);
}

.ww__inner {
	background: transparent;
	border: 0;
	width: 100%;
	box-shadow: none;
	padding: 0;
	box-sizing: border-box;
}

.ww__body {
	background-color: #1a1f2d;
	background-size: auto;
	background-position: center center;
	background-repeat: repeat;
	box-sizing: border-box;
	padding: 1.375rem 0.625rem;
	position: relative;
	z-index: 0;
	overflow: hidden;
	/* box-shadow: 0px 0.375rem 1.5rem rgba(0, 0, 0, 0.1); */
	border: 2px solid #e3da9a;
	border-radius: 5px;
}

.ww__close {
	width: 1.25rem;
	height: 1.25rem;
	display: block;
	cursor: pointer;
	transition: 0.3s all;
	background-size: contain;
	border-radius: 50%;
	z-index: 20;
	position: absolute;
	top: 0.625rem;
	right: 0.625rem;
}

.ww__close:before,
.ww__close:after {
	display: block;
	content: "";
	background: #e3da9a;
	position: absolute;
	top: calc(50% - 0.0625rem);
	left: 0;
	right: 0;
	height: 0.125rem;
	border-radius: 0.125rem;
	transition: 0.3s all;
}

.ww__close:before {
	transform: rotate(-45deg);
}

.ww__close:after {
	transform: rotate(45deg);
}

.ww__close:hover:before,
.ww__close:hover:after {
	filter: brightness(120%);
	transform: rotate(0);
}

.ww__head {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	grid-gap: 0.875rem;
	gap: 0.875rem;
	text-align: center;
	color: var(--accent-color);
	font-weight: 700;
	margin: 0 auto;
	padding: 1.375rem 0;
	margin-top: -1.375rem;
	position: relative;
	z-index: 0;
	text-transform: uppercase;
	font-family: var(--font-secondary);
}

.ww__title {
	font-size: 1.125rem;
}

.ww__content {
	text-wrap: pretty;
}

@media (min-width: 460px) {
	.ww__body {
		padding: 1.375rem 1.5rem;
	}
}

@media (min-width: 1200px) {
	.ww__title {
		font-size: 1.5rem;
	}
}

/* fancybox */
.fancybox-container {
	z-index: 666 !important;
}

.fancybox-content {
	padding: 0;
	background: transparent;
}

.fancybox-bg {
	background: rgb(0, 0, 0);
}

.fancybox-is-open .fancybox-bg {
	opacity: 0.5;
}

.gw-modal-close {
	display: none;
}

/* Custom animation */
.fancybox-is-open .ww_animated {
	-webkit-animation: modalIn 0.5s ease;
	animation: modalIn 0.5s ease;
}

.fancybox-is-closing .ww_animated {
	-webkit-animation: modalout 0.5s ease;
	animation: modalout 0.5s ease;
}

@-webkit-keyframes modalIn {
	0% {
		opacity: 0;
		transform: translateY(-10vh);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes modalIn {
	0% {
		opacity: 0;
		transform: translateY(-10vh);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@-webkit-keyframes modalout {
	0% {
		opacity: 1;
		transform: translateY(0);
	}

	100% {
		opacity: 0;
		transform: translateY(10vh);
	}
}

@keyframes modalout {
	0% {
		opacity: 1;
		transform: translateY(0);
	}

	100% {
		opacity: 0;
		transform: translateY(10vh);
	}
}

/* ttl */

.ttl {
	color: var(--accent-color);
	font-size: clamp(2.25rem, 3.4722222222vw, 3.125rem);
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 0;
	text-align: center;
	text-transform: uppercase;
	/* font-family: var(--font-secondary); */
	text-shadow: 0 2px 4px #0000006e;
	margin: 0;
	background-color: #0000004d;
	border-radius: 15px;
	padding: 0 20px;
}

.ttl_mb {
	margin-bottom: 40px;
}

/* heading */

.heading {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.heading_mb {
	margin-bottom: 40px;
}
