*{
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    font-family: 'Noto Sans KR', sans-serif;
    overscroll-behavior: none;
    overscroll-behavior-y: none;
    letter-spacing: -0.5px;
}

button{padding:0;}
html, body{ height: 100%; margin:0; padding:0;}
html {
    /* user-select:none; */
    -webkit-touch-callout:none; 
    overflow: hidden;
    touch-action: pan-y;
}
/* 기본 스타일 */
body {
    overflow:hidden;
    min-height: 100svh;
    @supports (-webkit-touch-callout: none) {
        min-height: -webkit-fill-available;
    }
 
    display: flex;
    flex-direction: column;
    margin:0;
    padding:0;
    width: 100%;    
    font-size: 14px;
    color: #000;    
    line-height: 1.5;
}
/* 기본 링크 스타일 */
a {
    color: inherit;
    text-decoration: none;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
}
select{
    outline: 0;
    -webkit-tap-highlight-color: transparent;
}
/* 버튼 리셋 */
button {
    border: none;
    background: none;
    cursor: pointer;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
}
/* input, textarea 기본 글꼴 적용 */
input, textarea {
    font-family: inherit;
    font-size: inherit;
}
ul, ol{list-style: none; padding:0; margin: 0;}

main {
    flex: 1;
    margin: auto;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}


/* 헤더 스타일 */
header {
    width: 100%;
    box-sizing: border-box;
    
}



/* 푸터 스타일 */
footer {
    margin-top: auto;
}

/* 에러 페이지 스타일 */
.error-template {
    padding: 40px 15px;
}

.invisible, .hide{
    display: none;
}
/* 플래시 메시지 스타일 */
#msg-flash {
    margin-bottom: 20px;
} 

.nav-bar{
    display:block;
    width: 100%;
    background: #00000050;
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
    padding: 15px 0;
}


.nav-bar .nav-list.member-room{
    -ms-overflow-style: none;
    display: flex; align-items: center; 
    width: 100%; height: 40px; padding: 0 15px; overflow-x: scroll; gap: 10px; 
}
.nav-bar .nav-list.member-room::-webkit-scrollbar {
    display: none;
}

.nav-bar .nav-list.member-room .nav-item{
    background: #333; border-radius: 20px;
    height: 100%;
}
.nav-bar .nav-list.member-room .nav-item a{
    width: fit-content;
    min-width: fit-content;
    height: 100%;
    padding: 0 12px;
    display:flex;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    color:#fff;
    white-space: nowrap;
}
.nav-bar .nav-list.member-room .nav-item a .icon{font-weight: normal; font-size: 20px; margin-right: 5px;}
.nav-bar .nav-list.member-room .nav-item.active{background: #2b67ff}
.nav-bar .nav-list.member-room .nav-item.active a{
    font-weight: 600;
}
.top-bar{
    width: 100%;
    display: flex;
    align-items: center;
    background: #fff;
    height: 75px;
    padding: 15px 0;
    box-shadow:
    0 0 12px rgba(0, 0, 0, 0.1),
    0 0 0 rgba(255, 255, 255, 0.5) inset; /* 내외부 은은한 입체감 */
}
.top-bar .btn-back{
    margin-left: 10px;
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    line-height: 45px;
}
.top-bar .btn-back .icon{
    color: #000;
    font-size: 28px;
    line-height: 45px;
}
.page-background{
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    backdrop-filter: brightness(0.7);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    object-fit: cover;
    object-position: center;
    background-color: #fdfdfd;
}


.animated-bg {
    background: linear-gradient(45deg,
    #be5f42,
    #a36d3d,
    #c28e3c,
    #ddb045,
    #f2c94c,
 
    #e754d2,
    #db40bd,
    #d63384,
    #b93479,
    #9d3270,
    #912f83,
    #803a8a,
    #6d3d94,
    #5b419c,
    #4951a3,
    #3b60aa,
    #2f6db1,
    #2a78b8,
    #2284bd,
    #1e8ab0,
    #1e9caa,
    #1eada3,
    #1ebd98,
    #1ecb8f,
    #c0684b,
    #c05a51,
    #b44a59,
    #b03068,
    #a23176
    );
	background-size: 400% 400%;
    animation: gradientMove 60s ease infinite, rotateBg 10s linear infinite;;
    top: 50%;
    left: 50%;
    width: 400%;
    height: 400%;
    transform-origin: center;
    transform-style: preserve-3d;
    transform: translate(-50%, -50%) rotate(0deg);
    position: fixed;
    z-index: -1;

}


@keyframes gradientMove {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}
@keyframes rotateBg {
    0%   { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
  }


.view-page{
    background: transparent;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding:0;
    display: flex;
    flex-direction: column;
    flex: 1;

}

.list-shadow{
    position: absolute;
    z-index: 1;
    pointer-events: none;
}
.list-shadow.vertical{
    width: 100%;
    height: 40px;
    left:0;
}
.list-shadow.horizontal{
    width: 40px;
    height: 100%;
    top: 0;
}

.list-shadow.top{
    top:0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}
.list-shadow.bottom{
    bottom:0;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}
.list-shadow.left{
    left:0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}
.list-shadow.right{
    right:0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}
.nav-bar .dashboard-bar{
    width: 100%;
    height: 45px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    margin-bottom: 15px;
}

.nav-bar .dashboard-bar > .clock {
    width: fit-content;
    height: 100%;
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 6px;

}
.nav-bar .dashboard-bar > .clock .time {
    font-family: 'DS-Digital', sans-serif;
    font-size: 45px;
    font-weight: 600;
    line-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-bar .dashboard-bar > .clock .box {
    display: flex;
    flex-direction: column;
}
.nav-bar .dashboard-bar > .clock .ampm {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
}
.nav-bar .dashboard-bar > .clock .weekday {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;

}
.nav-bar .dashboard-bar > .clock .second-dot {
    width: 10px;
    height: 10px;
    background: rgb(255, 182, 47);
    border-radius: 50%;
    opacity: 1;
    transition: opacity 0.2s;
}

.nav-bar .dashboard-bar > .menu-container{
    display: flex;
    align-items: center;
    margin-left: auto;
    width: fit-content;
    height: 100%;
    gap: 15px;
}

.nav-bar .dashboard-bar > .menu-container > .menu{
    background: #eee;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 45px;
    overflow: hidden;
}
.nav-bar .dashboard-bar > .menu-container > .menu .icon{
    font-size: 22px;
    line-height: 45px;
}

.nav-bar .dashboard-bar > .menu-container > .menu.members{
    width: 45px;
    height: 45px;
    background: transparent;
    border: 1px solid #333;
}
.nav-bar .dashboard-bar > .menu-container > .menu .img-member-profile{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.display-grid{
    display: grid;
    gap: 15px;
    width: 100%;
    height: 100%;
}
.grid-option.c1-r1{
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}
.grid-option.c1-r2{ 
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
}
.grid-option.c1-r3{ 
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
}
.grid-option.c1-r4{ 
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
}

.grid-option.c2-r1{ 
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}
.grid-option.c2-r2{ 
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.grid-option.c2-r3{ 
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
}
.grid-option.c2-r4{ 
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
}

.grid-option.c3-r1{ 
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
}
.grid-option.c3-r2{ 
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.grid-option.c3-r3{ 
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
}
.grid-option.c3-r4{ 
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
}

.grid-option.c4-r1{ 
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
}
.grid-option.c4-r2{ 
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.grid-option.c4-r3{ 
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
}
.grid-option.c4-r4{ 
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
}


.grid-option.gc1-gr1 {
    grid-column: 1;
    grid-row: 1;
}
.grid-option.gc1-gr2 {
    grid-column: 1;
    grid-row: 2;
}
.grid-option.gc1-gr3 {
    grid-column: 1;
    grid-row: 3;
}
.grid-option.gc1-gr4 {
    grid-column: 1;
    grid-row: 4;
}
.grid-option.gc2-gr1 {
    grid-column: 2;
    grid-row: 1;
}
.grid-option.gc2-gr2 {
    grid-column: 2;
    grid-row: 2;
}
.grid-option.gc2-gr3 {
    grid-column: 2;
    grid-row: 3;
}
.grid-option.gc2-gr4 {
    grid-column: 2;
    grid-row: 4;
}
.grid-option.gc3-gr1 {
    grid-column: 3;
    grid-row: 1;
}
.grid-option.gc3-gr2 {
    grid-column: 3;
    grid-row: 2;
}
.grid-option.gc3-gr3 {
    grid-column: 3;
    grid-row: 3;
}
.grid-option.gc3-gr4 {
    grid-column: 3;
    grid-row: 4;
}
.grid-option.gc4-gr1 {
    grid-column: 4;
    grid-row: 1;
}
.grid-option.gc4-gr2 {
    grid-column: 4;
    grid-row: 2;
}
.grid-option.gc4-gr3 {
    grid-column: 4;
    grid-row: 3;
}
.grid-option.gc4-gr4 {
    grid-column: 4;
    grid-row: 4;
}




/* 반응형 */
/*
0px      // 기본
576px    // small (sm)
768px    // medium (md)
992px    // large (lg)
1200px   // extra large (xl)
1400px   // extra extra large (xxl)

*/
/* 반응형 미디어 쿼리 */
@media (min-width: 1px) and (max-width: 767px) {
   
}

@media (min-width: 768px) and (max-width: 999px) {
    
   
}
@media (min-width: 1000px) and (max-width: 1199px) {
    
   
}
@media (min-width: 1200px) and (max-width: 1399px) {
  
}


@media (min-width: 1400px) and(max-width: 1599px) {

}

@media (min-width: 1600px) and (max-width: 9999px) {


}
