body { background-color: #FFEED4; font-family: 'Tac1', sans-serif; } .contacts-container { background-color: white; padding: 20px; margin: 20px auto; max-width: 960px; border-radius: 10px; display: flex; flex-direction: column; /* Изменяем направление на столбцовое */ align-items: center; /* Выравнивание по вертикали и горизонтали */ } .contacts-container h2 { color: #F7AA27; font-size: 2em; margin-bottom: 20px; text-align: center; /* Выравниваем заголовок по центру */ } .contact-info { display: flex; align-items: center; margin-bottom: 20px; /* Отступ между секциями */ } .social-icons { display: flex; align-items: center; /* Выравнивание по вертикали */ margin-right: 20px; /* Отступ справа от иконок */ } .question-container { margin-bottom: 20px; border: 2px dashed #F7AA27; padding: 10px; border-radius: 10px; background-color: rgba(255, 255, 255, 0.8); /* Полупрозрачный фон */ position: relative; /* Для позиционирования значка + */ } .question-container h3 { margin: 0; } .question-container .plus-icon { position: absolute; top: 50%; left: 0; /* Смещаем влево */ transform: translateY(-50%); font-size: 20px; color: #F7AA27; cursor: pointer; font-weight: bold; margin-left: -20px; /* Выравниваем с левым краем рамки */ } .answer { display: none; /* Скрываем ответ по умолчанию */ margin-top: 10px; } .answer.show { display: block; } @import url(../front/front.css); body { background-color: #FFEED4; font-family: 'Tac1', sans-serif; } .header { background-color: #F7AA27; color: white; padding: 15px 0; display: flex; justify-content: space-between; align-items: center; } .header-logo { margin-left: 20px; } .header-logo img { width: 100px; height: auto; } .header-info { display: flex; align-items: center; } .header-tech { font-size: 2em; margin-right: 10px; /* Минимальный отступ */ } .header-center { font-family: 'Tac1', sans-serif; font-size: 1.2em; margin-right: 180px; /* Большой отступ */ } .header-location, .header-phone { font-size: 1.2em; /* Увеличенный шрифт */ margin-right: 20px; /* Отступ для телефона */ } .header-nav { position: relative; margin-right: 100px; font-size: 1.2em } .header-nav button { background-color: transparent; border: none; padding: 10px 15px; color: white; font-size: 1em; cursor: pointer; } .header-nav ul { list-style: none; margin: 0; padding: 0; position: absolute; top: 100%; right: 0; background-color: rgba(255, 255, 255, 0.8); /* Прозрачный белый цвет */ border-radius: 5px; display: none; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); padding: 10px; border: 1px solid #F7AA27; } .header-nav li { padding: 10px; border-bottom: 1px solid #F7AA27; /* Цвет разделителя */ transition: background-color 0.3s ease; /* Добавляем плавный переход */ } .header-nav li:last-child { border-bottom: none; } .header-nav li a { text-decoration: none; color: #F7AA27; /* Цвет текста */ } .header-nav li:hover { background-color: rgba(247, 170, 39, 0.5); /* Прозрачно-рыжий цвет */ } .header-nav li a:hover { color: white; /* Цвет текста при наведении */ } .header-nav:hover ul { display: block; } .loginBut { position: relative; margin-right: 100px; font-size: 1.2em; left: 150px; } .loginBut button { background-color: transparent; border: none; padding: 10px 15px; color: white; font-size: 1em; cursor: pointer; } .footer { background-color: #DBAD63; color: white; padding: 15px 0; text-align: center; margin-top: 20px; }