/* styles.css */
body {
    font-family: Arial, sans-serif;
    background-color: #333; /* Темно-серый цвет фона */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    background-color: #f0f0f5; /* Светло-серый цвет для формы */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px; /* Фиксированная максимальная ширина контейнера */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Центровка содержимого */
    box-sizing: border-box;
}

.image-wrapper {
    width: 120px; /* Фиксированный размер контейнера для изображения */
    height: 120px;
    border-radius: 50%; /* Делаем контейнер круглым */
    overflow: hidden; /* Скрываем части изображения, выходящие за пределы контейнера */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.header-image {
    width: 80%;
    height: 80%;
    object-fit: cover; /* Обеспечивает заполнение контейнера изображением */
    border-radius: 50%; /* Убедитесь, что изображение также округлено */
}

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

label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    color: #333;
}

input[type="text"], textarea {
    width: calc(90% - 20px);
    padding: 10px;
    margin: 5px 0 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

textarea {
    resize: vertical;
    min-height: 150px; /* Увеличение начальной высоты текстового поля */
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #0056b3;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 600px) {
    .container {
        max-width: 90%; /* Немного уменьшаем ширину контейнера на мобильных */
        padding: 15px;
    }

    h1 {
        font-size: 20px;
    }

    input[type="text"], textarea, button {
        font-size: 14px;
    }
}
