diff --git a/assets/css/gp-style-core.css b/assets/css/gp-style-core.css index d7c2d17..c1e464f 100644 --- a/assets/css/gp-style-core.css +++ b/assets/css/gp-style-core.css @@ -1,5 +1,5 @@ @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'); @@ -21,6 +21,22 @@ font-weight: 900; font-style: normal; font-display: swap; +} */ + +@font-face { + font-family: 'Furore'; + src: url('../fonts/Furore.otf'); +} + +:root { + --font-family: "Onest", sans-serif; + --second-family: "Furore", sans-serif; + --clr-general: #00071e; + --pink: #ff547f; + --white: #fff; + --blue-gradient: linear-gradient(174deg, #79c4f3 0%, #49aae8 100%); + --pink-gradient: linear-gradient(174deg, #f485a1 0%, #ff547f 100%); + /* var(--pink-gradien) */ } html, diff --git a/assets/css/gp-style-desktop.css b/assets/css/gp-style-desktop.css index 60ed635..0b08a75 100644 --- a/assets/css/gp-style-desktop.css +++ b/assets/css/gp-style-desktop.css @@ -1,7 +1,3 @@ -:root { - --clr-general: #00071e; -} - * { box-sizing: border-box; } @@ -43,49 +39,21 @@ body { gap: 42px; } -/* Title */ -h1 { - font-family: 'DIN Pro', sans-serif; - font-weight: 500; - font-size: 66px; - line-height: 110%; - 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; + box-shadow: 0 8px 16px 0 #f485a1; + background: var(--pink-gradient); border: none; outline: none; font-weight: 600; font-size: 15px; line-height: 140%; - color: var(--clr-general); + color: var(--white); cursor: pointer; transition: all 0.15s ease-in-out; } @@ -115,18 +83,30 @@ h1 strong { top: 24px; z-index: 2; } -.header__logo { - max-width: 280px; + +.logo{ + width: 100%; +} +.logo--without-icon{ + width: 14vh; + height: auto; +} + +.header__logo img { + max-width: 20vh;; } + .header__logo p { font-weight: 400; font-size: 14px; line-height: 130%; opacity: 0.8; + min-width: 100px; } .header__contacts { } -.header__socials { +.header__socials, .footer__socials { + display: none; } .header__socials-link { display: flex; @@ -161,7 +141,7 @@ h1 strong { position: relative; z-index: 1; } -.hero::after { +/* .hero::after { content: ''; width: 100%; height: 100%; @@ -183,7 +163,7 @@ h1 strong { left: 0; z-index: 1; animation: herobefore 6s ease-in-out infinite; -} +} */ @keyframes herobefore { 0%, 100% { @@ -194,39 +174,103 @@ h1 strong { transform: translateY(20px) translateX(-2px); } } -.hero__img { -} + .hero__content { - display: flex; - align-items: flex-start; - gap: 64px; - justify-content: space-between; + display: grid; + grid-template-areas: + "a a a b" + "c c c c"; + gap: 4%; position: relative; z-index: 1; } -.hero__content::after { + +.hero__leftside { + grid-area: a; +} + +.hero__rightside { + grid-area: b; +} + +.hero__advantages{ + grid-area: c; +} + +.hero::after { content: ''; position: absolute; - top: -60px; - right: -595px; - width: 1230px; - height: 830px; + bottom: 0; + right: 0; + width: 58vw; + height: 100vh; pointer-events: none; z-index: -1; - background: url('../img/hero-img-full.webp') center no-repeat; + /* background: url('../img/hero-img-full.webp') center no-repeat; */ + background: url('../img/hero-img.png') center no-repeat; background-size: cover; } .hero__leftside { display: flex; flex-direction: column; align-items: flex-start; - gap: 42px; - max-width: 590px; + gap: 2vh; + max-width: 50vw; } + +/* Start - Title */ .hero__title { + 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; } + .hero__title h1 { + font-family: var(--second-family); + text-transform: uppercase; + font-weight: 900; + font-size: 75px; + line-height: 140%; + letter-spacing: 0.02em; +} + +.hero__title p { + line-height: 130%; + font-family: var(--font-family); + font-size: 40px; + line-height: 172%; + text-align: left; + margin: 0; +} + + +.hero__title p>span { + display: inline-flex; + align-items: center; + justify-content: center; + padding: 0px 16px; + letter-spacing: -0.02em; + border-radius: 14px; + background: var(--blue-gradient); + font-weight: 700; + font-size: 46px; + line-height: 135%; + position: relative; + background-clip: initial; + -webkit-background-clip: initial; + -webkit-text-fill-color: initial; + margin-top: 6px; + color: #fff; + text-transform: initial; } + +/* End - Title */ + .hero__desc { display: inline-flex; align-items: center; @@ -271,30 +315,27 @@ h1 strong { gap: 24px; width: 100%; margin-bottom: 4px; + 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); + border-radius: 14px; } -.hero__price-header span { +.hero__price-header p { display: flex; align-items: center; justify-content: center; gap: 12px; - border-radius: 14px; padding: 14px; font-weight: 600; font-size: 18px; line-height: 140%; color: #fff; width: 100%; - border-right: 3px solid #54596c; - border-left: 3px solid #54596c; - 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); + } -.hero__price-header span::before { +.hero__price-header p::before { content: ''; width: 22px; height: 22px; @@ -308,7 +349,7 @@ h1 strong { } .hero__price-header p b { font-weight: 600; - color: #ffcc02; + color: var(--pink); } .hero__price-content { display: flex; @@ -354,12 +395,14 @@ h1 strong { line-height: 140%; } .hero__rightside { + width: 24vw; } .hero__form { display: flex; flex-direction: column; gap: 24px; - max-width: 490px; + width: 50vh; + width: 100%; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 26px; padding: 12px; @@ -532,7 +575,7 @@ h1 strong { rgba(255, 255, 255, 0.1) 47.6%, rgba(255, 255, 255, 0) 100% ), - var(--clr-general); + var(--blue-gradient); } /* Footer */ @@ -558,11 +601,11 @@ h1 strong { align-items: center; grid-template-columns: repeat(3, 1fr); } -.footer__logo { -} + .footer__logo p { + text-align: left; font-weight: 500; - font-size: 13px; + font-size: 14px; line-height: 140%; max-width: 210px; } @@ -575,7 +618,7 @@ h1 strong { display: flex; align-items: center; justify-content: flex-end; - gap: 46px; + /* gap: 46px; */ } .footer__tel { font-weight: 700; diff --git a/assets/css/gp-style-mobile.css b/assets/css/gp-style-mobile.css index 3a9d608..33bdac7 100644 --- a/assets/css/gp-style-mobile.css +++ b/assets/css/gp-style-mobile.css @@ -1,33 +1,93 @@ +/* GP | Start - Стили для мобильных устройств */ @media screen and (max-width: 576px) { + /* Start - Header */ + .header__logo p { + font-size: 14px; + } + + /* Start - Hero block */ + .hero::after{ + width: 90vw; + height: 100vh; + } + + .hero__content { + display: grid; + grid-template-areas: + "a" + "c" + "b"; + } + .hero__content::after { + right: -320px; + top: 290px; + } + + + + + .hero__leftside { + gap: 18px; + } + .hero__rightside { width: 100%; } + + + .hero__advantages { + margin-top: 0; + } + .hero__price { margin-top: 24px; } - .hero__content::after { - right: -320px; - top: 290px; + + .hero__title h1 { + font-size: 3em; + text-align: center; + } + + .hero__title p { + font-size: 2em; + line-height: 160%; + text-align: center; + } + + .hero__title p>span { + font-size: 1em; } + + + .hero__desc { gap: 6px; } + .hero__desc p { font-size: 13px; padding: 8px 12px; border-radius: 10px; } + .hero__desc img { width: 24px; height: 24px; } - .hero__leftside { - gap: 18px; - } - .hero__advantages { - margin-top: 42px; + + + + + /* Start - Footer */ + .footer__logo{ + flex-direction: row; } + /* End - Footer */ } + +/* GP | End - Стили для мобильных устройств*/ + +/* от верстальщика перенести вверх потом */ @media screen and (max-width: 540px) { .header__container { align-items: flex-start; @@ -44,15 +104,7 @@ height: 1px; background: #e7e7e7; } - .header__logo { - max-width: 240px; - } - .header__logo img { - width: 50px; - } - .header__logo p { - font-size: 9px; - } + .header__socials { gap: 6px; } @@ -77,8 +129,12 @@ font-size: 39px; text-align: left; } - .hero__leftside { - align-items: flex-start; + h1 span { + font-size: 32px; + padding-left: 12px; + padding-right: 12px; + border-radius: 10px; + margin-top: 6px; } .hero__price { margin-top: 12px; @@ -173,6 +229,9 @@ h1 { font-size: 36px; } + h1 span { + font-size: 29px; + } .header__logo img { width: 42px; } @@ -237,4 +296,4 @@ width: 20px; height: 20px; } -} +} \ No newline at end of file diff --git a/assets/css/gp-style-tablet.css b/assets/css/gp-style-tablet.css index c998802..53bfc0d 100644 --- a/assets/css/gp-style-tablet.css +++ b/assets/css/gp-style-tablet.css @@ -4,6 +4,11 @@ h1 { font-size: 52px; } +h1 span { + font-size: 42px; + margin-top: 0; + top: -2px; +} .hero__content { flex-direction: column; align-items: center; @@ -88,11 +93,11 @@ h1 { } @media screen and (max-width: 740px) { .header__logo { - max-width: 200px; + /* max-width: 200px; */ gap: 12px; } .header__logo img { - width: 64px; + /* width: 64px; */ height: auto; } .header__logo p { @@ -122,17 +127,21 @@ h1 { h1 { font-size: 49px; } + h1 span { + font-size: 39px; + top: 0; + } } @media screen and (max-width: 620px) { *[class*='__container'] { padding: 0 24px; } .header__logo { - max-width: 140px; + /* max-width: 140px; */ gap: 14px; } .header__logo img { - width: 56px; + /* width: 56px; */ } .hero__advantages { gap: 16px; @@ -158,6 +167,9 @@ h1 { h1 { font-size: 42px; } + h1 span { + font-size: 32px; + } .header__socials-link, .footer__socials-link, .header__contacts .header__tel { diff --git a/assets/fonts/Furore.otf b/assets/fonts/Furore.otf new file mode 100644 index 0000000..712b01e Binary files /dev/null and b/assets/fonts/Furore.otf differ diff --git a/assets/img/Logo--footer.png b/assets/img/Logo--footer.png new file mode 100644 index 0000000..d6642be Binary files /dev/null and b/assets/img/Logo--footer.png differ diff --git a/assets/img/Logo--header.png b/assets/img/Logo--header.png new file mode 100644 index 0000000..440be54 Binary files /dev/null and b/assets/img/Logo--header.png differ diff --git a/assets/img/hero-img-full.webp b/assets/img/hero-img-full.webp deleted file mode 100644 index 924a93c..0000000 Binary files a/assets/img/hero-img-full.webp and /dev/null differ diff --git a/assets/img/hero-img.png b/assets/img/hero-img.png new file mode 100644 index 0000000..59c261d Binary files /dev/null and b/assets/img/hero-img.png differ diff --git a/assets/img/i-percent.svg b/assets/img/i-percent.svg index 35002fb..6e2dfd6 100644 --- a/assets/img/i-percent.svg +++ b/assets/img/i-percent.svg @@ -1,11 +1,11 @@ diff --git a/assets/img/optimization 1.svg b/assets/img/optimization 1.svg new file mode 100644 index 0000000..98874d2 --- /dev/null +++ b/assets/img/optimization 1.svg @@ -0,0 +1,4 @@ + diff --git a/assets/img/time.svg b/assets/img/time.svg new file mode 100644 index 0000000..20e9731 --- /dev/null +++ b/assets/img/time.svg @@ -0,0 +1,5 @@ + diff --git a/index.html b/index.html index 86c79dd..9426714 100644 --- a/index.html +++ b/index.html @@ -15,6 +15,29 @@ + + + + + +
@@ -25,20 +48,20 @@Продажа строительных материалов в Томске
+Led экраны
в Москве