@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Noto+Sans+KR:wght@400;900&display=swap');

* {margin: 0; padding: 0;}
::-webkit-scrollbar { display: none; }
p {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 30px;
    line-height: 1.5;
    text-align: center;
    color: #848484;
}
h2 {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 65px;
    text-align: center;
}
#gnb {
    position: fixed;
    /* outline: 1px solid; */
    z-index: 100;
}
#gnb li {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 9px;
    background-color: #aaa;
    margin-bottom: 10px;
    left: 20px;
    top: 43vh;
    list-style: none;
}
#gnb li.on {background-color: #848484;}
#gnb li a {
    position: absolute;
    width: 100%;
    height: 100%;
    /* outline: 1px solid; */
}
section {
    overflow: hidden;
}
section article {
    width: 100%;
    height: 700px;
    position: relative;
    background-size: cover;
    background-position: right center;
    background-attachment: fixed;
    /* outline: 1px solid; */
    /* overflow: hidden; */
}

/* 다운로드 */
#app_down {
    position: fixed;
    right: -70px;
    bottom: 100px;
    width: 200px;
    height: 200px;
    border-radius: 160px;
    /* outline: 1px solid; */
    background-color: #fff;
    border: 10px solid #8eb9e3;
    z-index: 5;
    transition: all 0.5s;
}
#app_down img {
    position: relative;
    width: 80px;
    left: 40px;
    top: 50px;
}
#app_down p {
    position: relative;
    font-size: 20px;
    top: 50px;
    right: 20px;
    font-weight: bold;
    color: #848484;
}

/* 1페이지 */
.p_1 {
    position: relative;
    width: 100%;
    height: 100%;
    background: url(../img/bg_1.jpg) no-repeat;
    background-size: cover;
    z-index: 50;
}
.p_1 div {
    position: relative;
    width: 95%;
    height: 92%;
    border: 10px solid #fff;
    margin: 0 auto;
    top: 3%;
}
.p_1 h1 {
    position: absolute;
    bottom: 120px;
    right: 150px;
    color: #fff;
    font-size: 130px;
    font-family: 'Black Han Sans', sans-serif;
    text-align: right;
    font-weight: lighter;
    line-height: 1;
    text-shadow: 3px 2px 3px #848484;
}
.p_1 img {
    position: absolute;
    bottom: 30px;
    width: 60px;
    left: 47%;
    opacity: 0.7;
    animation: ani2 0.6s infinite alternate;
}
@keyframes ani2 {
    0% {bottom: 25px;}
    100% {bottom: 30px;}
}

/* 2페이지 */
.p_2 {
    position: relative;
    width: 100%;
    height: 100%;
    background: url(../img/bg_2.jpg) no-repeat;
    background-size: cover;
    background-position: right center;
}
.p_2  .txt_box {
    position: relative;
    width: 500px;
    left: 9vw;
    top: 140px;
    /* outline: 1px solid; */
}
.p_2 .txt_box p {
    margin-bottom: 40px;
    line-height: 1.2;
}
.p_2 .txt_box h3 {
    text-align: center;
    font-size: 50px;
    margin-bottom: 60px;
    color: #848484;
    font-weight: bold;
}
.p_2 .txt_box img {
    position: relative;
    display: block;
    margin: 0 auto;
    width: 28vw;
    /* left: 5vw; */
}

/* 3페이지 */
.p_3 {
    position: relative;
    width: 100%;
    height: 100%;
    background: url(../img/bg_3.png) no-repeat;
    background-size: cover;
    background-position: left center;
}
.p_3 .pic_box {
    position: absolute;
    /* outline: 1px solid; */
    width: 800px;
    top: 250px;
    left: 100px;
    display: inline-block;
}
.p_3 .pic_box img {
    position: absolute;
    width: 20vw;
    /* margin-right: -70px; */
    /* outline: 1px solid red; */
    margin-top: 0px;
    left: -400px;
    transition: all 0.5s;
}
.p_3 .pic_box img:nth-child(2) {
    margin-top: 60px;
}
.p_3 .txt_box {
    display: inline-block;
    position: absolute;
    /* outline: 1px solid; */
    width: 700px;
    top:36vh;
    right: 3.5vw;
}
.p_3 .txt_box h2 {
    color: #8eb9e3;
    text-shadow: 2px 2px 2px #fff;
    margin-bottom: 40px;
}

/* 4페이지 */
.p_4 {
    position: relative;
    width: 100%;
    height: 100%;
    background: url(../img/bg_4.png) no-repeat;
    background-size: cover;
    background-position: left center;
}
.p_4 .txt_box {
    position: relative;
    /* outline: 1px solid; */
    width: 600px;
    top: 33%;
    left: 8%;
}
.p_4 .txt_box h2 {
    color: #fff;
    text-shadow: 2px 2px 2px #848484;
    margin-bottom: 40px;
}
.p_4 .txt_box p {
    color: #fff;
}
.p_4 .pic_box {
    position: absolute;
    /* outline: 1px solid springgreen; */
    width: 790px;
    /* height: 100%; */
    top: 170px;
    right: 0;
}
.p_4 .pic_box img {
    position: absolute;
    width: 25vw;
    right: -500px;
    transition: all 0.5s;
}
.p_4 .pic_box img:nth-child(2) {
    position: absolute;
    top: -50px;
    /* left: 340px; */
    /* right: 10px; */
}

/* 5페이지 */
.p_5 {
    position: relative;
    background-color: #8eb9e3;
    height: 100vh;
    overflow: hidden;
}
.p_5 .txt_box {
    position: relative;
    top: 12vh;
}
.p_5 .txt_box h2 {
    font-size: 70px;
    color: #fff;
    text-shadow: 2px 2px 2px #848484;
}
/* .p_5 .pic_box {
    position: absolute;
    width: 45vw;
    bottom:270px;
    /* bottom: ; */
    /* width: 400px; */
    /* outline: 1px solid; */
/* } */
.p_5 .pic_box img:nth-child(1) {
    position: absolute;
    width: 650px;
    left: 50%;
    transform: translate(-35%, -60%);
    /* bottom: ; */
    /* left: 31.5%; */
    bottom: -1000px;
    transition: bottom 0.5s;
}
.p_5 .pic_box img:nth-child(2) {
    position: absolute;
    left: 58%;
    bottom: 130px;
    opacity: 0;
    animation: ani 0.5s infinite alternate;
    transition: opacity 0.5s 0.5s;
}
@keyframes ani {
    0% {left: 60%; bottom: 140px;}
    100%{left: 59%; bottom: 130px;}
}
.p_5 .footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 90px;
    background-color: #cecece;
}
.p_5 .footer p {
    font-size: 20px;
    position: relative;
    top: 15px;
    text-align: right;
    right: 30px;
}
.p_5 .footer p:nth-child(1) {
    position: absolute;
    text-align: left;
    line-height: 90px;
    top: 0;
    left: 20px;
    right: 0;
}
