/* Superhero Training Dossier Styles */

/* Import Google fonts in CSS */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;700&display=swap');

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #0a0a23;
    color: #f5f6fa;
    line-height: 1.6;
}

header {
    background-color: #111135;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header h1 {
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    color: #e84118;
    font-size: 2.2rem;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

nav a {
    color: #00a8ff;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease, color 0.3s ease;
    font-size: 0.9rem;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

nav a.active {
    background-color: #e84118;
    color: #fff;
}

main {
    margin-top: 150px;
    padding: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

section {
    margin-bottom: 60px;
}

section h2 {
    color: #e84118;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

section h3 {
    color: #00a8ff;
    margin-top: 25px;
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

p {
    margin: 10px 0;
}

ul {
    margin: 0 0 15px 20px;
    padding: 0;
}

ul li {
    margin-bottom: 6px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

th, td {
    border: 1px solid #444;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #222255;
    color: #fff;
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: #1c1c3d;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 5px;
    }
    header h1 {
        font-size: 1.8rem;
    }
    main {
        padding: 15px;
        margin-top: 180px;
    }
    section h2 {
        font-size: 1.6rem;
    }
    section h3 {
        font-size: 1.1rem;
    }
}