/* Base Styles */
:root {
    --background-color: #ffffff;
    --text-color: #333333;
    --accent-color: #8c9de1;
    --secondary-text: #666666;
    --link-hover: #8c9de1;
}

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

/* Text Selection */
::selection {
    background-color: transparent;
    color: var(--accent-color);
}

::-moz-selection {
    background-color: transparent;
    color: var(--accent-color);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    letter-spacing: 0.015em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Layout */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem 1rem 2rem;
}

.container {
    max-width: 650px;
    width: 100%;
}

/* Avatar */
.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #f0f0f0;
    margin: 0 auto 2rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e0e0e0;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Typography */
h1 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

/* Links */
a {
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    padding: 0 2px;
    transition: color 0.3s ease;
    z-index: 1;
}

a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(140, 157, 225, 0.4); /* Accent color with 40% opacity */
    transition: height 0.3s ease;
    z-index: -1;
}

a:hover::after, a:focus::after {
    height: 100%;
}

/* Connect Section */
.connect ul {
    list-style: none;
    margin-left: 0;
}

.connect li {
    margin-bottom: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.connect a {
    margin-right: 0.25rem;
}

.description {
    color: var(--secondary-text);
    font-size: 0.95rem;
}

/* Footer */
footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.mission {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.copyright {
    font-size: 0.9rem;
    color: var(--secondary-text);
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .connect li {
        margin-bottom: 1rem;
        flex-direction: column;
    }
    
    .description {
        display: block;
        margin-top: 0.2rem;
    }
    
    .avatar {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }
} 