#projects {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    align-self: stretch;
    border-top: 1px solid var(--foreground);
    border-bottom: 1px solid var(--foreground);
}

.project {
    display: flex;
    width: 350px;
    flex-direction: column;
    align-items: flex-start;
    border-right: 1px solid var(--foreground);
    border-left: 1px solid var(--foreground);
}

.project > img {
    width: 100%;
    height: 20vh;
    object-fit: cover;
    border-bottom: 1px solid var(--foreground);
}

.project > div {
    display: flex;
    padding: 8px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    flex: 1 0 0;
    align-self: stretch;
}

.project > div h3, .project > div p {
    font-family: "Inter Tight", sans-serif;
}

.project > div > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

/** If the user is on a mobile device, make the projects stack */

@media screen and (max-width: 800px) {
    #projects {
        flex-direction: column;
    }

    .project {
        width: 100%;
        border-right: none;
        border-left: none;
    }
} 