
/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: radial-gradient(circle, rgb(245, 245, 245), transparent);
    color: #333;
    line-height: 1.6;
    transition: background 0.5s ease;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 20%;
    height: 100vh;
    background-color: #004D99;
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    animation: aurora-move 15s linear infinite;
}

header h1 {
    font-size: 1.8em;
    margin-bottom: 40px;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    margin-bottom: 25px;
}

nav ul li a {
    color: #FF8C00;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #FFF;
}

.main-content {
    margin-left: 20%;
    padding: 40px;
    background: linear-gradient(to bottom right, #fff, #f0f0f0);
    min-height: 100vh;
    box-sizing: border-box;
}

h1, h2, h3, h4 {
    color: #004D99;
}

button, .button {
    background-color: #FF8C00;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

button:hover, .button:hover {
    transform: scale(1.05);
    background-color: #FFA500;
}

pre {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    font-family: 'Courier New', Courier, monospace;
    color: #c7254e;
    background-color: #f9f2f4;
    padding: 2px 4px;
    border-radius: 4px;
}

.container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 20px;
}

.sidebar {
    background-color: #EFEFEF;
    padding: 15px;
    border-radius: 5px;
}

@media (max-width: 1440px) {
    /* Styles for 1440px and below */
}

@media (max-width: 1200px) {
    /* Styles for 1200px and below */
}

@media (max-width: 1024px) {
    /* Styles for 1024px and below */
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    .sidebar {
        display: none;
    }
    .main-content {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    header {
        width: 100%;
        height: auto;
        position: relative;
    }
    .main-content {
        margin-left: 0;
        padding: 20px;
    }
}

@media (max-width: 320px) {
    /* Styles for smallest screens */
}

/* Animation */
@keyframes aurora-move {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Additional Styles */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

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

a:hover {
    color: #FFA500;
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: #004D99;
    color: #fff;
}

.data-visualization {
    width: 100%;
    height: 400px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    position: relative;
}

@media (min-width: 1441px) {
    /* Styles for very large screens */
}

.card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    .card {
        margin-bottom: 15px;
    }
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #004D99;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%; 
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Interactive Elements */
.button-primary {
    background: linear-gradient(to right, #004D99, #FF8C00);
    color: #fff;
}

.button-secondary {
    background: linear-gradient(to right, #FF8C00, #004D99);
    color: #fff;
}

.button:focus, .button-primary:focus, .button-secondary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.5);
}

.footer a {
    color: #FF8C00;
    text-decoration: underline;
}

pre code {
    display: block;
    padding: 15px;
    background-color: #282c34;
    color: #61dafb;
    border-radius: 5px;
    overflow-x: auto;
}

