body {
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
    color: #333;
    background-color: #f4f4f4;
}

.sidebar {
    width: 200px;
    background-color: #fff;
    padding: 40px 20px;
    border-right: 1px solid #e0e0e0;
}

.main-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

h1 {
    font-size: 34px;
    font-weight: normal;
    margin-bottom: 40px;
}

h2 {
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 10px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    margin-bottom: 15px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    transition: font-weight 0.3s ease;
}

nav ul li a:hover {
    font-weight: bold;
}

nav ul li a.active {
    font-weight: bold;
}

.about {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.links {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto 0;
    width: 100%;
}

.underline-link {
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #333;
    padding-bottom: 2px;
    margin-bottom: 20px;
}

footer {
    margin-top: 60px;
    color: #999;
    font-size: 14px;
    text-align: center;
    width: 100%;
}

.work-experience {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.job {
    margin-bottom: 40px;
}

.job-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.job-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.job-description {
    margin-left: 20px;
}

.job-description ul {
    padding-left: 20px;
}

.job-description li {
    margin-bottom: 5px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.project-item {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    position: relative;
}

.project-year {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #f4f4f4;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    color: #666;
}

.project-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    padding-right: 60px;
}

.project-item img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 5px;
}

.project-item p {
    font-size: 14px;
    margin-bottom: 20px;
}

.project-item .underline-link {
    font-size: 14px;
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 20px;
    }

    .main-content {
        padding: 20px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }
}