body {
    background-color: #260107;
    margin: 0;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
}

header {
    background-color: rgb(251, 240, 223);
    border-width: 2px 0;
    border-style: solid;
    border-color: rgb(243, 233, 217);
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12pt;
}

.header-link {
    height: 30px;
    align-content: center;
    margin: 0 5px 0 5px;
    color: #000000;
    text-align: center;
    text-decoration: none;
}

.header-link:hover {
    color: #57000e;
}

#header-link-current {
    align-content: flex-start;
    pointer-events: none;
    height: 24px;
    padding-top: 8px;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-bottom-color: #57000e;
    color: #57000e;
}

/* ---- Gallery Sub-Nav ---- */

.gallery-subnav {
    display: flex;
    flex-direction: row;
    gap: 28px;
    margin: 32px 0 0 0;
    justify-content: center;
}

.gallery-subnav-link {
    font-size: 13.5pt;
    color: rgb(251, 240, 223);
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.gallery-subnav-link:hover {
    color: #dd6376;
}

#gallery-subnav-current {
    color: #dd6376;
    border-bottom: 2px solid #dd6376;
    pointer-events: none;
}

main {
    width: 100%;
    max-width: 900px;
    padding: 20px;
    margin: 24px auto 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer {
    width: 100%;
    flex: 1 0 auto;
    margin: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    font-size: 11pt;
    color: #A57476;
}


/* ---- Photography ---- */

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    width: 100%;
    margin: 24px 0;
}

.photo-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

@media (max-width: 600px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
}


/* ---- Music ---- */

.music-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    max-width: 560px;
    margin: 24px 0;
}

.music-embed iframe {
    width: 100%;
    border: none;
    display: block;
    border-radius: 4px;
}

.music-embed-yt iframe {
    height: 200px;
}

.music-embed-sc iframe {
    height: 120px;
}

.music-embed-sp iframe {
    height: 80px;
    border-radius: 12px;
}


/* ---- Game Dev ---- */

.gamedev-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    max-width: 700px;
    margin: 24px 0;
}

.gamedev-project-title {
    font-size: 12pt;
    color: rgb(243, 233, 217);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 12px 0;
}

.gamedev-media-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.gamedev-media-row.single {
    grid-template-columns: 1fr;
}

.gamedev-media-row img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

.gamedev-media-row iframe {
    width: 100%;
    height: 200px;
    border: none;
    border-radius: 2px;
    display: block;
}