body { margin: 0; font-family: sans-serif; overflow-x: hidden; background-image: url('../картинки/фон.jpg'); height: 1000px; } .big_con { width: 1800px; margin: 0 auto; margin: 0 auto; background-color: #22242B; } .container { position: relative; width: 100%; overflow: hidden; /* Скрываем переполнение для закругления */ } .content { position: absolute; top: 70%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: #fff; } .content h2 { font-size: 36px; margin-bottom: 10px; color: #fff; } h4 { font-size: 28px; margin-bottom: 10px; color: #fff; } p { font-size: 24px; margin-bottom: 10px; color: #fff; } header { background-color: transparent; padding: 20px; display: flex; align-items: center; justify-content: space-between; position: absolute; /* Помещаем меню поверх изображения */ justify-content: space-between; width: 100%; height: 100px; background-color: #22242B; } .logo { font-size: 24px; font-weight: bold; color: #0022ff; /* Синий цвет */ text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Тень */ } nav { display: flex; } nav a { text-decoration: none; color: #faf3f3; padding: 10px 20px; position: relative; margin-left: 20px; } nav a::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(to right, #007bff, #663399, #ff0000); /* Градиент */ transform: scaleX(0); transition: transform 0.3s ease-in-out; } nav a:hover::after { transform: scaleX(1); } .icon { margin-left: 20px; cursor: pointer; } .icon img { width: 30px; height: 30px; } /* Стили для фонов */ section { padding: 50px; text-align: center; min-height: 100vh; } .data_foot { display: flex; flex-direction: column; align-items: center; gap: 5px; } hr { width: 100%; border: 1px solid #D1D1D1; } .i:hover svg path { fill: #D1D1D1; } .scroll-to-top { position: fixed; bottom: 20px; right: 20px; display: none; z-index: 10; cursor: pointer; } .scroll-to-top img { width: 50px; } .container { position: relative; width: 100%; overflow: hidden; /* Скрываем переполнение для закругления */ } .logo { display: flex; align-items: center; margin-top: 20px; margin-bottom: 20px; } .logo img { margin-right: 10px; } nav { display: flex; } nav a { text-decoration: none; color: #ffffff; padding: 10px 20px; position: relative; margin-left: 20px; } nav a::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(to right, #007bff, #663399, #ff0000); /* Градиент */ transform: scaleX(0); transition: transform 0.3s ease-in-out; } .right-section { display: flex; align-items: center; } .content { display: flex; flex-direction: column; align-items: center; padding: 20px; width: 80%; max-width: 900px; /* Ограничение ширины контента */ } h2 { text-align: center; margin-bottom: 20px; font-size: 24px; font-weight: bold; } .faq-container { display: flex; flex-direction: column; gap: 20px; } .faq-section { background-color: rgba(160, 160, 160, 0.7); padding: 20px; border-radius: 5px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); width: 1000px; cursor: pointer; /* Изменяем курсор при наведении */ } .faq-title { display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 10px; border-radius: 5px; } .faq-title h3 { margin: 0; font-size: 18px; font-weight: bold; color: black; } .faq-title i { font-size: 16px; transition: transform 0.3s ease; } .faq-title i.active { transform: rotate(180deg); } .faq-question { padding: 10px; border-radius: 5px; cursor: pointer; } .faq-question p { margin: 0; font-size: 16px; } .faq-question.active { display: block; } .faq-question .answer { display: none; background-color: #fff; padding: 10px; border-radius: 5px; margin-top: 10px; } .faq-question.active .answer { display: block; } .tooltip { background-color: #f0f0f0; border: 1px solid #ccc; padding: 10px; font-size: 14px; color: #333; } @media (max-width: 768px) { .content { width: 90%; max-width: 600px; } nav a { margin-right: 10px; } } @media (max-width: 480px) { .content { width: 95%; } nav a { font-size: 14px; } .faq-title h3 { font-size: 16px; } } /*окошко*/ .answer-modal { display: none; position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); background-color: rgba(80, 80, 80, 0.7); padding: 20px; border-radius: 5px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); z-index: 100; width: 80%; max-width: 600px; } .answer-modal .close-button { position: absolute; top: 10px; right: 10px; cursor: pointer; font-size: 18px; } .answer-modal .answer-content { margin-top: 30px; color: white; white-space: pre-wrap; } .answer-modal .answer-content p { color: white; } .footer-link { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: white; text-decoration: none; font-weight: bold; background-color: #444444; padding: 10px 20px; border-radius: 5px; z-index: 2; } .footer-link:hover { background-color: #6e6e6e; } /* Отступы для текста */ .logo .p16 { padding-left: 20px; /* Отступ слева */ } .opacity .p14 { padding-right: 20px; /* Отступ справа */ } .opacity { position: relative; background: none; border: none; cursor: pointer; width: 310px; height: 40px; display: flex; justify-content: space-around; align-items: center; border: 1px solid white; background-color: rgba(255, 255, 255, 0); transition: all ease 0.3s; cursor: pointer; } .opacity:hover { background-color: #5585ff; } .arrow svg { width: 9px; display: flex; justify-content: center; transition: all ease 0.3s; } .opacity:hover svg path { stroke: white; } .opacity .arrow { position: absolute; top: 50%; transform: translateY(-50%); right: 10px; } .dropdown { display: none; position: absolute; background-color: #5585ff; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); top: 100%; right: 1px; left: 0px; z-index: 3; width: 310px; /* Ширина списка */ } .dropdown a { color: rgb(255, 255, 255); padding: 12px 16px; text-decoration: none; display: block; z-index: 3; } .dropdown a:hover { background-color: #ffffff; color: #5585ff; } .opacity:hover .dropdown { display: block; } .close-button { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; } .close-button:hover, .close-button:focus { color: black; text-decoration: none; cursor: pointer; } .faq-section { margin-bottom: 20px; } .faq-title { background-color: #f2f2f2; padding: 15px; border-radius: 5px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; } .faq-title h3 { margin: 0; font-size: 1.3em; } .faq-title i { font-size: 1.2em; color: #333; transition: transform 0.3s ease; } .faq-title i.fa-minus { transform: rotate(180deg); } .faq-questions { display: none; padding: 15px; border: 1px solid #ddd; border-radius: 5px; } .faq-question p { margin: 0; }