body {
    font-family: 'Arial', sans-serif; /* Здесь лучше указать точный шрифт, если известен */
    margin: 0;
    padding: 0;
    background: url(image/back_gr_reg_avtor.png) no-repeat center center ; /* Замените 'background-image.png' на путь к фоновому изображению */
    background-size: cover;
    background-position-y: 100px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    background-color: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 100px; /* Замените на соответствующий размер */

}

nav ul {
    font-family: 'Cuprum', sans-serif;
    display: flex;
    justify-content: center; /* This centers the nav items horizontally */
    gap: 70px;
    margin: 0;
    padding: 0;
    margin-left: 70px;
}

nav ul li {
    display: inline;
    text-align: center; /* This centers the text within each list item */
}

nav ul li a {
    text-decoration: none; /* Убираем стандартное подчеркивание */
    color: #333;
    font-weight: bold;
    font-size: 25px;
    display: block; /* Ссылка занимает всю высоту элемента */
    text-align: center; /* Центрируем текст */
    border-bottom: 3px solid #333; /* Добавляем жирное подчеркивание */
    padding-bottom: 5px; /* Добавляем отступ, чтобы линия не прилегала к тексту */
}


.contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact a {
    text-decoration: none;
    color: #333;

}

.contact img {
    width: 40px;
    height: 40px;
}

.nomber {
    font-family: 'Cuprum', sans-serif;
    margin-right:40px;
    
}
.nomber a {
    color: #333;
    font-size: 25px;
}

main {
    display: flex;
    align-items: center;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.8); /* Прозрачный белый фон */
}


.wrapperr {
    display: flex;
    justify-content: center; /* Центрирование по горизонтали */
    align-items: flex-start; /* Начинаем выравнивание сверху */
    height: 100vh; /* Высота экрана */
    padding-top: 110px; /* Отступ сверху */
    padding-bottom: 150px; /* Отступ снизу */
    position: relative;
}

.registration-container {
    background-color: #ffffff; /* Белый фон прямоугольника */
    border-radius: 15px; /* Скругленные углы */
    padding: 40px 20px; /* Увеличенные отступы для центрирования */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Легкая тень */
    width: 350px; /* Ширина прямоугольника */
    text-align: center;
    position: relative; /* Относительное позиционирование */
    display: flex;
    flex-direction: column;
    align-items: center; /* Выровнять контент по центру */
    margin-right: 450px; /* Смещение вправо на 40px */
    margin-bottom: 60px; /* Отступ от низа страницы, можно изменить значение */
}

h1 {
    font-family: 'Cuprum', sans-serif;
    font-size: 40px;
    margin-bottom: 20px;
    color: #1f1f1f; /* Цвет заголовка */
}

form {
    width: 100%; /* Поля формы занимают всю ширину контейнера */
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрировать элементы формы */
    gap: 20px; /* Отступы между полями */
}

label {
    display: block;
    font-size: 14px;
    color: #333; /* Цвет текста метки */
    width: 100%; /* Метка занимает всю ширину */
    text-align: left; /* Выравнивание текста метки по левому краю */
}

input {
    width: 100%; /* Поля ввода занимают всю ширину */
    padding: 10px;
    border: 1px solid #333; /* Черная граница */
    border-radius: 10px; /* Скругленные углы полей */
    background: transparent; /* Фон прозрачный */
    font-size: 18px;
    color: #333; /* Цвет текста внутри полей */
}

input::placeholder {
    color: #888; /* Цвет текста-плейсхолдера */
}

button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px; /* Скругленные углы кнопки */
    background-color: #ff7300; /* Оранжевый фон */
    color: #fff; /* Белый текст */
    font-size: 18px;
    cursor: pointer; /* Курсор в виде руки при наведении */
    transition: background-color 0.3s ease; /* Плавный переход цвета фона */
}

button:hover {
    background-color: #e59400; /* Темнее оранжевый при наведении */
}

p {
    margin-top: 20px;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
