/* Base typography and layout */
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;
    height: 100vh;
}

.top-bar {
    width: 100%;
    display: inline-block;
    font-family: "Roboto", serif;
    font-weight: 700 !important;
    padding-top: 10px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.top-content {
    width: 60vw;
    margin: 0 auto;
}

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

.top-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;
    width: 100%;
    text-align: right;
    padding-top: 0px;
    padding-right: 0px;
}

.title > h1 {
    margin-bottom: -0.5em;
}

.title > p {
    color: oklch(44.6% 0.03 256.802);
}

#nav > ul {
    display: flex;
    flex-direction: row;
    padding-left: 0;
    align-items: center;
    height: 100%;
}

.nav-element {
    list-style: none;
    padding: 10px 20px;
    color: white;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

li {
    display: inline-block;
    transition: transform 0.5s ease-in-out;
}

li:hover {
    transform: translateY(-10px);
}

a {
    text-decoration: none;
    color: oklch(44.6% 0.03 256.802);
}

/* Main Content Styles */
#main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 400px;
}

.section-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: fadeIn 0.3s ease-in-out;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Home page list styles */
.section-content ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 0;
    list-style: none;
}

.section-content li {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #1c539f;
    transition: all 0.3s ease;
    display: block;
}

.section-content li:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-element.active {
    background-color: rgba(28, 83, 159, 0.2);
    border-radius: 4px;
}

.nav-element.active a {
    color: #1c539f;
    font-weight: 800;
}

.loading {
    text-align: center;
    padding: 50px;
    font-size: 18px;
    color: #666;
}

.error {
    color: #d32f2f;
    text-align: center;
    padding: 20px;
    background-color: #ffebee;
    border-radius: 4px;
    border: 1px solid #f8bbd9;
}

/* Base responsive design */
@media (max-width: 768px) {
    .top-content {
        width: 90vw;
    }
    
    #main-content {
        padding: 20px 10px;
    }
    
    .section-content {
        padding: 20px;
    }
}
