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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    transition: color 0.3s ease, background-color 0.3s ease;
}

body.dark-mode {
    color: #e0e0e0 !important;
    background: #1a1a1a !important;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 3rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

#title {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
}

body.dark-mode #title {
    color: #b0b0b0 !important;
}

section {
    margin-bottom: 3rem;
}

h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

body.dark-mode h2 {
    border-bottom-color: #444 !important;
}

.project {
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

body.dark-mode .project {
    border-color: #444 !important;
}

.project h3 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.project p {
    color: #666;
    margin-bottom: 0.5rem;
}

body.dark-mode .project p {
    color: #b0b0b0 !important;
}

a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

body.dark-mode a {
    color: #4a9eff !important;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

li {
    margin-bottom: 0.5rem;
}

.theme-toggle {
    background: none;
    border: 2px solid #333;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background-color: #333;
    color: #fff;
}

body.dark-mode .theme-toggle {
    border-color: #4a9eff;
    color: #4a9eff;
}

body.dark-mode .theme-toggle:hover {
    background-color: #4a9eff;
    color: #fff;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}