@font-face {
    font-family: 'batang';
    src: url('./img/batang.ttc') format('ttc');
}
body{
    background-image: url('./img/bg_sky.png');
    font-size: 16px;
}
.window-body{
    margin: 4px;
    padding: 9px;
    border: 1px solid #000;
}
.sticker-layer{
    position: absolute;
    z-index: 100;
    width: 100%; height: 100%;
    top: 0; left: 0;
    pointer-events: none;
    &>div{
        position: absolute;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
}
.wrap{
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    font-family: 'batang',sans-serif;
    gap: 100px;
    padding: 40px 60px 40px calc(150px + 60px);
    height: auto;
}

nav{
    /* .window 클래스 스타일을 덮어쓰고 고정 위치 설정 */
    position: fixed; /* 뷰포트에 고정 */
    top: 0;
    left: 0;
    height: 100vh; /* 뷰포트 전체 높이 */
    width: 150px; /* 메뉴의 너비 설정 (원하는 값으로 조절 가능) */
    z-index: 500; /* 다른 콘텐츠 위에 나타나도록 z-index 설정 */
    overflow-y: auto; 
    min-height: auto;
    display: flex;
    
    .window-body{
        text-align: center;
        margin: 0;
        padding: 30px 0;
        border: none;
        background-image: url('./img/bg_galaxy.gif');
        
        flex-grow: 1; /* 부모(nav)의 남은 공간을 모두 차지하여 높이 100vh를 채우도록 함 */
        display: flex; /* .window-body를 다시 Flex 컨테이너로 만듦 */
        flex-direction: column; /* 자식(.item)들을 세로로 쌓음 */
        justify-content: center; /* 자식(.item)들을 세로 축의 중앙에 정렬 */
        
        .item{
            margin: 20px auto;
            a{
                display: flex;
                flex-direction: column;
            }
        }
    }
    a{
        color: #fff;
        display: block;
        width: fit-content;
    }
    img{
        width: 60px;
        height: 60px;
        object-fit: contain;
        object-position: center;
    }
}
.main-hero{
    .logo{
        text-align: center;
    }
    h2{
        font-size: 60px;
        text-align: center;
        margin-top: 20px;
        background-clip: text;
    }
}
.main{
    .main-body{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        line-height: 2;
        h3.title{
            color: chocolate;
            font-weight: bolder;
            margin-bottom: 16px;
            font-size: 28px;
        }

        .update{
            height: max-content;
            background-image: url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbUyPGo0hj8Lxech7QrCbYDYa_JQroch4xQWRZhBYq2PykdxAkr9lAH6ssX2g7ixcOQrIty2E8zA5Gof9PI8pRdDrZ4D028kIjvAQ3Ip9EvPPnErUKiZghYew4nL-KIY6_p6-gnoOeuo1JleagEK0QBE2lx97n25D0UQoiS5qhmUgzof9AZaHto41gu8w/s1600/water2.webp'); 
            background-repeat: repeat; /* 배경 이미지를 반복하지 않음 */
            
            }
            span.date{
                color: #0099ff;
                font-weight: bold;
            }
            a{
                font-weight: bold;
            }
            .new-item{
                margin-bottom: 8px;
            }
        }
    }
}
.board-list{

    a{
        display: block;
        margin-bottom: 10px;
        span{
            margin-right: 10px;
        }
    }
}
.board-view{}
