/* App */
@font-face {
	font-family: 'Work Sans';
	src: url('../fonts/WorkSans-Regular.woff2') format('woff2'),
		url('../fonts/WorkSans-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

a {
	color: black;
	text-decoration: none;

	transition: opacity linear 0.5;
}

a:hover {
	opacity: 0.7;
}

#app_main {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;

	background: #f8f9fa;
	color: black;

	width: 100vw;
	height: 100dvh;

	overflow: hidden;
}

#app_logo {
	position: relative;
	display: block;
	width: 120px;
	height: auto;

	z-index: 9;

	opacity: 0;

	animation: logo_animation 0.5s ease-in-out 1s forwards;
}

#app_wrapper {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;

	width: calc(100vw - 32px);
	max-width: 480px;

	height: calc(100vw - 32px);
	max-height: 480px;

	z-index: 9;
}

#app_content {
	position: absolute;
	width: calc(100% + 32px);
	height: calc(100% + 32px);
	padding-top: 32px;
	padding-bottom: 32px;

	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

	z-index: -1;
}

.app_line:after,
.app_line:before {
	content: '';
	position: absolute;
	width: 100vw;
	height: 1px;
	background: rgb(236, 236, 236);
	left: 50%;
	top: 50%;

	transform: scale(0, 1) translate(-50%, -50%);
	transform-origin: top center;
}

.app_line:before {
	width: 1px;
	height: 100dvh;

	transform: scale(1, 0) translate(-50%, -50%);
	transform-origin: center left;
}

#app_line-1.app_line:after {
	top: 0px;

	animation: line_animation_horizontal 1s ease-in-out 0.2s forwards;
}

#app_line-1.app_line:before {
	left: 0px;

	animation: line_animation_vertical 1s ease-in-out 0.4s forwards;
}

#app_line-2.app_line:after {
	top: unset;
	bottom: 0px;

	animation: line_animation_horizontal 1s ease-in-out 0.6s forwards;
}

#app_line-2.app_line:before {
	left: unset;
	right: 0px;

	animation: line_animation_vertical 1s ease-in-out 0.8s forwards;
}

#app_swiper {
	position: absolute;
	width: 100%;
	height: 0px;
	padding-top: 100%;

	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

	z-index: -1;
}

#app_swiper .swiper {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;

	opacity: 0;
	animation: logo_animation 1.0s ease-in-out 1.5s forwards;
}

#app_swiper .swiper img {
	position: absolute;
	width: 100%;
	height: auto;
}

#app_contact {
	margin-top: 8px;
	padding-left: 32px;
	padding-right: 32px;

	font-family: 'Work Sans', 'Courier New', monospace;
	font-size: 11px;
	line-height: 1em;
	text-transform: none;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 6px;

	opacity: 0;
	animation: logo_animation 1.0s ease-in-out 2s forwards;
}

#app_contact span {
	display: flex;
}

#app_contact span.app_contact-social {
	gap: 6px;
}

#app_contact span.app_contact-social img {
	width: 24px;
	height: auto;
}

#app_contact span > a {
	display: flex;
}

@keyframes logo_animation {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes line_animation_horizontal {
	0% {
		transform: scale(0, 1) translate(-50%, -50%);
	}

	100% {
		transform: scale(1, 1) translate(-50%, -50%);
	}
}

@keyframes line_animation_vertical {
	0% {
		transform: scale(1, 0) translate(-50%, -50%);
	}

	100% {
		transform: scale(1, 1) translate(-50%, -50%);
	}
}