@font-face {
    font-family: impact;
    src: url(./impact.ttf) format('ttf');
	font-weight: regular;
}
@font-face {
    font-family: 'GmarketSansBold';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'GmarketSansMedium';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
html, body{
	width: 100%;
	height: 100%;
	max-width: 480px;
	text-align: center;
	margin: 0 auto;
	position: relative;
}
section{
	height: 100%;
	width: 100%;
	position: fixed;
	opacity: 0;
	overflow: scroll;
}
.active{
	display: block !important;
	opacity: 1;
}
#mainsection{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: #ffffff00;
	z-index: 10;
}
.main {
	position: absolute;
    top: 47%;
    left: 50%;
	width: 83%;
    transform: translate(-50%, -50%);
}
.ham {
	position: absolute;
	top: 30px;
    right: 20px;
	width: 30px;
	z-index: 100;
}
.logo {
	position: absolute;
	top: 20px;
    left: 20px;
	width: 50px;
	z-index: 100;
}
section img{
	width: 100%;
}
#section1{
	background-color: #1a25e9;
}
#section2{
	background-color: #02a16f;
}
#section3{
	background-color: #6b00c9;
}
#section4{
	background-color: #f6921e;
}
#section3 .bottomimg{
	left: 50%;    
	width: 75%;
    transform: translate(-50%, 0%);
}
#section3 .topimg{
	left: 50%;
	width: 75%;
    transform: translate(-50%, 0%);
}
#section4 .bottomimg{
	left: 50%;    
	width: 55%;
    transform: translate(-50%, 0%);
}
#section4 .topimg{
	left: 50%;
	width: 55%;
    transform: translate(-50%, 0%) rotate(180deg) scaleX(-1);
}
#section2 .bottomimg{
	bottom: 0;
    left: 50%;
    width: 100%;
    transform: translate(-50%, 0%);
}
#section2 .topimg{
	left: 50%;
	width: 75%;
    transform: translate(-50%, 0%);
}
#section1 .topimg {
    left: 50%;
    width: 100%;
    transform: translate(-50%, 0%);
}
#section1 .bottomimg{
	bottom: 0;
    left: 50%;
    width: 100%;
    transform: translate(-50%, 0%);
}
.left-slide{
	position: absolute;
	top: 50.4%;
	left: 5px;
	width: 20px;
    height: 70px;
	transform: translate(0%, -50%);
}
.right-slide{
	position: absolute;
	top: 50.4%;
	right: 5px;
	width: 20px;
    height: 70px;
	transform: translate(0%, -50%);
}
.topimg{
	position: absolute;
	top: 0;
	width: 100%;
}
.bottomimg{
	position: absolute;
	bottom: 0;
	width: 100%;
}
.fade-in{
	animation: fadein 0.7s;
	-moz-animation: fadein 0.7s; /* Firefox */
	-webkit-animation: fadein 0.7s; /* Safari and Chrome */
	-o-animation: fadein 0.7s; /* Opera */
	opacity: 1;
}
.fade-out{
	animation: fadeout 0.7s;
	-moz-animation: fadeout 0.7s; /* Firefox */
	-webkit-animation: fadeout 0.7s; /* Safari and Chrome */
	-o-animation: fadeout 0.7s; /* Opera */
	animation-fill-mode: forwards;
}
.fade-in2{
	animation: fadein 0.5s;
	-moz-animation: fadein 0.5s; /* Firefox */
	-webkit-animation: fadein 0.5s; /* Safari and Chrome */
	-o-animation: fadein 0.5s; /* Opera */
	opacity: 1;
}
.fade-out2{
	animation: fadeout 0.5s;
	-moz-animation: fadeout 0.5s; /* Firefox */
	-webkit-animation: fadeout 0.5s; /* Safari and Chrome */
	-o-animation: fadeout 0.5s; /* Opera */
	animation-fill-mode: forwards;
}
#left-menu{
	background-color: #fff;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	width: 70%;
	display: none;
	z-index: 100;
	text-align: left;
    padding-left: 10%;
    padding-top: 15%;
}
#shadow{
	background-color: #0000006e;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	width: 30%;
	display: none;
	z-index: 95;
}
#title1{
	font-family: impact;
    font-size: 16vw;
}
#title2{
	line-height: 1.5;
    font-family: "GmarketSansMedium";
    font-size: 3vw;
    font-weight: bold;
    margin-top: 5%;
	letter-spacing: -1px;
}
#call{
	font-family: "GmarketSansBold";
	font-weight: bold;
    font-size: 4vw;
    position: absolute;
    bottom: 5%;
}
#menu{
	margin-top: 25%;
}
.menu-item{
	font-family: "GmarketSansBold";
	font-weight: bold;
    font-size: 7vw;
	margin: 4% 0;
	display: block;
}
#call-block {
	width: 100%;
	padding: 20% 5% 3% 5%;
	text-align: center;
}
#call-block > a{
	font-size: 9.4vw;
	color: #fff;
    font-family: GmarketSansBold;
    text-shadow: 4px 4px #00000038;
}
@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@-moz-keyframes fadein { /* Firefox */
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@-webkit-keyframes fadein { /* Safari and Chrome */
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@-o-keyframes fadein { /* Opera */
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes fadeout {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@-moz-keyframes fadeout { /* Firefox */
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@-webkit-keyframes fadeout { /* Safari and Chrome */
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@-o-keyframes fadeout { /* Opera */
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@media screen and (min-width: 481px) {
	section {
		left: 0;
		position: absolute;
	}
	#left-menu {
		position: fixed;
		padding-top: 5%;
	}
	#title1 {
		font-size: 10vw;
	}
	.menu-item{
		font-size: 5vw;
	}
	#menu {
		margin-top: 5%;
	}
	#shadow {
		width: 100%;
		position: fixed;
	}
	#call-block > a{
		font-size: 2.5vw;
	}
}
@media screen and (min-width: 769px) {
	/*#section1, #section2, #section3, #section4{
		overflow: hidden;
	}*/
	#section1 img:nth-child(1){
		// display: none;
	}
	#section2 .topimg {
		z-index: 2;
	}
	#section3 img:nth-child(2){
		// display: none;
	}
	#left-menu {
		position: absolute;
		padding-top: 5%;
	}
	#title1 {
		font-size: 3vw;
	}
	#title2 {
		font-size: 1vw;
	}
	.menu-item{
		font-size: 2vw;
	}
	#menu {
		margin-top: 25%;
	}
	#call{
		font-size: 1.5vw;
	}
	#shadow {
		width: 50%;
		position: fixed;
	}
	section{
	 -ms-overflow-style: none; /* IE and Edge */
		scrollbar-width: none; /* Firefox */
	}
	section::-webkit-scrollbar {
		display: none; /* Chrome, Safari, Opera*/
	}
}
