/
CoderKsu
/
Project_1
Обзор
Документация
Войти
/
CoderKsu
/
Project_1
Код
Запросы
1
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
styles.css
1 468 строк
26 KB
CoderKsu
add modal
03 авг 2026, 16:17
03 авг 2026, 16:17
496cad7
Код
Авторство
О чём код?
html { box-sizing: border-box; } *, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; } body{ background-position: center; background-size: cover; font-family: 'Inter', sans-serif; background-color: #F4F4F4; } ul { list-style: none; padding-left: 0; } a { text-decoration: none; } a:hover { color: #74c1b5; } .container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0px 120px; } .btn{ border: none; border-radius: 50px; background-color: #74c1b5; color: #fff; cursor: pointer; } .btn:hover { background-color: #579797; } .section_title { font-size: 28px; text-align: center; } .service_title { font-size: 22px; font-weight: 400; text-align: center; } .service_title_white { color: white; } .wrapper_items { display: flex; justify-content: center; gap: 20px; margin-top: 30px; } .item_title_green { font-weight: 400; color: #74c1b5; padding-bottom: 17px; } .item_title { font-weight: 400; padding-bottom: 14px; } .item_text_global { font-size: 12px; line-height: 18px; } .item_text_white { color: white; } .service_projects { padding-top: 50px; padding-bottom: 50px; } .service_associated { padding: 60px 0; } .service_associated_black { background-color: #29292e; } .block_items { display: flex; flex-direction: column; background-color: #fff; border-radius: 20px; font-size: 14px; padding: 24px 15px; width: 275px; } .block_items_center { text-align: center; } .blog_grey_background { background-color: #343438; } .link_read_more { margin-top: auto; color: #74c1b5; font-size: 12px; width: 140px; padding-top: 13px; } .link_read_more:hover { color: #579797; } .blog_part { padding-bottom: 40px; } .blog_title { font-size: 19px; font-weight: 400; color: #74c1b5; margin-bottom: 14px; } .blog_text { font-size: 13px; font-weight: 400; line-height: 24px; } .blog_list_disc { font-size: 13px; list-style-type: disc; padding-left: 20px; } .blog_item { padding-top: 20px; } .callout_block { font-size: 13px; font-weight: 400; margin-top: 24px; padding: 18px; background: #f0f8ff; border-left: 3px #74c1b5 solid; line-height: 24px; } /*Modal*/ #modal { border: none; border-radius: 20px; padding: 40px; max-width: 610px; width: 90%; box-shadow: 0 0px 30px rgba(0, 0, 0, 0.3); margin: 0 auto; bottom: 0; left: 0; top: 20%; right: 0; position: relative; overflow: visible; } dialog::backdrop { background: rgba(0, 0, 0, 0.5); } dialog .input_subject { width: 100%; } .close-btn { position: absolute; top: -15px; right: -15px; width: 36px; height: 36px; border: none; border-radius: 50%; background: #333; color: white; font-size: 20px; cursor: pointer; } .modal__title { text-align: center; font-weight: bold; font-size: 32px; } .submit-btn { padding: 16px; width: 100%; font-size: 16px; margin-top: 15px; margin-bottom: 15px; } .modal__text { text-align: center; font-size: 12px; line-height: 18px; margin-top: 10px; } /* Nav bar*/ .header { position: relative; } .header_inner { position: relative; display: flex; align-items: center; justify-content: space-between; } .main_nav { height: 77px; margin: 0 auto; display: flex; align-items: center; font-weight: bold; font-size: 12px; } .nav_bar_link { color: #808080; } .main_nav .nav_bar_list { display: flex; gap: 30px; margin-left: 55px; } .logo { color: #808080 !important; font-size: 16px; font-weight: bold; } .menu_btn { position: absolute; right: 0; font-size: 24px; color: black; cursor: pointer; display: none; } .dropdown_menu { display: none; position: absolute; right: 32px; top: 60px; max-height: 0; width: 100%; background: rgba(255, 255, 255, 0.95); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: max-height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 10; } .dropdown_menu_links { padding: 10px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #eee; } .dropdown_menu_links a { color: black; } .dropdown_menu.open { max-height: 275px; } .number { font-size: 12px; color: #20B2AA; display: flex; margin-top: 4px; text-wrap: nowrap; } /* Main header*/ .header_part { text-align: center; font-size: 16px; color: #343438; opacity: .7; margin-top: 93px; } .header_title { text-align: center; font-weight: 400; font-size: 32px; max-width: 612px; width: 100%; margin: 0 auto; margin-top: 15px; margin-bottom: 33px; line-height: 38px; } .header_btn { display: block; margin: 0 auto; padding: 16px; max-width: 190px; width: 100%; font-size: 16px; } .header_text { text-align: center; padding-top: 142px; padding-bottom: 104px; font-weight: 400; font-size: 20px; line-height: 24px; max-width: 612px; width: 100%; margin: 0 auto; } /*Services*/ .main_services { margin: 50px 0 75px; } .block_main_services { text-align: center; } .text_main_services { font-size: 13px; padding: 47px 68px 61px; text-align: center; line-height: 22px; } .wrapper_services_items { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; } .main_services_item { max-width: 190px; width: 100%; text-align: center; display: flex; flex-direction: column; } .services_item_img { align-self: center; } .services_item_title { font-size: 16px; margin-top: 25px; line-height: 24px; } .services_item_text { font-size: 13px; margin: 0 auto; line-height: 22px; } /* Risks list*/ .risks { background-color: white; padding: 38px 0 63px; } .title_risks { padding-bottom: 20px; } .block_risks { display: flex; flex-direction: row; justify-content: center; gap: 30px; padding: 35px 100px; } .block_risks li:before { content: "•"; font-size: 20px; vertical-align: middle; margin-right: 10px; } .list_risks { font-size: 14px; } /* Benefits*/ .benefits { margin-bottom: 80px; } .title_benefits { margin: 30px 0 32px; } .block_benefits_items { display: flex; gap: 24px; justify-content: space-between; } .benefits_item { max-width: 190px; width: 100%; text-align: center; display: flex; flex-direction: column; } .benefits_title_item { font-size: 16px; margin-top: 43px; margin-bottom: 12px; } .text_benefits { font-size: 14px; } /* Methods*/ .methods { background-color: white; padding: 75px 0 80px; } .title_methods { margin-bottom: 65px; } .block_methods { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; } .methods_item { max-width: 190px; width: 100%; text-align: center; display: flex; flex-direction: column; margin-top: 32px; } .methods_item_img { align-self: center; } .methods_title_item { font-size: 16px; margin-top: 30px; line-height: 26px; } .methods_text { font-size: 14px; } /* Questions*/ .questions { padding: 90px 0 48px; } .title_questions { margin: 0 0 50px; } .title_question_item { font-size: 14px; padding: 8px 0; color: #1E90FF; } .text_question { font-size: 14px; padding-bottom: 15px; border-bottom: 1px rgba(128, 128, 128, 0.103) solid; } /* Form #1*/ .form { margin-top: 46px; } .container_form { box-sizing: border-box; background-color: #343438; border-radius: 30px; display: flex; justify-content: space-around; gap: 30px; padding-bottom: 32px; color: #F4F4F4; } .block_support_title { margin: 0 15px; } .support_title { font-size: 28px; line-height: 28px; margin-top: 40px; } .symbols { color: #20B2AA; } .support_text { font-size: 14px; margin: 40px 0 72px; } .contacts a { font-weight: bold; color: #F4F4F4; display: block; line-height: 26px; } .contacts_adapt a { color: #F4F4F4; font-weight: bold; line-height: 26px; display: none; text-align: center; } .request_form { margin-top: 18px; margin-right: 30px; } .input_subject{ width: 490px; height: 60px; background-color: rgba(0, 0, 0, 0); color: #808080; font-size: 14px; margin-bottom: 8px; margin-top: 8px; border: none; border-bottom: 1px solid #80808042; } .input_subject:focus { outline: none; } .iti__flag-container { color: #808080; font-size: 14px; } .iti--separate-dial-code .iti__selected-flag { background-color: rgba(0, 0, 0, 0); } .iti { display: block; } .input_btn { padding: 16px; max-width: 170px; width: 100%; font-size: 16px; margin-top: 6px; } .form_text { margin-top: 42px; color: #808080; font-size: 10px; } /* Form #2*/ .form_second { background-color: #29292e; padding: 11px 0; } .container_form_second { box-sizing: border-box; width: 46%; margin: 0 auto; padding: 20px; background-color: #343438; color: #F4F4F4; border-radius: 30px; border: 0px solid #fafafa; } .form_second_title { font-size: 16px; font-weight: 400; text-align: center; } .form_second_text { font-size: 11px; font-weight: 400; text-align: center; padding: 30px 0; } .form__main { padding: 5px; color: #fff; font-family: 'Inter', sans-serif; } .form_label { display: flex; flex-direction: column; padding-bottom: 10px; font-size: 12px; font-weight: 400; } .form_input { width: 100%; height: 30px; border: 1px solid #3d3c3c; border-radius: 5px; background-color: #29292c; margin-bottom: 16px; } .form_textarea { width: 100%; min-height: 60px; max-height: 200px; margin-bottom: 22px; resize: none; overflow: hidden; border: 1px solid #3d3c3c; border-radius: 10px; background-color: #29292c; } .auto-resize.overflow { overflow-y: auto; } .auto-resize::-webkit-scrollbar { width: 6px; } .auto-resize::-webkit-scrollbar-track { background: #29292c; border-radius: 5px; } .auto-resize::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; cursor: default; } .auto-resize::-webkit-scrollbar-thumb:hover { background: #999; } .input_btn_second { display: block; margin: 0 auto; width: 100%; height: 34px; font-size: 11px; } .form_text_second { color: #808080; font-size: 10px; padding-top: 17px; text-align: center; } /* Footer #1*/ .footer { margin-top: 105px; } .container_footer { box-sizing: border-box; background-color: white; border-radius: 30px; display: flex; justify-content: space-between; gap: 30px; color: #696969; padding: 30px 18px; } .block_footer_copyright { display: flex; flex-direction: column; } .footer_title { font-size: 16px; } .requisites { font-size: 12px; } .footer_copyright_text { margin-top: auto; } .footer_list_service { width: 100%; } .footer_link { font-size: 12px; color: #696969; } .footer_contacts { display: flex; flex-direction: column; text-align: right; } .footer_contacts h3 { font-size: 18px; margin-top: 23px; } .footer_number .footer_link { font-weight: bold; line-height: 26px; font-size: 14px; } .footer_address { font-size: 12px; } .socials_news { margin-top: 20px; } .social-btn:hover { opacity: 0.5; } .fa-brands { color: #74c1b5; } .footer_btn_block { text-align: right; } .footer_btn { display: inline-block; padding: 16px; max-width: 190px; width: 100%; font-size: 16px; margin-top: 18px; } .footer_polit { margin-top: 60px; } /* Footer #2*/ .footer_second { background-color: #29292e; color: #F4F4F4; padding-top: 88px; } .footer_nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; justify-items: center; } .footer_title_second { font-size: 14px; font-weight: 400; opacity: 0.2; padding-bottom: 15px; } .footer_list_item { font-size: 12px; line-height: 20px; } .footer_link_second { color: #F4F4F4; } .footer_copy { text-align: center; font-size: 10px; border-top: 1px solid #343438; padding: 25px 0 18px; margin-top: 26px; } /*Service #2, #3*/ /*Service Header*/ .service_header { padding: 56px 0; } .service_header_block { width: 625px; padding: 0 50px; } .part_service { font-size: 12px; font-weight: 700; color: #343438; opacity: .7; } .service_header_title { font-weight: 400; font-size: 28px; padding: 10px 0 18px; } .service_header_text { font-size: 14px; line-height: 22px; padding-bottom: 19px; } .service_calculat_btn { width: 180px; height: 40px; font-size: 11px; } .service_order_btn { width: 180px; height: 40px; background-color: #fff ; color: #74c1b5; font-size: 11px; border: 1px solid #74c1b5; } .service_order_btn:hover { color: #f7f7f7; background-color: #74c1b5; } /*Service Description*/ .service_description { margin: 88px 0 36px; } .block_service_description { box-sizing: border-box; display: flex; align-items: center; gap: 30px; margin: 0 auto; width: 90%; background-color: #fff; border-radius: 20px; box-shadow: 0 0 10px #d4d4d4; } .service_description_text { display: flex; flex-direction: column; gap: 12px; padding: 20px 0 15px 20px; font-size: 12px; line-height: 20px; } .service_description_title { font-size: 20px; font-weight: 400; line-height: 26px; } .service_description_list { padding-left: 15px; } .service_description_img { padding: 0 14px 35px 0; } .service_description_img_item { width: 430px; width: 100%; } /*Service Calculat*/ .service_calculat { background-color: #29292e; padding: 20px 0; } .block_service_calculat { color: #F4F4F4; } .service_calculat_title { text-align: center; font-weight: 400; font-size: 24px; padding-bottom: 34px; } .wrapper_range { position: relative; width: 70%; margin: 0 auto; padding-bottom: 34px; text-align: center; } .label_range { display: flex; flex-direction: column; align-items: flex-start; font-size: 12px; } .input_range { margin-top: 10px; } input[type="range"] { accent-color: #744da9; width: 100%; height: 6px; cursor: pointer; } .range_tooltip { position: absolute; bottom: calc(70% + 10px); left: 0; transform: translateX(-50%); background: #fff; color: #1f2937; padding: 4px 12px; border-radius: 6px; font-size: 13px; font-weight: 400; pointer-events: none; white-space: nowrap; box-sizing: border-box; opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease; } .wrapper_range:hover .range_tooltip, .wrapper_range.dragging .range_tooltip { opacity: 1; transform: translateX(-50%) translateY(-4px); } .wrapper_numbers_range { display: flex; justify-content: space-between; font-size: 12px; } .change_level_range { color: #74c1b5; font-size: 12px; font-weight: 700; text-align: start; margin-top: 10px; } .service_calculat_items { display: flex; justify-content: center; gap: 20px; padding-top: 23px; } .block_calculat_item { display: flex; flex-direction: column; height: 300px; width: 200px; padding: 20px 25px; background-color: #343438; border-radius: 20px; font-size: 14px; } .calculat_items_white { background-color: #fff; color: #343438; } .calculat_item_title { font-weight: 400; padding-bottom: 18px; } .calculat_item_price { font-size: 18px; font-weight: 700; padding-bottom: 20px; } .calculat_item_list { list-style: disc; font-size: 12px; } .calculat_item{ padding-bottom: 13px; } .block_calculat_items_btn { margin-top: auto; } .calculat_items_btn { width: 150px; height: 35px; font-size: 12px; } /*Service Include*/ .service_include { padding-top: 62px; padding-bottom: 60px; } .block_include_items { display: flex; flex-direction: column; background-color: #fff; border-radius: 20px; font-size: 14px; padding: 20px; width: 270px; } .include_items_list { list-style: disc; font-size: 12px; padding-left: 20px; } .include_item { padding-bottom: 13px; } /*Service Who-Fits*/ .service_who-fits { padding-top: 90px; padding-bottom: 90px; } .block_who-fits_item { display: flex; flex-direction: column; background-color: #fff; border-radius: 20px; font-size: 14px; padding: 24px; width: 203px; } /*Service Result*/ .service_result { padding-top: 46px; padding-bottom: 55px; } .wrapper_result_items { display: flex; justify-content: center; margin-top: 32px; background-color: #fff; border-radius: 20px; overflow: hidden; } .block_result_item { display: flex; flex-direction: column; padding: 20px; width: 290px; font-size: 14px; } /*Service Advantages*/ .service_advantages { background-color: #29292e; color: #fff; padding-top: 60px; padding-bottom: 32px; } .wrapper_service_advantages { display: flex; flex-direction: row; justify-content: space-between; column-gap: 20px; flex-wrap: wrap; } .service_advantages_items { width: 275px; display: flex; flex-direction: column; padding-top: 30px; font-size: 14px; } /*Service Questions*/ .service_questions { padding-top: 40px; } .wrapper_service_questions { display: flex; flex-direction: column; justify-content: center; width: 600px; padding: 15px; margin: 30px auto; background-color: #fff; border-radius: 20px; overflow: hidden; } .block_questions_item { border-bottom: 1px rgba(128, 128, 128, 0.103) solid; padding: 10px 0; } .block_questions_withoutborder { border-bottom: none; } .service_item_title_questions { font-size: 14px; } /*Blog Page*/ /*Blog Header*/ .blog_header { padding: 56px 0; } .blog_header_block { width: 60%; padding: 0 15px; } .part_blog { font-size: 12px; font-weight: 700; color: #343438; opacity: .7; } .blog_header_title { font-weight: 400; font-size: 30px; padding: 10px 0 18px; } .blog_header_text { font-size: 14px; line-height: 22px; padding-bottom: 19px; } .blog_sub_text { font-size: 12px; opacity: .7; } /*Blog Content*/ .blog_content { padding: 56px 0 94px 0; } .wrapper_content_items { display: flex; justify-content: center; align-items: flex-start; flex-direction: column; padding: 23px; margin: 115px auto 0; background-color: #fff; border-radius: 20px; overflow: hidden; } .blog_content_title { font-size: 14px; font-weight: 400; color: #74c1b5; align-self: flex-start; } .block_content_item { display: flex; align-items: center; padding-top: 10px; font-size: 14px; } .blog_content_list { font-size: 12px; line-height: 28px; column-count: 2; column-gap: 100px; } .blog_content_item::before { content: "•"; color: #74c1b5; margin-right: 8px; font-size: 10px; } /*Blog Main Phases*/ .blog_main_phases_list { padding-left: 20px; font-size: 13px; } .blog_main_phases_item { font-size: 15px; padding-bottom: 15px; padding-top: 22px; } /*Blog Structure*/ .blog_structure_list { font-size: 13px; } .blog_structure_item { font-size: 15px; padding-top: 20px; padding-bottom: 12px; } /*Blog Road*/ .blog_road_text { font-size: 13px; padding-top: 15px; } /*Blog Differences*/ .blog_differences_items { display: flex; flex-direction: column; background-color: #fff; border-radius: 20px; font-size: 14px; padding: 20px; width: 100%; } .blog_differences_title { font-weight: 400; color: #74c1b5; } /*Blog Conclusion*/ .blog_conclusion_list { padding-left: 20px; font-size: 13px; } .blog_conclusion_item { font-size: 15px; padding-bottom: 15px; } .blog_conclusion_item:first-child { padding-top: 14px; } /*Media*/ @media screen and (max-width: 1150px) { .container { padding: 0px 15px; } .support_text { margin: 50px 0 26px; } } @media screen and (max-width: 1000px) { .block_questions { padding: 0px 15px; } .container_form { gap: 20px; } .request_form { margin-top: 0; } .support_title { font-size: 23px; } .support_text { margin: 20px 0 20px; } .container_footer { gap: 20px; padding: 15px; } .footer_links a { line-height: 16px; } } @media screen and (max-width: 900px) { .wrapper_service_advantages { justify-content: center; } } @media screen and (max-width: 860px) { .block_risks { flex-direction: column; gap: 0; padding: 30px 15px; align-items: center } .container_form { gap: 12px; } .container_form_second { width: 55%; } .input_subject { width: 380px; } .support_title { font-size: 20px; line-height: 23px; margin-top: 27px; } .blog_header_block { width: 100%; } .blog_content_list { column-gap: 12px; } } @media screen and (max-width: 750px) { .service_description_img_item { display: none; } .container_form_second { width: 70%; } .footer_nav { display: flex; } .footer_list_second { width: 218px; } .wrapper_items { flex-wrap: wrap; } .blog_differences_items { align-items: center; } } @media screen and (max-width: 700px){ .main_nav .nav_bar_list { display: flex; gap: 10px; } .number { font-size: 10px; } .text_services { padding: 40px 0; } .block_benefits_items { flex-wrap: wrap; justify-content: center; gap: 5px; } .benefits_item { max-width: 210px; } .header_questions { font-size: 26px; } .block_methods { justify-content: center; } .container_form { flex-direction: column; width: 90%; margin: 0 auto; } .block_support_title { margin: 0 auto; } .support_title { text-align: center; } .support_text { text-align: center; margin: 40px 0 0; } .request_form { padding: 0px 15px; margin: 0; } .input_subject { width: 100%; } .contacts a { display: none; } .contacts_adapt a { display: block; } .input_btn { display: block; margin: 0 auto; } .form_text { text-align: center; } .container_footer { width: 90%; flex-direction: column; text-align: center; gap: 30px; margin: 0 auto; } .footer_contacts { text-align: center; } .footer_btn_block { text-align: center; } .footer_polit { margin: 10px; } .service_header_block { width: 100%; } .block_calculat_item { width: 179px; padding: 20px 15px; } .calculat_item_list { padding-left: 15px; } .wrapper_service_questions { width: 90%; } .wrapper_content_items { align-items: center; } .blog_content_title { align-self: center; } .blog_content_list { column-count: auto; } } @media screen and (max-width: 605px ) { .main_nav .nav_bar_list { margin: 0; } .service_header_block { width: 90%; } .service_calculat_items { flex-direction: column; align-items: center; } .block_calculat_item { width: 200px; padding: 20px 25px; } .service_advantages_items { width: 226px; } .wrapper_result_items { flex-direction: column; align-items: center; width: 90%; margin: 32px auto; } .block_result_item { width: 360px; align-items: center; } .item_title { text-align: center; } .item_title_green { text-align: center; } .service_item_text { text-align: center; } .container_form_second { width: 90%; } .footer_nav { flex-direction: column; align-items: center; } .footer_list_second { width: 100%; text-align: center; } } @media screen and (max-width: 540px ) { .section_title { font-size: 23px; } .main_nav .nav_bar_list, .number { display: none; } .main_nav .menu_btn { display: block; } .dropdown_menu { display: block; left: 2rem; width: unset; } .title_services { font-size: 24px; } .services_item { min-width: 210px; } .header_risks { font-size: 26px; } .list_risks { font-size: 11px; } .block_benefits_items { flex-direction: column; align-items: center; } .title_benefits { margin-top: 20px; } .block_methods { justify-content: center; } .questions { padding: 55px 0 45px; } .support_title { font-size: 24px; } .service_advantages_items { width: 300px; } .service_calculat_btn { width: 140px; margin-bottom: 10px; } } @media screen and (max-width: 400px ) { .modal__title { font-size: 28px; } .header_part { margin-top: 50px; } .header_title { font-size: 30px; } .header_text { padding: 95px 0 90px; } .support_title { font-size: 20px; } .support_text { font-size: 12px; padding: 0px 15px; } .input_btn { max-width: 100%; } .footer_btn { max-width: 100%; } .footer_link { font-size: 10px; } .service_header_title { font-size: 22px; } .service_calculat_title { font-size: 22px; } .block_result_item { width: 90%; padding: 10px; } .container_form_second { width: 100%; padding: 13px; } .wrapper_content_items { padding: 15px; } }