* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text-color: #1a1a1a;
    --bg-color: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 18px;
    line-height: 1.6;
    font-weight: 300;
    position: relative;
    overflow-x: hidden;
}

.bouncing-image {
    position: fixed;
    width: 200px;
    height: 200px;
    object-fit: cover;
    pointer-events: auto;
    z-index: 1;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.bouncing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.container {
    max-width: 550px;
    margin: 0 auto;
    padding: 80px 40px;
    min-height: 30vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.header {
    margin-bottom: 60px;
}

.header-text {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 4px;
    text-align: left;
    text-indent: 0;
}

.header-text a,
.header-text span,
.header-name,
.header-name-link,
.header-current {
    display: inline;
    vertical-align: baseline;
}

.header-text > *:not(:first-child) {
    margin-left: 12px;
}

.footer {
    margin-top: 20px;
    padding-top: 10px;
    text-align: center;
}

.footer-text {
    font-size: 18px;
    font-weight: 400;
}

.content {
    flex: 1;
}

.text-block {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
    font-weight: 300;
    max-width: 600px;
}

.text-block:last-child {
    margin-bottom: 0;
}

a {
    color: var(--text-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.6;
}

.writing-item {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
    padding-left: 0;
    margin-left: 0;
    text-align: left;
    text-indent: 0;
}

.writing-link {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    color: var(--text-color);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .container {
        padding: 60px 30px;
    }

    .header {
        margin-bottom: 50px;
    }

    .text-block {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .writing-item {
        font-size: 16px;
        margin-bottom: 18px;
    }
}
