/* Base Styles */
body {
    font-family: 'Segoe UI', Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

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

/* Header Layout */
header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #292929;
}

header p {
    margin: 0.5rem 0 0;
    color: #666;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.header-content div {
    text-align: left;
}

/* Avatar Styles */
.header-content img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    flex-shrink: 0;
    border: 20px solid transparent;
    border-image: url("https://cdn.fastly.steamstatic.com/steamcommunity/public/images/items/3099260/435af296c2e0271f3467252662793dabda9de31b.png") 30;
}

/* Sections */
section {
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-top: 0;
    color: #444;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

/* Skills Section */
.skills h3 {
    margin: 1.5rem 0 0.5rem;
    color: #444;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills i {
    font-size: 1rem;
    color: #555;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.skill-tags span {
    background: #e1f5fe;
    color: #0277bd;
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.skill-tags i {
    font-size: 1rem;
}

/* Projects Section */
.projects {
    margin-top: 2rem;
}

.project-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.project-card h3 {
    margin-top: 0;
    color: #0277bd;
}

.project-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0066cc;
    text-decoration: none;
    margin-top: 0.5rem;
}

.project-card a:hover {
    text-decoration: underline;
}

.project-card i {
    font-size: 1rem;
}

.other-projects {
    text-align: center;
    margin-top: 1.5rem;
}

.other-projects a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.other-projects a:hover {
    color: #0277bd;
    text-decoration: underline;
}

/* Languages */
.languages ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0;
    list-style: none;
}

.languages li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.fi {
    border-radius: 3px;
}

/* Contact */
.contact ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0;
    list-style: none;
}

.contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.contact a, footer a {
    color: #0066cc;
    text-decoration: none;
}

.contact a:hover, footer a:hover {
    text-decoration: underline;
}

.contact i {
    margin-right: 0.5rem;
    width: 1.2rem;
    text-align: center;
    color: #555;
}

.contact-note {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
    display: inline-block;
    margin-left: 0.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .header-content div {
        text-align: center;
    }
    .languages ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    .contact ul {
        grid-template-columns: 1fr;
    }
}