/* 기본 body 스타일 */
body {
    height: 100%;
    margin: 8px;
    font-family: 'Times New Roman', serif; /* 기본 영어 폰트 설정 */
}

/* 한글 텍스트 전용 폰트 설정 */
html[lang="ko"] body {
    font-family: 'Apple SD Gothic Neo', 'Nanum Gothic', 'Malgun Gothic', sans-serif;
}

/* h1 스타일 */
h1 {
    font-family: 'Didot', serif;
}

/* 링크 스타일 */
a:link, a:visited {
    color: blue;
    text-decoration: none;
}
a:hover {
    color: red;
}

/* Flexbox 레이아웃 */
.container {
    display: flex;
    height: 100vh;
    width: 100%;
}

.left-frame {
    flex: 1; /* 비율을 2:1로 설정 */
    border: none;
    width: 100%;
}

.right-frame {
    flex: 1;
    border: none;
    width: 100%;
}

/* 모바일 레이아웃 */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* 세로로 배치 */
        min-height: 100vh; /* 최소 높이를 설정 */
    }

    .left-frame {
        flex: 0 0 40%; /* 왼쪽 프레임 60%로 설정 */
        height: 40%; /* 높이 60%로 설정 */
    }

    .right-frame {
        flex: 0 0 60%; /* 오른쪽 프레임 40%로 설정 */
        height: 60%; /* 높이 40%로 설정 */
    }
}


/* 이미지 그리드 */
.image-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    margin: 0 auto;
    max-width: 1000px;
}

@media (max-width: 768px) {
    .image-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* 헤더 스타일 */
.site-header {
    border-bottom: 1px solid #666;
    font-size: 15px;
    height: 26px;
    margin: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background-color: #fff;
    padding: 0;
}

.site-header-navigation-links {
    float: left;
    height: 26px;
    list-style-type: none;
    margin: 0 10px;
    padding: 0;
}

.site-header-navigation-links li {
    display: inline;
    line-height: 26px;
}

.site-header-announcement {
    float: right;
    line-height: 26px;
    margin-right: 10px;
}

/* 이미지 스타일 */
img {
    width: 95%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    img {
        width: 100%;
        margin: 0;
    }
}
