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 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.nav-content nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
}

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

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

.profile img {
        border-radius: 50%;
        max-width: 100%;
        max-height: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;        
        padding: 20px;
}

.profile .profile-picture {
    margin-bottom: 30px;
    height: 200px;
}

.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;
}

.about-me {
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.visited-map {
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.visited-map img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: block;
}

.education {
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

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

.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.edu-header h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 700;
}

.edu-sub {
    font-size: 14px;
    color: #555;
}

.edu-years {
    font-size: 14px;
    font-weight: 600;
    color: #1d539f;
    white-space: nowrap;
}

.work-experience {
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

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

.job-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.job-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.job-tag {
    background-color: #1d539f;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.job-card p {
    margin: 0;
    color: #444;
    line-height: 1.6;
}

.hobbies {
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

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

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

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

.hobby-card p {
    padding: 12px 16px;
    margin: 0;
}

.timeline {
    max-width: 800px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

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

.form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.form-row input {
    flex: 1 1 200px;
}

.timeline-form input,
.timeline-form textarea {
    font-family: "Roboto", serif;
    font-size: 14px;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    width: 100%;
    resize: vertical;
}

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

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

.timeline-error {
    background-color: #fdecea;
    color: #b3261e;
    border: 1px solid #f5c2c0;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
}

.timeline-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timeline-card {
    background-color: white;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 16px;
}

.timeline-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
}

.timeline-body {
    flex: 1;
}

.timeline-meta {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.timeline-name {
    font-weight: 700;
    font-size: 15px;
}

.timeline-email {
    font-size: 13px;
    color: #1d539f;
}

.timeline-date {
    font-size: 12px;
    color: #888;
    margin-left: auto;
}

.timeline-content {
    margin: 0;
    color: #444;
    line-height: 1.6;
    white-space: pre-wrap;
}