body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 300px;
    position: relative;
    overflow: hidden;
}

h2 {
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

input[type="text"],
input[type="password"] {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #45a049;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    position: relative;
}

h1::after {
    content: "";
    width: 100px;
    height: 4px;
    background-color: #4CAF50;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    animation: slideIn 1s ease forwards;
}

@keyframes slideIn {
    0% {
        width: 0;
    }
    100% {
        width: 100px;
    }
}

input,
button {
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
}

/* Стили для ссылок */
a {
    color: #4CAF50;
    text-decoration: none;
    font-size: 16px;
    margin: 10px;
}

a:hover {
    text-decoration: underline;
}

/* Стили для кнопок */
button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #45a049;
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

p a {
    color: #4CAF50;
    text-decoration: none;
}
