/* Подключение шрифта Roboto Condensed */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap');

/* Основные стили */
body {
    font-family: 'Roboto Condensed', sans-serif; /* Использование шрифта Roboto Condensed */
    background-color: #f3e5f5; /* Мягкий фиолетовый цвет */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Стили для контейнера */
.container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

/* Стили для заголовков */
h1 {
    margin-bottom: 20px;
    color: #5e35b1; /* Фиолетовый цвет */
    font-weight: 700; /* Жирный вес для заголовков */
}

/* Стили для форм */
form {
    display: flex;
    flex-direction: column;
    align-items: center; /* Центровка элементов формы */
}

input[type="text"],
input[type="password"],
input[type="email"] {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

input[type="submit"] {
    background-color: #7e57c2; /* Фиолетовый цвет */
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

input[type="submit"]:hover {
    background-color: #673ab7; /* Более темный фиолетовый */
}

/* Стили для ссылок */
.links {
    display: flex;
    justify-content: center; /* Центровка ссылки */
    margin-top: 20px;
}

.links a {
    color: #7e57c2; /* Фиолетовый цвет */
    text-decoration: none;
    margin: 0 10px;
}

.links a:hover {
    text-decoration: underline;
}

/* Стили для сообщений об ошибках */
.error {
    color: red;
    margin-bottom: 10px;
}

/* Стили для сообщений об успехе */
.success {
    color: green;
    margin-bottom: 10px;
}

/* Стили для адаптивности */
@media (max-width: 600px) {
    .container {
        padding: 20px;
    }
}
