#projects {
    display: flex;
    justify-content: center;
    background-color: var(--background-color-2);
    min-height: 100vh;
    padding-top: 5em;
    box-sizing: border-box;
}

#projects-container {
    width: 77em;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2em 0em 4em;
}

/* #project-title is now an <h1>. Reset kills default h1 margin/font-weight
   so it renders identically to the old <div>. */
#project-title {
    margin: 0 0 .2em 0;
    font-weight: normal;
    color: var(--background-color-1);
    width: fit-content;
    font-size: clamp(2em, 3vw, 3em);
    font-family: "Merriweather-Bold";
    line-height: 95%;
}

#project-title-underline {
    display: flex;
    width: 100%;
    height: .1em;
    background-color: var(--color-1);
    border-radius: .07em;
}

#project-info {
    font-size: clamp(1em, 1.1vw, 1.2em);
    font-family: "Merriweather-Light";
    line-height: 1.6em;
    color: var(--background-color-1);
    margin: 1em 0em 2em;
    max-width: 60em;
}

#project-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1.5em;
    width: 100%;
}

.project-cards {
    width: clamp(12em, 18%, 15em);
    height: 15em;
    border-radius: 1em;
    overflow: hidden;
    background-color: var(--background-color-1);
    box-shadow: 0em 0em .2em .006em var(--shadow-color-1);
}

.project-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
