@import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');
@import url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302_01@1.0/TheJamsil5Bold.woff2');
@import url('https://webfontworld.github.io/sunn/SUIT.css');

/* font-family: 'TheJamsil5Bold'; */
/* font-family: 'Gowun Dodum', sans-serif; */
/* font-family: 'Noto Sans KR', sans-serif; */
:root{
    --color1:#90c996;
    --color2:#f5d253;
    --color3:#b8dadb;
    --color4:#f0ccbe;
    --color5:#e5e5e5;
    --border:2px solid rgb(18, 33, 65);
    --point:rgb(18, 33, 65);

}
/* 리셋 스타일 */
*{margin: 0; padding: 0; position: relative;}
img,video{width:100%; display: block;}
li,ol,ul{list-style: none;}
a{
    color:inherit;
    text-decoration: none;
    display: inline-block;
}


body{
    text-align: center;font-family: 'SUIT';
    word-break: keep-all;
}
h1,h2,h3,h4,h5,h6{
    text-transform: uppercase;
    /*font-family: 'Noto Sans KR', sans-serif*/
    ;
    font-family: 'SUIT';

}
h1{font-size: 60px;}
h2{font-size: 35px;}
h3{
    font-size: 25px;
    font-weight: 400;
}
h4{font-size: 20px;}
h5{font-size: 15px;}
h6{font-size: 14px;}
p{font-family: 'TheJamsil5Bold';
    font-size: 16px;}
@media(max-width: 800px){
    h1{font-size: 40px;}
    h2{font-size: 25px;}
    h3{font-size: 20px;}
    h4{font-size: 15px;}
    h5{font-size: 13px;}
    h6{font-size: 12px;}
    p{font-size: 14px;}
}
.container{
    width: 90%; max-width: 1300px;
    margin: 0 auto;
}

input{display: inline-block; border: var(--border);}
input:focus{outline: none;}

.btn{
    display: inline-block;
    padding: 5px;
    cursor: pointer;
}
.btn-more{
    padding: 5px;
    width: fit-content;
    margin: 0 auto;
    cursor: pointer;
    transition: 0.5s;
}
.btn-more::before{
    content: '';
    display: block;
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 1px;
    background-color: black;
}
.btn-more:hover{
    color: var(--point);
    font-weight: 900;
}
.btn-more:hover::before{
    animation: line 1s linear;
    background-color: var(--point);
}
@keyframes line{
    0%{width: 0;}
    100%{width: 100%;}
}

.line{
    border-bottom: 1px solid;
    width: 3%;
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 10px;
}

/* 스크롤 스타일*/
::selection{
    background-color: var(--point);
    color: white;
}

/* 헤더 */
header {
    /* border: 3px solid red; */
    background-color: white;
    /*background-color: var(--color2);*/
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: black;
    text-transform: uppercase;
    border-bottom:2px solid rgb(18, 33, 65);
    /*box-shadow: 0 3px 3px lightgray;*/
}
header img{
    height: 70px;
    width: auto;
}
header .left{
    display: flex;
    justify-content: center;
    align-self: center;
    gap: 40px;
}
header .menu{
    display: flex;
    justify-content: center;
    align-self: center;
    gap: 20px;
}
header .right{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
header .right i{cursor: pointer; }

@media(max-width:800px){
    header .menu{display: none;}
    header {justify-content: center;}
    header .right{
        position: absolute; width: 100%;
        /* border: 1px solid pink; */
    }
    header i{position: absolute; top:-8px;}
    header .fa-bars{left: 30px;}
    header .fa-cart-shopping{right: 30px;}
}


/* 푸터 */

footer {
    background-color: white;
}
/* footer::before,footer::after {
    content:'';
    display:block;
    width:2px;
    height:100%;
    background-color:rgb(18, 33, 65);
    position:absolute;top:0;
}
footer::before{left:33.3%}
footer::after{left:66.6%} */
footer .group{
    width:100%;
    height: 100%;
    display: flex;
    /*justify-content: space-between;*/
    /*align-items: center;*/
}
footer .item{
    flex:1;padding:0 50px;
    border-right: var(--border);
    padding-top: 50px;
    padding-bottom: 50px;
    box-sizing: border-box;
}
footer .item:last-child{border: none;}
footer .item1 p{
    display: flex;
    flex-direction: column;
    gap: 5px;
}
/* footer .item2{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
} */
footer .item2 img{
    height: 80px;
    width: auto;
    margin: 0 auto;
}

footer .item3 .input-box{
    padding: 10px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid;
    margin: 0 auto;
}

footer .item3 .sns{
    padding-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

@media(max-width: 800px){
    footer img{display: none;}
    footer .group{
        flex-direction: column;
    }
    footer .item{
        width:100%;
        border-right: none;
        border-bottom: var(--border);
        padding-top: 30px;
        padding-bottom: 30px;
    }
    footer .item2{
        order: 3;
        border: none;
    }
    footer .item3{border-bottom: var(--border) !important;}
 
}

/* 전체메뉴 */
.ham-menu{
    background-color: white;
    width: 500px;
    height: 100%;
    position: fixed;
    top: 0;right: -500px;
    z-index: 100;
    box-sizing: border-box;
    background-color: #f5d253;
    transition: 0.5s;
}
.ham-menu i{
    position: absolute;
    top:20px;
    left: 20px;
    font-size: 20px;
}
.ham-menu .exit{
    cursor: pointer;
}

.ham-menu .container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap:50px;
    position: absolute;
    top: 50%;
    left:0;
    transform: translateY(-50%);
    padding: 30px;
    box-sizing: border-box;
}

.ham-menu .input-box{
    width: 100%;
}
.ham-menu input{
    border: 3px solid #f5d253;
    border-radius: 20px;
    outline: none;
    width: 100%;
    line-height: 30px;
    padding: 10px 60px 10px 10px;
    box-sizing: border-box;
}
.ham-menu .input-box i{
    position: absolute;
    right: -80%;
    top: 50%;
    transform: translateY(-50%);
    color: #f5d253
}
.ham-menu .menu{
    width: 100%;
}
.ham-menu .menu-li{
    border-bottom: 1px solid #fff;
    text-align: start;
    line-height: 50px;
    text-transform: uppercase;
    font-weight: 900;
    color:rgb(18, 33, 65);
    padding: 10px;
}
.ham-menu .menu-li:hover{
    background-color: white;
}
.ham-menu img{
    width: 100%;
    height: 300px;
    object-fit: cover;
}

body.ham-menu-active .ham-menu{
    right: 0;
}
body.exit-active .ham-menu{
    right: -500px;
}

@media(max-width:800px){
    .ham-menu{
        width: 100%;
        position: fixed;
        left: -100%;
        transition: 0.5s;
    }
    body.ham-menu-active .ham-menu{
        left: 0;
    }
    body.exit-active .ham-menu{
        right: -100%;
    }
    .ham-menu .container{
        gap:10px;
    }
    .ham-menu img{
        height: 150px;
    }
}

/* 장바구니 */
.cart{
    position: fixed;
    width: 100%; height: 100vh;
    top: 0; left: 0;
    z-index: 110;
    display: none;
}

.cart .bg{
    width: 100%; height: 100vh;
    background-color: rgba(0,0,0,0.5);
}
.cart .cart-group{
    border-left: var(--border);
    background-color: white;
    width: 30%;
    height: 100%;
    position: absolute;
    top: 0; right: 0;
}
.cart .cart-group .container{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.cart-group h2{
    flex:1;
    text-align: center;
    border-bottom: var(--border);
    padding: 20px 0;
}
.cart-group .item-group{
    flex:8;
}
.cart-group .item{
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-group .item .img-box{
    width: 100px;
    height: 100px;
    background-color: #999;
}
.cart-group .text-box{text-align: start;}
.cart-group .num-group{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.cart-group .math{
    border: 1px solid var(--point);
    border-radius: 50%;
    width: 20px; height: 20px;
    text-align: center;
    color: var(--point);
}

.cart-group input[type="checkbox"]{
    appearance: none;
    background-color: var(--point);
    border: none;
    width: 20px; height: 20px;
}
.cart-group input[type="checkbox"]:checked::before{
    content:'✔';
    display: inline-block;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    color: white;
}

.cart-group .price-group{
    flex:1;
    border:var(--border);
    padding: 10px;
    box-sizing: border-box;
}
.cart-group .sub-price{
    padding:10px 0;
    border-bottom: 1px solid #999;
}
.cart-group .sub-price .sub h4{
    display: flex;
    justify-content: space-between;
}
.cart-group .total{
    padding:10px 0;
}
.cart-group .total h3{
    display: flex;
    justify-content: space-between;
}
.cart-group .btn-group{
    display: flex; gap:10px;
    padding-top: 20px;
    padding-bottom: 20px;
}
.cart-group .btn{
    width: 50%;
    text-align: center;
    line-height: 50px;
}
.cart-group .btn-line{
    border: var(--border);
    color: var(--point);
}
.cart-group .btn-point{
    background-color: var(--point);
    color: white;
}

.cart .cancel{
    cursor: pointer;
    width: 20px; height: 20px;
    position: absolute;
    top: 20px; left: 20px;
}

.cart.active{display: block;}

/* 로그인 */
.login{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0; left: 0;
    z-index: 110;
    display: none;
}

.login .bg{
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.login .login-box{
    width: 300px;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    background-color: white;
    border: var(--border);
    padding: 100px 50px;
}
.login .login-box h5{text-align: start; margin-top: 20px;}
.login .login-box input{
    width: 100%;
    padding: 10px 5px;
    box-sizing: border-box;
}

.login .login-box .item p{
    text-align: end;
    font-size: 12px;
    margin-top: 5px;
}
.login .login-box .item4 p{text-align: center;}

.login .login-box .login-btn{
    background-color: var(--point);
    color: white;
    padding: 10px;
    text-transform: uppercase;
    margin-top: 20px;
}
.login .cancel{
    position: absolute;
    top: 20px; right: 20px;
    cursor: pointer;
}

.login.active{display: block;}

/* 클립패스 */
.clip-down{clip-path: inset(0 0 100% 0); transition: 1s;}
.clip-right{clip-path: inset(0 100% 0 0); transition: 1s;}
.clip-left{clip-path: inset(0 0 0 100%); transition: 1s;}
.clip-top{clip-path: inset(100% 0 0 0); transition: 1s;}

/* 마우스 */
.cur{
    width:20px; height: 20px;
    z-index: 101;
    position: fixed; top:50%; left:50%;
    transform: translate(-50%,-50%);
}
 .cur1{
    width: 10px; height: 10px;
    transition: 1.0s;
    background-image: url(img/cha3.png);
    background-size: contain;
}
.cur2{
    width: 15px; height: 15px;
    transition: 0.8s;
    background-image: url(img/cha2.png);
    background-size: contain;
}
.cur3{
    transition: 0.5s;
    background: url(img/cha.png);
    background-size: contain;
}





.cur.blend{
    width: 50px; height: 50px;
    mix-blend-mode: multiply;
    transition: 0.5s;
}
.cur.prev{
    width: 30px; height: 30px;
    background: url(img/btn-prev.png) no-repeat;
    background-color: transparent;
    transition: 0.5s;
}
.cur.next{
    width: 30px; height: 30px;
    background: url(img/btn-next.png) no-repeat;
    background-color: transparent;
    transition: 0.5s;
}
.cur.slide{
    width: 100px; height: 100px;
    background-color: rgba(206, 14, 45,0.5) !important;
    border-radius: 50%;
    transition: 0.5s;
    background-color: transparent;
}
.cur.slide::before{
    content: "DRAG";
    color: white;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%) rotate(-30deg);
}

@media(max-width:800px){
    .cur{display: none;}
}