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 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

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

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

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

.nav-links a {
    color: white;
    margin-left: 18px;
    text-decoration: none;
}

.nav-links a.active,
.nav-links a:hover {
    text-decoration: underline;
}

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

.about {
    max-width: 720px;
    margin: 0 auto 50px auto;
    padding: 0 24px;
    text-align: center;
}

.about h2 {
    color: #1d539f;
    font-size: 32px;
    margin-bottom: 10px;
}

.about h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.about p {
    color: #333333;
    font-size: 18px;
    line-height: 1.6;
    margin: 8px 0;
}

.info-section {
    max-width: 780px;
    margin: 0 auto 50px auto;
    padding: 0 24px;
}

.info-section h2 {
    color: #1d539f;
    font-size: 32px;
    margin-bottom: 18px;
    text-align: center;
}

.info-card {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    border-radius: 16px;
    background-color: white;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(29, 83, 159, 0.12);
}

.info-card + .info-card {
    margin-top: 16px;
}

.info-card h3 {
    font-size: 22px;
    margin: 0 0 8px 0;
}

.info-card p {
    color: #333333;
    font-size: 17px;
    line-height: 1.5;
    margin: 4px 0;
}

.info-card span {
    color: #1d539f;
    font-weight: 700;
    white-space: nowrap;
}

.travel-map {
    max-width: 980px;
    margin: 0 auto 60px auto;
    padding: 0 24px;
    text-align: center;
}

.travel-map h2 {
    color: #1d539f;
    font-size: 32px;
    margin-bottom: 20px;
}

.map-card {
    display: flex;
    justify-content: center;
    background: transparent;
    overflow: hidden;
}

#travel-globe {
    width: 100%;
    max-width: 900px;
    height: 580px;
}

#travel-globe canvas {
    display: block;
}

.globe-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #1d539f;
    font-family: "Roboto", serif;
    font-size: 14px;
    font-weight: 700;
    pointer-events: none;
    text-shadow: 0 1px 3px white;
    transition: opacity 0.2s ease;
}

.globe-label-dot {
    width: 9px;
    height: 9px;
    border: 2px solid white;
    border-radius: 50%;
    background-color: #ff5a5f;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.globe-label-text {
    padding: 3px 7px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.82);
}

.hobbies-page {
    max-width: 1040px;
    margin: 0 auto 60px auto;
    padding: 0 24px;
}

.hobbies-hero {
    padding: 54px 0 32px 0;
    text-align: center;
}

.hobbies-hero h1 {
    color: #1d539f;
    font-size: 46px;
    margin: 0 0 12px 0;
}

.hobbies-hero p {
    color: #333333;
    font-size: 20px;
    margin: 0;
}

.hobby-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hobby-card {
    overflow: hidden;
    border-radius: 16px;
    background-color: white;
    box-shadow: 0 8px 24px rgba(29, 83, 159, 0.14);
}

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

.hobby-card h2 {
    color: #1d539f;
    font-size: 24px;
    margin: 0;
    padding: 18px;
    text-align: center;
}

@media (max-width: 800px) {
    .info-card {
        display: block;
    }

    .info-card span {
        display: block;
        margin-top: 10px;
    }

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

.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;
}
.timeline-page {
    max-width: 980px;
    margin: 0 auto 70px auto;
    padding: 0 24px;
}

.timeline-hero {
    padding: 54px 0 30px 0;
    text-align: center;
}

.timeline-hero h1 {
    color: #1d539f;
    font-size: 46px;
    margin: 0 0 12px 0;
}

.timeline-hero p {
    color: #333333;
    font-size: 20px;
    margin: 0;
}

.timeline-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 28px;
    align-items: start;
}

.timeline-form,
.timeline-post {
    border-radius: 16px;
    background-color: white;
    box-shadow: 0 8px 24px rgba(29, 83, 159, 0.14);
}

.timeline-form {
    padding: 24px;
}

.timeline-form h2,
.timeline-posts h2 {
    color: #1d539f;
    margin-top: 0;
}

.timeline-form label {
    display: block;
    color: #333333;
    font-family: "Roboto", serif;
    font-weight: 700;
    margin: 14px 0 6px 0;
}

.timeline-form input,
.timeline-form textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #cfd8e6;
    border-radius: 10px;
    padding: 12px;
    font: inherit;
}

.timeline-form button {
    width: 100%;
    border: 0;
    border-radius: 10px;
    background-color: #1d539f;
    color: white;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    margin-top: 18px;
    padding: 12px;
}

.form-message,
.timeline-email {
    color: #666666;
}

.timeline-post {
    padding: 20px;
    margin-bottom: 16px;
}

.timeline-post h3 {
    color: #1d539f;
    margin: 0 0 4px 0;
}

.timeline-post p {
    font-size: 16px;
    line-height: 1.5;
    margin: 8px 0 0 0;
}

@media (max-width: 800px) {
    .timeline-layout {
        grid-template-columns: 1fr;
    }
}
