html {
    scroll-behavior: smooth;
}

body {
    background-color: #111111;
    color: #EEEEEE;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

header {
    background-color: #181818;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #333333;
}

header h1 {
    font-size: 22px;
    margin: 0;
}

nav a {
    color: #EEEEEE;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

section {
    max-width: 1000px;
    margin: auto;
    padding: 90px 20px;
    scroll-margin-top: 80px;
}

h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

p {
    font-size: 18px;
    line-height: 1.6;
}

a {
    color: #FFFFFF;
}

.profile img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #EEEEEE;
    padding: 6px;
}

.project {
    background-color: #1B1B1B;
    padding: 25px;
    margin: 20px 0;
    border: 1px solid #333333;
    border-radius: 12px;
    transition: transform 0.2s ease;
    overflow: hidden;
    padding: 0;
    flex: 1;
    text-align: center;
}

.project:hover {
    transform: translateY(-5px);
}

.project h3 {
    font-size: 24px;
}

.project a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 16px;
    border: 1px solid #EEEEEE;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.project a:hover {
    background-color: #EEEEEE;
    color: #111111;
    text-decoration: none;
}

#home {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.intro {
    flex: 1;
}

.intro h2 {
    font-size: 58px;
    margin: 0;
    line-height: 1.1;
}

.profile {
    flex: 1;
    text-align: center;
}

.about-item {
    border-left: 3px solid #EEEEEE;
    padding-left: 20px;
    margin: 30px 0;
}

.profile h2 {
    font-size: 50px;
    margin-bottom: 30px;
}

footer {
    background-color: #181818;
    text-align: center;
    padding: 25px;
    border-top: 1px solid #333333;
}

footer p {
    margin: 0;
    font-size: 14px;
}

.contact-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.contact-links a {
    padding: 10px 18px;
    border: 1px solid #EEEEEE;
    border-radius: 8px;
    text-decoration: none;
}

.contact-links a:hover {
    background-color: #EEEEEE;
    color: #111111;
}

.project img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #333333;
}

.project-content {
    padding: 25px;
}

.hero-text {
    font-size: 20px;
    line-height: 1.6;
    max-width: 500px;
    color: #AAAAAA;
}

.profile-label {
    font-size: 14px;
    color: #AAAAAA;
    margin-top: 15px;
}

.current-item {
    padding: 20px 0;
    border-bottom: 1px solid #333333;
}

.current-item h3 {
    margin-bottom: 5px;
}

.current-item p {
    margin: 0;
    color: #AAAAAA;
}

@media (max-width: 700px) {
    #home {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .intro h2 {
        font-size: 45px;
    }

    .profile img {
        width: 170px;
        height: 170px;
    }

    .contact-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    nav a {
        margin: 0 5px;
    }

    header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
}