* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; }
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    transition: background-color 0.3s ease;
    z-index: 1000;
}
.navbar ul {
    list-style: none;
    display: flex;
}
.navbar ul li { margin: 0 15px; }
.navbar ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
.navbar ul li a:hover { color: #ddd; }
.navbar.scrolled { background-color: #007bff; }
#content {
    padding: 80px 20px 20px;
    min-height: 100vh;
}
.page {
    display: none;
    animation: fadeIn 0.5s;
}
.page.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 768px) {
    .navbar ul { flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: #333; }
    .navbar ul li { margin: 0; }
    .navbar ul li a { padding: 15px; display: block; }
}
