*{
    padding: 0;
    margin: 0;
}
html, body{
    width: 100%;
    height: 100%;
    background-color: #1e264c;
}
/*스크롤 숨기기*/
body{
    -ms-overflow-style: none;
}
body::-webkit-scrollbar{ 
    display:none;
}

.bo{
    border: 1px red solid;
}
#wrapper{
    width: 100%;
    height: 300%;
    position: absolute;
    z-index: 999999999999999999;
}

/* 휠표시 */
#wheel{
    position: fixed;
    z-index: 99999999999;
    bottom: 50px;
    left: 50%;
    opacity: 0.4;
}
#wheel ul{
    border: 2px white solid;
    height: 40px;
    width: 23px;
    border-radius: 13px;
    background: rgba(255,255,255,0.3);
    position: absolute;
}
#wheel ul li{
    border: 2px white solid;
    height: 15px;
    width: 7px;
    position: absolute;
    background: rgba(255,255,255,0.7);
    border-radius: 10px;
    left: 6px;
    top: 3px;
    list-style: none;
    animation: wheel 1.5s infinite linear;
}
#wheel::after{
    content:'drag';
    position: relative;
    color: white;
    top: 3px;
    left: 40px;
    font-family: canter, 'Times New Roman', Times, serif;
    font-size: 30px;
}

@keyframes wheel{
    0%{}
    100%{top: 12px;}
}

/* 배경 기본설정 */
#wrapper>div.background{
    width: 100%;
    height: calc(100%*1/3);
}
#wrapper>div.background>section{
    width: 100%;
    height: 100%;
    position: absolute;
    
}

/*배경 백그라운드 시작*/
#wrapper>div.background section:nth-of-type(1){
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
 }

#wrapper>div.background section:nth-of-type(1) img{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

#wrapper>div.background section:nth-of-type(1)::before{
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
}

#wrapper>div.background section:nth-of-type(2){
    width: 100%;
    height: 100%;
    background: url(background/main/main2-1.png) center bottom/cover no-repeat ;
    position: relative;
}
#wrapper>div.background section:nth-of-type(3){
    width: 100%;
    height: 100%;
    background: url(background/main/main3-1.png) center top/cover no-repeat ;
    position: relative;
}
/*배경 백그라운드 종료*/


/*내부 이미지 컨텐츠 시작*/
/*불 시작*/
#wrapper>.background div.brand_fire_shawdow{
    width: 1004px;
    height: 455px;
    /*border:1px red solid;*/
    position: absolute;
    bottom: -40px;
    opacity: 0.5;
    left: 50%;
    background: url(contents/brand/brand_fire_shawdow.png);
    animation: shadow 1s infinite
}
@keyframes shadow{
    0%{}
    10%{
        transform: scale(0.99);
        opacity: 0.55;
    }
    40%{
        transform: scale(1.01);
        opacity: 0.4;
    }
    50%{
        transform: scale(0.98);
        opacity: 0.6;
    }
    70%{
        transform: scale(1.01);
        opacity: 0.5;
    }
    90%{
        transform: scale(1.02);	
    }
    100%{}
}
#wrapper>.background div.brand_fire{
    width: 270px;
    height: 350px;
    /*border: 1px red solid;*/
    position: absolute;
    bottom: 15%;
    left: 70%;
    background: url(contents/brand/brand_fire.png);
    animation: fire 2s steps(12) infinite;
    transition: 1s;
}
@keyframes fire{
    0%{}
    100%{
        background-position: -3240px;
    }
}
#wrapper>.background>section{
    position: absolute;
    overflow: hidden;
}
#wrapper>.background>section>div.main1{
    position: absolute;
    opacity: 0.7;
}
/*불 종료*/

/*구름 시작*/
#wrapper>.background div{
    position: absolute;
}
#wrapper>.background div.brand_cloud1{
    width: 300px;
    height: 100px;
    top: 60%;
    opacity: 0.7;
    left: -20%;
    background: url(contents/brand/brand_cloud1.png);
    animation: cloud_left 40s infinite linear;
}
#wrapper>.background div.brand_cloud2{
    width: 250px;
    height: 100px;
    top: 20px;
    opacity: 0.5;
    left: -70%;
    background: url(contents/brand/brand_cloud2.png);
    animation: cloud_left 60s infinite linear;
}
#wrapper>.background div.brand_cloud3{
    width: 230px;
    height: 100px;
    top: 30%;
    opacity: 0.7;
    right: -30%;
    background: url(contents/brand/brand_cloud3.png);
    animation: cloud_right 60s infinite linear;
}
#wrapper>.background div.brand_cloud4{
    width: 170px;
    height: 80px;
    right: -20%;
    top: 10%;
    opacity: 0.3;
    background: url(contents/brand/brand_cloud4.png);
    animation: cloud_right 70s infinite linear;
}
#wrapper>.background div.brand_cloud5{
    width: 400px;
    height: 170px;
    right: -10%;
    opacity: 1;
    top: 30px;
    background: url(contents/brand/brand_cloud5.png);
    animation: cloud_right2 50s infinite linear;
}
@keyframes cloud_left{
    0%{}
    100%{
        left: 100%;
    }
}
@keyframes cloud_right{
    0%{}
    100%{
        right: 100%;
    }
}
@keyframes cloud_right2{
    0%{}
    100%{
        right: 100%;
    }
}
/*구름 종료*/


/*캐릭터 3명 시작*/
/*cha1 캐릭터1*/
#wrapper>.background div.brand_cha1{
    width: 283px;
    height: 425px;
    bottom: 0;
    left: 85%;
    cursor: pointer;
    position: absolute;
    /*border: 1px red solid;*/
    background: url(contents/brand/brand_cha1.png);
    animation: cha1 1.2s steps(12) infinite
}
@keyframes cha1{
    0%{}
    100%{
        background-position: -3402px;
    }
}

.load1{
    position:absolute;
    top: 20px;
    left: 80px;
    transform:translate(-50%, -50%);
  /*change these sizes to fit into your project*/
    width:30px;
    height:30px;
    /*border: 1px red solid;*/
}
.load1 hr
    {border:0;
    margin:0;
    width:40%;
    height:40%;
    position:absolute;
    border-radius:50%;
    animation:spin 2s ease infinite;
}
.load1 :first-child{
    background:#9f2e16;
    animation-delay:-1.5s
}
.load1 :nth-child(2){
    background:#aa7f75;
    animation-delay:-1s
}
.load1 :nth-child(3){
    background:#9f2e16;
    animation-delay:-0.5s
}
.load1 :last-child{
    background:#aa7f75;
}
@keyframes spin{
  0%,100%{transform:translate(0)}
  25%{transform:translate(160%)}
  50%{transform:translate(160%, 160%)}
  75%{transform:translate(0, 160%)}
}

/*cha2 캐릭터2*/
#wrapper>.background div.brand_cha2{
    width: 255px;
    height: 354px;
    bottom: 35%;
    left: 75%;
    position: absolute;
    cursor: pointer;
    /*border: 1px blue solid;*/
    background: url(contents/brand/brand_cha2.png);
    animation: cha2 1.4s steps(12) infinite;
}
@keyframes cha2{
    0%{}
    100%{
        background-position: -3061px;
    }
}
.load2{
    position:absolute;
    top: 10px;
    left: 50px;
    transform:translate(-50%, -50%);
  /*change these sizes to fit into your project*/
    width:30px;
    height:30px;
    /*border: 1px red solid;*/
}
.load2 hr
    {border:0;
    margin:0;
    width:40%;
    height:40%;
    position:absolute;
    border-radius:50%;
    animation:spin 2s ease infinite;
}
.load2 :first-child{
    background:#451b28;
    animation-delay:-1.5s
}
.load2 :nth-child(2){
    background:#9e6d7e;
    animation-delay:-1s
}
.load2 :nth-child(3){
    background:#451b28;
    animation-delay:-0.5s
}
.load2 :last-child{
    background:#9e6d7e;
}
@keyframes spin{
  0%,100%{transform:translate(0)}
  25%{transform:translate(160%)}
  50%{transform:translate(160%, 160%)}
  75%{transform:translate(0, 160%)}
}


/*cha3 캐릭터3*/
#wrapper>.background div.brand_cha3{
    width: 340px;
    height: 369px;
    bottom: 15%;
    left: 40%;
    position: absolute;
    cursor: pointer;
    /*border: 1px red solid;*/
    background: url(contents/brand/brand_cha3.png) no-repeat;
    animation: cha3 1.4s steps(12) infinite;
}
@keyframes cha3{
    0%{}
    100%{
        background-position: -4082px;
    }
}
.load3{
    position:absolute;
    left: 160px;
    transform:translate(-50%, -50%);
  /*change these sizes to fit into your project*/
    width:30px;
    height:30px;
    /*border: 1px red solid;*/
}
.load3 hr
    {border:0;
    margin:0;
    width:40%;
    height:40%;
    position:absolute;
    border-radius:50%;
    animation:spin 2s ease infinite;
}
.load3 :first-child{
    background:#5d8c4c;
    animation-delay:-1.5s
}
.load3 :nth-child(2){
    background:#395c78;
    animation-delay:-1s
}
.load3 :nth-child(3){
    background:#5d8c4c;
    animation-delay:-0.5s
}
.load3 :last-child{
    background:#395c78;
}
@keyframes spin{
    0%,100%{transform:translate(0)}
    25%{transform:translate(160%)}
    50%{transform:translate(160%, 160%)}
    75%{transform:translate(0, 160%)}
}
/*캐릭터 3명 끝*/


/*모달창 시착*/
.main3{
    width: 100%;
    height: 100%;
    /*border:10px red solid;*/
    position: absolute;
    
}
.modal{
    width: 100%;
    height: 100%;
    position: absolute;
    /*border:1px red solid;*/
    z-index: -1;
    /*overflow: hidden;*/
    
}
.back{
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgb(0,0,0,0.8);
}
.talk_box{
    background: rgb(0,0,0,0.7);
    width: 60%;
    height: 60%;
    min-height: 370px;
    min-width: 720px;
    
    border:2px solid black;
    background: #282923;
    position: absolute;
    bottom: 0;
    right: 50px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    box-shadow: 2px 2px 4px black inset;
}
.talk{
    position: absolute;
    width: 97%;
    height: 97%;
    bottom: 0;
    left: 1.5%;
    background: rgb(0,0,0,0.7);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: 2px 2px 4px black inset;
    color: white;
    font-family: nanumgothic;
}
.talk>.arrow{
    width: 100%;
    height: 100%;
    /*border:1px blue solid;*/
    position: absolute;
    top: 0;
}
.arrow>.close{
    font-size: 30pt;
    background: linear-gradient(to bottom, white , white, #282923);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    /*text-shadow: 2px 2px 2px tomato;*/
    position: absolute;
    top: 10px;
    right: 10px;
    transition: 1s;
    cursor: pointer;
}
.arrow>.close:hover{
    transform: rotate(360deg);
    background: linear-gradient(to bottom, gold , gold, white);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}
.modal_location{
    /*border:1px aqua solid;*/
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
}
.talk h3{
    font-size: 30px;
    position: relative;
    color: rgb(255,255,255,0.1);
    padding: 10px 0 5px 20px;
    font-family: Nanum Gothic;
}
.talk h4{
    font-size: 20px;
    position: relative;
    top: 10px;
    padding: 10px 0 5px 20px;
    font-family: Nanum Gothic
}
.talk span{
    display: inline-block;
    position: relative;
    top: 30px;
    padding: 0 70px 0 30px; 
    font-size: 0.85vw;
    line-height: 1.2vw;
    text-align: justify;
    font-family: Noto Sans KR;
}
.modal1{
    /*border: 1px red solid;*/
    width: 595px;
    height: 842px;
    /*left: 0;
    bottom: 0;*/
    background: url(contents/brand/modal_cha1.png) top no-repeat;
}
.modal2{
    width: 595px;
    height: 842px;
    background: url(contents/brand/modal_cha3.png) top;
}
.modal3{
    width: 595px;
    height: 842px;
    background: url(contents/brand/modal_cha2.png) top;
}