@charset "utf-8";

html{overflow: 'hidden';}
button{font-family: 'DungGeunMo', normal;}


/*loading*/
#loading{
    width: 100vw;
    height: 100vh;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.1);
    top: 0; left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    font-size: 30px;
    display: none;
    z-index: 999;
}
#loading img{
    margin-bottom: 30px;
    width: 4%;
}

.container{
    position: fixed;
    width: 100vw;
    height: 100vh;
}

.bg{
    position: fixed;
    width: 100%;
    height: 100%;
    background: url(../imgs/bg.png) center center no-repeat;
    background-size: cover;
}

.contents{
    position: fixed;
    width: 30%;
    height: 90%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 5%;
    left: 35%;
    box-sizing: border-box;
    border-radius: 35px;
}


/*header*/
.header{
    position: relative;
    width: 100%;
    height: 10%;
    background-color: lightpink;
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: -45%;
    border-radius: 35px 35px  0 0;
}
.back{
    position: absolute;
    top: 2%;
    left: 5%;
    text-align: center;
    transition: all 0.2s;
}
.back img{
    display: block;
    width: 50px;
}
.back p{
    padding-top: 5px;
    padding-left: 5px;
}
.back:hover{
    transform: rotate(-10deg);
}
.h_title{
    position: absolute;
    font-size: 40px;
    top: 25%;
    left: 35%;
    text-wrap: nowrap;
}


/*view*/
.view{
    position: absolute;
    display: flex;
    background-color: rgb(255, 218, 224);
    width: 100%;
    height: 38%;
    top: 10%;
    align-items: center;
    justify-content: center;
}
.chara_box{
    position: relative;
    width: 60%;
    height: 80%;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 5%;
}
.chara_box>img{
    position: absolute;
    width: 100%;
    top: -8%;
}
.cloth,.head,.item,.cer,.skill{
  display: none; 
}


/*tablist*/
.tablist{
    top: 48%;
    position: absolute;
    width: 100%;
    background-color: #eeeeee;
    height: 11%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    overflow-x: auto;
}
.tablist>button:hover{
    font-weight: bold;
    color: palevioletred;
}
.tab_btn {
    overflow: hidden;
    position: relative;
    display: flex;
    width: 15%;
    height: 77%;
    flex: 0 0 auto;
    background-color: #fff; 
    text-align: center;
    padding: 20px 16px;
    border: none;
    border-radius: 15%;
    cursor: pointer;
    white-space: nowrap;
    margin: 0 10px;
    flex-direction: column;
    box-sizing: border-box;
}
.tab_btn img{
    display: block;
    position: absolute;
    width: 100%;
    top: -20%;
    left: 0;
}
.tab_btn:nth-child(5) img{
    width: 70%;
    top: 0;
    left: 18%;
}
.tab_btn p{
    position: absolute;
    top: 38%;
    left: 30%;
}
.tab_btn:nth-child(2) p{
    left: 23%;
}
.tab_btn:nth-child(5) p{
    left: 10%;
}
.tab_btn[aria-selected="true"]{
    border: 3px solid hotpink;
    font-weight: 300;
}
.tab_btn span{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    top: 0;
    left: 0;
    box-sizing: border-box;
}

/*tab_panel*/
.tab_panel{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 41%;
    background-color: #fff;
    bottom: -2px;
    border-radius: 0 0 35px 35px;
    box-sizing: border-box;
    overflow: hidden;
}
.conbox{
    display: flex;
    top: -2%;
    width: 100%;
    height: 100%;
    flex-wrap: wrap;
    margin: 0 auto;
    padding-left: 30px;
    overflow-y: scroll;
}
.conbox::-webkit-scrollbar-button{
    display: none;
}
.tab_con{
    box-sizing: border-box;
    display: block;
    background-color: #fff;
    border: 3px solid #ddd;
    border-radius: 15%;
    width: 20%;
    height: 31%;
    margin: 20px 10px;
}
.tab_con img{
    width: 85%;
}

/*active*/
.active{
    border: 3px solid hotpink;
    font-weight: 300;
}






