/* Reset some basic styles */
body, ul, li, a, h1 {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    color: inherit;
    font-family: Arial, sans-serif;
}

/* General body styling */
body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

/* Styling for the navigation menu */
ul {
    display: flex;
    justify-content: center;
    background-color: #333;
    padding: 10px 0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

ul li {
    flex : 1; /* 모든 li가 동일 공간 차지 */
    text-align: center;
}

ul li a {
    color: #fff;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

ul li a:hover {
    background-color: #555;
    color: #e2e2e2;
}

/* Heading styling */
h1 {
    text-align: center;
    margin: 20px 0;
    font-size: 2em;
    color: #222;
}

/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

thead {
    background-color: #333;
    color: #fff;
}

thead th {
    padding: 10px;
    text-align: left;
    font-weight: bold;
}

tbody tr {
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease;
}

tbody tr:hover {
    background-color: #f1f1f1;
}

tbody td {
    padding: 10px;
}

/* Highlight the "active" category in the navigation */
ul li a.active {
    background-color: #555;
    color: #e2e2e2;
}
