@font-face {
    font-family: 'Pretendard';
    src: url('/font/Pretendard-Thin.woff') format('woff');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('/font/Pretendard-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('/font/Pretendard-Light.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('/font/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('/font/Pretendard-Medium.woff') format('woff');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('/font/Pretendard-SemiBold.woff') format('woff');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('/font/Pretendard-Bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('/font/Pretendard-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('/font/Pretendard-Black.woff') format('woff');
    font-weight: 900;
    font-display: swap;
}
*::-webkit-scrollbar {background:#000; width:8px; height:5px;}
*::-webkit-scrollbar-thumb {background:#666; height:5px;}

body {
    margin: 0;
    padding: 0;
    font-family: 'Pretendard';
    background-color: #333; /* For visibility outside header.html */
}

.header {
    display: flex;
    align-items: center;
    padding: 30px 20px;
    height: auto;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav {
    display: flex;
    gap: 25px;
    margin-left: 30px;
}

.nav-item {
    font-size: 20px;
    font-weight: 800;
    color: #ccc; /* Regular color for non-active items */
    text-decoration: none;
    position: relative;
    padding-bottom: 3px;
    transition: color 0.3s, text-shadow 0.3s;
    display: flex;
    align-items: center;
}

.external-icon {
    margin-left: 2px; /* Reduced margin to bring icon closer to text */
    font-size: 22px; /* Increased size (about 3/2 of the text size) */
    position: relative;
    top: -1px;
    line-height: 0; /* Helps with vertical alignment */
}

.nav-item:hover {
    color: #ffd700; /* Fluorescent yellow on hover */
    text-shadow: 0 0 5px rgba(255, 252, 0, 0.7), 0 0 10px rgba(255, 255, 255, 0.5); /* Yellow and white glow */
}

.nav-item.active {
    color: #ffd700; /* Fluorescent yellow color for active item */
    text-shadow: 0 0 5px rgba(255, 252, 0, 0.7), 0 0 10px rgba(255, 255, 255, 0.5); /* Yellow and white glow */
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ffd700; /* Matching fluorescent yellow for underline */
    box-shadow: 0 0 5px rgba(255, 252, 0, 0.7), 0 0 10px rgba(255, 255, 255, 0.5); /* Yellow and white glow for the underline */
}

.nav-item:not(.active)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #ffd700;
    box-shadow: 0 0 5px rgba(255, 252, 0, 0.7), 0 0 10px rgba(255, 255, 255, 0.5);
    transition: width 0.3s;
}

.nav-item:hover::after {
    width: 100%;
}

.login-button {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    font-weight: 800;
    display: flex;
    align-items: center;
}

.login-button img {
    width: 20px;
    height: 20px;
    margin-left: 5px;
}
