/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: rgba(0, 0, 0, 0.8);
    font-size: 20px;
    line-height: 1.6;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.2;
}

p {
    margin-top: 0;
    margin-bottom: 0;
}

/* Main Layout */
.main {
    min-height: calc(100vh - 130px);
    overflow: hidden;
}

.container {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
}

/* Hero Section */
.hero {
    margin-bottom: 100px;
    text-align: center;
    font-size: 20px;
    line-height: 1.6;
}

/* Images */
.letter {
    width: calc(100vw - 40px);
    max-width: 600px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.profile-pic {
    width: 200px;
    height: 200px;
    display: block;
    margin: 0 auto 30px auto;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.headshot {
    width: 100%;
    display: block;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.8rem;
}

/* Links */
.link {
    color: #00A0F7;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

/* Social Icons */
.social-icons {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin: 0 10px;
}

.link-icon {
    display: block;
    height: 20px;
    width: 20px;
    margin: 5px;
    color: inherit;
}

.link-icon:hover {
    color: #00A0F7;
}

/* Cursor Trail */
#cursor-trail-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.cursor-trail {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: fadeOut 0.8s ease-out forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }
}

/* Responsive */
@media (max-width: 768px) {
    body {
        font-size: 18px;
    }
    
    .hero {
        margin-bottom: 50px;
    }
}
