﻿body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #f8f9fa;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    overflow: hidden;
    position: relative;
}

.container {
    text-align: center;
    border: none;
    border-radius: 50px;
    padding: 60px 20px; /* Adjusted padding for better responsiveness */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 1.0);
    animation: fadeIn 0.8s ease-in-out;
    position: relative;
    z-index: 1;
    max-width: 400px; /* Set a max width for the container */
    width: 90%; /* Responsive width */
}

.logo img {
    width: 100%; /* Make the logo responsive */
    max-width: 150px; /* Max width for the logo */
    animation: bounce 1.5s infinite ease-in-out;
}

h1 {
    color: #333;
    margin-bottom: 30px;
    font-size: 2em; /* Responsive font size */
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    color: #555;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px; /* Adjusted padding for smaller text field height */
    margin: 10px 0;
    border: 2px solid transparent;
    border-radius: 20px; /* Adjusted border-radius for a sleeker look */
    background-color: rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1em; /* Adjusted font size for better readability */
}

    input[type="email"]:focus,
    input[type="password"]:focus {
        border-color: #6b73ff;
        background-color: rgba(0, 0, 0, 0.1);
        outline: none;
    }

button {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    font-size: 1.2em;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 10px 20px rgba(255, 75, 43, 0.4);
}

    button:hover {
        background: linear-gradient(135deg, #6b73ff, #000dff);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        transform: translateY(-3px);
    }

.error-message {
    color: #ff416c;
    margin-top: 15px;
    font-size: 0.9em;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
