- Добавлены страницы "Услуги", "Доставка", "Гарантия", "Контакты" с view и URL - Вынесены hero, advantages, и о нас в отдельные фрагменты - Обновлены header и footer для активных ссылок и адаптивности - Добавлен normalize.css для унификации стилей
616 lines
9.9 KiB
CSS
616 lines
9.9 KiB
CSS
/* HERO */
|
|
|
|
.hero {
|
|
margin-top: 50px;
|
|
background-image: url(../img/hero.png);
|
|
background-repeat: no-repeat;
|
|
background-position: calc(50% - 350px) center;
|
|
|
|
height: 500px;
|
|
}
|
|
|
|
.hero-content {
|
|
width: 580px;
|
|
height: 400px;
|
|
margin-top: 80px;
|
|
}
|
|
|
|
.hero-title {
|
|
font-family: "Inter", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
font-size: 50px;
|
|
line-height: 60px;
|
|
letter-spacing: 0.05em;
|
|
text-align: left;
|
|
|
|
color: #36213e;
|
|
}
|
|
|
|
.hero-subtitle-container {
|
|
margin-top: 25px;
|
|
display: flex;
|
|
align-content: center;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.hero-subtitle {
|
|
font-family: "Inter", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
font-size: 17px;
|
|
line-height: 20px;
|
|
text-align: left;
|
|
|
|
color: #36213e;
|
|
}
|
|
|
|
.hero-checkmark {
|
|
margin-top: auto;
|
|
margin-bottom: auto;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.hero-button-container {
|
|
margin-top: 30px;
|
|
margin-left: 45px;
|
|
}
|
|
|
|
.hero-button {
|
|
display: inline-block;
|
|
background: #63768d;
|
|
font-family: "Inter", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
font-size: 28px;
|
|
line-height: 34px;
|
|
text-align: left;
|
|
color: #ffffff;
|
|
padding: 20px 50px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* -- ADVANTAGES -- */
|
|
.advantages {
|
|
margin-top: 100px;
|
|
}
|
|
|
|
.advantages-list {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.advantages-title {
|
|
width: 300px;
|
|
font-family: "Inter", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 44px;
|
|
line-height: 1.4;
|
|
text-align: left;
|
|
|
|
color: #36213e;
|
|
}
|
|
|
|
.advantages-item {
|
|
width: 250px;
|
|
height: 150px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.advantages-item-number {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 100%;
|
|
background: #63768d;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
/* Number in circle */
|
|
color: white;
|
|
font-family: "Inter", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 30px;
|
|
line-height: 36px;
|
|
text-align: left;
|
|
}
|
|
|
|
.advantages-item-title {
|
|
font-family: "Inter", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 18px;
|
|
line-height: 22px;
|
|
text-align: left;
|
|
|
|
color: #36213e;
|
|
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.advantages-item-subtitle {
|
|
margin-top: 7px;
|
|
font-family: "Inter", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 14px;
|
|
line-height: 1.2;
|
|
text-align: left;
|
|
|
|
color: #36213e;
|
|
}
|
|
|
|
.advantages-cards {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 120px;
|
|
}
|
|
|
|
.advantages-card {
|
|
width: 560px;
|
|
height: 300px;
|
|
background: #63768d;
|
|
}
|
|
|
|
.advantages-card-content {
|
|
margin: 40px 25px;
|
|
}
|
|
|
|
.advantages-card-left {
|
|
background-image: url(../img/sanitary-equipment-promo.jpg);
|
|
background-repeat: no-repeat;
|
|
background-size: 101%;
|
|
background-position-x: 2384%;
|
|
background-position-y: -2%;
|
|
}
|
|
|
|
.advantages-card-right {
|
|
background-image: url(../img/decor-promo.jpg);
|
|
background-repeat: no-repeat;
|
|
background-size: 66%;
|
|
background-position-x: 126%;
|
|
background-position-y: 17%;
|
|
}
|
|
|
|
.advantages-card-splash {
|
|
font-family: "Inter", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
font-size: 18px;
|
|
line-height: 22px;
|
|
|
|
color: #b8f3ff;
|
|
}
|
|
|
|
.advantages-card-title {
|
|
margin-top: 20px;
|
|
width: 291px;
|
|
height: 84px;
|
|
|
|
font-family: "Inter", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
font-size: 32px;
|
|
line-height: 1.3;
|
|
|
|
color: #b8f3ff;
|
|
}
|
|
|
|
.advantages-card-button {
|
|
display: inline-block;
|
|
margin-top: 50px;
|
|
font-family: "Inter", sans-serif;
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
font-size: 20px;
|
|
line-height: 20px;
|
|
text-align: left;
|
|
text-decoration: underline;
|
|
|
|
color: #b8f3ff;
|
|
}
|
|
|
|
|
|
/* -- ABOUT -- */
|
|
|
|
.about-section {
|
|
margin-top: 100px;
|
|
}
|
|
|
|
.about-title {
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 44px;
|
|
line-height: 53px;
|
|
text-align: left;
|
|
|
|
color: #36213e;
|
|
}
|
|
|
|
.about-left {
|
|
background-image: url(../img/stats-image.jpg);
|
|
height: 320px;
|
|
background-repeat: no-repeat;
|
|
background-position: right;
|
|
background-size: 600px auto;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.about-left-block {
|
|
max-width: 500px;
|
|
}
|
|
|
|
.about-left-subtitle {
|
|
width: 495px;
|
|
font-weight: 400;
|
|
font-size: 18px;
|
|
text-align: left;
|
|
|
|
color: #36213e;
|
|
}
|
|
|
|
.about-left-suggestion {
|
|
margin-top: 10px;
|
|
font-weight: 600;
|
|
font-size: 24px;
|
|
line-height: 29px;
|
|
text-align: left;
|
|
|
|
color: #36213e;
|
|
}
|
|
|
|
.about-left-list {
|
|
max-width: 480px;
|
|
}
|
|
|
|
.about-left-list-item {
|
|
width: 100%;
|
|
margin-top: 20px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.about-left-list-item-number {
|
|
width: 52px;
|
|
height: 52px;
|
|
border-radius: 100%;
|
|
background: #63768d;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
font-weight: 400;
|
|
font-size: 32px;
|
|
line-height: 31px;
|
|
text-align: left;
|
|
|
|
color: #ffffff;
|
|
}
|
|
|
|
.about-left-list-item-content {
|
|
width: 400px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.about-left-list-item-content-title {
|
|
width: 279px;
|
|
|
|
display: block;
|
|
font-weight: 500;
|
|
font-size: 18px;
|
|
text-align: left;
|
|
|
|
color: #36213e;
|
|
}
|
|
|
|
.about-left-list-item-content-desc {
|
|
margin-top: 10px;
|
|
width: 350px;
|
|
font-weight: 400;
|
|
font-size: 14px;
|
|
text-align: left;
|
|
|
|
color: #36213e;
|
|
}
|
|
|
|
.about-right {
|
|
background-image: url(../img/about-image.jpg);
|
|
height: 300px;
|
|
background-repeat: no-repeat;
|
|
background-position: left;
|
|
background-size: 500px auto;
|
|
margin-top: 20px;
|
|
|
|
justify-content: center;
|
|
}
|
|
|
|
.about-right-block {
|
|
max-width: 600px;
|
|
}
|
|
|
|
.about-right-text {
|
|
width: 569px;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
text-align: left;
|
|
|
|
color: #36213e;
|
|
}
|
|
|
|
.about-right-stats {
|
|
margin-top: 40px;
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.about-right-stats-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.about-right-stats-item-num {
|
|
font-weight: 400;
|
|
font-size: 32px;
|
|
|
|
color: #36213e;
|
|
}
|
|
|
|
.about-right-stats-item-label {
|
|
margin-top: 5px;
|
|
font-weight: 400;
|
|
font-size: 14px;
|
|
text-align: left;
|
|
|
|
color: #36213e;
|
|
}
|
|
|
|
|
|
/* -- KITCHEN BANNER -- */
|
|
|
|
.kitchen-banner {
|
|
margin-top: 225px;
|
|
height: 410px;
|
|
background-color: #63768d;
|
|
|
|
display: flex;
|
|
|
|
background-image: url(../img/kitchen-banner.jpg);
|
|
background-repeat: no-repeat;
|
|
background-position: right;
|
|
background-size: auto 110%;
|
|
}
|
|
|
|
.kitchen-content {
|
|
margin: 74px 80px;
|
|
}
|
|
|
|
.kitchen-content p {
|
|
width: 380px;
|
|
font-weight: 400;
|
|
font-size: 20px;
|
|
text-align: left;
|
|
|
|
color: #ffffff;
|
|
}
|
|
|
|
.kitchen-content h2 {
|
|
width: 480px;
|
|
margin-top: 20px;
|
|
font-weight: 400;
|
|
font-size: 48px;
|
|
text-align: left;
|
|
|
|
color: #ffffff;
|
|
}
|
|
|
|
.kitchen-content a {
|
|
display: inline-block;
|
|
margin-top: 45px;
|
|
font-weight: 400;
|
|
font-size: 24px;
|
|
text-align: left;
|
|
|
|
color: #ffffff;
|
|
}
|
|
|
|
|
|
/* POPULAR PRODUCTS */
|
|
.products-section {
|
|
margin-top: 120px;
|
|
}
|
|
|
|
.products-title {
|
|
font-weight: 400;
|
|
font-size: 44px;
|
|
line-height: 53px;
|
|
text-align: left;
|
|
|
|
color: #36213e;
|
|
}
|
|
|
|
.products-grid {
|
|
margin-top: 40px;
|
|
display: grid;
|
|
grid-template-columns: 460px 300px 360px;
|
|
grid-template-rows: repeat(11, 55px);
|
|
gap: 20px;
|
|
}
|
|
|
|
.product {
|
|
padding: 20px;
|
|
background: #d9d9d9;
|
|
}
|
|
|
|
.product-1 {
|
|
grid-column: 1;
|
|
grid-row: 1 / 7;
|
|
}
|
|
|
|
.product-2 {
|
|
grid-column: 2;
|
|
grid-row: 1 / 5;
|
|
}
|
|
|
|
.product-3 {
|
|
grid-column: 3;
|
|
grid-row: 1 / 8;
|
|
}
|
|
|
|
.product-4 {
|
|
grid-column: 1;
|
|
grid-row: 7 / -1;
|
|
}
|
|
|
|
.product-5 {
|
|
grid-column: 2;
|
|
grid-row: 5 / -1;
|
|
}
|
|
|
|
.product-6 {
|
|
grid-column: 3;
|
|
grid-row: 8 / -1;
|
|
}
|
|
|
|
.products-footer {
|
|
display: flex;
|
|
justify-content: end;
|
|
width: 100%;
|
|
}
|
|
|
|
.products-footer a {
|
|
margin-top: 25px;
|
|
padding: 22px 46px;
|
|
display: inline-block;
|
|
background: #63768d;
|
|
|
|
font-weight: 500;
|
|
font-size: 26px;
|
|
text-align: left;
|
|
color: #ffffff;
|
|
}
|
|
|
|
|
|
/* -- FAQ -- */
|
|
|
|
.faq-section {
|
|
margin-top: 120px;
|
|
}
|
|
|
|
.faq-section h2 {
|
|
font-weight: 400;
|
|
font-size: 44px;
|
|
line-height: 53px;
|
|
text-align: left;
|
|
|
|
color: #36213e;
|
|
}
|
|
|
|
.faq-grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.faq-item {
|
|
margin-top: 40px;
|
|
max-width: 530px;
|
|
flex: 1 0 50%;
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
.faq-icon {
|
|
width: 42px;
|
|
height: 42px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 100%;
|
|
background: #63768d;
|
|
|
|
font-weight: 400;
|
|
font-size: 20px;
|
|
line-height: 24px;
|
|
text-align: left;
|
|
|
|
color: #b8f3ff;
|
|
}
|
|
|
|
.faq-body {
|
|
width: 470px;
|
|
margin-top: 10px;
|
|
|
|
& > h4 {
|
|
font-weight: 700;
|
|
font-size: 20px;
|
|
line-height: 24px;
|
|
text-align: left;
|
|
|
|
color: #36213e;
|
|
}
|
|
|
|
& > p {
|
|
margin-top: 16px;
|
|
font-weight: 400;
|
|
font-size: 18px;
|
|
text-align: left;
|
|
|
|
color: #000000;
|
|
}
|
|
}
|
|
|
|
.faq-cta {
|
|
margin-top: 55px;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
|
|
& > a {
|
|
padding: 15px 45px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
font-weight: 400;
|
|
font-size: 26px;
|
|
line-height: 31px;
|
|
text-align: left;
|
|
|
|
color: #ffffff;
|
|
|
|
background: #63768d;
|
|
|
|
& > div {
|
|
width: 42px;
|
|
height: 42px;
|
|
|
|
background: #ffffff;
|
|
|
|
border-radius: 100%;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
font-weight: 500;
|
|
font-size: 20px;
|
|
line-height: 24px;
|
|
text-align: left;
|
|
|
|
margin-right: 5px;
|
|
|
|
color: #63768d;
|
|
}
|
|
}
|
|
} |