
<!DOCTYPE html>
<html lang="en">
<head>
    <link rel="icon" href="/images/favicon.ico" type="image/x-icon">
    <link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><%= title %></title>
    <style>
        body, html {
            height: 100%;
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: Arial, sans-serif;
            background: linear-gradient(to right, #ff7e5f, #feb47b);
        }
        .container {
            text-align: center;
            background-color: #fff;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            max-width: 400px;
            width: 100%;
        }
        h1 {
            margin-bottom: 20px;
            font-size: 24px;
            color: #333;
        }
        form {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        label {
            margin: 10px 0 5px;
            align-self: flex-start;
            font-weight: bold;
            color: #555;
        }
        input, select {
            margin-bottom: 15px;
            padding: 10px;
            width: 100%;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
            box-sizing: border-box;
        }
        input:focus, select:focus {
            outline: none;
            border-color: #ff7e5f;
            box-shadow: 0 0 5px rgba(255, 126, 95, 0.5);
        }
        button {
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            background-color: #ff7e5f;
            color: #fff;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        button:hover {
            background-color: #feb47b;
        }
        .checkbox-group {
            display: flex;
            flex-direction: row;
            align-items: flex-start;
        }
        .checkbox-group label {
            font-weight: normal;
            color: #555;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1><%= title %></h1>
        <form action="/register" method="POST">
            <label for="name">Name:</label>
            <input type="text" id="name" name="name" required>
            <label for="username">Username:</label>
            <input type="text" id="username" name="username" required>
            <label for="age">Age:</label>
            <input type="number" id="age" name="age" required>

            <label for="weight">Weight (kg):</label>
            <input type="number" id="weight" name="weight" required>
            <label for="password">Password:</label>
            <input type="password" id="password" name="password" required>
            <br>
            
            <label>Allergies:</label>
            <div class="checkbox-group">
                <label>
                    <input type="checkbox" name="allergies" value="soy"> Soy
                </label>
                <label>
                    <input type="checkbox" name="allergies" value="milk"> Milk
                </label>
                <label>
                    <input type="checkbox" name="allergies" value="fish"> Fish
                </label>
                <label>
                    <input type="checkbox" name="allergies" value="egg"> Eggs
                </label>
                <label>
                    <input type="checkbox" name="allergies" value="wheat"> Wheat
                </label>

            </div>
            <br>

            <button type="submit">Register</button>
        </form>
    </div>
     
</body>
</html>
