body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    background-color: #f8f9fa;
    padding-top: 20px;
    border-right: 1px solid #ddd;
}
#sidebar a {
    text-decoration: none;
    display: block;
    padding: 10px 20px;
    font-size: larger;
    color: #333;
}
#sidebar a:hover {
    background-color: #e9ecef;
}
#content {
    margin-left: 270px;
    padding: 20px;
}
.section {
    display: none;
}
.section.active {
    display: block;
}
.section-title {
    font-weight: bold;
    margin-top: 20px;
    font-size: 1.5em;
}
.sub-title {
    font-weight: bold;
    font-size: 1.2em;
}
.achievement {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
}
.achievement span {
    display: inline-block;
}
.year {
    font-weight: bold;
    flex: 1;
}
.competition {
    font-style: italic;
    flex: 3;
}
.rank {
    flex: 1;
    text-align: right;
    color: gray;
}

.flex-title{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.header a {
    text-decoration: none;
    display: block;
    padding: 10px 20px;
    color: #333;
}
.header a:hover {
    background-color: #e9ecef;

}

@media screen and (max-width: 768px) {
    .header {
        display: flex;
    }

    #sidebar{
        display: none;
    }
    #content {
        margin-left: 0px;
    }
}
