body {
            font-family: 'Segoe UI', Arial, sans-serif;
            margin: 0;
            padding: 0;
            color: #333;
            background: url('Photo/Fondlyasaqta.jpg');
            background-attachment: fixed;
            background-size: cover;
        }

        /* Контейнер для контента */
        .content-container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            margin-top: 20px;
            margin-bottom: 40px;
        }

        /* Стили для заголовков */
        .main-title {
            text-align: center;
            font-family: 'Impact', sans-serif;
            color: darkblue;
            margin-bottom: 10px;
        }

        .section-title {
            text-align: center;
            font-family: 'Impact', sans-serif;
            color: darkblue;
            margin-top: 40px;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid darkblue;
        }

        /* Стили для текста */
        .content-text {
            font-family: 'Century Gothic', sans-serif;
            font-size: 18px;
            line-height: 1.6;
            text-align: justify;
        }

        .content-text b {
            color: #1a1a1a;
        }

        /* Стили для навигации */
        .header-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px 20px;
            background-color: rgba(255, 255, 255, 0.95);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .logo {
            width: 60px;
            height: auto;
        }

        .nav-buttons {
            display: flex;
            gap: 15px;
        }

        .nav-button {
            background-color: darkblue;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 50px;
            font-size: 14px;
            text-decoration: none;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .nav-button:hover {
            background-color: #00008b;
        }

        .social-buttons {
            display: flex;
            gap: 10px;
        }

        .social-buttons img {
            width: 30px;
            height: 30px;
            transition: transform 0.3s;
        }

        .social-buttons img:hover {
            transform: scale(1.1);
        }

        /* Содержание */
        .table-of-contents {
            border: 2px solid darkblue;
            border-radius: 8px;
            padding: 20px;
            margin: 30px auto;
            background-color: rgba(240, 247, 255, 0.7);
            max-width: 600px;
        }

        .table-of-contents legend {
            font-weight: bold;
            font-size: 20px;
            color: darkblue;
            padding: 0 10px;
        }

        .toc-item {
            margin: 15px 0;
            font-size: 18px;
        }

        .toc-item a {
            text-decoration: none;
            color: darkblue;
            transition: color 0.3s;
        }

        .toc-item a:hover {
            color: #ff6b6b;
            text-decoration: underline;
        }

        /* Футер */
        footer {
            background-color: rgba(0, 0, 0, 0.85);
            color: white;
            padding: 30px 20px;
            text-align: center;
            margin-top: 40px;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: white;
            text-decoration: none;
            font-size: 16px;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: #ff6b6b;
            text-decoration: underline;
        }

        .copyright {
            font-size: 14px;
            color: #ccc;
        }

        /* Мобильная адаптация */
        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                gap: 15px;
            }

            .nav-buttons {
                flex-wrap: wrap;
                justify-content: center;
            }

            .content-container {
                padding: 15px;
                margin: 10px;
            }

            .content-text {
                font-size: 16px;
            }

            .footer-links {
                gap: 15px;
            }
        }
