Files
zaufane.pl/layout/style-scss/home-new.scss
Roman Pyrih d047b44da3 Save
2025-06-24 15:06:05 +02:00

615 lines
9.3 KiB
SCSS

@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import '_variables';
@import '_mixins';
body {
background-color: #f9f9f9;
}
.box-title {
color: $cBlackText;
font-size: 30px;
font-family: $font-5;
line-height: 1;
font-weight: 700;
padding-left: 20px;
border-left: 3px solid $cYellow;
@include respond-below(sm) {
font-size: 24px;
}
}
.subpage-content {
padding-bottom: 0;
}
.box-1 {
padding-top: 90px;
padding-bottom: 80px;
overflow: hidden;
h2 {
position: relative;
display: flex;
flex-direction: row;
align-items: center;
gap: 8px;
margin: 100px 0 30px 0;
font-size: 14px;
font-weight: 700;
z-index: 1;
img {
width: 100%;
max-width: 12px;
}
}
h1 {
position: relative;
color: $cBlackText;
font-size: 32px;
font-weight: 700;
font-family: $font-5;
padding-left: 20px;
border-left: 3px solid $cYellow;
margin: 0 0 40px 0;
text-transform: initial;
z-index: 1;
@include respond-below(sm) {
font-size: 24px;
}
}
p {
position: relative;
z-index: 1;
strong {
font-weight: 700;
}
}
#form-acc-demo {
position: relative;
width: 100%;
max-width: 500px;
margin-left: auto;
padding: 40px;
border: 1px solid $cYellow;
border-radius: 24px;
background-color: $cWhite;
@include respond-below(md) {
margin: 0 auto;
}
h2 {
font-size: 30px;
font-weight: 700;
margin-top: 0;
margin-bottom: 30px;
}
.f-row {
position: relative;
.tile {
position: relative;
margin-bottom: 20px;
label {
position: absolute;
top: 50%;
left: 20px;
color: #b9b9b9;
font-size: 14px;
font-weight: 600;
line-height: 1;
margin: 0;
transform: translateY(-50%);
transition: all 250ms ease;
}
input {
background: #f9f9f9;
height: 53px;
width: 100%;
border: none;
border-radius: 6px;
padding: 10px 20px;
color: #000;
font-size: 14px;
font-weight: 700;
line-height: 1;
outline: none;
}
input:focus ~ label,
input:not(:placeholder-shown) ~ label {
top: 0;
color: #b9b9b9;
font-size: 12px;
}
}
}
.checkbox-row {
display: flex;
flex-direction: row;
gap: 10px;
margin-bottom: 30px;
label {
font-size: 14px;
font-weight: 500;
line-height: 1;
color: rgba(#000, 0.8);
margin: 0;
a {
color: $cYellow;
text-decoration: underline;
}
}
input[type='checkbox'] {
appearance: none;
position: relative;
width: 20px;
height: 20px;
border: 1px solid #ebebeb;
border-radius: 6px;
background: #f9f9f9;
width: 20px;
min-width: 20px;
height: 20px;
overflow: hidden;
cursor: pointer;
&:checked {
&::before {
top: 9px;
left: 6px;
}
&::after {
top: 10px;
left: 4px;
}
}
&::before {
content: '';
position: absolute;
top: -11px;
left: 26px;
width: 10px;
height: 2px;
background: #000;
transform: rotate(-50deg);
transition: all 250ms ease;
}
&::after {
content: '';
position: absolute;
top: -10px;
left: -16px;
width: 5px;
height: 2px;
background: #000;
transform: rotate(50deg);
transition: all 250ms ease;
}
}
}
.btn-row {
display: flex;
flex-direction: column;
row-gap: 30px;
.btn {
display: flex;
flex-direction: row;
column-gap: 12px;
align-items: center;
justify-content: center;
width: 100%;
padding: 20px 21px;
border-radius: 12px;
background-color: #d43277;
color: $cWhite;
font-size: 14px;
font-weight: 700;
font-family: $font-5;
}
}
.star {
position: absolute;
&-1 {
top: -40px;
right: 60px;
}
&-2 {
left: -90px;
top: 27%;
transform: rotate(45deg);
@include respond-below(sm) {
left: auto;
right: -90px;
}
}
&-3 {
left: 0;
bottom: 0;
transform: translate(-65%, 10%);
width: 190px;
height: 190px;
object-fit: contain;
z-index: -1;
}
@include respond-below(xs) {
display: none;
}
}
}
#form-acc-demo-response {
display: flex;
flex-direction: column;
width: 100%;
border: 1px solid $cYellow;
border-radius: 24px;
background: $cWhite;
padding: 40px;
gap: 20px;
p {
margin-bottom: 0;
}
}
._col-1 {
display: flex;
flex-direction: column;
justify-content: space-between;
@include respond-below(md) {
row-gap: 40px;
}
}
._txt_1 {
}
._txt_2 {
@include respond-above(md) {
margin-bottom: 100px;
}
@include respond-below(md) {
margin-bottom: 50px;
}
h2 {
position: relative;
color: $cBlackText;
font-size: 32px;
font-weight: 700;
font-family: $font-5;
padding-left: 20px;
border-left: 3px solid $cYellow;
margin: 0 0 40px 0;
text-transform: initial;
z-index: 1;
@include respond-below(sm) {
font-size: 24px;
}
@include respond-above(md) {
br {
display: none;
}
}
}
}
}
.box-2 {
padding-top: 80px;
padding-bottom: 70px;
background-color: #fffbec;
h2 {
@extend .box-title;
margin: 0 0 60px 0;
}
h4 {
color: $cBlackText;
font-size: 24px;
font-weight: 700;
margin-bottom: 24px;
}
p {
font-size: 16px;
flex: 1;
&:last-child {
margin-bottom: 10px;
}
}
img {
width: 100%;
max-width: fit-content;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
}
ol {
padding: 0;
margin: 0;
list-style: none;
display: flex;
flex-direction: row;
flex-wrap: wrap;
column-gap: 30px;
row-gap: 40px;
@include respond-below(sm) {
}
li {
position: relative;
display: flex;
flex-direction: column;
width: calc(100% / 2 - (30px - (30px / 2)));
@include respond-below(sm) {
width: 100%;
}
> div {
padding: 45px 50px 35px 50px;
background: $cWhite;
border-bottom-left-radius: 12px;
border-bottom-right-radius: 12px;
box-shadow: 0 24px 64px rgba(100, 84, 0, 0.12);
display: flex;
flex-direction: column;
flex: 1;
}
}
}
}
.box-3 {
padding-top: 70px;
padding-bottom: 80px;
background-color: #fffbec;
ul {
margin: 0;
padding: 0;
list-style: none;
display: flex;
flex-direction: row;
flex-wrap: wrap;
column-gap: 80px;
row-gap: 40px;
li {
display: flex;
flex-direction: column;
align-items: flex-start;
width: calc(100% / 3 - (80px - 80px / 3));
@include respond-below(sm) {
width: 100%;
}
}
}
img {
margin-bottom: 28px;
}
h4 {
font-size: 24px;
font-weight: 700;
margin-bottom: 24px;
}
p {
&:last-child {
margin-bottom: 0;
}
}
}
.box-4 {
padding-top: 80px;
padding-bottom: 40px;
background-color: #fffbec;
h2 {
@extend .box-title;
margin: 0 0 40px 0;
}
// ul {
// margin: 0;
// padding: 0;
// list-style: none;
// display: flex;
// flex-direction: row;
// flex-wrap: wrap;
// column-gap: 30px;
// row-gap: 40px;
// li {
// display: flex;
// flex-direction: column;
// align-items: flex-start;
// width: calc(100% / 3 - (30px - 30px / 3));
// background-color: $cWhite;
// padding: 40px;
// border-radius: 15px;
// margin-bottom: 0;
// &:nth-child(2) {
// img {
// margin-bottom: 35px;
// margin-top: 15px;
// }
// }
// > span {
// display: inline-block;
// margin-top: 20px;
// font-size: 16px;
// font-weight: 700;
// }
// @include respond-below(md) {
// width: 100%;
// }
// }
// }
ul {
list-style: none;
padding: 0;
margin: 0 0 70px 0;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 40px 30px;
li {
flex: 0 0 calc(20% - 30px);
display: flex;
align-items: center;
justify-content: center;
a {
background-color: $cWhite;
padding: 40px;
border-radius: 15px;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
img {
}
}
}
}
// img {
// margin-bottom: 28px;
// width: 100%;
// max-width: fit-content;
// }
h4 {
font-size: 24px;
font-weight: 700;
margin-bottom: 24px;
}
p {
flex-grow: 1;
&:last-child {
margin-bottom: 0;
}
}
}
.box-5 {
padding-top: 40px;
padding-bottom: 90px;
background-color: #fffbec;
.box-5--wrapper {
position: relative;
background-color: #141414;
border-radius: 12px;
padding: 64px;
background-image: url('/upload/filemanager/Pages/home-new/box-bg.svg');
background-position: calc(100% + 57px) center;
background-repeat: no-repeat;
@include respond-below(md) {
padding: 30px;
background-position: calc(170% + 57px) center;
}
@include respond-below(sm) {
background-image: none;
}
}
.c-col-1 {
width: 100%;
max-width: 675px;
@include respond-below(lg) {
max-width: 470px;
}
}
h2 {
color: $cWhite;
margin-top: 0;
margin-bottom: 16px;
font-size: 48px;
font-weight: 700;
font-family: $font-5;
span {
color: $cYellow;
}
@include respond-below(sm) {
font-size: 32px;
}
}
p {
color: $cWhite;
font-size: 16px;
font-weight: 400;
margin-bottom: 32px;
}
a.btn {
display: inline-flex;
flex-direction: row;
column-gap: 12px;
align-items: center;
justify-content: center;
padding: 20px 21px;
border-radius: 12px;
background-color: #d43277;
color: $cWhite;
font-size: 14px;
font-weight: 700;
font-family: $font-5;
}
}