added all modified files
This commit is contained in:
@@ -1,16 +1,149 @@
|
||||
/* Переменные, шрифты, UI kit */
|
||||
@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100..900&display=swap');
|
||||
|
||||
@font-face {
|
||||
font-family: 'DIN Pro';
|
||||
src: url('fonts/DINPro-Medium.eot');
|
||||
src: local('DIN Pro Medium'), local('DINPro-Medium'),
|
||||
url('fonts/DINPro-Medium.eot?#iefix') format('embedded-opentype'),
|
||||
url('fonts/DINPro-Medium.woff') format('woff'),
|
||||
url('fonts/DINPro-Medium.ttf') format('truetype');
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'DIN Pro';
|
||||
src: url('fonts/DINPro-Black.eot');
|
||||
src: local('DIN Pro Black'), local('DINPro-Black'),
|
||||
url('fonts/DINPro-Black.eot?#iefix') format('embedded-opentype'),
|
||||
url('fonts/DINPro-Black.woff') format('woff'),
|
||||
url('fonts/DINPro-Black.ttf') format('truetype');
|
||||
font-weight: 900;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
||||
ШАБЛОН использования глобальных переменных:
|
||||
|
||||
:root {
|
||||
--main-text: #e1667c;
|
||||
--main-color: #8da6cb;
|
||||
--font-family: "Craftwork Grotesk", sans-serif;
|
||||
}
|
||||
|
||||
*/
|
||||
html,
|
||||
body,
|
||||
div,
|
||||
span,
|
||||
applet,
|
||||
object,
|
||||
iframe,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
p,
|
||||
blockquote,
|
||||
pre,
|
||||
a,
|
||||
abbr,
|
||||
acronym,
|
||||
address,
|
||||
big,
|
||||
cite,
|
||||
code,
|
||||
del,
|
||||
dfn,
|
||||
em,
|
||||
img,
|
||||
ins,
|
||||
kbd,
|
||||
q,
|
||||
s,
|
||||
samp,
|
||||
small,
|
||||
strike,
|
||||
strong,
|
||||
sub,
|
||||
sup,
|
||||
tt,
|
||||
var,
|
||||
b,
|
||||
u,
|
||||
i,
|
||||
center,
|
||||
dl,
|
||||
dt,
|
||||
dd,
|
||||
ol,
|
||||
ul,
|
||||
li,
|
||||
fieldset,
|
||||
form,
|
||||
label,
|
||||
legend,
|
||||
table,
|
||||
caption,
|
||||
tbody,
|
||||
tfoot,
|
||||
thead,
|
||||
tr,
|
||||
th,
|
||||
td,
|
||||
article,
|
||||
aside,
|
||||
canvas,
|
||||
details,
|
||||
embed,
|
||||
figure,
|
||||
figcaption,
|
||||
footer,
|
||||
header,
|
||||
hgroup,
|
||||
menu,
|
||||
nav,
|
||||
output,
|
||||
ruby,
|
||||
section,
|
||||
summary,
|
||||
time,
|
||||
mark,
|
||||
audio,
|
||||
video {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
/* HTML5 display-role reset for older browsers */
|
||||
article,
|
||||
aside,
|
||||
details,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
header,
|
||||
hgroup,
|
||||
menu,
|
||||
nav,
|
||||
section {
|
||||
display: block;
|
||||
}
|
||||
body {
|
||||
line-height: 1;
|
||||
}
|
||||
ol,
|
||||
ul {
|
||||
list-style: none;
|
||||
}
|
||||
blockquote,
|
||||
q {
|
||||
quotes: none;
|
||||
}
|
||||
blockquote:before,
|
||||
blockquote:after,
|
||||
q:before,
|
||||
q:after {
|
||||
content: '';
|
||||
content: none;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
@@ -1,18 +1,823 @@
|
||||
/* Основные стили для компьютера */
|
||||
:root {
|
||||
--clr-general: #00071e;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
html {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
body {
|
||||
font-family: 'Onest', sans-serif;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
color: var(--clr-general);
|
||||
background: #f9f7f6;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
*[class*='__container'] {
|
||||
width: 100%;
|
||||
max-width: 1328px;
|
||||
margin: 0 auto;
|
||||
padding: 0 64px;
|
||||
}
|
||||
|
||||
/* писать сюда... */
|
||||
.flex {
|
||||
display: flex;
|
||||
}
|
||||
.flex-ac {
|
||||
align-items: center;
|
||||
}
|
||||
.flex-jcsb {
|
||||
justify-content: space-between;
|
||||
}
|
||||
.gap-10 {
|
||||
gap: 10px;
|
||||
}
|
||||
.gap-24 {
|
||||
gap: 24px;
|
||||
}
|
||||
.gap-42 {
|
||||
gap: 42px;
|
||||
}
|
||||
|
||||
/* Title */
|
||||
h1 {
|
||||
font-family: 'DIN Pro', sans-serif;
|
||||
font-weight: 500;
|
||||
font-size: 62px;
|
||||
line-height: 120%;
|
||||
letter-spacing: -0.04em;
|
||||
text-transform: uppercase;
|
||||
background: linear-gradient(
|
||||
142deg,
|
||||
rgba(255, 255, 255, 0) 0%,
|
||||
rgba(255, 255, 255, 0.22) 42%,
|
||||
rgba(255, 255, 255, 0) 100%
|
||||
),
|
||||
var(--clr-general);
|
||||
background-clip: text;
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
h1 b,
|
||||
h1 strong {
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
/* Button */
|
||||
.btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-shadow: 0 12px 24px 0 rgba(255, 204, 0, 0.25);
|
||||
background: linear-gradient(
|
||||
322deg,
|
||||
rgba(255, 255, 255, 0) 0%,
|
||||
rgba(255, 255, 255, 0.32) 41.5%,
|
||||
rgba(255, 255, 255, 0) 100%
|
||||
),
|
||||
#fc0;
|
||||
border: none;
|
||||
outline: none;
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
line-height: 140%;
|
||||
color: var(--clr-general);
|
||||
cursor: pointer;
|
||||
transition: all 0.15s ease-in-out;
|
||||
}
|
||||
.btn:hover {
|
||||
box-shadow: 0 1px 14px 0 rgba(255, 204, 0, 0.2);
|
||||
transform: scale(0.98);
|
||||
}
|
||||
.btn-small {
|
||||
border-radius: 14px;
|
||||
padding: 17px 24px;
|
||||
}
|
||||
.btn-big {
|
||||
height: 72px;
|
||||
font-size: 16px;
|
||||
border-radius: 20px;
|
||||
padding: 20px 24px;
|
||||
}
|
||||
|
||||
/* Header */
|
||||
.header {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
}
|
||||
.header__container {
|
||||
position: absolute;
|
||||
top: 28px;
|
||||
z-index: 2;
|
||||
}
|
||||
.header__logo {
|
||||
max-width: 280px;
|
||||
}
|
||||
.header__logo p {
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 130%;
|
||||
opacity: 0.8;
|
||||
}
|
||||
.header__contacts {
|
||||
}
|
||||
.header__socials {
|
||||
}
|
||||
.header__socials-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 47px;
|
||||
height: 47px;
|
||||
border-radius: 9px;
|
||||
box-shadow: 0 10px 32px 0 rgba(0, 0, 0, 0.07);
|
||||
background: #fff;
|
||||
transition: transform 0.2s ease-in-out;
|
||||
}
|
||||
.header__socials-link:hover {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
.header__tel {
|
||||
font-weight: 700;
|
||||
font-size: 22px;
|
||||
letter-spacing: -0.03em;
|
||||
color: var(--clr-general);
|
||||
text-decoration: none;
|
||||
transition: opacity 0.2s ease-in-out;
|
||||
}
|
||||
.header__tel:hover {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
/* Hero */
|
||||
.hero {
|
||||
padding-top: 170px;
|
||||
padding-bottom: 102px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
.hero::after {
|
||||
content: '';
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: url('../img/bg_after.webp') bottom left no-repeat;
|
||||
background-size: contain;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: -1;
|
||||
}
|
||||
.hero::before {
|
||||
content: '';
|
||||
width: 220px;
|
||||
height: 295px;
|
||||
background: url('../img/bg_before.webp') center no-repeat;
|
||||
background-size: contain;
|
||||
position: absolute;
|
||||
bottom: 200px;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
animation: herobefore 6s ease-in-out infinite;
|
||||
}
|
||||
@keyframes herobefore {
|
||||
0%,
|
||||
100% {
|
||||
transform: translateY(0) translateX(0);
|
||||
}
|
||||
40%,
|
||||
60% {
|
||||
transform: translateY(20px) translateX(-2px);
|
||||
}
|
||||
}
|
||||
.hero__img {
|
||||
}
|
||||
.hero__content {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
gap: 64px;
|
||||
justify-content: space-between;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
.hero__content::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -60px;
|
||||
right: -590px;
|
||||
width: 1230px;
|
||||
height: 830px;
|
||||
pointer-events: none;
|
||||
z-index: -1;
|
||||
background: url('../img/hero-img-full.webp') center no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
.hero__leftside {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 32px;
|
||||
max-width: 590px;
|
||||
}
|
||||
.hero__title {
|
||||
}
|
||||
.hero__title h1 {
|
||||
}
|
||||
.hero__desc {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
border: 2px solid rgba(28, 27, 27, 0.9);
|
||||
border-radius: 15px;
|
||||
padding: 13px 24px;
|
||||
}
|
||||
.hero__desc::before {
|
||||
content: '';
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
background: url('../img/i-info.svg') center no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
.hero__desc p {
|
||||
font-weight: 500;
|
||||
font-size: 20px;
|
||||
line-height: 130%;
|
||||
}
|
||||
.hero__desc p b {
|
||||
font-weight: 700;
|
||||
}
|
||||
.hero__price {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 24px;
|
||||
border-radius: 28px;
|
||||
padding: 16px 16px 24px 16px;
|
||||
box-shadow: 0 10px 32px 0 rgba(0, 0, 0, 0.02);
|
||||
background: #fff;
|
||||
}
|
||||
.hero__price-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 24px;
|
||||
border-radius: 24px;
|
||||
padding: 16px;
|
||||
background: linear-gradient(
|
||||
142deg,
|
||||
rgba(255, 255, 255, 0) 0%,
|
||||
rgba(255, 255, 255, 0.2) 41.5%,
|
||||
rgba(255, 255, 255, 0) 100%
|
||||
),
|
||||
#f7f5f3;
|
||||
}
|
||||
.hero__price-header span {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
border-radius: 14px;
|
||||
padding: 14px 20px;
|
||||
background: linear-gradient(
|
||||
142deg,
|
||||
rgba(255, 255, 255, 0) 0%,
|
||||
rgba(255, 255, 255, 0.2) 41.5%,
|
||||
rgba(255, 255, 255, 0) 100%
|
||||
),
|
||||
#d92d2d;
|
||||
font-weight: 600;
|
||||
font-size: 18px;
|
||||
line-height: 140%;
|
||||
color: #fff;
|
||||
}
|
||||
.hero__price-header span::before {
|
||||
content: '';
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
background: url('../img/i-percent.svg') center no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
.hero__price-header p {
|
||||
font-weight: 400;
|
||||
font-size: 17px;
|
||||
line-height: 130%;
|
||||
max-width: 220px;
|
||||
}
|
||||
.hero__price-header p b {
|
||||
font-weight: 600;
|
||||
}
|
||||
.hero__price-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 32px;
|
||||
}
|
||||
.hero__price-stock {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-end;
|
||||
gap: 2px;
|
||||
}
|
||||
.hero__price-stock span {
|
||||
font-weight: 500;
|
||||
font-size: 20px;
|
||||
line-height: 140%;
|
||||
letter-spacing: -0.02em;
|
||||
text-decoration: line-through;
|
||||
text-align: right;
|
||||
opacity: 0.4;
|
||||
}
|
||||
.hero__price-stock p {
|
||||
font-weight: 700;
|
||||
font-size: 30px;
|
||||
line-height: 140%;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
.hero__price-unit {
|
||||
border-radius: 10px;
|
||||
padding: 7px 14px;
|
||||
background: linear-gradient(
|
||||
322deg,
|
||||
rgba(255, 255, 255, 0) 0%,
|
||||
rgba(255, 255, 255, 0.34) 41.5%,
|
||||
rgba(255, 255, 255, 0) 100%
|
||||
),
|
||||
#fc0;
|
||||
}
|
||||
.hero__price-unit p {
|
||||
font-weight: 500;
|
||||
font-size: 18px;
|
||||
line-height: 140%;
|
||||
}
|
||||
.hero__rightside {
|
||||
}
|
||||
.hero__form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 24px;
|
||||
max-width: 490px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.7);
|
||||
border-radius: 26px;
|
||||
padding: 32px;
|
||||
box-shadow: 0 10px 42px 0 rgba(0, 0, 0, 0.17);
|
||||
background: linear-gradient(
|
||||
142deg,
|
||||
rgba(255, 255, 255, 0) 0%,
|
||||
rgba(255, 255, 255, 0.2) 41.5%,
|
||||
rgba(255, 255, 255, 0) 100%
|
||||
),
|
||||
#f2f2f2;
|
||||
}
|
||||
.hero__form-title {
|
||||
}
|
||||
.hero__form-title p {
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
line-height: 130%;
|
||||
letter-spacing: -0.02em;
|
||||
text-align: center;
|
||||
}
|
||||
.hero__form-title p b {
|
||||
font-weight: 600;
|
||||
}
|
||||
.hero__form-action {
|
||||
}
|
||||
.hero__form-action form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
.hero__form-action select,
|
||||
.hero__form-action input {
|
||||
width: 100%;
|
||||
height: 72px;
|
||||
border: none;
|
||||
outline: none;
|
||||
border-radius: 20px;
|
||||
padding: 12px 32px;
|
||||
background: #fff;
|
||||
font-family: 'Onest', sans-serif;
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
color: var(--clr-general);
|
||||
transition: color 0.15s ease-in-out;
|
||||
}
|
||||
.hero__form-action input:hover::placeholder,
|
||||
.hero__form-action select:hover {
|
||||
color: rgba(28, 27, 27, 0.75);
|
||||
}
|
||||
.hero__form-action select {
|
||||
color: rgba(28, 27, 27, 0.5);
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
text-indent: 1px;
|
||||
text-overflow: '';
|
||||
position: relative;
|
||||
background: url('../img/i-select.svg') center no-repeat #fff;
|
||||
background-size: 18px;
|
||||
background-position-x: calc(100% - 32px);
|
||||
cursor: pointer;
|
||||
}
|
||||
.hero__form-action select::-ms-expand {
|
||||
display: none;
|
||||
}
|
||||
.hero__form-action select:has(option[value='']:not(:checked)) {
|
||||
color: var(--clr-general);
|
||||
}
|
||||
.hero__form-action input::placeholder {
|
||||
color: rgba(28, 27, 27, 0.5);
|
||||
transition: color 0.15s ease-in-out;
|
||||
}
|
||||
.hero__form-gift {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 10px;
|
||||
margin-top: 8px;
|
||||
border-radius: 20px;
|
||||
padding: 24px 12px 24px 24px;
|
||||
background: linear-gradient(
|
||||
130deg,
|
||||
rgba(255, 255, 255, 0) 30%,
|
||||
rgba(255, 255, 255, 0.24) 80%,
|
||||
rgba(255, 255, 255, 0) 100%
|
||||
),
|
||||
var(--clr-general);
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
.hero__form-gift::after {
|
||||
content: '';
|
||||
width: 150px;
|
||||
height: 105px;
|
||||
z-index: -1;
|
||||
pointer-events: none;
|
||||
background: url('../img/gift.webp') center no-repeat;
|
||||
background-size: cover;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
.hero__form-gift p {
|
||||
display: inline-flex;
|
||||
border-radius: 90px;
|
||||
padding: 4px 12px;
|
||||
background: rgba(255, 255, 255, 0.12);
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
line-height: 140%;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
}
|
||||
.hero__form-gift ul {
|
||||
list-style-type: disc;
|
||||
padding-left: 24px;
|
||||
}
|
||||
.hero__form-gift ul li {
|
||||
list-style-type: disc;
|
||||
font-weight: 600;
|
||||
font-size: 16px;
|
||||
line-height: 140%;
|
||||
color: #fff;
|
||||
}
|
||||
.hero__advantages {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
gap: 24px;
|
||||
margin-top: 102px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
.hero__advantages-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
border-radius: 24px;
|
||||
padding: 24px 14px;
|
||||
box-shadow: 0 10px 32px 0 rgba(0, 0, 0, 0.01);
|
||||
background: #fff;
|
||||
}
|
||||
.hero__advantages-item p {
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
line-height: 140%;
|
||||
text-align: center;
|
||||
}
|
||||
.hero__advantages-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 20px;
|
||||
min-width: 60px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
background: linear-gradient(
|
||||
329deg,
|
||||
rgba(255, 255, 255, 0) 9.59%,
|
||||
rgba(255, 255, 255, 0.1) 47.6%,
|
||||
rgba(255, 255, 255, 0) 100%
|
||||
),
|
||||
var(--clr-general);
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
background: linear-gradient(
|
||||
329deg,
|
||||
rgba(255, 255, 255, 0) 9.59%,
|
||||
rgba(255, 255, 255, 0.02) 47.6%,
|
||||
rgba(255, 255, 255, 0) 100%
|
||||
),
|
||||
var(--clr-general);
|
||||
padding-top: 42px;
|
||||
padding-bottom: 52px;
|
||||
color: #fff;
|
||||
}
|
||||
.footer__container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 42px;
|
||||
}
|
||||
.footer__top {
|
||||
display: grid;
|
||||
align-items: center;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
.footer__logo {
|
||||
}
|
||||
.footer__logo p {
|
||||
font-weight: 500;
|
||||
font-size: 13px;
|
||||
line-height: 140%;
|
||||
max-width: 260px;
|
||||
}
|
||||
.footer__address {
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
text-align: center;
|
||||
}
|
||||
.footer__contacts {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 46px;
|
||||
}
|
||||
.footer__tel {
|
||||
font-weight: 700;
|
||||
font-size: 22px;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
transition: color 0.15s ease-in-out;
|
||||
}
|
||||
.footer__tel:hover {
|
||||
color: #fc0;
|
||||
}
|
||||
.footer__socials {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
.footer__socials-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 9px;
|
||||
padding: 10px;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
box-shadow: 0 10px 32px 0 rgba(0, 0, 0, 0.07);
|
||||
/* background: #282828; */
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
transition: transform 0.2s ease-in-out;
|
||||
}
|
||||
.footer__socials-link:hover {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
.footer__bottom {
|
||||
display: grid;
|
||||
align-items: center;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
.footer__bottom p,
|
||||
.footer__bottom a {
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
.footer__bottom a {
|
||||
transition: opacity 0.2s ease-in-out;
|
||||
}
|
||||
.footer__bottom a:hover {
|
||||
opacity: 0.5;
|
||||
}
|
||||
.footer__bottom a:nth-child(2) {
|
||||
text-align: center;
|
||||
}
|
||||
.footer__bottom a:nth-child(3) {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* Preloader */
|
||||
.preloader {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(0, 7, 30, 0.8);
|
||||
/* background: #00071e; */
|
||||
/* -webkit-backdrop-filter: blur(2px);
|
||||
backdrop-filter: blur(2px); */
|
||||
-webkit-transition: opacity 0.2s linear;
|
||||
transition: opacity 0.2s linear;
|
||||
opacity: 1;
|
||||
z-index: 200;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.preloader.hidden {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.preloader.hidden .preloader__icon {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
/* Стили для лептопов */
|
||||
/* @media only screen and (min-width: 992px) and (max-width: 1400px) {
|
||||
.preloader__icon {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 128px;
|
||||
height: 128px;
|
||||
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><rect fill="%23FFCC00" stroke="%23FFCC00" stroke-width="15" width="30" height="30" x="25" y="50"><animate attributeName="y" calcMode="spline" dur="2" values="50;120;50;" keySplines=".5 0 .5 1;.5 0 .5 1" repeatCount="indefinite" begin="-.4"></animate></rect><rect fill="%23FFCC00" stroke="%23FFCC00" stroke-width="15" width="30" height="30" x="85" y="50"><animate attributeName="y" calcMode="spline" dur="2" values="50;120;50;" keySplines=".5 0 .5 1;.5 0 .5 1" repeatCount="indefinite" begin="-.2"></animate></rect><rect fill="%23FFCC00" stroke="%23FFCC00" stroke-width="15" width="30" height="30" x="145" y="50"><animate attributeName="y" calcMode="spline" dur="2" values="50;120;50;" keySplines=".5 0 .5 1;.5 0 .5 1" repeatCount="indefinite" begin="0"></animate></rect></svg>');
|
||||
background-size: contain;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
opacity: 1;
|
||||
-webkit-transition: opacity 0.2s linear;
|
||||
transition: opacity 0.2s linear;
|
||||
}
|
||||
|
||||
} */
|
||||
/* Modal */
|
||||
#modal__bg {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(0, 7, 30, 0.8);
|
||||
z-index: 155;
|
||||
opacity: 0;
|
||||
}
|
||||
.modal {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 255;
|
||||
padding: 42px;
|
||||
background: #fff;
|
||||
border-radius: 32px;
|
||||
opacity: 0;
|
||||
}
|
||||
.modal.opened,
|
||||
#modal__bg.opened {
|
||||
display: flex;
|
||||
opacity: 1;
|
||||
}
|
||||
.modal__close {
|
||||
position: absolute;
|
||||
top: -32px;
|
||||
right: -32px;
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
background: url('../img/i-close.svg') center no-repeat;
|
||||
background-size: 20px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: opacity 0.15s ease-in-out;
|
||||
}
|
||||
.modal__close:hover {
|
||||
opacity: 0.5;
|
||||
}
|
||||
.modal__content {
|
||||
position: relative;
|
||||
font-size: 16px;
|
||||
line-height: 145%;
|
||||
}
|
||||
.modal__content p {
|
||||
}
|
||||
.modal__content span {
|
||||
display: inline-flex;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.modal__title {
|
||||
max-width: 420px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
.modal__title p {
|
||||
font-family: 'DIN Pro', sans-serif;
|
||||
font-size: 23px;
|
||||
font-weight: 500;
|
||||
line-height: 130%;
|
||||
text-align: center;
|
||||
letter-spacing: -0.04em;
|
||||
text-transform: uppercase;
|
||||
background: linear-gradient(
|
||||
142deg,
|
||||
rgba(255, 255, 255, 0) 0%,
|
||||
rgba(255, 255, 255, 0.22) 42%,
|
||||
rgba(255, 255, 255, 0) 100%
|
||||
),
|
||||
var(--clr-general);
|
||||
background-clip: text;
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
.modal__title p b,
|
||||
.modal__title p strong {
|
||||
font-weight: 600;
|
||||
}
|
||||
.modal__form {
|
||||
}
|
||||
.modal__form form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
width: 100%;
|
||||
}
|
||||
.modal__form form input {
|
||||
width: 100%;
|
||||
height: 72px;
|
||||
border: none;
|
||||
outline: none;
|
||||
border-radius: 20px;
|
||||
padding: 12px 32px;
|
||||
background: linear-gradient(
|
||||
142deg,
|
||||
rgba(255, 255, 255, 0) 0%,
|
||||
rgba(255, 255, 255, 0.2) 41.5%,
|
||||
rgba(255, 255, 255, 0) 100%
|
||||
),
|
||||
#f2f2f2;
|
||||
font-family: 'Onest', sans-serif;
|
||||
font-weight: 500;
|
||||
font-size: 16px;
|
||||
color: var(--clr-general);
|
||||
transition: color 0.25s ease-in-out;
|
||||
}
|
||||
.modal__form form input::placeholder {
|
||||
color: rgba(28, 27, 27, 0.5);
|
||||
transition: color 0.15s ease-in-out;
|
||||
}
|
||||
.modal__form form input:hover::placeholder {
|
||||
color: rgba(28, 27, 27, 0.8);
|
||||
}
|
||||
|
||||
/* Form */
|
||||
form.sending {
|
||||
position: relative;
|
||||
}
|
||||
form.sending::before,
|
||||
form.sending::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
}
|
||||
form.sending::after {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgb(245 245 245 / 60%);
|
||||
z-index: 10;
|
||||
}
|
||||
section.modal form.sending::after {
|
||||
background: rgb(255 255 255 / 60%);
|
||||
}
|
||||
form::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 128px;
|
||||
height: 128px;
|
||||
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><rect fill="%23FFCC00" stroke="%23FFCC00" stroke-width="15" width="30" height="30" x="25" y="50"><animate attributeName="y" calcMode="spline" dur="2" values="50;120;50;" keySplines=".5 0 .5 1;.5 0 .5 1" repeatCount="indefinite" begin="-.4"></animate></rect><rect fill="%23FFCC00" stroke="%23FFCC00" stroke-width="15" width="30" height="30" x="85" y="50"><animate attributeName="y" calcMode="spline" dur="2" values="50;120;50;" keySplines=".5 0 .5 1;.5 0 .5 1" repeatCount="indefinite" begin="-.2"></animate></rect><rect fill="%23FFCC00" stroke="%23FFCC00" stroke-width="15" width="30" height="30" x="145" y="50"><animate attributeName="y" calcMode="spline" dur="2" values="50;120;50;" keySplines=".5 0 .5 1;.5 0 .5 1" repeatCount="indefinite" begin="0"></animate></rect></svg>');
|
||||
background-size: contain;
|
||||
transform: translate(-50%, -50%);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
form.sending::before {
|
||||
opacity: 1;
|
||||
z-index: 15;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,185 @@
|
||||
/* Стили для мобильных устройств */
|
||||
@media only screen and (max-width: 576px) {
|
||||
|
||||
|
||||
}
|
||||
@media screen and (max-width: 576px) {
|
||||
.hero__price {
|
||||
margin-top: 24px;
|
||||
}
|
||||
.hero__content::after {
|
||||
right: -320px;
|
||||
top: 290px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 540px) {
|
||||
.header__container {
|
||||
align-items: flex-start;
|
||||
gap: 24px;
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
.header__container::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 24px;
|
||||
width: calc(100% - 48px);
|
||||
height: 1px;
|
||||
background: #e7e7e7;
|
||||
}
|
||||
.header__logo {
|
||||
max-width: 240px;
|
||||
}
|
||||
.header__logo p {
|
||||
font-size: 12px;
|
||||
}
|
||||
.header__contacts {
|
||||
flex-wrap: wrap;
|
||||
width: 100%;
|
||||
justify-content: flex-end;
|
||||
row-gap: 24px;
|
||||
}
|
||||
.header__contacts button.btn {
|
||||
}
|
||||
.header__tel {
|
||||
font-size: 20px;
|
||||
margin: 0;
|
||||
}
|
||||
.hero {
|
||||
padding-top: 170px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 470px) {
|
||||
h1 {
|
||||
font-size: 39px;
|
||||
text-align: left;
|
||||
}
|
||||
.hero__leftside {
|
||||
align-items: flex-start;
|
||||
}
|
||||
.hero__price {
|
||||
margin-top: 12px;
|
||||
}
|
||||
.hero__price-header p {
|
||||
max-width: 160px;
|
||||
}
|
||||
.hero__content {
|
||||
gap: 34px;
|
||||
}
|
||||
.hero__content::after {
|
||||
opacity: 1;
|
||||
right: -290px;
|
||||
width: 520px;
|
||||
height: 320px;
|
||||
background-size: contain;
|
||||
top: 280px;
|
||||
}
|
||||
.hero__form-gift {
|
||||
overflow: hidden;
|
||||
}
|
||||
.hero__form-gift::after {
|
||||
right: -10%;
|
||||
opacity: 0.6;
|
||||
}
|
||||
.hero__advantages {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 6px;
|
||||
}
|
||||
.hero__price {
|
||||
border-radius: 12px;
|
||||
padding: 10px;
|
||||
padding-bottom: 14px;
|
||||
}
|
||||
.hero__price-header {
|
||||
gap: 10px;
|
||||
padding: 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.hero__price-header p {
|
||||
font-size: 14px;
|
||||
}
|
||||
.hero__price-header span {
|
||||
padding: 8px 12px;
|
||||
border-radius: 10px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.hero__price-stock p {
|
||||
font-size: 20px;
|
||||
}
|
||||
.hero__price-stock span {
|
||||
font-size: 15px;
|
||||
}
|
||||
.hero__price-unit {
|
||||
border-radius: 8px;
|
||||
padding: 6px 12px;
|
||||
}
|
||||
.hero__price-unit p {
|
||||
font-size: 13px;
|
||||
}
|
||||
.hero__price-header span::before {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
.hero__price-content {
|
||||
gap: 10px;
|
||||
}
|
||||
.header__logo {
|
||||
/* flex-direction: column;
|
||||
align-items: flex-start; */
|
||||
}
|
||||
.header__logo p {
|
||||
/* max-width: 100%; */
|
||||
}
|
||||
.header__container {
|
||||
align-items: center;
|
||||
}
|
||||
.header__tel {
|
||||
font-size: 18px;
|
||||
}
|
||||
.hero__form {
|
||||
gap: 20px;
|
||||
padding: 20px 14px;
|
||||
border-radius: 16px;
|
||||
}
|
||||
.hero__form-title p {
|
||||
font-size: 15px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 390px) {
|
||||
h1 {
|
||||
font-size: 36px;
|
||||
}
|
||||
.header__logo img {
|
||||
width: 46px;
|
||||
}
|
||||
.header__logo p {
|
||||
font-size: 11px;
|
||||
}
|
||||
.header__tel {
|
||||
font-size: 17px;
|
||||
}
|
||||
.hero__form-action select,
|
||||
.hero__form-action input {
|
||||
height: 60px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 375px) {
|
||||
*[class*='__container'] {
|
||||
padding-left: 12px;
|
||||
padding-right: 12px;
|
||||
}
|
||||
.header__container {
|
||||
gap: 0;
|
||||
}
|
||||
h1 {
|
||||
font-size: 34px;
|
||||
}
|
||||
.hero__desc::before {
|
||||
display: none;
|
||||
}
|
||||
.header__logo img {
|
||||
width: 44px;
|
||||
}
|
||||
.header__logo p {
|
||||
font-size: 10px;
|
||||
}
|
||||
.header__tel {
|
||||
font-size: 16.5px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,249 @@
|
||||
/* Стили для планшетов */
|
||||
@media only screen and (max-width: 992px) {
|
||||
|
||||
|
||||
}
|
||||
*[class*='__container'] {
|
||||
padding: 0 42px;
|
||||
}
|
||||
h1 {
|
||||
font-size: 52px;
|
||||
}
|
||||
.hero__content {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.hero__leftside {
|
||||
max-width: 100%;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
}
|
||||
.hero__content::after {
|
||||
opacity: 0.1;
|
||||
right: -140px;
|
||||
}
|
||||
.footer__tel {
|
||||
font-size: 17px;
|
||||
}
|
||||
.header__contacts {
|
||||
gap: 10px;
|
||||
}
|
||||
.header__tel {
|
||||
order: 3;
|
||||
margin-left: 14px;
|
||||
}
|
||||
.header__contacts button.btn p {
|
||||
display: none;
|
||||
}
|
||||
.header__contacts button.btn {
|
||||
width: 47px;
|
||||
height: 47px;
|
||||
border-radius: 9px;
|
||||
position: relative;
|
||||
padding: 0;
|
||||
}
|
||||
.header__contacts button.btn::before {
|
||||
content: '';
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
background: url('../img/i-tel.svg') center no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
.hero__advantages {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
.hero__advantages-item {
|
||||
flex-direction: row;
|
||||
}
|
||||
.hero__advantages-item p {
|
||||
text-align: left;
|
||||
}
|
||||
.hero__advantages-item p br {
|
||||
content: '';
|
||||
padding: 0;
|
||||
}
|
||||
.footer__logo {
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
}
|
||||
.footer__tel {
|
||||
font-size: 19px;
|
||||
}
|
||||
.footer__contacts {
|
||||
gap: 24px;
|
||||
}
|
||||
.footer__top,
|
||||
.footer__bottom {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 32px;
|
||||
}
|
||||
.footer__bottom {
|
||||
gap: 12px;
|
||||
}
|
||||
.footer__bottom p {
|
||||
padding-bottom: 32px;
|
||||
}
|
||||
@media screen and (max-width: 740px) {
|
||||
.header__logo {
|
||||
max-width: 200px;
|
||||
gap: 12px;
|
||||
}
|
||||
.header__logo img {
|
||||
width: 64px;
|
||||
height: auto;
|
||||
}
|
||||
.header__logo p {
|
||||
font-size: 11px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 670px) {
|
||||
.header__socials-link,
|
||||
.footer__socials-link,
|
||||
.header__contacts button.btn {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.header__socials-link img,
|
||||
.footer__socials-link img {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
.header__contacts button.btn::before {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
.header__tel,
|
||||
.footer__tel {
|
||||
font-size: 18px;
|
||||
}
|
||||
h1 {
|
||||
font-size: 49px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 620px) {
|
||||
*[class*='__container'] {
|
||||
padding: 0 24px;
|
||||
}
|
||||
.header__logo {
|
||||
max-width: 140px;
|
||||
gap: 14px;
|
||||
}
|
||||
.header__logo img {
|
||||
width: 56px;
|
||||
}
|
||||
.hero__advantages {
|
||||
gap: 16px;
|
||||
}
|
||||
.hero__advantages-item {
|
||||
gap: 14px;
|
||||
padding: 16px 14px;
|
||||
border-radius: 16px;
|
||||
}
|
||||
.hero__advantages-icon {
|
||||
min-width: 46px;
|
||||
width: 46px;
|
||||
height: 46px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.hero__advantages-icon img {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
}
|
||||
.hero__advantages-item p {
|
||||
font-size: 14px;
|
||||
}
|
||||
h1 {
|
||||
font-size: 42px;
|
||||
}
|
||||
.header__socials-link,
|
||||
.footer__socials-link,
|
||||
.header__contacts button.btn {
|
||||
width: 37px;
|
||||
height: 37px;
|
||||
}
|
||||
.header__socials-link img,
|
||||
.footer__socials-link img {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
.header__contacts button.btn::before {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
.hero {
|
||||
padding-top: 140px;
|
||||
padding-bottom: 64px;
|
||||
}
|
||||
.hero__leftside {
|
||||
gap: 24px;
|
||||
}
|
||||
.hero__desc::before {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
.hero__desc {
|
||||
padding: 10px 20px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
.hero__desc p {
|
||||
font-size: 16px;
|
||||
}
|
||||
.hero__price {
|
||||
gap: 12px;
|
||||
margin-right: auto;
|
||||
}
|
||||
.hero__price-header,
|
||||
.hero__price-content {
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
}
|
||||
.hero__price-stock {
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
}
|
||||
.hero__price-header span {
|
||||
padding: 12px 16px;
|
||||
border-radius: 12px;
|
||||
font-size: 16px;
|
||||
}
|
||||
.hero__price-header span::before {
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
}
|
||||
.hero__price-header p {
|
||||
font-size: 16px;
|
||||
}
|
||||
.hero__price-stock span {
|
||||
font-size: 18px;
|
||||
}
|
||||
.hero__price-stock p {
|
||||
font-size: 24px;
|
||||
}
|
||||
.hero__price-unit {
|
||||
}
|
||||
.hero__price-unit p {
|
||||
font-size: 16px;
|
||||
}
|
||||
.hero__content::after {
|
||||
opacity: 1;
|
||||
right: -290px;
|
||||
width: 620px;
|
||||
height: 420px;
|
||||
background-size: contain;
|
||||
top: 230px;
|
||||
}
|
||||
.hero__form-title p {
|
||||
font-size: 16px;
|
||||
max-width: 390px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.hero__form-action select,
|
||||
.hero__form-action input,
|
||||
.btn-big {
|
||||
font-size: 15px;
|
||||
}
|
||||
.hero__form-gift p,
|
||||
.hero__form-gift ul li {
|
||||
font-size: 14px;
|
||||
}
|
||||
.hero__advantages {
|
||||
margin-top: 64px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
/* Стили для ультрашироких экранов */
|
||||
@media only screen and (min-width: 1400px) {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user