.project-snippet {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-self: center;
    gap: 1rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    transition: transform 0.3s;
    height: auto;
}

.project-snippet img {
    width: 100%;
    max-width: 100%;
    min-width: 120px;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin-bottom: 1rem;
}

.project-snippet-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    max-width: 500px;
}

.project-snippet-content h3 {
    margin-top: 0;
    margin-bottom: 0.5em;
    font-size: var(--font-size-default);
    font-weight: 600;
}

.project-snippet-content p {
    margin: 0 0 0.5em 0;
    font-size: 1rem;
}

.project-snippet-content a {
    margin-top: 1em;
    font-weight: bold;
    color: var(--color-blue, #0074d9);
    text-decoration: none;
}

/* Tablet and up */
@media (min-width: 768px) {
    .project-snippet {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
        margin-bottom: 2rem;
        height: 300px;
    }

    .project-snippet img {
        width: 500px;
        max-width: 40vw;
        min-width: 180px;
        margin-bottom: 0;
    }
}