@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --header-bg: #f5f5f5;
    --subtitle-color: #666;
    --link-color: #333;
}

body {
    margin: 0;
    padding: 20px;
    text-align: center;
    font-family: Inter, sans-serif;
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.dark-mode {
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --header-bg: #2d2d2d;
    --subtitle-color: #b0b0b0;
    --link-color: #e0e0e0;
}

header {
    background-color: var(--header-bg);
    margin: -20px -20px 0 -20px;
    padding: 20px;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

header nav h1 {
    margin: 0;
    font-weight: normal;
}

header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
    margin: 0;
    font-family: Inter, sans-serif;
    color: #333;
}

header nav ul a {
    color: var(--link-color);
    text-decoration: none;
}

header nav ul a:hover {
    text-decoration: underline;
}

main {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    flex: 1;
    flex-shrink: 0;
}

.content-wrapper {
    display: block;
    gap: 40px;
    align-items: flex-start;
}

.content-wrapper > div {
    flex: 1;
    text-align: left;
    max-width: 900px;
}

.content-wrapper p {
    flex: 1;
    text-align: left;
    max-width: 900px;
}

.profile-pic {
    width: 250px;
    height: auto;
    flex-shrink: 0;
}

.profile-pic-float {
    float: right;
    width: 250px;
    height: auto;
    margin-left: 30px;
    margin-bottom: 10px;
    vertical-align: top;
}

footer {
    margin-top: auto;
    padding-top: 0px;
    background-color: var(--header-bg);
    color: var(--text-color);
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -20px;
    padding-bottom: 40px;
    text-align: center;
}

.dark-mode-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
}

@media (max-width: 900px) {
    header nav {
        flex-direction: column;
        gap: 20px;
    }
    
    .content-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .profile-pic {
        width: 250px;
    }

    .section-subtitle {
        text-align: center;
    }

    .section-pic {
        width: 200px;
    }
}