
/****************************

	공용

****************************/


@media screen and (max-width: 720px) {
    .emdesinger {
        font-size: calc((100vw / 720) * 9);
    }
}

@media screen and (min-width: 720px) {
    .emdesinger {
        font-size: 9px;
    }
}

* {
    font-family: "Noto Sans KR", sans-serif;
}

span.nameprefix {
    font-size:0.7em;
    color:#999;
    font-family: 'KoPub Batang', serif;;
}

.change-area {text-align: center; position: relative;}
.change-area .width-max {max-width:100%;width:100%; }

/****************************

	게임

****************************/


#game
{
    position: absolute;
    left: -200%;
	right:-100%
	top:0;
    bottom: 0;
    z-index: 2000;
    background: white;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* 인터넷익스플로러 */
    user-select: none;
}
#game.show
{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#showgame {
    position: sticky;
    width: 100%;
    display: flex;
    justify-content: center;
    bottom: 0;
	z-index:90;
}
#showgame *
{
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* 인터넷익스플로러 */
    user-select: none;
}
#showgame .gm-btn {
	position: relative;
	color: #000000;
	font-size: 2em;
	font-weight: bold;
	font-family: 'Noto Sans KR', sans-serif;
	padding: 0.3em 2em 0.4em 2em;
	background-color: #c1c1c1;
	border-radius: 0.5em;
	margin-bottom: 0.5em;
	box-shadow: 0 .2em .5em 0 rgba(0, 0, 0, .3);
	cursor: pointer;
}
#showgame .gm-btn .prepare { visibility: hidden; }
#showgame .gm-btn .text {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 990;
    margin: auto auto;
    text-align: center;
    padding: 0.3em 0 0.3em 0;
}
#showgame .gm-btn .bar { 
	position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background-color: #d7d200;
    border-radius: 0.5em;
}

#showgame .gm-btn.enable .bar { 
	position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background-color: #ffbf00;
    border-radius: 0.5em;
}
/* #showgame .gm-btn.enable:hover .bar{
    background-color: #b98b00;
} */


#unity-container { position: fixed; width: 100%; height: 100%; }
#unity-canvas { width: 100%; height: 100%; background: black }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }



.accountnumber-wrap a {
    color: #3F3F3F;
}
.accountnumber-wrap a:hover {
    color: #F7F7F7;
}
.accountnumber-wrap .action-wrap td {
    padding: 0.3em;
}
#accountnumber .accountnumber-parent-wrap table th {
    padding: 0em 1em 1em 1em;
}
#accountnumber .accountnumber-parent-wrap table td {
    padding: 0.3em;
}
#accountnumber .accountnumber-horizone {
    padding: 1em;
    background-color: #3F3F3F;
    color: #FFFFFF;
    text-align: center;
    font-weight: 700;
}
#accountnumber .accountnumber-parent-wrap {
    padding: 0em 1em;
    margin: 3em 0em;
}
#accountnumber .name {
	text-align: left;
    margin-top: 1em;
    margin-bottom: 0.3em;
}

#accountnumber .number {
    font-size: 1em;
    text-align: center;
    display: block;
    border: 1px solid #FFF;
    border-radius: 10px;
    margin: 0.3em 0 0.3em auto;
    padding: 0.7em 0.1em;
    color: #555;
    background-color: #fff;
    box-shadow: 0 0.1em 0.3em 0 rgba(0, 0, 0, .3);
}
#accountnumber .number:hover {
    color: #333;
    background-color: #f5de1e;
}

/****************************

	벚꽃 효과

****************************/
.cherry_blossom {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    pointer-events: none;
    z-index: 900;
}
.cherry_blossom .petal {
    position: absolute;
    background: linear-gradient(-45deg, #ffb6c1 0%, #ffc5d0 40%, #ffdfe6 80%);
    border-radius: 10% 50% 40% 50%;
    z-index: 900;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    pointer-events: none;
    transform-style: preserve-3d;
    transition: transform 3000ms linear;
}
@keyframes fall {
    0% {
        top: 0;
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0.2;
    }
}

/****************************

	네비바

****************************/

.navbar-wrapper {
    position: fixed;
    top: -80px;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: top 0.3s;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.navbar-wrapper.visible {
    top: 0;
}

.navbar {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 15px;
}

.navbar .nav-link {
    padding: .5em 0;
}

.navbar .nav-link:hover {
    background-color: #CCC;
    color: black;
}

@media (max-width: 720px) {
    .navbar {
        padding: 0;
    }
}



/****************************

	갤러리

****************************/

#gallery 
{
	height: 97em;
	margin-bottom: 1.5em;
}
#gallery .image-container
{
	height: 100%;
	overflow-y: hidden;
	overflow-x: scroll;
	white-space: nowrap;
}
#gallery .image-container a
{
	display: inline-block;
	height: 65em;
	margin: 14em 2em;
	border-radius: 5em;
	overflow: hidden;
	box-shadow: 0.6em 1em 2em 0 #BBB;
	width: 46em;
}
#gallery .image-container a img
{
	display: block;
	height: 100%;
}
#gallery .image-container a .center
{
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}
