@import url(../fonts/font.css); * { padding: 0; margin: 0; box-sizing: border-box; border: none; outline: none; scroll-behavior: smooth; } html { scroll-behavior: smooth; font-family: 'Tac', sans-serif; } body { margin: 0 auto; background-color: #22242B; } a { text-decoration: none; font-family: 'Tac', sans-serif; font-size: 0.875rem; font-weight: 400; color: white; } header { display: flex; justify-content: space-between; align-items: center; padding: 33px 0; } .big_con { width: 1800px; margin: 0 auto; } .logo { display: flex; justify-content: space-between; align-items: center; } .line { border: 1px solid #C78E66; height: 30px; margin: 0 20px; } .p18 { font-size: clamp(1rem, 0.75rem + 0.33vw, 1.125rem); font-weight: 700; color: white; } .p16 { font-size: clamp(0.8rem, 0.4rem + 0.53vw, 1rem); font-weight: 400; color: white; } .p14 { font-family: 'Tac', sans-serif; font-size: clamp(0.7rem, 0.35rem + 0.47vw, 0.875rem); font-weight: 400; color: white; } .p15 { font-family: 'Tac', sans-serif; color: black; } .requisites { display: flex; justify-content: space-between; align-items: center; color: white; } .requisites .p18 { color: #C78E66; cursor: pointer; } .requisites img { padding-right: 16px; } .requisites .line { margin: 0 70px; } .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: #C78E66; border: 1px solid #C78E66; } .arrow svg { width: 9px; display: flex; justify-content: center; transition: all ease 0.3s; } .opacity:hover svg path { stroke: white; } /*2 блок*/ .background { display: flex; justify-content: center; position: relative; } .title { position: absolute; top: 110px; left: 150px; } h1 { color: white; font-size: clamp(1.4rem, -0.8rem + 2.93vw, 2.5rem); font-weight: 900; padding-bottom: clamp(0.938rem, -0.938rem + 2.5vw, 1.875rem); } h2 { color: white; font-size: clamp(1.2rem, -0.8rem + 2.67vw, 2.2rem); font-weight: 700; padding-bottom: clamp(0.938rem, -2.188rem + 4.17vw, 2.5rem); } .orange { width: 310px; height: 40px; display: flex; justify-content: space-around; align-items: center; border: 1px solid #C78E66; background-color: #C78E66; transition: all ease 0.3s; cursor: pointer; } .orange:hover .p14{ color: #C78E66; } .orange:hover { background-color: white; border: 1px solid #C78E66; } .orange svg path { stroke: white; } .orange:hover svg path { stroke: #C78E66; } /*3 блок*/ .advantages { display: flex; flex-direction: column; justify-content: center; align-items: center; margin: 100px 0; } .advantages h1 { padding-bottom: 50px; } .carts { display: flex; justify-content: space-between; align-items: center; gap: 10px; } .cart { width: 330px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; } .cart img { width: 73px; } .cart .p16 { width: 70%; font-weight: 700; } /*4 блок*/ .cart_car { width: 100%; display: flex; justify-content: center; margin: 100px 0; } .back_white { width: 100%; display: flex; background-color: #F2F2F2; } .path1 { width: 50%; display: flex; flex-direction: column; justify-content: center; padding: 150px; } .path2 { width: 50%; } .path2 img { width: 100%; } .path1 h1 { padding-bottom: 20px; } .path1 .p16 { padding-bottom: 10px; } .conditions { display: flex; flex-direction: column; margin-bottom: 10px; } .cond { display: flex; align-items: center; padding-bottom: 20px; } .cond img { padding-right: 16px; } .btns { display: flex; gap: 20px; } .black { width: 310px; height: 40px; display: flex; justify-content: space-around; align-items: center; border: 1px solid black; background-color: #c78e6600; transition: all ease 0.3s; cursor: pointer; } .black .p14 { color: black; } .black:hover .p14{ color: white; } .black:hover { background-color: black; } .black:hover svg path { stroke: white; } /*5 блок*/ .test_drive { display: flex; align-items: center; justify-content: space-between; padding-bottom: 100px; } .test_drive h1{ color: black; } .test_drive .p16 { color: black; font-weight: 700; } .block_data { display: flex; flex-direction: column; } .data { display: flex; padding-bottom: 20px; } input::placeholder { padding: 10px; } .num { width: 310px; background-color: #22242b00; border: 1px solid #7E8E94; font-family: 'Tac', sans-serif; color: #7E8E94; margin-right: 60px; } .agree { display: flex; align-items: center; gap: 10px; } /*6 блок*/ .map { position: relative; } .location { display: flex; flex-direction: column; align-items: flex-start; background-color: rgba(48, 54, 58, 0.85); padding: 80px 33px; gap: 20px; position: absolute; top: 2px; left: 230px; } .location .logo { flex-direction: column; align-items: flex-start; gap: 20px; } .location .line { display: flex; align-items: flex-start; border: 1px solid #C78E66; width: 125px; height: 0px; margin: 0; } .location .logo p { font-weight: 700; } .location .requisites { flex-direction: column; } .address { display: flex; padding-bottom: 20px; } .location .requisites .p16 { color: #C78E66; } .mode_work { display: flex; padding-top: 20px; } /*футер*/ .data_foot { display: flex; flex-direction: column; align-items: center; gap: 35px; padding: 77px 200px; } nav { width: 100%; display: flex; justify-content: space-between; align-items: center; } nav a { font-size: 1rem; } .info { width: 100%; display: flex; justify-content: space-between; } .info .p14 { width: 500px; } hr { width: 100%; border: 1px solid #D1D1D1; } .i:hover svg path { fill: #D1D1D1; } /*АВТОРИЗАЦИЯ*/ .block_auth { display: flex; flex-direction: column; align-items: center; background-color: white; padding: 80px 100px; gap: 20px; } .enter { width: 310px; padding: 6px 0; border: 1px solid #C78E66; font-family: 'Tac', sans-serif; } .p14 a { color: black; } @media screen and (max-width: 1440px) { .big_con { width: 1200px; margin: 0 auto; } .title { top: 70px; } .opacity, .orange, .black { width: 220px; } .line { height: 80px; } .requisites .line { margin: 0 20px; } .back_img { width: 100%; } .carts { width: 100%; } .path1 { padding: 0; } .location { padding: 89px 33px; } .location .requisites { align-items: flex-start; } .data_foot { padding: 77px 100px; } } .opacity .arrow { position: absolute; top: 50%; transform: translateY(-50%); right: 10px; } .dropdown { display: none; position: absolute; background-color: white; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); top: 100%; right: 1px; left: 0px; z-index: 1; width: 310px; /* Ширина списка */ } .dropdown a { color: black; padding: 12px 16px; text-decoration: none; display: block; } .dropdown a:hover { background-color: #C78E66; } .opacity:hover .dropdown { display: block; } .background { position: relative; /* Для позиционирования элементов поверх изображения */ width: 100%; /* Занимаем всю ширину экрана */ height: 100vh; /* Занимаем всю высоту экрана */ } .back_img { width: 100%; /* Изображение занимает всю ширину */ height: 100%; /* Изображение занимает всю высоту */ object-fit: cover; /* Масштабируем изображение, чтобы оно покрывало всю область */ position: absolute; /* Позиционируем изображение как абсолютный элемент */ top: 0; /* Верхний край изображения совпадает с верхним краем контейнера */ left: 0; /* Левый край изображения совпадает с левым краем контейнера */ } /*техническая поддержка*/ .support-window { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: #fff; border: 1px solid #ccc; border-radius: 5px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); width: 600px; max-width: 90%; z-index: 9999; } .support-header { background-color: #C78E66; color: #fff; padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; } .support-header h2 { margin: 0; } .support-content { padding: 20px; } #support-form label { display: block; margin-bottom: 5px; font-weight: bold; } #support-form input, #support-form textarea { width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 5px; } #support-form button[type="submit"] { background-color: #C78E66; color: #fff; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; } .support-info { margin-top: 20px; } .support-info h3 { margin-top: 0; } /*тест драйв*/ .big_conz { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); overflow-y: auto; width: 80%; max-width: 500px; padding: 20px; box-sizing: border-box; border: 1px solid #ccc; border-radius: 5px; background-color: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } /*характеристики*/ .block_auth { position: relative; } .block_auth img { position: absolute; top: 25px; right: 10px; width: 170px; height: 100px; } .close-button { position: absolute; top: 5px; right: 10px; font-size: 24px; font-weight: bold; color: #333; text-decoration: none; } /* Стиль для сетки */ div[style*="display: grid;"] { grid-auto-rows: min-content; /* Автоматическая высота строк */ } /*личный кабинет*/ .center { text-align: center; font-size: 0.75em; } .block_auth { position: relative; } .close { position: absolute; top: 0; right: 0; font-size: 1.5em; cursor: pointer; color: #ccc; } .profile-picture { width: 100px; height: 100px; border-radius: 50%; background-color: #C78E66; display: flex; justify-content: center; align-items: center; cursor: pointer; background-size: cover; } .profile-picture:hover { background-color: #996945; } .profile-picture .plus { font-size: 2em; color: white; }