

/* ================= General Reset ================= */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inconsolata', sans-serif;
    color: #5b0f1b;
    min-height: 100vh;
}

/* ================= Font ================= */
@font-face {
    font-family: 'Inconsolata';
    src: url('./font/Inconsolata_Expanded-ExtraLight.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ================= Container ================= */
.content {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 6rem;
    padding-bottom: 4rem;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 6rem - 4rem);
}

@media (min-width: 601px) {
    .content {
        justify-content: center;
    }
}

/* ================= Header ================= */
.header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(6px);
}

@media (max-width: 600px) {
    .header {
        width: 92%;
        padding: 0.3rem 0;
    }
}

/* ================= Header Links ================= */
h1 a {
    color: #5b0f1b;
    text-decoration: none;
    font-size: clamp(1.4rem, 2vw, 2rem);
}

h1 a:hover {
    text-decoration: underline;
}

/* ================= Gallery ================= */
.gallery {
    column-count: 4;
    column-gap: 0.8rem;
}

@media (max-width: 1000px) {
    .gallery {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .gallery {
        column-count: 1;
    }
}

.gallery img {
    width: 100%;
    height: auto;
    break-inside: avoid;
    margin-bottom: 1rem;
    position: relative;
}

/* ================= Text Blocks (cleaned) ================= */
.text-block,
.text-block2,
.text-block3 {
    color: #5b0f1b;
    font-family: 'Inconsolata', monospace;
    text-align: left;
    line-height: 1.6;
    font-weight: bold;
    margin: 8rem auto;
}

/* individual sizing */
.text-block {
    max-width: 600px;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.text-block2,
.text-block3 {
    max-width: 1200px;
    font-size: 0.85rem;
}

/* ================= Bottom Link ================= */
.bottom-link {
    position: fixed;
    bottom: 2rem;
    right: 8rem;
    text-align: right;

    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(6px);
    padding: 0.5rem 0.8rem;
    display: inline-block;
}

.bottom-link a {
    color: #5b0f1b;
    text-decoration: none;
    font-weight: bold;
}

.bottom-link a:hover {
    text-decoration: underline;
}

/* ================= Mobile ================= */
@media (max-width: 600px) {

    .content {
        width: 92%;
        padding-top: 5rem;
    }

    .bottom-link {
        right: 1rem;
        bottom: 1rem;
    }

    .text-block,
    .text-block2,
    .text-block3 {
        margin: 4rem auto;
        font-size: 1rem;
    }

    .text-block2,
    .text-block3 {
        font-size: 0.85rem;
    }
}