
.top-bar{
    width:100%;
    height: 7vh;
    /*background: linear-gradient(to right, #477774, #2f5576);*/
    background: #2b9a69;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 998;
    padding-top: constant(safe-area-inset-top); /* iOS 11.0 */
    padding-top: env(safe-area-inset-top); /* iOS 11+ */
    -webkit-transform : translateZ(0);
}
.top-bar header{
    position:relative;

}
.header-inner{
    max-width:90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.main-left-header{
    width: 40vw;
    height: 7vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.main-left-header h1{
    display: flex;
    align-items: center;
}
.main-left-header a:first-child{
    width: 6vw;
    display: inline-block;
    margin-right: 20px;
}
.main-left-header a:first-child img{
    width: 40px;
    margin-top: 3px;
}
.main-left-header a:nth-child(2){
    width: 25vw;
    display: inline-block;
    max-width: 165px;
}
.main-right-header{
    width:50vw;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 7vh;
}
.main-right-header .login-out-box{
    width:65px;
    height:22px;
    border-radius: 10px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}
.login-out-box a{
    font-family: "Pretendard-Bold", sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    color:#2f5576;
}
.nav-container{
}
.main-nav{
    position: fixed;
    top: 7vh;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(65, 64, 64, 0.71);
    display: none;
}
.nav-deco{
    width: 85%;
    height: calc(93vh - constant(safe-area-inset-top));
    height: calc(93vh - env(safe-area-inset-top));
    position: absolute;
    top: 0;
    right: -500px;
    margin-left: 15%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

}

.nav-menu{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
}
.nav-menu li{
    padding:10px;
}
.nav-menu li.cat-name{
    font-family: "Pretendard-Bold", sans-serif;
    font-size: 22px;
    font-weight: 700;
    background-color: mediumseagreen;
    color: #fff;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    padding-left: 20px;
}
.nav-menu li span{
    font-size: 2rem;
    font-weight: 700;
    display: inline-block;
    margin-right: 7px;
}
.nav-menu li a{
    font-family: "Pretendard-Bold", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #000;

}
.main-nav-open-btn{
    width: 23px;
    height: 22px;
    position: relative;
}
.main-nav-open-btn span {
    position: absolute;
    width: 100%;
    height: 5px;
    border-radius: 10px;
    background-color: #fff;
}
.main-nav-open-btn span:nth-child(1){ top:0;}
.main-nav-open-btn span:nth-child(2){ top: 8px;}
.main-nav-open-btn span:nth-child(3){bottom:0px;}

.main-nav-open-btn.on span:nth-child(1){
    -webkit-transform : translateY(8px) rotate(-45deg);
    transform : translateY(8px) rotate(-45deg);
}
.main-nav-open-btn.on span:nth-child(2){
    opacity : 0;
}
.main-nav-open-btn.on span:nth-child(3){
    -webkit-transform : translateY(-8px) rotate(45deg);
    transform : translateY(-8px)rotate(45deg);
}
.show-nav{
    position: absolute;
    top: 7vh;
    right: 0;
    display: block;
    transition-delay: 1s;
}
.top-bar-btn{
    border-top: 1px solid #000;
    width: 100%;
    height: 55px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
}
.check-btn button{
    width: 65px;
    height: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    border: none;
    background-color: transparent;
    font-size: 1.3rem;
    font-weight: 700;
    color: #674201;
}
.check-btn button img{
    width: 25px;
    height: 25px;
}
.kakao-share button{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 35px;
    margin-left: 10px;
    border:none;
    border-radius: 30px;
    background-color: #F7E600;
}
.kakao-share button img{
    width: 30px;
    height: 30px;
}
.kakao-share button p{
    font-size: 1.3rem;
    font-weight: 700;
    color: #3A1D1D;
}
