/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

/* Custom cursor */
.cursor {
    width: 12px;
    height: 12px;
    background: rgba(61, 102, 148, 0.8);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, background 0.2s ease;
    z-index: 9999;
}

/* Cursor hover effect for links */
a:hover ~ .cursor,
a:hover + .cursor {
    transform: translate(-50%, -50%) scale(1.8);
    background: rgba(61, 102, 148, 0.5);
}

/* Typography & Colors */
body {
    font-family: 'Georgia', serif;
    line-height: 1.55;
    color: #1D3C66;
    background: #E6F0FA;
    padding: 2rem;
    max-width: 900px;
    margin: auto;
}

h1, h2 {
    margin-bottom: 0.75rem;
    color: #1D3C66;
    font-weight: 600;
}

h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin-top: 1.5rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    color: #1D3C66;
}

/* Links */
a {
    color: #1e90ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover {
    color: #104e8b;
    text-decoration: underline;
}

/* Header & Footer */
header, footer {
    text-align: center;
    margin-bottom: 2.5rem;
}

footer {
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: #7B8FA8;
    font-size: 0.85rem;
}

/* Navigation */
nav {
    margin: 1rem 0;
    font-size: 0.9rem;
}

nav a {
    color: #7B8FA8;
    margin: 0 0.5rem;
}

/* Section Spacing */
section {
    margin-top: 2.5rem;
}

/* Arrowed lists */
.arrow-list, .post-list {
    list-style: none;
    padding-left: 0;
}

.arrow-list li, .post-list li {
    margin-bottom: 0.65rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1rem;
}

.arrow-list li::before, .post-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #7B8FA8;
    font-weight: normal;
}

/* Me section */
.me-section {
    display: flex;
    align-items: center; /* vertically center relative to text */
    justify-content: space-between;
    gap: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.me-text {
    flex: 1;
}

.me-text .arrow-list {
    margin-top: 0.5rem;
}

.me-image {
    flex-shrink: 0;
    display: flex;
    align-items: center; /* vertically center image */
    justify-content: center; /* horizontally center image in its block */
}

.profile-image {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

/* Background & Interests */
.background, .interests {
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    body {
        max-width: 95%;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .me-section {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .me-image {
        width: 100%;
    }
    
    .profile-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    h2 {
        width: 100%;
    }
}

@media (max-width: 600px) {
    body {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    nav a {
        display: block;
        margin: 0.5rem 0;
    }
}
