<!DOCTYPE html>
<html lang="ru">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Инструкция по Установке</title>
    <style>
        /* Общие стили */
        body {
            margin: 0;
            font-family: 'Arial', sans-serif;
            background: linear-gradient(135deg, #1f1f1f, #3a3a3a);
            color: #ffffff;
            overflow-x: hidden;
        }

        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 50px 20px;
            text-align: center;
        }

        h1 {
            font-size: 3em;
            margin-bottom: 20px;
            opacity: 0;
            animation: fadeInDown 1s forwards;
        }

        .section {
            margin: 40px 0;
            opacity: 0;
            transform: translateY(50px);
            animation: fadeInUp 1s forwards;
            animation-delay: 0.5s;
        }

        .section:nth-child(odd) {
            animation-delay: 1s;
        }

        .section:nth-child(even) {
            animation-delay: 1.5s;
        }

        .section h2 {
            font-size: 2em;
            margin-bottom: 15px;
            border-bottom: 2px solid #ffffff;
            display: inline-block;
            padding-bottom: 5px;
        }

        .code-block {
            background: #2d2d2d;
            padding: 15px;
            border-radius: 8px;
            text-align: left;
            overflow-x: auto;
            margin-top: 10px;
        }

        .code-block code {
            color: #00ff90;
            font-family: 'Courier New', Courier, monospace;
        }

        /* Анимации */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Кнопки */
        .btn {
            display: inline-block;
            margin-top: 20px;
            padding: 10px 20px;
            background: #00aaff;
            color: #ffffff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background 0.3s;
            text-decoration: none;
            font-size: 1em;
        }

        .btn:hover {
            background: #0088cc;
        }

        /* Footer */
        footer {
            background: #1f1f1f;
            padding: 20px 0;
            text-align: center;
            position: fixed;
            width: 100%;
            bottom: 0;
            opacity: 0;
            animation: fadeIn 2s forwards;
            animation-delay: 2s;
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }

        /* Адаптивность */
        @media (max-width: 600px) {
            h1 {
                font-size: 2.5em;
            }

            .section h2 {
                font-size: 1.5em;
            }

            .btn {
                width: 100%;
            }
        }
    </style>
</head>
<body>

    <div class="container">
        <h1>Инструкция по Установке Проекта</h1>

        <div class="section">
            <h2>Требования</h2>
            <p>Для успешной установки и работы проекта необходимо иметь последнюю версию Python. Рекомендуется скачать Python с официального сайта:</p>
            <a href="https://www.python.org/downloads/" class="btn" target="_blank">Скачать Python</a>
        </div>

        <div class="section">
            <h2>Необходимые Библиотеки</h2>
            <p>Установите следующие библиотеки с помощью <code>pip</code>:</p>
            <div class="code-block">
                <code>
pip install customtkinter<br>
pip install requests<br>
pip install phonenumbers<br>
pip install pillow<br>
pip install python-dotenv
                </code>
            </div>
        </div>

        <div class="section">
            <h2>Установка Зависимостей</h2>
            <p>Вы можете установить все зависимости сразу, используя файл <code>requirements.txt</code>. Для этого выполните следующие команды:</p>
            <div class="code-block">
                <code>
pip install -r requirements.txt
                </code>
            </div>
            <p>Содержимое файла <code>requirements.txt</code>:</p>
            <div class="code-block">
                <code>
customtkinter<br>
requests<br>
phonenumbers<br>
pillow<br>
python-dotenv
                </code>
            </div>
        </div>

        <div class="section">
            <h2>Запуск Приложения</h2>
            <p>После установки всех необходимых библиотек, вы можете запустить приложение следующим образом:</p>
            <div class="code-block">
                <code>
python MartiniVip.py
                </code>
            </div>
        </div>
    </div>

    <footer>
        Создатель - Lontani
    </footer>

</body>
</html>
