body {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    font-family: 'Segoe UI', sans-serif;
    color: #333333;
    margin: 0;
    padding: 20px;
}

/* Фиксированная ширина и центрирование — СТРОГО по заданию учителя */
.container {
    width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

h1 { color: #1e3c72; margin-bottom: 20px; }
h2, h3 { color: #2a5298; border-bottom: 2px solid #e0e0e0; padding-bottom: 5px; }

nav { background-color: #f4f6f9; padding: 10px; border-radius: 5px; margin-bottom: 25px; }
nav a { text-decoration: none; color: #555; font-weight: bold; padding: 8px 16px; margin-right: 10px; border-radius: 4px; }
nav a:hover { background-color: #e0e6ed; color: #1e3c72; }
nav a.active { background-color: #2a5298; color: white; }

img { max-width: 100%; height: auto; border-radius: 6px; margin-top: 15px; }
ul { padding-left: 20px; line-height: 1.6; }

button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}
button:hover { background-color: #218838; }
.interactive-section { background-color: #f8f9fa; padding: 15px; border-radius: 6px; margin: 20px 0; }
footer { margin-top: 40px; text-align: center; font-size: 14px; color: #777; border-top: 1px solid #eeeeee; padding-top: 15px; }