body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    margin: 0;
    padding: 0;
}

.filterable-gallery {
    margin-top: 90px;
    padding: 20px;
    text-align: center;
}

.filterable-gallery .filter-buttons {
    margin-bottom: 20px;
}

.filterable-gallery .filter-btn {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    background-color: #1f1f1f;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    border-radius: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.filterable-gallery .filter-btn:hover {
    background-color: #007bff;
    transform: translateY(-3px);
}

.filterable-gallery .card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.filterable-gallery .card {
    background-color: #1f1f1f;
    border: 1px solid #333;
    border-radius: 8px;
    margin: 10px;
    width: 250px;
    overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.filterable-gallery .card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.filterable-gallery .card h3 {
    margin: 15px;
    font-size: 1.2em;
    color: #ffffff;
}

.filterable-gallery .card p {
    margin: 15px;
    color: #cccccc;
}

.filterable-gallery .card:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .filterable-gallery .card {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .filterable-gallery .card {
        width: 100%;
    }
}


.card-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    gap: 5px; /* Add spacing between buttons */
}

.btn {
    padding: 4px 10px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 23px; /* Set button radius to 23px */
    transition: background-color 0.3s ease;
    text-align: center;
    display: inline-block;
    width: 45%; /* Ensure the buttons fit well side by side */
}

.btn:hover {
    background-color: #0056b3;
}

.btn.live-preview {
    background-color: #28a745;
}

.btn.live-preview:hover {
    background-color: #218838;
}

.btn.source-code {
    background-color: #17a2b8;
}

.btn.source-code:hover {
    background-color: #117a8b;
}
