body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

.container {
    width: 98%;
    margin: 0 auto;
    text-align: justify!important;
}
.judul {
	font-size: 14px;
}

#categoryTabs {
    margin-top: 20px;
}

.tab {
    display: inline-block;
    padding: 5px 10px;
    margin: 2px;
    cursor: pointer;
    border-radius: 5px;
    color: #000;
    font-size: 10.5px;
}

.tab:not(#semua):hover, .tab.active, .tab.active:hover {
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
}

#semua {
    background-color: #333;
    color: #fff;
}

#directory {
    margin-top: 20px;
    display: block;
    text-align: justify;
}

.card {
    width: 20%;
    margin: 10px 5px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: inline-block;
    vertical-align: top;
}

.card h2 {
    margin-top: 0;
    font-size: 17px;
    display: flex;
    align-items: center;
}

.card h2::before {
    content: '📂';
    margin-right: 8px;
}

.card ul {
    list-style-type: none;
    padding: 0;
    margin-top: 10px;
}

.card li {
    margin: 5px 0;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.card a {
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block; /* Ensure the transform works properly */
}

.card a:hover {
    transform: translateX(8px);
    color: #007bff; /* Change color on hover */
}

/* Adding the transition for the reverse animation */
.card a::before {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.card a:hover::before {
    width: 100%;
}

