p, h1, h2, h3, h4, h5, h6, button {
    font-family: "Roboto", serif;
}

body {
    background-color: #f5f5f9;
    background-size: cover;
    width: auto; 
    overflow-x: hidden;
    font-family: "Roboto", serif;
    margin: 0px;
}

.nav-bar {
    width: 100%;
    display: inline-block;
    background-color: #1C539F;
    font-family: "Roboto", serif;
    font-weight: 700 !important;
    padding-top: 10px;
}

.nav-content .logo-touch-target {
    display: inline-flex;
    height: 60%;
    width: 350px;
}

.nav-content .nav-logo {
    height: 60px;
    margin: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo img {
    width: 200px;
}

.nav-content nav {
    display: block;
    width: 100%;
    text-align: center;
    padding-top: 0px;
    padding-bottom: 10px;
}

.nav-content nav .nav-link {
    color: white;
    text-decoration: none;
    font-weight: 700;
    margin: 0px 15px;
}

.nav-content nav .nav-link:hover {
    text-decoration: underline;
}

.profile {
    background-color: #1d539f !important;
    text-align: center;
    padding: 30px 0 50px 0;
    margin-bottom: 50px;
}

.profile h1 {
        font-size: 50px;
        font-weight: 700;
        color: white;
}

.profile img {
        width: 180px;
        height: 180px;
        border-radius: 50%;
        object-fit: cover;
        object-position: center 20%;
        display: block;
        border: 4px solid white;
}

.profile .profile-picture {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

@media (max-width: 480px) {
    .profile img {
        width: 140px;
        height: 140px;
    }
}

.profile ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hobby-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
}

.hobby-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.hobby-card .entry-title {
    margin: 14px 0 6px 0;
    color: #1d539f;
}

.hobby-card p {
    margin: 0 14px 14px 14px;
    font-weight: 400;
    color: #444;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .hobby-card img {
        height: 160px;
    }
}

.banner {
    padding: 20px 0px 50px 0px;
    height: 150px;
    background-color: #1d539f;
}

.banner .logo {
    max-width:180px;
    max-height:60px;
    width: auto;
    height: auto;
}

.banner .title {
    color: white;
    font-size: 50px;
    font-weight: 700;
}

/* Work experience & education sections */
.section {
    max-width: 900px;
    margin: 0px auto 40px auto;
    padding: 0px 20px;
}

.section h2 {
    color: #1C539F;
    border-bottom: 2px solid #1C539F;
    padding-bottom: 8px;
    margin-bottom: 20px;
}


.columns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.column {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
}

.column-name {
    color: #1d539f;
    text-align: center;
    margin: 0px 0px 12px 0px;
}

.entry-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    flex: 1;
}

.entry-title {
    margin: 0px;
    color: #1d539f;
}

.entry-subtitle {
    margin: 4px 0px;
    font-weight: 400;
    color: #555;
}

.entry-dates {
    color: #888;
    font-size: 14px;
    margin: 4px 0px 12px 0px;
}

#travel-map {
    height: 420px;
    border-radius: 8px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
}

.map-legend {
    display: flex;
    gap: 24px;
    margin-bottom: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #555;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
}

@media (max-width: 600px) {
    #travel-map {
        height: 300px;
    }
}

/* Timeline */
.timeline-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.timeline-form input,
.timeline-form textarea {
    font-family: "Roboto", serif;
    font-size: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.timeline-form textarea {
    min-height: 80px;
    resize: vertical;
}

.timeline-form button {
    align-self: flex-start;
    background-color: #1C539F;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

.timeline-form button:hover {
    background-color: #164280;
}

.timeline-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.timeline-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}