@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');
*{
    margin:0;
    padding:0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-style: normal;  
}
:root {
    --main-txt-color: #f4f4f4;
    --sub-txt-color: #b6b6b6;
    --act-txt-color: #A0EC00;
    --select-main-color:#505050;
    --select-sub-color:#C4C4C4;
    --select-txt-color:#272727;
    --table-line-color:#505050;
}
body, html{
    font-size: 62.5%;
    height: 100%; /*최대높이설정*/
    overflow: auto;
    background: linear-gradient(#444, #222);
    font-family: 'Noto Sans KR', sans-serif;
    color: rgb(0, 0, 0); 
	height: 100vh;
}
/* 기본구조시작 */
.container{
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    padding-left:env(safe-area-inset-left);
    padding-right:env(safe-area-inset-right);
}
header, section, footer{
    max-width: 120rem;
}
header{
    position: relative;
    padding: 1.6rem;
    width: 100%;
    font-size: 1.5rem;
    display: flex;
    justify-content:space-between;
    align-items: center;
	z-index:100000
    /* background: #A0EC00; */
}
section{
    flex-grow: 1;
    padding: 0 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* background: cornflowerblue; */
}
.offerList{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* flex-basis: 100%; */
    /* padding: 1.5rem 0; */
    overflow-y: auto;
    overflow-x: hidden;
    /* background: blueviolet; */
}
footer{
    font-size: 1.4rem;
    width: calc(100% - 2rem);
    padding-top: 1rem;
    /* background: #A0EC00; */
}
.line{
    width: 100%;
    border-bottom: 1px solid #111;
}
.copyright{
    padding: 1.5rem;
    font-family: Roboto;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 3rem;
    white-space: nowrap;
    align-items: stretch;
    color: #666;
    border-top: 1px solid #333;
}
/* 기본구조끝 */
/* 상단메뉴시작 */
.logo{
    min-width: 5.9rem;
    min-height: 5.9rem;
    background: url('../img/logo_green.png') no-repeat center center;
    background-size: contain;
    cursor: pointer;
}
header nav > ul{
    display: flex;
    /* gap: .5rem; */
    z-index: 10000;
}
header nav ul li{
	position: relative;
    text-align: center;
    /* width: 11rem; */
}
/* header nav ul li a.sub-menu:before{
	content: '\f107';
    font-family: fontAwesome;
	position: absolute;
	right:1rem;
    line-height: 2.5rem;
    color: var(--main-txt-color);
}
header nav ul li.active a.sub-menu:before {
	content: '\f106';  
    color: var(--main-txt-color);
} */
header nav ul li a.sub-menu:after{
	content: '\f107';
    font-family: fontAwesome;
	position: absolute;
	right:.5rem;
    line-height: 2.5rem;
    color: var(--main-txt-color);
}
/* header nav ul li:nth-child(2) a.sub-menu:after, header nav ul li:nth-child(4) a.sub-menu:after{
	right:.5rem;
} */
header nav ul li.active a.sub-menu:after {
	content: '\f106';  
    color: var(--main-txt-color);
}
header nav ul li ul {
	position: absolute;
	width:100%;
	left:0;
	background: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 10000;
    display: none;
}
header nav ul li ul li{
	display: block;
    white-space:nowrap;
    font-weight: 100;
    font-size: 1.5rem;
    color: var(--sub-txt-color);
    border-bottom: 1px solid #444;    
}
header nav ul li ul li:hover{
    background: #222;
}
header nav ul li a{
    display: block;
    font-weight: 400;
    color: var(--main-txt-color);
    padding: 1.2rem 2rem;    
}
header nav ul li.active{    
    color: var(--main-txt-color);
    border-radius: .5rem .5rem 0 0;
    background: #000;
}
.memberMenu{
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    gap: 1rem;
}
.memberMenu > div{
    min-width: 9rem;
    padding: 1rem 1.5rem;
    text-align: center;
    border-radius: .3rem;
    background: #DFDFDF;
    box-shadow: .3rem .3rem 1rem rgba(0,0,0,.3), -.3rem 0 1rem rgba(0,0,0,.3);
    cursor: pointer;
}
.menu-toggle{
    position: absolute;
    right: 2rem;
    top: 1rem;
    font-size: 2.4rem;
    color: var(--main-txt-color);
    display: none;
    cursor: pointer;
    z-index: 10;
}
.btn-open:after {
	color:var(--main-txt-color);
	content:"\f0c9";
	font-family:"FontAwesome";
	transition-property:all .2s linear 0s;
	-moz-transition:all .2s linear 0s;
	-webkit-transition:all .2s linear 0s;
	-o-transition:all .2s linear 0s;
}

.btn-close:after {
	color:var(--main-txt-color);
	content:"\f00d";
	font-family:"FontAwesome";
	transition-property:all .2s linear 0s;
	-moz-transition:all .2s linear 0s;
	-webkit-transition:all .2s linear 0s;
	-o-transition:all .2s linear 0s;    
}
.navBackground{
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .2);
    backdrop-filter: blur(2px);
    z-index: 2;
}

@media (max-width:870px){ 
    .menu-toggle{
        display: block;
    }
    header{
       padding: .5rem 1rem;
    }
    header nav{
        position: absolute;
        width: 80%;       
        height: 100vh;
        background: #333;
        top: 0;
        left: -100%;
        transition: 0.5s;
        z-index: 5;/*폼박스위에 위치*/       
    }
    header nav.active{
        left: 0;
        position: fixed;
        box-shadow: .4rem 0 1rem 0 rgba(0, 0, 0, .5);
    }

header nav ul li a.sub-menu:after{
	
	right:1.9rem;
  
}


    header nav.active~.navBackground{
        display: block;
    }
    header nav ul{
        display: block;
        text-align: center;
        width: 100%;
    }
    header nav ul:first-child{
        position: absolute;
    }
    header nav ul li{
        width: 100%;
    }
    header nav ul li.active{    
        color: var(--main-txt-color);
        background: #000;
    }
    header nav ul li a{
        border-bottom: 1px solid rgba(0,0,0,.2);
        padding: 1.3rem;
    }
    /* header nav ul li:nth-child(2) a.sub-menu:after, header nav ul li:nth-child(4) a.sub-menu:after{
        right:1rem;
    } */
    header nav ul li.active ul{
        display: block;
        position: relative;
        background: #272727;
    }
    header nav ul li ul{
        display: none;
    }
    header nav ul li ul li{
        width: 100%;
        text-align: center;
    }    
    .memberMenu.active{
        left: 0;
    }
    .memberMenu{
        position: fixed;
        bottom: 0;
        width: 80%;
        padding: 1.5rem;
        left: -100%;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        z-index: 10;
    }
    .login{
        margin-left: 1rem;
    }
}
@media (max-height:480px) and (orientation: landscape) {
    .memberMenu.active{
        display: none;
    }
}
/* 상단메뉴끝 */
/* 타이틀 시작 */
.title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 2rem 2.5rem;
    z-index: 1;
    border-radius: .6rem;
    background:#4F4F4F;
    box-shadow: .3rem .3rem 1rem rgba(0,0,0,.1), -.3rem 0 1rem rgba(0,0,0,.1);
}
.title > span{
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: -.2rem;
    line-height: 5.2rem;
    color: var(--act-txt-color);
}
/* 타이틀 서브네비시작 */
.submenuNav{
    display: table;
    border-collapse: collapse;   
}
.submenuNav > div span{
    display: block;
    position: absolute;
    top:0;
    left: 50%;
    width: 1rem;
    height: 1rem;
    border-radius: 100%;
    background: #A0EC00;
    transform: translateX(-50%);
}
.submenuNav > div span:first-child{
    filter: blur(.4rem);
}
.submenuNav .row {
    display: table-row;
}
.submenuNav .cell {
    position: relative;
    display: table-cell;
    text-align: center;
    padding: .5rem;
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: -.1rem;
    color: var(--sub-txt-color);
}
.submenuNav > div:last-child > div{       
    cursor: pointer;
}
/* 타이틀 서브네비끝 */
/* 타이틀 끝 */