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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', monospace;
    line-height: 1.4;
    color: #000;
    background: #fff;
    font-size: 16px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-bottom: 16px;
}

h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 4px;
}

.title {
    font-size: 16px;
    color: #666;
    margin-bottom: 32px;
}

h2 {
    font-size: 20px;
    font-weight: 500;
    margin: 32px 0 16px 0;
}

h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

p {
    margin-bottom: 16px;
    color: #333;
}

.project {
    margin-bottom: 24px;
}

a {
    color: #000;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

.contact a {
    margin-right: 16px;
}

.tooltip {
    position: relative;
    cursor: help;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: #999;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(5px);
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    width: 280px;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 12px;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 100%;
    margin-left: 15px;
    margin-top: -30px;
    font-size: 14px;
    line-height: 1.3;
    transition: opacity 0.2s, transform 0.2s;
    transform: translateX(0);
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent #333 transparent transparent;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.avatar {
    margin-bottom: 0;
}

.nav-links {
    margin-bottom: 0;
}

.nav-links a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-links a:hover {
    background-color: #f5f5f5;
    color: #000;
}

.person {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.person:last-child {
    border-bottom: none;
}

.person h3 {
    margin-bottom: 6px;
    color: #000;
    font-size: 16px;
}

.person h3 a {
    color: #000;
    text-decoration: none;
}

.person h3 a:hover {
    text-decoration: underline;
}

.person p {
    margin-bottom: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.note {
    margin-top: 40px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ddd;
}

.note p {
    margin-bottom: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .container {
        padding: 24px 16px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        margin: 24px 0 12px 0;
    }
    
    .header-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .avatar {
        margin-bottom: 16px;
    }
    
    .nav-links {
        margin-bottom: 0;
        align-self: flex-end;
        margin-top: -48px;
    }
    
    .person {
        margin-bottom: 16px;
        padding-bottom: 12px;
    }
    
    .note {
        margin-top: 32px;
        padding: 16px;
    }
    
    .tooltip-text {
        width: 240px;
        top: auto;
        left: 50%;
        bottom: 125%;
        margin-left: -120px;
        margin-top: 0;
        font-size: 13px;
        text-align: center;
    }
    
    .tooltip-text::after {
        top: 100%;
        right: auto;
        left: 50%;
        margin-left: -5px;
        margin-top: 0;
        border-color: #333 transparent transparent transparent;
    }
    
    .tooltip:hover .tooltip-text {
        transform: translateY(-5px);
    }
}