body {
    font-family: Arial, sans-serif;
    margin: 20px;
    color: #333;
}

header {
    background-color: #f4f4f4;
    padding: 10px;
    text-align: center;
}

main {
    margin: 20px 0;
}

footer {
    background-color: #f4f4f4;
    padding: 10px;
    text-align: center;
    font-size: 0.9em;
}

#profile {
    width: 20%; /* Adjust the percentage as needed */
    height: auto; /* Maintain aspect ratio */
    margin-left: 5%; /* Space between the image and text */
    margin-right: 5%; /* Space between the image and text */
}

.container {
    display: flex;
    align-items: center;
    background-image: url("assets/london.png"); /* Path to your background image */
    background-size: cover; /* Scale the image to cover the container */
    background-position: center; /* Center the image within the container */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    padding: 20px; /* Add some padding to make sure content doesn't touch edges */
    background-color: rgba(0, 0, 0, 0.4);
    background-blend-mode: multiply;
    min-height: 500px;
}



.text {
    color: white;
    max-width: calc(70% - 20px);
}

.project {
    background: #fff;
    padding: 20px;
    padding-bottom: 50px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 50px;
    position: relative;
}

.project-toolbar {
    max-width: 1200px;
    margin: 30px auto 20px auto;
    padding: 16px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
}

.toolbar-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toolbar-group label {
    font-size: 14px;
    font-weight: bold;
    color: #144862;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-button,
.toolbar-sort select {
    border: 2px solid #144862;
    background: #fff;
    color: #144862;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 15px;
}

.filter-button {
    cursor: pointer;
}

.filter-button i {
    margin-right: 6px;
}

.filter-button.active {
    background: #144862;
    color: #fff;
}

.toolbar-sort select {
    min-width: 170px;
}

.project-count {
    font-size: 14px;
    color: #5f7280;
    min-width: 90px;
}

.project-number {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    font-size: 16px;
    color: #9aa8b2;
    letter-spacing: 0;
    pointer-events: none;
}

.project-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.project-header div {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 5px;
}

.project-header i {
    margin-right: 5px;
}

.language {
    background: #1e6c93;
    color: white;
}

.project-type {
    background: #1e6c93;
    color: white;
}

.date {
    background: white;
    color: #144862;
    border-color: #144862;
    border-style: solid;
    border-width: 2px;
}

.project-name {
    font-size: 24px;
    margin-bottom: 20px;
}

.project-images {
    display: flex;
    margin-bottom: 20px;
}

.project-images img {
    border-radius: 5px;
    margin-right: 10px;
}

.image-1 {
    width: 35%;
}

.image-2 {
    width: 65%;
}

.image-3 {
    width: 50%;
}

.project-description {
    margin-bottom: 20px;
}

.project-buttons {
    display: flex;
    justify-content: space-between;
}

.button {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    width: 50%;
    margin-left: 1%;
    margin-right: 1%;
}

.github-button {
    background: #333; /* GitHub button background */
}

.download-button {
    background: #1e6c93; /* Download button background */
}

.play-button {
    background: #0da410; /* Download button background */
}

.read-button {
    background: #af0000; /* Download button background */
}

.button i {
    margin-right: 5px;
}

.contact-info {
    background-color: #fff; /* White background */
    color: #000; /* Black text */
    border-radius: 8px; /* Optional: rounded corners */
    padding: 10px;
    height: 50px;
    margin: 20px auto; /* Center horizontally with margin */
}

.contact-info a {
    color: #1e6c93; /* Blue color for links */
    text-decoration: none; /* Remove underline from links */
}

.contact-info a:hover {
    text-decoration: underline; /* Underline on hover */
}

.features-list {
    list-style-type: none;
    padding: 0;
}

.features-list li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.imageDesc {
    font-size: 11px;
    font-style: italic;
}

@media (max-width: 900px) {
    .container,
    .project-images,
    .project-header,
    .project-buttons,
    .project-toolbar {
        flex-direction: column;
    }

    .text,
    #profile,
    .image-1,
    .image-2,
    .image-3,
    .button,
    .toolbar-sort,
    .toolbar-sort select {
        width: 100%;
        max-width: 100%;
    }

    #profile {
        margin-left: 0;
        margin-right: 0;
    }

    .project-header {
        align-items: flex-start;
    }

    .project-images img {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .button {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 10px;
        justify-content: center;
    }
}
