main {
    align-content: start;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    gap: 20px;
}

.project-card {
    width: 300px;
    height: 200px;

    background: #8B3F60;
    padding: 20px;
    box-sizing: border-box;

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 40px 1fr;
    grid-template-areas:
        "title title"
        "thumbnail description";
    gap: 10px;

    overflow: hidden;
}

.project-card h2 {
    grid-area: title;
    margin: 0;
    font-size: 24;
}

.project-card img {
    grid-area: thumbnail;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card p {
    grid-area: description;
    margin: 0;

    overflow-y: auto;
    min-height: 0;
}
/* =========================
   INDIVIDUAL PROJECT PAGES
   ========================= */

.project-page {
    display: grid;
    gap: 20px;
}

.project-header {
    background: #8B3F60;
    padding: 20px;
}

.project-header h1 {
    margin: 0;
}

.project-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.project-cover {
    background: #8B3F60;
    padding: 20px;
}

.project-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.project-nav {
    background: #8B3F60;
    padding: 20px;
}

.project-description {
    background: #8B3F60;
    padding: 20px;
}

.project-description h2 {
    margin-top: 0;
}

.reader {
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
}

.reader-content {
    flex: 1;
    background: #8B3F60;
    padding: 20px;
}

.reader-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.project-nav {
    background: #332D40;
    padding: 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 20px;
}

.nav-button {
    padding: 10px 20px;
    background: #652C6E;
}
