@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,700;1,400&display=swap');
body {
    font-family: 'JetBrains Mono', monospace;
    margin: 0;
    padding: 60px 24px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    background: #dfe4ec;
    color: #000000;
    line-height: 1.8;
}

.main-header {
    text-align: center;
    margin-bottom: 80px;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
}

h1 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: -1px;
    border-bottom: 2px solid #000;
    display: inline-block;
}

h1:first-of-type {
    margin-top: 0;
}

p {
    margin-bottom: 16px;
    color: #222222;
}

i {
    display: block;
    padding: 20px;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.5);
    border-left: 4px solid #000;
    font-style: italic;
    color: #333;
}

#backToTop {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 99;
    border: 1px solid #000;
    outline: none;
    background-color: white;
    color: black;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: 4px 4px 0px #000;
}

#backToTop:hover {
    background-color: #000;
    color: #fff;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #333;
}

@media (max-width: 600px) {
    body {
        padding: 40px 20px;
    }
    #backToTop {
        bottom: 20px;
        right: 20px;
    }
}

h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 12px;
    color: #000;
    display: flex;
    align-items: center;
}

h3 {
    display: block;
    margin-left: auto;
    width: fit-content;
    font-size: 18px;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 10px;
    background: #000;
    color: #fff;
    padding: 2px 10px;
    text-transform: lowercase;
}

.main-image {
    display: block;
    width: 100%;
    height: auto;
    border: 2px solid #000;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.15);
}

figcaption {
    margin-top: 15px;
    font-size: 12px;
    color: #444;
    text-align: left;
    font-weight: 400;
    line-height: 1.6;
    border-left: 3px solid #000;
    padding-left: 12px;
    text-transform: none;
    letter-spacing: 0.5px;
}