/* Базовые стили */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #4CAF50;
    color: white;
    padding: 10px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    font-weight: normal;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 4px;
}

nav ul li a:hover {
    background-color: white;
    color: #4CAF50;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 1s ease;
}

section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

section h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #333;
}

section p, section ul {
    font-size: 1.1em;
}

section ul li {
    margin-bottom: 10px;
}

section a {
    color: #4CAF50;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

section a:hover {
    color: #388E3C;
    border-bottom-color: #388E3C;
}

footer {
    text-align: center;
    padding: 10px 0;
    background-color: #4CAF50;
    color: white;
    position: sticky;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

nav ul li a:hover {
    background-color: white;
    color: #4CAF50;
}

section a {
    color: #4CAF50;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

section a:hover {
    color: #388E3C;
    border-bottom-color: #388E3C;
}