:root {
    --bg-color: rgb(255, 252, 240);
    --text-color: rgb(111, 110, 105);
    --link-color: rgb(111, 110, 105);
    --accent-color: #e0dcd0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: "PP Neue Montreal", system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 40px;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        linear-gradient(rgba(32, 23, 18, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(32, 23, 18, 0.05) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
    mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
}

#content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

a {
    color: var(--link-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.2s;
}

a:hover {
    border-bottom: 1px solid var(--link-color);
}

.landing-links-container {
    margin-top: 3rem;
    border-top: 1px solid var(--accent-color);
    padding-top: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links {
    margin-top: 1rem;
    font-size: 0.8rem;
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    opacity: 0.7;
}

.center-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 45%;
}

.align-right {
    display: flex;
    justify-content: flex-end;
}

/* Sidebar widget */
.sidebar-widget {
    position: fixed;
    right: 2rem;
    top: 40px;
    padding: 1rem;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    max-width: 260px;
    font-size: 0.85rem;
}

.sidebar-widget-title {
    margin: 0 0 0.5rem 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.6;
}

@media (max-width: 1200px) {
    .sidebar-widget {
        position: static;
        max-width: 100%;
        margin: 0 0 1.5rem 0;
    }
}

/* Project blocks */
.project-block {
    margin-bottom: 2.5rem;
}

.project-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.4rem;
}

.project-title {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.project-link {
    font-size: 0.8rem;
    opacity: 0.6;
    border-bottom: 1px solid transparent;
    transition: opacity 0.2s, border-bottom 0.2s;
}

.project-link:hover {
    opacity: 1;
    border-bottom: 1px solid var(--link-color);
}

.project-date {
    margin-left: auto;
    font-size: 0.8rem;
    opacity: 0.5;
    white-space: nowrap;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.tech-tag {
    font-size: 0.72rem;
    padding: 0.15rem 0.55rem;
    border: 1px solid var(--accent-color);
    border-radius: 2px;
    opacity: 0.75;
    letter-spacing: 0.02em;
}

.project-bullets {
    margin: 0;
    padding-left: 1.2rem;
    line-height: 1.7;
}

.project-bullets li {
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

/* Skills section */
.skills-section {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--accent-color);
}

.skills-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

.skills-row {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Section heading */
.section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.5;
    margin-bottom: 1.25rem;
    margin-top: 0;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
