html {
    background-color: #001f3f;
    color: white;
    scroll-padding-top: 110px; 
}

body {
    width: 80%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #001f3f;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
}

h1 {
    margin: 0;
    text-align: center;
    color: #E8F0F5;
    font-size: 2.5em;
    letter-spacing: 0.5px;
}

h2 {
    color: #E8F0F5;
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #E8F0F5;
    padding-bottom: 10px;
}

h3 {
    color: #E8F0F5;
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
}

h4 {
    color: #E8F0F5;
    font-size: 1.2em;
    margin-top: 20px;
}

p {
    color: #d4dfe6;
    margin: 15px 0;
}

a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #E8F0F5;
    text-decoration: underline;
}

.tg {
    border-color: #555;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    background-color: #0a1f38;
}

.tg td {
    border-color: #555;
    border-style: solid;
    border-width: 1px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    overflow: hidden;
    padding: 12px 8px;
    word-break: normal;
    color: #d4dfe6;
}

.tg th {
    border-color: #555;
    border-style: solid;
    border-width: 1px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    overflow: hidden;
    padding: 12px 8px;
    word-break: normal;
    background-color: #001f3f;
    color: #E8F0F5;
}

.tg .tg-0lax {
    text-align: left;
    vertical-align: top;
}

.center {
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.container {
    align-items: center;
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.image {
    flex: 0 0 65%;
    min-width: 0; /* Prevents image overflow */
}

.image img {
    width: 100%;
    height: auto;
    display: block;
}

.text {
    flex: 1;
    min-width: 0; /* Prevents text overflow */
}

.graph-container {
    width: 100%;
    margin: 0 auto 15px;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    justify-content: center;  
    align-items: center;     
}

.graph-container img {
    border-radius: 12px;
    justify-content: center;
    margin: 0 auto;
}

.iframe-wrapper {
    overflow: hidden;
    border-radius: 12px;
    background-color: white;
    height: 500px;
}

.iframe-wrapper iframe {
    display: block;
    border: none;
    width: 100%;
    height: 100%;
}

nav {
    position: sticky;
    top: 0;
    background-color: #001f3f;
    border-bottom: 2px solid #d4dfe6; 
    padding: 15px 20px;
    margin-bottom: 15px;                         
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    box-sizing: border-box;            
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    body {
        width: 90%;
        padding: 15px;
    }
    
    .container {
        flex-direction: column;
    }
    
    .image {
        flex: 0 0 100%;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    h2 {
        font-size: 1.4em;
    }
}