body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(-45deg, #e73c7e, #cc00cc, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

.navbar {
    z-index: 9999;
    position: fixed;
    background-color: #333;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    color: white;
}

.navbar h2 {
    flex-grow: 1;
    text-align: center;
    margin: 0;
}

.back-button {
    position: absolute;
    left: 10px;
    color: white;
    text-decoration: none;
}

.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 60px; /* Adjust based on navbar height */
}

.project-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
    overflow: hidden;
    width: 300px; /* Adjust card width as needed */
    height: 200px; /* Adjust card height as needed */
    position: relative;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px; /* Optional: to match the card's border radius */
}

.project-card .date {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}