<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Умное управление</title>
    <style>
        body {
            background-color: #000;
            color: #00ff00;
            font-family: 'Arial', sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            height: 100vh;
            margin: 0;
            overflow-y: auto;
            animation: backgroundAnimation 5s linear infinite;
        }

        .container {
            text-align: center;
            width: 95%;
            max-width: 1000px;
            background-color: rgba(0, 0, 0, 0.8);
            border: 2px solid #00ff00;
            padding: 1em;
            margin: 1em 0;
            box-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00;
            animation: neonBorder 1.5s ease-in-out infinite alternate;
        }

        h1 {
            font-size: 2em;
            margin-bottom: 2em;
            background: linear-gradient(to right, #00ff00, #00ff7f, #00ff00);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: neonText 3s ease-in-out infinite alternate;
        }

        .image-container {
            margin-bottom: 2em;
        }

        .image-container img {
            max-width: 100%;
            height: auto;
        }

        form {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1em;
        }

        .form-row {
            display: flex;
            align-items: center;
            gap: 1em;
        }

        p {
            font-size: 1.2em;
            margin: 0;
        }

        input[type="text"] {
            background-color: #000;
            border: 2px solid #00ff00;
            color: #00ff00;
            padding: 0.5em;
            font-size: 1em;
            width: 200px;
            text-align: center;
            transition: border-color 0.3s;
        }

        input[type="text"]:focus {
            border-color: #00ff7f;
            outline: none;
        }

        button {
            background-color: #000;
            border: 2px solid #00ff00;
            color: #00ff00;
            padding: 0.5em 1em;
            font-size: 1em;
            cursor: pointer;
            transition: background-color 0.3s, border-color 0.3s;
        }

        button:hover {
            background-color: #00ff00;
            color: #000;
        }

        @keyframes neonText {
            0% {
                text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00, 0 0 20px #00ff7f, 0 0 30px #00ff7f, 0 0 40px #00ff7f, 0 0 50px #00ff7f;
            }
            50% {
                text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00, 0 0 40px #00ff7f, 0 0 50px #00ff7f, 0 0 60px #00ff7f, 0 0 70px #00ff7f;
            }
            100% {
                text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00, 0 0 20px #00ff7f, 0 0 30px #00ff7f, 0 0 40px #00ff7f, 0 0 50px #00ff7f;
            }
        }

        @keyframes neonBorder {
            0% {
                box-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00, 0 0 20px #00ff7f, 0 0 30px #00ff7f, 0 0 40px #00ff7f, 0 0 50px #00ff7f;
            }
            50% {
                box-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00, 0 0 40px #00ff7f, 0 0 50px #00ff7f, 0 0 60px #00ff7f, 0 0 70px #00ff7f;
            }
            100% {
                box-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00, 0 0 20px #00ff7f, 0 0 30px #00ff7f, 0 0 40px #00ff7f, 0 0 50px #00ff7f;
            }
        }

        @keyframes backgroundAnimation {
            0% {
                background-position: 0% 50%;
            }
            100% {
                background-position: 100% 50%;
            }
        }
    </style>
</head>
<body>

<div class="container">
    <h1>Настройка умного управления</h1>
    <form action="/dannyestartsmart" method="post">
        <div class="form-row">
            <p>Оптимальный свет:</p>
            <input type="text" name="svet">
            <p>Время работы светильника:</p>
            <input type="text" name="timesvet">
        </div>
        <div class="form-row">
            <p>Оптимальная температура:</p>
            <input type="text" name="temp">
            <p>Время работы обогрева:</p>
            <input type="text" name="timetemp">
        </div>
        <div class="form-row">
            <p>Оптимальная влажность:</p>
            <input type="text" name="vlashnost">
            <p>Время работы полива:</p>
            <input type="text" name="timevlashnost">
        </div>
        <button type="submit">запуск умного управления</button>
    </form>
</div>

</body>
</html>

