Files
de.vidok.com/layout/style-scss/fassaden.scss
2024-11-17 19:39:31 +01:00

460 lines
7.3 KiB
SCSS

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=Lato:wght@300;400;700&display=swap');
@import 'variables';
@import '_mixins';
.box-01 {
margin-bottom: 35px;
.row {
&-first {
margin-bottom: 35px;
.tiles {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
column-gap: 70px;
padding: 24px;
background: #f4f4f4;
.tile {
&-1 {
width: 100%;
max-width: 415px;
p {
text-align: right;
}
}
&-2 {
}
&-3 {
width: 100%;
max-width: 315px;
h3 {
font-weight: 300;
font-size: 24px;
line-height: 1.1;
letter-spacing: 0.05em;
text-transform: uppercase;
margin-bottom: 0;
}
h4 {
font-weight: 700;
font-size: 16px;
line-height: 20px;
letter-spacing: 0.05em;
text-transform: uppercase;
}
p {
text-align: left;
text-transform: uppercase;
}
}
p {
font-weight: 300;
font-size: 16px;
line-height: 26px;
letter-spacing: 0.05em;
margin-bottom: 0;
}
}
@include respond-below(md) {
flex-direction: column-reverse;
row-gap: 30px;
.tile {
text-align: center;
&-1 {
p {
text-align: center;
}
}
&-3 {
p {
text-align: center;
}
}
}
}
}
}
&-second {
position: relative;
justify-content: center;
&::before {
content: '';
position: absolute;
left: 15px;
top: 0;
bottom: 0;
width: 1px;
background: $cBlack;
}
&::after {
content: '';
position: absolute;
right: 15px;
top: 0;
bottom: 0;
width: 1px;
background: $cBlack;
}
.tiles {
display: grid;
grid-template-columns: repeat(2, minmax(300px, 450px));
column-gap: 180px;
justify-content: center;
align-items: center;
@include respond-below(md) {
grid-template-columns: 1fr;
row-gap: 100px;
column-gap: 50px;
}
.tile {
display: flex;
flex-direction: column;
row-gap: 35px;
align-items: center;
&::before {
content: '';
position: absolute;
left: 50%;
top: 0;
bottom: 0;
width: 1px;
background: $cBlack;
transform: translateX(-50%);
@include respond-below(md) {
width: 100%;
top: 50%;
height: 1px;
bottom: auto;
}
}
&-1 {
}
&-2 {
}
.img-preview {
width: 100%;
max-width: 245px;
height: 173px;
}
h3 {
font-weight: 700;
font-size: 24px;
line-height: 30px;
text-align: center;
letter-spacing: 0.05em;
text-transform: uppercase;
margin-bottom: 0;
}
}
}
}
}
}
.box-02 {
padding: 50px 0;
background: #f4f4f4;
.row {
.col-12 {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
column-gap: 35px;
p {
font-weight: 300;
font-size: 16px;
line-height: 26px;
letter-spacing: 0.05em;
margin-bottom: 0;
width: 100%;
max-width: 925px;
}
@include respond-below(md) {
flex-direction: column;
row-gap: 35px;
}
}
}
}
.box-03 {
padding: 60px 0;
background: rgba(255, 255, 255, 0.2);
box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.1);
ul {
width: 100%;
max-width: fit-content;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
margin-left: auto;
margin-right: auto;
column-gap: 120px;
li {
position: relative;
padding: 28px;
font-weight: 400;
font-size: 16px;
line-height: 22px;
letter-spacing: 0.05em;
&:not(:last-child) {
&::before {
content: '';
position: absolute;
right: -60px;
top: 0;
bottom: 0;
width: 1px;
background: $cBlack;
}
}
}
}
@include respond-below(md) {
ul {
flex-direction: column;
row-gap: 30px;
li {
width: 100%;
text-align: center;
&:not(:last-child) {
&::before {
top: auto;
bottom: -15px;
left: 50%;
width: calc(100% - 30px);
height: 1px;
transform: translateX(-50%);
}
}
}
}
}
}
.box-04 {
#scontainer-100 {
position: relative;
&::before {
content: '';
position: absolute;
height: 11px;
width: 100%;
left: 0;
right: 0;
bottom: calc(150px / 2 + 20px);
background: rgba(231, 220, 208, 0.8);
}
&::after {
content: '';
position: absolute;
height: 11px;
width: 100%;
left: 0;
right: 0;
bottom: calc(150px / 2);
background: #d8d8d8;
}
.scontainer-content {
padding-bottom: 150px;
position: relative;
&::before {
content: '';
position: absolute;
height: 11px;
width: 100%;
left: 0;
right: 0;
bottom: calc(150px / 2 - 20px);
background: #6c6d70;
}
}
}
.tiles {
min-height: 760px;
display: grid;
grid-template-columns: 1fr minmax(670px, 1fr);
column-gap: 150px;
align-items: center;
@include respond-below(md) {
grid-template-columns: 1fr;
}
.tile {
&-1 {
position: relative;
height: 100%;
&::before {
content: '';
position: absolute;
top: 0;
bottom: 0;
right: 0;
width: 360px;
background: rgba(244, 244, 244, 0.6);
transform: translateX(100%);
z-index: -1;
}
img {
position: absolute;
right: 0;
top: 0;
}
@include respond-below(md) {
position: absolute;
width: 0;
}
}
&-2 {
ul {
padding: 30px 60px;
li {
&:not(:last-child) {
margin-bottom: 70px;
}
padding-top: 15px;
border-top: 1px solid $cBlack;
font-weight: 300;
font-size: 14px;
line-height: 20px;
letter-spacing: 0.05em;
}
}
}
}
}
}
.box-05 {
margin-bottom: 80px;
table {
width: 100%;
max-width: 1110px;
margin-left: auto;
margin-right: auto;
padding: 20px 0 10px 0;
border: 1px solid $cBlack;
border-collapse: separate;
border-spacing: 20px 0;
thead {
tr {
border-spacing: 5px 1rem;
th {
color: $cTxtWhite;
font-weight: 400;
font-size: 16px;
line-height: 22px;
text-align: center;
letter-spacing: 0.05em;
text-transform: uppercase;
padding: 20px 15px;
&:not(:first-child) {
background-color: $cBlack;
}
}
}
}
tbody {
tr {
position: relative;
&:not(:last-child) {
th,
td {
border-bottom: 1px solid $cBlack;
}
}
th,
td {
font-weight: 400;
font-size: 14px;
line-height: 22px;
letter-spacing: 0.05em;
padding-top: 20px;
padding-bottom: 20px;
}
td {
text-align: center;
}
&:first-child {
th,
td {
padding-top: 40px;
}
}
}
}
}
}
.box-06 {
margin-bottom: 110px;
.scontainer-content {
.row {
&:nth-child(3),
&:nth-child(4),
&:nth-child(5) {
.color-tiles {
.color-tiles-data {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
column-gap: 40px;
row-gap: 17px;
}
}
}
&:nth-child(3) {
.color-tiles {
.color-tiles-data {
row-gap: 20px;
}
}
}
}
}
}