/* 전체 페이지 스타일 */
body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #0f1420;
    color: #ffffff;
}

/* 헤더 스타일 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #1c2331;
}

.logo {
    max-width: 150px;
    height: auto;
}

.hamburger-menu {
    font-size: 30px;
    cursor: pointer;
    z-index: 1000;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 80px;
    right: 20px;
    background-color: #2c3e50;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dropdown-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    transition: background-color 0.3s;
}

.dropdown-menu a:hover {
    background-color: #3498db;
}

/* 메인 컨텐츠 영역 스타일 */
.content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(75vh - 25px);
}

/* 메뉴 그리드 스타일 */
.menu-container {
    width: 100%;
    max-width: 472px;
    padding: 3.75px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7.5px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    background-color: #1c2331;
    border-radius: 12px;
    padding: 15px 7.5px;
    height: 240px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-4.5px);
    background-color: #2c3e50;
}

.icon-container {
    background-color: #3498db;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
}

.menu-icon {
    width: 60px;
    height: 60px;
}

.menu-text {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .menu-container {
        max-width: 378px;
    }

    .menu-grid {
        gap: 6px;
    }

    .menu-item {
        padding: 12px 6px;
        height: 195px;
    }

    .icon-container {
        padding: 10.5px;
    }

    .menu-icon {
        width: 39px;
        height: 39px;
    }

    .menu-text {
        font-size: 13.5px;
    }
}

@media (max-width: 480px) {
    .content {
        min-height: calc(80vh - 25px);
    }

    .menu-container {
        max-width: 378px;
    }

    .menu-grid {
        gap: 6px;
    }

    .menu-item {
        padding: 12px 6px;
        height: 195px;
    }

    .icon-container {
        padding: 10.5px;
    }

    .menu-icon {
        width: 39px;
        height: 39px;
    }

    .menu-text {
        font-size: 13.5px;
    }
}
