body {
    font-family: 'Noto Sans KR', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
}

header {
    background: url('images/header-bg.png') no-repeat center center/cover;
    color: #fff;
    height: 150px;
    padding: 2rem 0; /* 패딩을 늘려서 헤더 높이를 조정합니다 */
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
}

header::before {
    content: "";
    background: rgba(0, 0, 0, 0.5); /* 반투명 검은색 오버레이 */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

header h1 {
    position: relative;
    z-index: 2; /* 텍스트를 오버레이 위로 올립니다 */
}

nav {
    display: flex;
    justify-content: center;
    background: #111;
    padding: 1rem 0;
    flex-wrap: wrap;
    position: relative;
}

nav a {
    color: #fff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-size: 1rem;
    margin: 0.5rem;
}

nav a:hover {
    background: #333;
    color: #fff;
}

nav .dropdown {
    position: relative;
    display: inline-block;
    margin: 0.5rem;
}

nav .dropdown a {
    padding: 0.5rem 1rem;
}

nav .dropdown-content {
    display: none;
    position: absolute;
    background-color: #111;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

nav .dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

nav .dropdown-content a:hover {
    background-color: #333;
}

nav .dropdown:hover .dropdown-content {
    display: block;
}

.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.post {
    background: #f9f9f9;
    margin-bottom: 2rem;
    padding: 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #000;
}

.post h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

.post a {
    text-decoration: none;
    color: #000;
}

.post a:hover {
    color: #555;
}

.reduced-image {
    width: 80%;
    height: auto;
}

footer {
    text-align: center;
    padding: 1rem 0;
    background: #000;
    color: #fff;
    position: fixed;
    width: 100%;
    bottom: 0;
    font-size: 0.875rem;
}

footer a {
    color: inherit;
    text-decoration: none;
}

footer a:hover {
    color: inherit;
    text-decoration: underline;
}

.field-links {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
}

.field-links a {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
}

.field-links a:hover {
    background-color: #555;
}

/* 필드 보스 페이지 스타일 */
.field-boss ul {
    list-style-type: none;
    padding: 0;
}

.field-boss ul li {
    background-color: #f9f9f9;
    margin: 0.5rem 0;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

@media (max-width: 600px) {
    header {
        font-size: 1.2rem;
    }

    nav a {
        font-size: 0.875rem;
        padding: 0.5rem;
    }

    nav .dropdown a {
        padding: 0.5rem 0.875rem;
    }

    .container {
        margin: 1rem auto;
        padding: 0 0.5rem;
    }

    .post {
        padding: 1rem;
    }

    .post h2 {
        font-size: 1.2rem;
    }

    footer {
        font-size: 0.75rem;
    }

    .field-links {
        flex-direction: column;
        align-items: center;
    }

    .field-links a {
        margin: 0.5rem 0;
    }
}

/* 필드 보스 표 스타일 */
.field-boss-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.field-boss-table th, .field-boss-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.field-boss-table th {
    background-color: #333;
    color: #fff;
}

.field-boss-table img {
    width: 100px;
    height: auto;
}

/* 달력 스타일 */
.calendar {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin-bottom: 1rem;
}

.calendar-header button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.calendar-header button:hover {
    background-color: #555;
}

.calendar-days {
    display: flex;
    width: 100%;
    max-width: 800px;
    background-color: #333;
    color: #fff;
}

.calendar-days div {
    flex: 1;
    padding: 0.5rem;
    text-align: center;
    font-weight: bold;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    width: 100%;
    max-width: 800px;
}

.calendar-grid div {
    border: 1px solid #ddd;
    padding: 0.2rem;
    position: relative;
}

.calendar-grid span {
    display: block;
    text-align: right;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.event {
    background-color: #ffdfba;
    border: 1px solid #ffcd92;
    padding: 0.25rem;
    border-radius: 3px;
    margin-top: 0.25rem;
    text-align: center;
    font-size: 0.8rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.event.coimbra {
    background-color: #b3e5fc;
    border-color: #81d4fa;
}

.event.oshu {
    background-color: #ffe0b2;
    border-color: #ffcc80;
}

.event.rostoldos {
    background-color: #e1bee7;
    border-color: #ce93d8;
}

.event a {
    color: inherit;
    text-decoration: none;
}

.event a:hover {
    color: inherit;
    text-decoration: underline;
}

.legend {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.legend div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend span {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 3px;
}

.legend .coimbra {
    background-color: #b3e5fc;
}

.legend .oshu {
    background-color: #ffe0b2;
}

.legend .rostoldos {
    background-color: #e1bee7;
}

.coimbra {
    background-color: #b0e0e6;
}

.oshu {
    background-color: #ffa07a;
}

.rostoldos {
    background-color: #dda0dd;
}

.ustyurt {
    background-color: #5dc93c;
}

.event {
    border: 1px solid #ddd;
    padding: 0.25rem;
    margin-top: 0.25rem;
    border-radius: 3px;
    text-align: center;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}

.today {
    background-color: #d4f7d4; /* 연두색 배경 */
}