 /* ===================================================================
 * LopwonFestive Main Stylesheet
 * Template Ver. 1.0.0
 * 01-12-2023
 * -----------------------------------------------------------------*/

body {
	margin: 0;
}

.lopwon-overlay {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0 3em;
	font-size: 1.2em;
	color: white;
	line-height: 2;
	font-weight: normal;
	word-wrap: break-word;
	word-break: normal;
	background-color: rgb(0 0 0 / 75%);
	z-index: 999999995;
}

/* -------------------------------------------------------------------
 * wrap
 * ------------------------------------------------------------------- */

.Lopwon_Festive {
	display: table;
	width: 100%;	
	height: 100vh;
}

.Lopwon_Festive a.open {
	position: absolute;
	width: 100%;
	height: 100vh;
	cursor: default;
	z-index: 999999993;
}

.Lopwon_Festive .desc {
	position: absolute !important;
	top: 27vh !important;
	left: 7.5vw !important;
	width: 100% !important;
	height: auto !important;
	max-width: 85vw !important;
	text-align: center !important;
	transform-style: unset !important;
	z-index: 999999994;
}

.Lopwon_Festive .desc span {
	font-size: 32px;
	color: white;
	font-weight: bold;
	text-overflow: -o-ellipsis-lastline;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	line-clamp: 1;
}

.Lopwon_Festive ul {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

.Lopwon_Festive .scene,
.Lopwon_Festive .layer {
	display: block;
	margin: 0;	
	padding: 0;	
	width: 100%;	
	height: 100%;
}

.Lopwon_Festive .scene {
	position: relative;
	overflow: hidden;
}

.Lopwon_Festive .layer {
	position: absolute;
}

/* -------------------------------------------------------------------
 * focus
 * ------------------------------------------------------------------- */

.focus {
	-webkit-animation: focus 4s 0.1s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
	-moz-animation: focus 4s 0.1s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
	animation: focus 4s 0.1s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

@-webkit-keyframes focus {
	0% { -webkit-transform: translate3d(15%,0,0) rotateZ(10deg); -moz-transform: translate3d(15%,0,0) rotateZ(10deg); transform: translate3d(15%,0,0) rotateZ(10deg); }	
	100% { -webkit-transform: translate3d(-15%,0,0) rotateZ(-10deg); -moz-transform: translate3d(-15%,0,0) rotateZ(-10deg); transform: translate3d(-15%,0,0) rotateZ(-10deg); }
}

@-moz-keyframes focus {
	0% { -webkit-transform: translate3d(15%,0,0) rotateZ(10deg); -moz-transform: translate3d(15%,0,0) rotateZ(10deg); transform: translate3d(15%,0,0) rotateZ(10deg); }
	100% { -webkit-transform: translate3d(-15%,0,0) rotateZ(-10deg); -moz-transform: translate3d(-15%,0,0) rotateZ(-10deg); transform: translate3d(-15%,0,0) rotateZ(-10deg); }
}

@-ms-keyframes focus {
	0% { -webkit-transform: translate3d(15%,0,0) rotateZ(10deg); -moz-transform: translate3d(15%,0,0) rotateZ(10deg); transform: translate3d(15%,0,0) rotateZ(10deg); }
	100% { -webkit-transform: translate3d(-15%,0,0) rotateZ(-10deg); -moz-transform: translate3d(-15%,0,0) rotateZ(-10deg); transform: translate3d(-15%,0,0) rotateZ(-10deg); }
}

@keyframes focus {
	0% { -webkit-transform: translate3d(15%,0,0) rotateZ(10deg); -moz-transform: translate3d(15%,0,0) rotateZ(10deg); transform: translate3d(15%,0,0) rotateZ(10deg); }
	100% { -webkit-transform: translate3d(-15%,0,0) rotateZ(-10deg); -moz-transform: translate3d(-15%,0,0) rotateZ(-10deg); transform: translate3d(-15%,0,0) rotateZ(-10deg); }
}

/* -------------------------------------------------------------------
 * phase
 * ------------------------------------------------------------------- */

.phase-1 {
	-webkit-animation: phase 20s 0.1s infinite linear;
	-moz-animation: phase 20s 0.1s infinite linear;
	animation: phase 20s 0.1s infinite linear;
}

.phase-2 {
	-webkit-animation: phase 18s 0.1s infinite linear;
	-moz-animation: phase 18s 0.1s infinite linear;
	animation: phase 18s 0.1s infinite linear;
}

.phase-3 {
	-webkit-animation: phase 16s 0.1s infinite linear;
	-moz-animation: phase 16s 0.1s infinite linear;
	animation: phase 16s 0.1s infinite linear;
}

.phase-4 {
	-webkit-animation: phase 14s 0.1s infinite linear;
	-moz-animation: phase 14s 0.1s infinite linear;
	animation: phase 14s 0.1s infinite linear;
}

.phase-5 {
	-webkit-animation: phase 12s 0.1s infinite linear;
	-moz-animation: phase 12s 0.1s infinite linear;
	animation: phase 12s 0.1s infinite linear;
}

@-webkit-keyframes phase {
	0% { opacity: 1; } 25% { opacity: 0.4; } 50% { opacity: 0.8; } 75% { opacity: 0.4; } 100% { opacity: 1; }
} 

@-moz-keyframes phase {
	0% { opacity: 1; } 25% { opacity: 0.4; } 50% { opacity: 0.8; } 75% { opacity: 0.4; } 100% { opacity: 1; }
} 

@-ms-keyframes phase {
	0% { opacity: 1; } 25% { opacity: 0.4; } 50% { opacity: 0.8; } 75% { opacity: 0.4; } 100% { opacity: 1; }
} 

@keyframes phase {
	0% { opacity: 1; } 25% { opacity: 0.4; } 50% { opacity: 0.8; } 75% { opacity: 0.4; } 100% { opacity: 1; }
}

/* -------------------------------------------------------------------
 * wave
 * ------------------------------------------------------------------- */

.wave-1 {
	-webkit-animation: wave 8s 0.1s infinite linear;
	-moz-animation: wave 8s 0.1s infinite linear;
	animation: wave 8s 0.1s infinite linear;
}

.wave-2 {
	-webkit-animation: wave 7.11111s 0.1s infinite linear;
	-moz-animation: wave 7.11111s 0.1s infinite linear;
	animation: wave 7.11111s 0.1s infinite linear;
}

.wave-3 {
	-webkit-animation: wave 6.22222s 0.1s infinite linear;
	-moz-animation: wave 6.22222s 0.1s infinite linear;
	animation: wave 6.22222s 0.1s infinite linear;
}

.wave-4 {
	-webkit-animation: wave 5.33333s 0.1s infinite linear;
	-moz-animation: wave 5.33333s 0.1s infinite linear;
	animation: wave 5.33333s 0.1s infinite linear;
}

.wave-5 {
	-webkit-animation: wave 4.44444s 0.1s infinite linear;
	-moz-animation: wave 4.44444s 0.1s infinite linear;
	animation: wave 4.44444s 0.1s infinite linear;
}

@-webkit-keyframes wave {
	0% { -webkit-transform: rotateZ(0deg) translate3d(0,10%,0) rotateZ(0deg); -moz-transform: rotateZ(0deg) translate3d(0,10%,0) rotateZ(0deg); transform: rotateZ(0deg) translate3d(0,10%,0) rotateZ(0deg); }
	100% { -webkit-transform: rotateZ(360deg) translate3d(0,10%,0) rotateZ(-360deg); -moz-transform: rotateZ(360deg) translate3d(0,10%,0) rotateZ(-360deg); transform: rotateZ(360deg) translate3d(0,10%,0) rotateZ(-360deg); }
} 

@-moz-keyframes wave {
	0% { -webkit-transform: rotateZ(0deg) translate3d(0,10%,0) rotateZ(0deg); -moz-transform: rotateZ(0deg) translate3d(0,10%,0) rotateZ(0deg); transform: rotateZ(0deg) translate3d(0,10%,0) rotateZ(0deg); }
	100% { -webkit-transform: rotateZ(360deg) translate3d(0,10%,0) rotateZ(-360deg); -moz-transform: rotateZ(360deg) translate3d(0,10%,0) rotateZ(-360deg); transform: rotateZ(360deg) translate3d(0,10%,0) rotateZ(-360deg); }
} 

@-ms-keyframes wave {
	0% { -webkit-transform: rotateZ(0deg) translate3d(0,10%,0) rotateZ(0deg); -moz-transform: rotateZ(0deg) translate3d(0,10%,0) rotateZ(0deg); transform: rotateZ(0deg) translate3d(0,10%,0) rotateZ(0deg); }
	100% { -webkit-transform: rotateZ(360deg) translate3d(0,10%,0) rotateZ(-360deg); -moz-transform: rotateZ(360deg) translate3d(0,10%,0) rotateZ(-360deg); transform: rotateZ(360deg) translate3d(0,10%,0) rotateZ(-360deg); }
} 

@keyframes wave {
	0% { -webkit-transform: rotateZ(0deg) translate3d(0,10%,0) rotateZ(0deg); -moz-transform: rotateZ(0deg) translate3d(0,10%,0) rotateZ(0deg); transform: rotateZ(0deg) translate3d(0,10%,0) rotateZ(0deg); }
	100% { -webkit-transform: rotateZ(360deg) translate3d(0,10%,0) rotateZ(-360deg); -moz-transform: rotateZ(360deg) translate3d(0,10%,0) rotateZ(-360deg); transform: rotateZ(360deg) translate3d(0,10%,0) rotateZ(-360deg); }
}

/* -------------------------------------------------------------------
 * swing
 * ------------------------------------------------------------------- */
 
.swing-1 {
	-webkit-animation: swing 4s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
	-moz-animation: swing 4s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
	animation: swing 4s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.swing-2 {
	-webkit-animation: swing 3.5s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
	-moz-animation: swing 3.5s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
	animation: swing 3.5s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.swing-3 {
	-webkit-animation: swing 3s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
	-moz-animation: swing 3s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
	animation: swing 3s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.swing-4 {
	-webkit-animation: swing 2.5s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
	-moz-animation: swing 2.5s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
	animation: swing 2.5s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.swing-5 {
	-webkit-animation: swing 2s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
	-moz-animation: swing 2s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
	animation: swing 2s infinite alternate cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

@-webkit-keyframes swing {
	0% { -webkit-transform: rotateZ(10deg); -moz-transform: rotateZ(10deg); transform: rotateZ(10deg); }
	100% { -webkit-transform: rotateZ(-10deg); -moz-transform: rotateZ(-10deg); transform: rotateZ(-10deg); }
}

@-moz-keyframes swing {
	0% { -webkit-transform: rotateZ(10deg); -moz-transform: rotateZ(10deg); transform: rotateZ(10deg); }
	100% { -webkit-transform: rotateZ(-10deg); -moz-transform: rotateZ(-10deg); transform: rotateZ(-10deg); }
}

@-ms-keyframes swing {
	0% { -webkit-transform: rotateZ(10deg); -moz-transform: rotateZ(10deg); transform: rotateZ(10deg); }
	100% { -webkit-transform: rotateZ(-10deg); -moz-transform: rotateZ(-10deg); transform: rotateZ(-10deg); }
}

@keyframes swing {
	0% { -webkit-transform: rotateZ(10deg); -moz-transform: rotateZ(10deg); transform: rotateZ(10deg); }
	100% { -webkit-transform: rotateZ(-10deg); -moz-transform: rotateZ(-10deg); transform: rotateZ(-10deg); }
}