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

699 lines
11 KiB
SCSS

@import 'variables';
@import '_mixins';
.subpage-content2 {
overflow: hidden;
}
#scontainer-92 {
position: relative;
padding: 60px 0;
&::before {
content: '';
position: absolute;
inset: 0;
width: 100vw;
margin-left: 50%;
background: #eaeaea;
transform: translateX(-50%);
}
.tiles {
width: 100%;
max-width: 780px;
margin-left: auto;
margin-right: auto;
display: flex;
flex-direction: column;
row-gap: 30px;
.tile {
width: calc(50% + (82px / 2));
&:nth-child(2),
&:nth-child(3) {
.col-12 {
p {
padding-bottom: 10px;
&::before {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 180px;
height: 1px;
background: $cBlack;
}
}
}
}
&:nth-child(3) {
.col-12 {
p {
&::before {
left: auto;
right: 0;
}
}
}
}
&:nth-child(2n) {
margin-left: auto;
.col-12 {
flex-direction: row-reverse;
p {
text-align: left;
}
}
}
.col-12 {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-end;
gap: 10px;
p {
position: relative;
margin-bottom: 0;
font-family: 'URW Form', sans-serif;
font-weight: 400;
font-size: 17px;
line-height: 20px;
letter-spacing: 0.1em;
color: $cBlack;
text-align: right;
}
}
}
}
@include respond-below(sm) {
.tiles {
.tile {
.col-12 {
p {
font-size: 14px;
}
}
&:nth-child(2),
&:nth-child(3) {
.col-12 {
p {
&::before {
width: 120px;
}
}
}
}
}
}
}
}
#scontainer-93 {
padding-top: 100px;
.right-col {
.col-header {
position: relative;
margin-bottom: 160px;
width: 100%;
max-width: 630px;
&::before {
content: '';
position: absolute;
background-image: url('/upload/filemanager/images/produkty/vaccum/box-3-4.png');
background-position: center;
background-size: cover;
background-repeat: no-repeat;
width: 190px;
height: 190px;
top: -35px;
left: 0;
z-index: -1;
}
h2 {
font-family: 'URW Form', sans-serif;
font-weight: 200;
font-size: 30px;
line-height: 36px;
letter-spacing: 0.1em;
text-transform: uppercase;
color: $cBlack;
text-align: right;
strong {
font-weight: 700;
}
}
p {
font-family: 'URW Form', sans-serif;
font-weight: 200;
font-size: 14px;
line-height: 17px;
letter-spacing: 0.1em;
color: $cBlack;
text-align: left;
width: 100%;
max-width: 330px;
margin-left: auto;
}
}
.col-data {
p {
font-family: 'URW Form', sans-serif;
font-weight: 400;
font-size: 15px;
line-height: 23px;
letter-spacing: 0.1em;
color: $cBlack;
strong {
font-size: 25px;
font-weight: 400;
}
}
}
}
@include respond-below(lg) {
.right-col {
.col-header {
&::before {
left: -50px;
}
}
}
}
@include respond-below(md) {
.right-col {
.col-header {
margin-bottom: 80px;
&::before {
top: 0;
width: 100px;
height: 100px;
}
h2 {
font-size: 24px;
}
}
.col-data {
p {
font-size: 13px;
strong {
font-size: 20px;
}
}
}
}
}
@include respond-below(sm) {
padding-top: 50px;
.right-col {
.col-header {
}
}
}
@include respond-below(xs) {
.right-col {
.col-header {
margin-bottom: 40px;
&::before {
display: none;
}
h2 {
font-size: 22px;
}
}
}
}
}
#scontainer-94 {
padding-bottom: 135px;
.left-col {
display: flex;
align-items: flex-end;
&::before {
content: url('/upload/filemanager/images/produkty/vaccum/box-3-3.png');
position: absolute;
z-index: -1;
}
p {
font-family: 'URW Form', sans-serif;
font-weight: 250;
font-size: 20px;
line-height: 1.5;
letter-spacing: 0.1em;
color: $cBlack;
margin-bottom: 0;
height: 235px;
display: flex;
justify-content: center;
flex-direction: column;
padding-left: 40px;
strong {
font-size: 32px;
font-weight: 700;
}
}
}
.right-col {
position: relative;
&::before {
content: '';
position: absolute;
left: 0;
bottom: 0;
height: 277px;
width: 100vw;
background-image: url('/upload/filemanager/images/produkty/vaccum/box-3-1.png');
background-position: left center;
background-repeat: no-repeat;
background-size: contain;
z-index: -1;
}
img {
margin-bottom: -310px;
}
p {
height: 277px;
display: flex;
flex-direction: column;
justify-content: center;
margin-left: auto;
width: fit-content;
margin-right: 20%;
font-family: 'URW Form', sans-serif;
font-size: 40px;
line-height: 48px;
text-align: right;
font-weight: 200;
letter-spacing: 0.07em;
text-transform: uppercase;
color: $cWhite;
margin-bottom: 0;
strong {
font-weight: 700;
}
}
}
@include respond-below(lg) {
.right-col {
p {
margin-right: 0;
}
}
}
@include respond-below(md) {
.right-col {
&::before {
height: 200px;
}
img {
max-width: 180px;
margin-bottom: -240px;
}
p {
height: 200px;
font-size: 28px;
line-height: 32px;
}
}
.left-col {
justify-content: center;
&::before {
content: '';
width: 225px;
height: 225px;
background: #ffe600;
border-radius: 100%;
}
p {
font-size: 16px;
max-width: 200px;
padding-left: 0;
max-width: unset;
strong {
font-size: 20px;
}
}
}
}
@include respond-below(xs) {
.right-col {
p {
font-size: 22px;
}
}
}
}
#scontainer-95 {
margin-bottom: 50px;
.box-header {
padding: 23px 0;
position: relative;
text-align: right;
margin-bottom: 40px;
&::before {
content: '';
position: absolute;
width: 100vw;
top: 0;
right: -16px;
bottom: 0;
background: $cBlack;
z-index: -1;
}
p {
font-family: 'URW Form', sans-serif;
font-weight: 200;
font-size: 15px;
line-height: 20px;
letter-spacing: 0.1em;
color: $cWhite;
margin-bottom: 5px;
}
h3 {
font-family: 'URW Form', sans-serif;
font-weight: 700;
font-size: 30px;
line-height: 1;
letter-spacing: 0.1em;
text-transform: uppercase;
color: $cWhite;
margin-bottom: 0;
}
}
.tiles {
display: grid;
grid-template-columns: repeat(3, 280px);
column-gap: 100px;
margin: 0 auto;
width: fit-content;
.tile {
&:nth-child(1) {
text-align: right;
}
&:nth-child(2) {
text-align: center;
}
&:nth-child(3) {
text-align: left;
}
h2 {
font-family: 'URW Form', sans-serif;
font-weight: 200;
font-size: 25px;
line-height: 1.5;
letter-spacing: 0.1em;
color: $cBlack;
text-transform: uppercase;
}
}
}
@include respond-below(lg) {
.tiles {
gap: 45px;
}
}
@include respond-below(md) {
.tiles {
grid-template-columns: 1fr;
gap: 30px;
.tile {
text-align: start !important;
h2 {
font-size: 22px;
br {
display: none;
}
}
}
}
}
@include respond-below(xs) {
.box-header {
h3 {
font-size: 22px;
}
}
.tiles {
.tile {
h2 {
font-size: 18px;
}
p {
font-size: 13px;
}
}
}
}
}
#scontainer-96 {
padding-bottom: 80px;
.box-header {
padding: 23px 0;
position: relative;
text-align: right;
margin-bottom: 40px;
&::before {
content: '';
position: absolute;
width: 100vw;
top: 0;
left: 0;
bottom: 0;
background-image: url('/upload/filemanager/images/produkty/vaccum/box-4-3.png');
background-repeat: no-repeat;
background-position: center;
background-size: cover;
z-index: -1;
}
p {
font-family: 'URW Form', sans-serif;
font-weight: 200;
font-size: 15px;
line-height: 20px;
letter-spacing: 0.1em;
color: $cWhite;
margin-bottom: 5px;
}
h3 {
font-family: 'URW Form', sans-serif;
font-weight: 700;
font-size: 30px;
line-height: 1;
letter-spacing: 0.1em;
text-transform: uppercase;
color: $cWhite;
margin-bottom: 0;
}
}
.tiles {
display: grid;
grid-template-columns: 2fr 1fr;
column-gap: 50px;
.tile {
&:nth-child(1) {
.subtiles {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 36px;
.subtile {
position: relative;
&:nth-child(1) {
text-align: right;
&::before {
content: '';
position: absolute;
right: calc(-36px / 2);
top: 0;
bottom: 0;
width: 1px;
background: $cBlack;
}
h3 {
margin-left: auto;
}
}
&:nth-child(2) {
text-align: left;
}
h3 {
font-family: 'URW Form', sans-serif;
font-weight: 700;
font-size: 11px;
line-height: 12px;
letter-spacing: 0.1em;
text-transform: uppercase;
color: $cBlack;
width: 100%;
max-width: 125px;
margin-bottom: 20px;
}
img {
margin-bottom: 20px;
}
ul {
list-style: none;
padding-left: 0;
margin-bottom: 0;
li {
font-family: 'URW Form', sans-serif;
font-weight: 200;
font-size: 13px;
line-height: 15px;
letter-spacing: 0.1em;
color: $cBlack;
&:not(:last-child) {
margin-bottom: 15px;
}
}
}
}
}
}
&:nth-child(2) {
width: 100%;
max-width: 300px;
p {
font-family: 'URW Form', sans-serif;
font-weight: 400;
font-size: 14px;
line-height: 23px;
letter-spacing: 0.1em;
color: $cBlack;
margin-bottom: 40px;
}
}
}
}
@include respond-below(md) {
.box-header {
text-align: left;
&::before {
left: -16px;
background-image: none;
background: $cBlack;
}
}
}
@include respond-below(sm) {
.tiles {
grid-template-columns: 1fr;
row-gap: 50px;
.tile {
&:nth-child(2) {
text-align: center;
max-width: unset;
}
}
}
}
@include respond-below(xs) {
.box-header {
h3 {
font-size: 22px;
}
}
.tiles {
.tile {
&:nth-child(2) {
p {
font-size: 13px;
}
}
}
}
}
}
#scontainer-97 {
position: relative;
margin-bottom: 30px;
&::before {
content: '';
position: absolute;
inset: 50% 0 0 0;
height: 65%;
width: 100vw;
margin-left: 50%;
background-image: url('/upload/filemanager/images/produkty/vaccum/box-5-1.jpg');
background-position: center;
background-size: cover;
background-repeat: no-repeat;
transform: translate(-50%, -50%);
}
}
#scontainer-112 {
padding: 60px 0 50px;
text-align: center;
p {
font-family: 'URW Form', sans-serif;
font-weight: 400;
font-size: 14px;
line-height: 23px;
letter-spacing: 0.1em;
color: #000;
margin-bottom: 20px;
}
}