body {
    background-color: #121212;
    color: #ffffff;
    font-family: cursive;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    animation: fadeIn 1s ease-in-out;
}

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

.form {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.5s ease-in-out;
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

input[type="email"],
input[type="password"] {
    width: 96%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 4px;
    background-color: #333;
    color: #fff;
    transition: background-color 0.3s ease;
}

input[type="email"]:focus,
input[type="password"]:focus {
    background-color: #444;
    outline: none;
}

button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #6200ea;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #3700b3;
    transform: translateY(-2px);
}

a {
    color: #bb86fc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #3700b3;
}

/* Добавление адаптации под мобильные устройства */
@media (max-width: 600px) {
    body {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .form {
        width: 94%;
        padding: 10px;
        box-shadow: none;
    }

    input[type="email"],
    input[type="password"] {
        width: 94%;
        margin: 5px 0;
    }

    button {
        font-size: 14px;
    }
    
    img {
        width: 115%;

    }
}