body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* 상단 메인 이미지 */
.main-image {
    width: 100%;
    height: 150px;
    background: url('/img/main.png') no-repeat center center;
    background-size: cover;
}

/* 제목 스타일 */
h1 {
    text-align: center;
    margin: 10px 0;
    color: #333;
}

/* 임원 명단 컨테이너 */
.officers-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 20px;
    text-align: center;
}

.officer {
    width: 45%;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 10px;
}

.officer h2 {
    font-size: 18px;
    color: #007BFF;
}

.officer p {
    margin: 10px 0;
    font-size: 16px;
    color: #555;
}

/* 공지사항 리스트 */
#notice-section {
    margin: 20px;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#notice-section h2 {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
}

#notice-section ul {
    list-style: none;
    padding: 0;
}

#notice-section ul li {
    margin-bottom: 10px;
}

#notice-section ul li a {
    text-decoration: none;
    color: #007BFF;
    font-size: 16px;
}

#notice-section ul li a:hover {
    text-decoration: underline;
}

/* 햄버거 메뉴 */
.hamburger {
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1001;
}

.hamburger span {
    height: 4px;
    width: 100%;
    background-color: rgb(216, 145, 13);
    border-radius: 2px;
    transition: 0.3s;
}

/* 활성화 상태 (X로 변형) */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 998;
}

.side-menu {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #333;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    z-index: 999;
}

.side-menu a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    color: white;
    display: block;
    transition: 0.3s;
}
.side-menu a:hover {
    background-color: #4e4d4d;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 40px !important;
    margin-left: 50px;
    color: white;
}

#notice-section {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

#notice-section h2 {
    margin-bottom: 10px;
    font-size: 20px;
}

#notice-section ul {
    list-style-type: none;
    padding: 0;
}

#notice-section li {
    margin-bottom: 5px;
    font-size: 16px;
}

#notice-section a {
    text-decoration: none;
    color: #333;
}

#notice-section a:hover {
    color: #FF5733;
}

/* 메인 메뉴 버튼 */
.menu-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 10px;
    margin-top: 10px;
}

.menu-button {
    padding: 20px;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    width: 100%;
}
.menu-button:hover {
    opacity: 0.8;
}

a {
    text-decoration: none;
}

@media (max-width: 768px) {
    .officer, .menu-btn {
        width: 100%;
    }
}

@media (min-width: 769px) {
    .menu-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin: 20px auto;
        gap: 15px;
    }
    .menu-button {
        font-size: 16px;
        padding: 14px;
        max-width: 100%;
    }
}

.notice-box {
    background: white;
    border-radius: 10px;
    padding: 1px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    margin: 10px;
    margin-top: 1px;
    margin-bottom: 1px;
}
.notice-box ul {
    list-style: none;
    padding-left: 10px;
}
.notice-box li {
    margin-bottom: 3px;
}

.officers-container p {
    margin-bottom: 1px;
    line-height: 0.8;
}

.footer {
    background-color: #0a0a0a;
    padding: 16px;
    text-align: center;
    color: #ece7e7;
    font-size: 14px;
    margin-top: 30px;
    border-top: 1px solid #ccc;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.leader-pairs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 15px;
    line-height: 1.6;
    margin: 10px auto 20px;
    max-width: 400px;
    width: 100%;
}

.pair {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 0 10px;
    margin-top: 10px;
}
.pair span {
    flex: 1 1 0;
    max-width: 50%;
    white-space: nowrap;
    text-align: left;
}

.title-banner {
    background-color: #000;
    text-align: center;
    padding: 14px 0;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 10px;
    border-radius: 0px;
}
.title-banner h1 {
    color: #ffcc00;
    margin: 0;
}

.badge {
    display: inline-block;
    min-width: 18px;
    padding: 2px 6px;
    font-size: 12px;
    color: rgb(10, 10, 10);
    background-color: rgb(255, 145, 0);
    border-radius: 10px;
    text-align: center;
    margin-left: 4px;
}

#endCallBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: crimson;
    color: white;
    border: none;
    padding: 16px 28px;
    font-size: 1.1rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 9999;
}
#endCallBtn:hover {
    background-color: #b50000;
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-toggle {
    padding: 10px 20px;
    background: #3498db;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-top: 5px;
    border-radius: 5px;
}
.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
}
.dropdown-menu a:hover {
    background-color: #f0f0f0;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
