body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    background: linear-gradient(135deg, #ff4081, #81d4fa);
    font-family: 'Arial', sans-serif;
    color: white;
    text-align: center;
    overflow-x: hidden;
}

nav {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 0.9em;
    margin: 0 10px;
    padding: 5px 15px;
    border-radius: 15px;
    background: linear-gradient(45deg, orange, purple); /* Solid gradient background */
    transition: background-color 0.3s, transform 0.3s;
}

.nav-link:hover {
    transform: translateY(-3px);
}

.active {
    background: linear-gradient(45deg, purple, orange);
    color: white;
    transform: translateY(-3px);
}

main {
    margin-top: 80px; /* Offset for the fixed nav bar */
    padding: 20px;
    width: 100%;
    max-width: 800px;
}

section {
    padding: 50px 0;
}

h1, h2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

h1 {
    font-size: 3em;
    margin: 20px 0;
}

h2 {
    font-size: 2em;
}

img {
    width: 80%;
    max-width: 200px;
    height: auto;
    border: 5px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
}

iframe {
    margin-top: 20px;
    width: 80%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.5em;
    }
    .nav-link {
        font-size: 0.8em;
        margin: 0 5px;
        padding: 5px 10px;
    }
}

@media (max-width: 400px) {
    h1 {
        font-size: 2em;
    }
    .nav-link {
        font-size: 0.7em;
        margin: 0 3px;
    }
}
