@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&display=swap');

body {
    background-color: #0d0d0d;
    color: #e0e0e0;
    font-family: 'Consolas', 'Menlo', 'Courier New', monospace;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    padding: 20px;
}

/* 상단 내비게이션 스타일 */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(13, 13, 13, 0.9);
    padding: 10px 20px;
    z-index: 100;
    border-bottom: 1px solid #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.top-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.top-nav li {
    display: inline-block;
    margin-right: 25px;
}

/* 내비게이션 링크 스타일 수정 */
.top-nav a {
    font-family: inherit; /* Elden Ring 폰트 적용 */
    color: #ffffff; /* 흰색으로 변경 */
    font-weight: 700;
    font-size: 1.1em;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.top-nav a:hover {
    color: #87ceeb; /* 호버 시 색상 변경 */
    text-shadow: 0 0 5px #87ceeb;
}


/* 메인 콘텐츠 영역 스타일 */
.content {
    max-width: 720px;
    margin: 80px auto 40px auto;
    padding: 30px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
}

h1, h2 {
    color: #ffffff;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
}

h1 {
    font-size: 1.8em;
}

h2 {
    font-size: 1.4em;
    margin-top: 40px;
}

p, li {
    font-size: 1em;
}

pre {
    background-color: #0d0d0d;
    border: 1px solid #444;
    padding: 15px;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: inherit;
    border-radius: 4px;
}

/* 기본 링크 스타일 (내비게이션 제외) */
a {
    color: #87ceeb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff;
    text-decoration: none;
}

.content img {
    max-width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    margin: 0 auto;
}

#fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 200;
}

#fullscreen-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}