Files
vidok.com/layout/style-scss/promocja-acrylcolor.scss
2024-11-21 14:26:28 +01:00

746 lines
11 KiB
SCSS

@import 'variables';
@import '_mixins';
a {
text-decoration: none;
}
strong {
font-weight: 700;
}
.subpage-content2 {
overflow: hidden;
}
.container {
@include respond-above(lg) {
max-width: 1140px;
}
@include respond-above(xl) {
max-width: 1400px;
}
}
#scontainer-137 {
position: relative;
height: 700px;
img {
max-width: unset !important;
width: 100vw !important;
position: absolute;
height: 700px;
left: 50%;
transform: translateX(-50%);
object-fit: cover;
}
.hero-data {
display: flex;
align-items: flex-end;
height: 700px;
z-index: 1;
.hero-data-wrapper {
position: relative;
width: 100%;
text-align: right;
padding-bottom: 70px;
}
h1 {
color: $cBlack;
font-family: $font1;
font-size: 32px;
font-style: normal;
font-weight: 300;
line-height: 1.3;
letter-spacing: 3.99px;
text-transform: uppercase;
margin-bottom: 60px;
strong {
font-weight: 700;
}
@include respond-below(md) {
font-size: 26px;
}
@include respond-below(sm) {
font-size: 20px;
}
}
h2 {
color: $cBlack;
font-family: $font1;
font-size: 32px;
font-style: normal;
font-weight: 300;
line-height: 1.3;
letter-spacing: 3.99px;
text-transform: uppercase;
margin-bottom: 0;
@include respond-below(md) {
font-size: 26px;
}
@include respond-below(sm) {
font-size: 20px;
}
}
@include respond-below(xs) {
height: 570px;
padding-top: 60px;
}
}
@include respond-below(xs) {
height: 570px;
img {
height: 570px;
}
}
}
.box-1 {
margin-top: 80px;
margin-bottom: 130px;
.scontainer-content {
> .row {
&:nth-child(1) {
h2 {
text-align: center;
}
p {
text-align: center;
max-width: 1300px;
margin-left: auto;
margin-right: auto;
}
}
}
}
h2 {
width: 100%;
color: #000;
font-family: $font1;
font-size: 38px;
font-style: normal;
font-weight: 300;
line-height: 130%;
letter-spacing: 3.99px;
margin-bottom: 48px;
text-transform: uppercase;
@include respond-below(xs) {
font-size: 30px;
letter-spacing: 3.15px;
}
}
p {
color: #000;
font-family: $font1;
font-size: 14px;
font-style: normal;
font-weight: 300;
line-height: 152.682%;
margin-bottom: 48px;
}
.col-left {
h2 {
max-width: 450px;
}
@include respond-above(md) {
padding-bottom: 40px;
padding-top: 40px;
}
@include respond-below(md) {
padding-bottom: 60px;
}
}
.col-right {
position: relative;
text-align: center;
padding-top: 100px;
&::before {
content: '';
position: absolute;
top: 120px;
left: 470px;
width: 8px;
height: 8px;
border-radius: 100%;
background: $cBlack;
}
&::after {
content: '';
position: absolute;
top: 128px;
left: 473px;
width: 76px;
height: 363px;
border-left: 1px solid #494949;
border-bottom: 1px solid #494949;
}
img {
&.img-bg {
position: absolute;
top: 0;
left: 30px;
z-index: -1;
}
}
.img-info {
display: flex;
flex-direction: column;
justify-content: center;
position: absolute;
top: 310px;
right: 45px;
width: 282px;
height: 282px;
background: #feed01;
border-radius: 100%;
padding: 0 60px;
text-align: left;
h4 {
color: #151515;
font-family: $font1;
font-size: 16px;
font-style: normal;
font-weight: 300;
line-height: 130%;
letter-spacing: 1.68px;
text-transform: uppercase;
background: $cWhite;
padding: 5px 10px;
border-radius: 4px;
margin-bottom: 0;
width: fit-content;
z-index: 1;
}
p {
color: $cBlack;
font-family: $font1;
font-size: 16px;
font-style: normal;
font-weight: 300;
line-height: 130%;
letter-spacing: 1.68px;
text-transform: uppercase;
margin-bottom: 0;
width: 100%;
max-width: 170px;
margin-bottom: 20px;
}
}
@include respond-below(xl) {
&::after {
left: 322px;
}
&::before {
left: 318px;
}
}
@include respond-below(lg) {
&::after {
left: 217px;
}
&::before {
left: 214px;
}
}
@include respond-below(sm) {
padding-top: 60px;
&::before {
left: 289px;
top: 79px;
}
&::after {
left: 293px;
top: 88px;
height: 286px;
}
img {
max-width: 350px !important;
}
.img-bg {
max-width: 250px !important;
}
.img-info {
width: 161px;
height: 161px;
padding: 0 35px;
top: 270px;
h4 {
font-size: 10px;
}
p {
font-size: 10px;
margin-bottom: 10px;
}
}
}
@include respond-below(xs) {
text-align: right;
&::before {
top: 70px;
left: 50%;
}
&::after {
top: 78px;
left: calc(50% + 3px);
width: 60px;
height: 187px;
}
img {
padding-right: 70px;
max-width: 320px !important;
}
.img-info {
top: 160px;
}
}
@include respond-below(xxs) {
&::before {
left: 43%;
}
&::after {
left: calc(43% + 3px);
}
}
}
@include respond-below(md) {
margin-bottom: 60px;
}
}
.box-2 {
.col-12 {
display: flex;
flex-direction: row;
column-gap: 60px;
justify-content: center;
@include respond-below(lg) {
flex-direction: column;
align-items: center;
row-gap: 20px;
}
}
h4 {
position: relative;
color: #fff;
text-align: left;
font-family: $font1;
font-size: 18px;
font-style: normal;
font-weight: 300;
line-height: 160%;
letter-spacing: 1.44px;
text-transform: uppercase;
padding: 35px 80px;
width: 100%;
max-width: 640px;
border-radius: 100px;
overflow: hidden;
height: fit-content;
margin: 20px 0;
&::before {
content: '';
position: absolute;
inset: 0;
background-image: url('/upload/filemanager/Pages/Promocja-na-wybrane-powloki/hero-bg.jpg');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
z-index: -1;
filter: brightness(0.3);
}
@include respond-below(xs) {
padding: 30px 20px;
overflow: initial;
border-radius: 0;
&::before {
inset: 0 -15px;
}
}
}
ul {
padding: 0;
margin: 0;
list-style: none;
display: flex;
flex-direction: row;
justify-content: center;
column-gap: 40px;
li {
text-align: center;
img {
margin-bottom: 30px;
@include respond-below(sm) {
max-width: 140px !important;
}
}
p {
color: #151515;
font-family: $font1;
font-size: 18px;
font-style: normal;
font-weight: 300;
line-height: 160%;
letter-spacing: 1.44px;
text-transform: uppercase;
margin-bottom: 0;
}
}
}
@include respond-below(md) {
margin-bottom: 60px;
}
}
.box-3 {
.scontainer-content {
padding-top: 110px;
padding-bottom: 140px;
text-align: center;
h3 {
color: #000;
text-align: center;
font-family: $font1;
font-size: 18px;
font-style: normal;
font-weight: 700;
line-height: 160%;
letter-spacing: 1.44px;
text-transform: uppercase;
align-self: 100%;
max-width: 1030px;
margin: 0 auto 40px;
}
p {
color: #000;
text-align: center;
font-family: $font1;
font-size: 14px;
font-style: normal;
font-weight: 300;
line-height: 152.682%;
margin-bottom: 40px;
}
.btn2 {
font-family: $font1;
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: 130%;
letter-spacing: 1.47px;
text-transform: uppercase;
font-style: italic;
padding: 20px 40px;
}
ul {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 40px;
padding: 0;
margin: 0;
list-style: none;
li {
display: flex;
flex-direction: row;
align-items: center;
gap: 20px;
img {
max-width: 140px;
}
span {
color: #151515;
font-family: $font1;
font-size: 16px;
font-style: normal;
font-weight: 300;
line-height: 160%;
letter-spacing: 1.44px;
text-transform: uppercase;
margin-bottom: 0;
text-align: left;
}
}
}
@include respond-below(md) {
padding: 60px 0;
}
}
@include respond-below(md) {
margin-bottom: 60px;
}
}
.box-4 {
overflow: hidden;
.row-1 {
h2 {
@include respond-above(xl) {
max-width: 397px;
}
}
@include respond-below(md) {
row-gap: 40px;
}
}
h2 {
position: relative;
width: 100%;
color: #000;
font-family: $font1;
font-size: 38px;
font-style: normal;
font-weight: 300;
line-height: 130%;
letter-spacing: 3.99px;
text-transform: uppercase;
margin-bottom: 48px;
padding-top: 48px;
@include respond-below(xs) {
font-size: 30px;
letter-spacing: 3.15px;
}
}
p {
color: #000;
font-family: $font1;
font-size: 14px;
font-style: normal;
font-weight: 300;
line-height: 152.682%;
margin-bottom: 0;
strong {
font-weight: 600;
}
}
.row {
&.row-1 {
.col-left {
img {
padding-right: 50px;
}
}
@include respond-below(md) {
.col-right {
h2 {
padding-top: 0;
}
}
}
}
}
}
.box-5 {
margin-top: 100px;
margin-bottom: 100px;
.scontainer-content {
padding-top: 160px;
border-top: 1px solid $cBlack;
@include respond-below(md) {
padding-top: 70px;
}
}
p {
color: #151515;
text-align: center;
font-family: $font1;
font-size: 18px;
font-style: normal;
font-weight: 700;
line-height: 160%;
letter-spacing: 1.44px;
text-transform: uppercase;
width: 100%;
max-width: 1166px;
margin: 0 auto 100px;
@include respond-below(md) {
margin: 0 auto 60px;
}
}
ul {
padding: 0 0 0 16px;
margin: 0;
display: flex;
flex-direction: row;
justify-content: space-between;
li {
position: relative;
color: #151515;
font-family: $font1;
font-size: 18px;
font-style: normal;
font-weight: 300;
line-height: 160%;
letter-spacing: 1.44px;
text-transform: uppercase;
&:nth-child(2n) {
list-style: none;
&::before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 50%;
width: 1px;
background-color: $cBlack;
transform: translateX(-50%);
}
@include respond-below(md) {
&::before {
content: '';
position: absolute;
top: 50%;
bottom: auto;
left: 50%;
width: 31px;
height: 1px;
background-color: $cBlack;
transform: translate(-50%, -50%);
}
}
}
}
@include respond-below(md) {
flex-direction: column;
align-items: center;
row-gap: 25px;
}
}
@include respond-below(md) {
margin-top: 60px;
margin-bottom: 60px;
}
}
.box-6 {
background: $cBlack;
.row {
align-items: center;
}
.col-md-7 {
padding-top: 20px;
padding-bottom: 20px;
}
h2 {
position: relative;
width: 100%;
color: $cWhite;
font-family: $font1;
font-size: 38px;
font-style: normal;
font-weight: 300;
line-height: 130%;
letter-spacing: 3.99px;
text-transform: uppercase;
margin-bottom: 80px;
max-width: 500px;
@include respond-below(md) {
font-size: 28px;
letter-spacing: 3.15px;
margin-bottom: 40px;
}
}
p {
color: #000;
font-family: $font1;
color: $cWhite;
font-size: 24px;
font-style: normal;
font-weight: 300;
line-height: 152.682%;
margin-bottom: 30px;
letter-spacing: 2px;
max-width: 500px;
strong {
font-weight: 600;
}
@include respond-below(md) {
font-size: 20px;
}
}
}