/*
Theme Name: ONEIRIC TEASER (F7mZBPmEU2D2)
Author: Fivement
Version: 1.0.0
Text Domain: Oneiric-F7mZBPmEU2D2
*/

* {
	-webkit-tap-highlight-color: transparent;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}
*:before,
*:after {
-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
		box-sizing: border-box;
}

html, body, div, ul, ol, li, h1, h2, h3, h4, h5, h6, form, p, fieldset, input, textarea, abbr, article, figure, button { 
	margin: 0; 
	padding: 0; 
}
html,
body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	position: relative;
	touch-action: none;
}
body {
	background-color: #fff;
	color: #000;
	font-size: 14px;
	font-family: sans-serif;
	line-height: 1.428;
}
* {
	-webkit-tap-highlight-color: transparent;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/*--- Splash Screen ---*/

.splash {
	background-color: #fff;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99;
	transition: opacity 5s cubic-bezier(0.5, 0, 0.75, 0);
}
body.loading .splash {
	opacity: 0;
}
body.loaded .splash {
	display: none;
}

.splash span {
	background-size: contain;
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 235px;
	height: 110px;
	transition: opacity 2s cubic-bezier(0.5, 0, 0.75, 0);
}
.splash .gradient-logo {
	background-image: url('images/bloom-iz/teaser-logo.jpg');
	z-index: 99;
}
.splash .teaser-logo {
	background-image: url('images/oneiric-diary/A2T9cDtUup7J/teaser-logo.jpg');
	opacity: 0;
	z-index: 100;
}
body.init .splash .gradient-logo {
	opacity: 0;
}
body.init .splash .teaser-logo {
	opacity: 1;
}
body.loading .splash span {
	transition: opacity 0.7s cubic-bezier(0.5, 0, 0.75, 0);
	transition-delay: 1s;
	opacity: 0 !important;
}

@media (max-width: 600px) {
	.splash span {
		width: 180px;
		height: 84px;
	}
}

/*--- Scene ---*/

.scene {
	position: fixed;
	top: 0;
	left: 50%;
	width: 100%;
	max-width: 620px;
	transform: translateX(-50%);
	height: 100%;
	z-index: 1;
}

.scene .coloring-book {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 10px;
	height: 100%;
}
.scene .coloring-book .oneiric-diary {
	width: 100%;
	height: 0;
	padding-top: 120%;
	position: relative;
	overflow: hidden;
}
.scene .coloring-book .oneiric-diary > div {
	background-size: cover;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9;
}
.scene .coloring-book .oneiric-diary .frame {
	border: 2px solid #000;
	z-index: 11;
}
.scene .coloring-book .oneiric-diary .art {
	background-image: url('images/oneiric-diary/F7mZBPmEU2D2/coloring-book-art.png');
	z-index: 10;
}
.scene .coloring-book .oneiric-diary .bg {
	background-image: url('images/oneiric-diary/F7mZBPmEU2D2/oneiric-diary-bg.gif');
	background-size: cover;
	background-position: center center;
	opacity: 0;
	z-index: 7;
	transition: opacity 3s cubic-bezier(0.32, 0, 0.67, 0);
}
body.tracklist-unveiled .scene .coloring-book .oneiric-diary .bg {
	opacity: 1;
}

.scene .coloring-book .oneiric-diary .color .path {
	fill: #fff;
}
.scene .coloring-book .oneiric-diary .color.selected .path {
	fill: #f3f3f3;
}
.scene .coloring-book .oneiric-diary .color.active .path {
	transition: fill 1.2s cubic-bezier(0.32, 0, 0.67, 0);
}
.scene .coloring-book .oneiric-diary .color.active .path.paper {
	opacity: 0.12;
}
.scene .coloring-book .oneiric-diary .color.eunbi .path {
	fill: #bbb0dc;
}
.scene .coloring-book .oneiric-diary .color.sakura .path {
	fill: #f1d2e7;
}
.scene .coloring-book .oneiric-diary .color.hyewon .path {
	fill: #db706c;
}
.scene .coloring-book .oneiric-diary .color.yena .path {
	fill: #fcf695;
}
.scene .coloring-book .oneiric-diary .color.chaeyeon .path {
	fill: #a7e0e1;
}
.scene .coloring-book .oneiric-diary .color.chaewon .path {
	fill: #cee5d5;
}
.scene .coloring-book .oneiric-diary .color.minju .path {
	fill: #ededed;
}
.scene .coloring-book .oneiric-diary .color.nako .path {
	fill: #b7d3e9;
}
.scene .coloring-book .oneiric-diary .color.hitomi .path {
	fill: #f1c3aa;
}
.scene .coloring-book .oneiric-diary .color.yuri .path {
	fill: #f3aa51;
}
.scene .coloring-book .oneiric-diary .color.yujin .path {
	fill: #567ace;
}
.scene .coloring-book .oneiric-diary .color.wonyoung .path {
	fill: #d9598c;
}
.scene .coloring-book .oneiric-diary .mask {
	z-index: 8;
}
.scene .coloring-book .oneiric-diary .mask .path {
	fill: #fff;
}

.scene .coloring-book .oneiric-diary .drop-points .point {
	display: block;
	position: absolute;
}
.scene .coloring-book .oneiric-diary .drop-points .point[data-point-id="left-outer-wall"] {
	width: 14%;
	height: 23%;
	top: 38%;
	left: 7%;
}
.scene .coloring-book .oneiric-diary .drop-points .point[data-point-id="left-inner-wall"] {
	width: 9%;
	height: 27%;
	top: 33%;
	left: 27%;
}
.scene .coloring-book .oneiric-diary .drop-points .point[data-point-id="center-wall"] {
	width: 20%;
	height: 22%;
	top: 10%;
	left: 40%;
}
.scene .coloring-book .oneiric-diary .drop-points .point[data-point-id="gate"] {
	width: 12%;
	height: 20%;
	top: 38%;
	left: 44%;
}
.scene .coloring-book .oneiric-diary .drop-points .point[data-point-id="right-inner-wall"] {
	width: 14%;
	height: 21%;
	top: 40%;
	left: 64%;
}
.scene .coloring-book .oneiric-diary .drop-points .point[data-point-id="right-outer-wall"] {
	width: 15%;
	height: 13%;
	top: 48%;
	left: 83%;
}
.scene .coloring-book .oneiric-diary .drop-points .point[data-point-id="tree"] {
	width: 18%;
	height: 20%;
	top: 20%;
	left: 76%;
}
.scene .coloring-book .oneiric-diary .drop-points .point[data-point-id="diary"] {
	width: 58%;
	height: 14%;
	top: 64%;
	left: 23%;
}
.scene .coloring-book .oneiric-diary .drop-points .point[data-point-id="cloud-1"] {
	width: 12%;
	height: 6%;
	top: 63%;
	left: 2%;
}
.scene .coloring-book .oneiric-diary .drop-points .point[data-point-id="cloud-2"] {
	width: 22%;
	height: 10%;
	top: 76%;
	left: 2%;
}
.scene .coloring-book .oneiric-diary .drop-points .point[data-point-id="cloud-3"] {
	width: 12%;
	height: 6%;
	top: 87%;
	left: 28%;
}
.scene .coloring-book .oneiric-diary .drop-points .point[data-point-id="cloud-4"] {
	width: 35%;
	height: 10%;
	top: 83%;
	left: 62%;
}

.scene .coloring-book .pencil-set {
	margin-top: 30px;
}
.scene .coloring-book .pencil-set.suspended {
	pointer-events: none;
}
.scene .coloring-book .pencil-set .row {
	display: flex;
	justify-content: center;
	position: relative;
}
.scene .coloring-book .pencil-set .holder {
	background-image: url('images/oneiric-diary/Wrj0g8ez7Ef4/pencil-holder.png');
	background-size: cover;
	display: inline-block;
	width: 30px;
	height: 40px;
	margin: 5px 10px;
	position: relative;
}
.scene .coloring-book .pencil-set .holder .pencil-tip {
	width: 5px;
	height: 5px;
	overflow: visible;
	z-index: 99;
}
.scene .coloring-book .pencil-set .holder .pencil {
	background-image: url('images/oneiric-diary/Wrj0g8ez7Ef4/pencil-sprite.png');
	background-size: 180px 80px;
	display: block;
	width: 30px;
	height: 40px;
}
.scene .coloring-book .pencil-set .holder .pencil[data-pencil-id="eunbi"] {
	background-position: 0 0;
}
.scene .coloring-book .pencil-set .holder .pencil[data-pencil-id="sakura"] {
	background-position: -30px 0;
}
.scene .coloring-book .pencil-set .holder .pencil[data-pencil-id="hyewon"] {
	background-position: -60px 0;
}
.scene .coloring-book .pencil-set .holder .pencil[data-pencil-id="yena"] {
	background-position: -90px 0;
}
.scene .coloring-book .pencil-set .holder .pencil[data-pencil-id="chaeyeon"] {
	background-position: -120px 0;
}
.scene .coloring-book .pencil-set .holder .pencil[data-pencil-id="chaewon"] {
	background-position: -150px 0;
}
.scene .coloring-book .pencil-set .holder .pencil[data-pencil-id="minju"] {
	background-position: 0 -40px;
}
.scene .coloring-book .pencil-set .holder .pencil[data-pencil-id="nako"] {
	background-position: -30px -40px;
}
.scene .coloring-book .pencil-set .holder .pencil[data-pencil-id="hitomi"] {
	background-position: -60px -40px;
}
.scene .coloring-book .pencil-set .holder .pencil[data-pencil-id="yuri"] {
	background-position: -90px -40px;
}
.scene .coloring-book .pencil-set .holder .pencil[data-pencil-id="yujin"] {
	background-position: -120px -40px;
}
.scene .coloring-book .pencil-set .holder .pencil[data-pencil-id="wonyoung"] {
	background-position: -150px -40px;
}

@media (max-width: 600px) {
	.scene .coloring-book .pencil-set .holder {
		margin: 5px;
	}
}

@media (max-height: 600px) {
	.scene .coloring-book .pencil-set {
		margin-top: 12px;
	}
	.scene .coloring-book .pencil-set .holder {
		margin-top: 0;
	}
}

/*--- Remodal ---*/

html.remodal-is-locked {
	overflow: hidden;
	touch-action: none;
}
.remodal-overlay {
	background-color: #693a8f;
	display: none;
	position: fixed;
	top: -5000px;
	right: -5000px;
	bottom: -5000px;
	left: -5000px;
	z-index: 999997;
}
.remodal-wrapper {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	display: none;
	overflow: auto;
	text-align: center;
	-webkit-overflow-scrolling: touch;
	z-index: 999998;
}
.remodal-wrapper:after {
	content: '';
	display: inline-block;
	height: 100%;
	margin-left: -0.05em;
}
.remodal-overlay,
.remodal-wrapper {
	backface-visibility: hidden;
}
.remodal {
	background-color: transparent;
	display: none;
	outline: none;
	position: relative;
	transform: translate3d(0, 0, 0);
	padding: 0;
	margin: 0;
}
.remodal,
.remodal-wrapper:after {
	vertical-align: middle;
}
.remodal-is-initialized {
	display: inline-block;
}
.remodal-overlay.remodal-is-opening,
.remodal-overlay.remodal-is-closing {
	animation-duration: 0.6s;
	animation-fill-mode: forwards;
}
.remodal-overlay.remodal-is-opening {
	animation-name: remodal-overlay-opening-keyframes;
}
.remodal-overlay.remodal-is-closing {
	animation-name: remodal-overlay-closing-keyframes;
}
.remodal.remodal-is-opening {
	animation-duration: 1s;
	animation-fill-mode: forwards;
}
.remodal.remodal-is-closing {
	animation-duration: 0.6s;
	animation-fill-mode: forwards;
}
.remodal.remodal-is-opening {
	animation-name: remodal-opening-keyframes;
}
.remodal.remodal-is-closing {
	animation-name: remodal-closing-keyframes;
}

@keyframes remodal-opening-keyframes {
	from {
		transform: scale(1.02);
		opacity: 0;
	}
	to {
		transform: none;
		opacity: 1;
		filter: blur(0);
	}
}
@keyframes remodal-closing-keyframes {
	from {
		transform: scale(1);
		opacity: 1;
	}
	to {
		transform: scale(0.95);
		opacity: 0;
		filter: blur(0);
	}
}
@keyframes remodal-overlay-opening-keyframes {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@keyframes remodal-overlay-closing-keyframes {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

.tracklist {
	width: 100%;
	max-width: 700px;
}
.tracklist .tracklist-image {
	width: 100%;
	height: auto;
}