/* header.css */
.main-header {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo a {
    font-family: 'Poppins', sans-serif !important; 
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #333333;
}

.header-logo .community{
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.header-nav .nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.header-nav .nav-item a {
    font-weight:bold;
    text-decoration: none;
    color: #333333;
    font-size: 16px;
}

.header-actions .action-btn {
    margin-left: 10px;
    padding: 8px 16px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.header-actions .action-btn:hover {
    background-color: #0056b3;
}


/* 반응형: 화면이 600px 이하일 때 */
@media screen and (max-width: 600px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }

    .header-logo {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .header-nav {
        width: 100%;
    }

    .header-nav .nav-list {
        justify-content: center; /* 모바일에서는 가운데 정렬 */
        gap: 15px;
        flex-wrap: wrap;
    }

    .header-nav .nav-item a {
        font-size: 15px;
    }
}