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: right;
    padding-top: 0px;
    padding-right: 0px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    transition: background-color 0.15s ease;
}

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

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

.tagline {
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    margin-top: -8px;
}

.profile {
    background-color: #1d539f !important;
    text-align: center;
    padding: 10px 0 45px 0;
    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;
}

.section {
    max-width: 800px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}

.section h2 {
    color: #1d539f;
    font-size: 32px;
    border-bottom: 2px solid #1d539f;
    padding-bottom: 8px;
}

.section .bio {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.card {
    background-color: white;
    border-left: 4px solid #1d539f;
    border-radius: 6px;
    padding: 16px 20px;
    margin-top: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.card-header h3 {
    margin: 0;
    color: #1d539f;
}

.card-period {
    color: #777;
    font-size: 14px;
    white-space: nowrap;
}

.card-subtitle {
    font-weight: 500;
    margin: 4px 0;
    color: #444;
}

.card-description {
    margin: 4px 0 0 0;
    line-height: 1.5;
    color: #333;
}

.hobby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 260px);
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

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

.hobby-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.hobby-card h3 {
    color: #1d539f;
    margin: 12px 0 6px 0;
}

.hobby-card p {
    margin: 0 16px;
    color: #333;
    line-height: 1.5;
}

#map {
    height: 500px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

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