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

header {
    background-color: #ffffff;
    color: #333;
    text-align: center;
    padding: 1rem 0;
}

main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

footer {
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
    padding: 1rem 0;
    position: absolute;
    bottom: 0;
    width: 100%;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    padding: 0.5rem 0;
}

a {
    color: #007acc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.project-box {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.project-image {
    flex: 0 0 100px;
    object-fit: cover;
    margin-right: 3rem;
}

.project-title {
    font-size: 1.5rem;
    margin: 0;
}

.project-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.project-title, .project-description {
    text-align: center;
}


.margin-left {
    margin-left: 4rem;
}


.project-description {
    flex: 1;
    margin-right: 2rem;
}

.project-links {
    display: flex;
    flex-direction: column;
    text-align: center;
}


.available {
    display: block; /* This will make the links stack vertically */
    margin-bottom: 0.5rem; /* Add some space between the links */
    color: #007acc;
    text-decoration: none;
}

.available:hover {
    text-decoration: none;
}

.unavailable {
    display: block; /* This will make the links stack vertically */
    margin-bottom: 0.5rem; /* Add some space between the links */
    color: #cc0000;
    text-decoration: none;
}

.unavailable:hover {
    text-decoration: none;
}



.go-to-project {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #007acc;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.go-to-project:hover {
    background-color: #005a8e;
}

/* Mobile styles */
@media (max-width: 768px) {
    .project-box {
        flex-direction: column;
        align-items: center;
    }

    .project-image {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .project-content {
        text-align: center;
        width: 100%;
    }

    .project-links {
        margin-top: 1rem;
    }
}

/* Desktop styles */
@media (min-width: 769px) {
    .project-box {
        display: flex;
        align-items: center;
    }

    .project-content {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
}

/* Filter Section */
.filter-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1rem;
    background-color: #f7f7f7;
}

.filter-section label {
    margin-right: 1rem;
    display: flex;
    align-items: center;
}

.filter-section input[type="checkbox"] {
    margin-right: 0.5rem;
}

.filter-section input[type="text"] {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    flex-grow: 2;
    max-width: 300px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .filter-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-section input[type="text"] {
        margin-top: 1rem;
        width: 100%;
        max-width: none;

    }

    .filter-section input[type="checkbox"] {
        text-align: center;
    }
    

}
