@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; } .container { background-color: white; padding: 20px; margin: 20px auto; max-width: 960px; border-radius: 10px; } .services { display: flex; flex-direction: column; align-items: center; } .course { display: flex; align-items: center; margin-bottom: 20px; border-radius: 10px; padding: 15px; background-color: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); } .sevices-container{ display: flex; flex-direction: column; gap: 30px; } .course-image { width: 150px; height: 100px; object-fit: cover; border-radius: 10px; } .course-info { margin-left: 20px; } .course-title { font-size: 1.2em; margin-bottom: 5px; } .course-description { font-size: 0.9em; line-height: 1.5; margin-bottom: 10px; } .course-price { font-size: 1em; font-weight: bold; margin-bottom: 5px; } .course-button { background-color: #F7AA27; color: white; padding: 10px 15px; border: none; border-radius: 5px; cursor: pointer; } .reviews { margin-bottom: 20px; background-color: #fff; border-radius: 10px; padding: 15px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); position: relative; /* Для позиционирования стрелок */ } .reviews-title { font-size: 1.2em; margin-bottom: 10px; } .review-item { display: flex; align-items: center; margin-bottom: 20px; } .review-image { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-right: 20px; } .review-text { font-size: 0.9em; line-height: 1.5; } .review-author { font-weight: bold; margin-bottom: 5px; } .reviews-nav { position: absolute; bottom: 10px; right: 10px; display: flex; } .reviews-nav button { background-color: transparent; border: none; padding: 10px; font-size: 1.5em; cursor: pointer; color: #F7AA27; } .reviews-nav button:hover { color: #EB7817; } .leave-review { display: inline-block; background-color: #F7AA27; color: white; padding: 10px 15px; border: none; border-radius: 5px; cursor: pointer; } .footer { background-color: #DBAD63; color: white; padding: 15px 0; text-align: center; margin-top: 20px; } .close-button { position: absolute; top: 10px; right: 10px; cursor: pointer; } .close-button::before, .close-button::after { content: ''; position: absolute; width: 18px; height: 2px; background-color: black; top: 50%; transform: translateY(-50%); } .close-button::before { transform: translateY(-50%) rotate(45deg); } .close-button::after { transform: translateY(-50%) rotate(-45deg); } .buy-form button { display: block; /* Кнопка занимает всю ширину формы */ margin: 20px auto; /* Выравнивание по центру */ } .buy-button { background-color: #F7AA27; color: white; padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer; } .buy-form { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: white; padding: 20px; border-radius: 10px; z-index: 100; opacity: 0.9; /* Полупрозрачность формы */ } .buy-form input { width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid #ccc; border-radius: 5px; } .buy-form button { background-color: #F7AA27; color: white; padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer; } .close-form { position: absolute; top: 10px; right: 10px; cursor: pointer; } .close-form img { width: 20px; height: 20px; } .rating-area { overflow: hidden; width: 265px; margin: 0 auto; display: flex; flex-direction:row-reverse; justify-content: center; } .rating-area:not(:checked) > input[type="radio"] { display: none; } .rating-area:not(:checked) > label { float: right; width: 42px; padding: 0; cursor: pointer; font-size: 32px; line-height: 32px; color: lightgrey; text-shadow: 1px 1px #bbb; } .rating-area:not(:checked) > label:before { content: '★'; } .rating-area > input:checked ~ label { color: #F7AA27; text-shadow: 1px 1px rgb(0, 139, 204); } .rating-area:not(:checked) > label:hover, .rating-area:not(:checked) > label:hover ~ label { color: #F7AA27; } .rating-area > input:checked + label:hover, .rating-area > input:checked + label:hover ~ label, .rating-area > input:checked ~ label:hover, .rating-area > input:checked ~ label:hover ~ label, .rating-area > label:hover ~ input:checked ~ label { color: #F7AA27; text-shadow: 1px 1px #dd8c22; } .rate-area > label:active { position: relative; } .com{ background: #fff; border-radius: 10px; display: flex; flex-direction: row; word-wrap: normal; margin-top: 10px; width: 700px; left: 10px; height: 50px; -webkit-box-shadow: 0px 12px 17px 0px rgba(138, 173, 183, 0.32); -moz-box-shadow: 0px 12px 17px 0px rgba(138, 173, 183, 0.32); box-shadow: 0px 12px 17px 0px rgba(138, 173, 183, 0.32); transition: transform .3s; } .com:hover{ transform: scale(1.4) } .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; }