234 lines
4.0 KiB
SCSS
234 lines
4.0 KiB
SCSS
.About {
|
|
background: #f7f7f7;
|
|
}
|
|
|
|
.Inner {
|
|
margin: 0 auto;
|
|
max-width: rem(1540px);
|
|
padding: rem(80px) rem(10px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.Title {
|
|
font-family: $font-roboto;
|
|
font-weight: 500;
|
|
font-size: rem(32px);
|
|
line-height: 100%;
|
|
color: $color-title;
|
|
text-align: center;
|
|
margin-bottom: rem(80px);
|
|
}
|
|
|
|
.Block {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: rem(40px);
|
|
|
|
@include iflaptop {
|
|
flex-direction: row;
|
|
}
|
|
}
|
|
|
|
.Card {
|
|
flex: 1;
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
grid-template-rows: 1fr 1fr;
|
|
gap: rem(40px) rem(20px);
|
|
grid-template-areas:
|
|
"left right"
|
|
"bottom bottom";
|
|
margin: 0;
|
|
padding: rem(20px);
|
|
border-radius: rem(28px);
|
|
|
|
background-color: #FFFFFF;
|
|
background-image: linear-gradient(185deg, #58c644 55%, #ffffff 0%);
|
|
box-shadow: rem(15px) 0 rem(40px) 0 rgba(0, 0, 0, 0.5);
|
|
transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
|
|
|
|
@include iftablet {
|
|
gap: rem(80px) rem(20px);
|
|
margin: 0 rem(40px);
|
|
padding: rem(40px);
|
|
max-width: rem(760px);
|
|
}
|
|
@include iflaptop {
|
|
max-width: unset;
|
|
}
|
|
|
|
.Left {
|
|
grid-area: left;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
|
|
font-family: $font-roboto;
|
|
font-weight: 300;
|
|
font-size: rem(16px);
|
|
line-height: 130%;
|
|
color: $color-white;
|
|
text-align: center;
|
|
|
|
@include iftablet {
|
|
font-size: rem(20px);
|
|
}
|
|
|
|
|
|
& p:first-child {
|
|
font-weight: 500;
|
|
font-size: rem(20px);
|
|
margin-bottom: rem(16px);
|
|
|
|
@include iftablet {
|
|
font-size: rem(28px);
|
|
margin-bottom: rem(16px);
|
|
}
|
|
}
|
|
}
|
|
|
|
.Right {
|
|
grid-area: right;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
|
|
font-family: $font-roboto;
|
|
font-weight: 300;
|
|
font-size: rem(16px);
|
|
line-height: 130%;
|
|
color: $color-white;
|
|
text-align: center;
|
|
|
|
@include iftablet {
|
|
font-size: rem(20px);
|
|
}
|
|
|
|
|
|
& p:first-child {
|
|
font-weight: 500;
|
|
font-size: rem(20px);
|
|
margin-bottom: rem(16px);
|
|
|
|
@include iftablet {
|
|
font-size: rem(28px);
|
|
margin-bottom: rem(16px);
|
|
}
|
|
}
|
|
}
|
|
|
|
.Bottom {
|
|
grid-area: bottom;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
.Btn {
|
|
background: #58c644;
|
|
}
|
|
|
|
.Icon {
|
|
path {
|
|
fill: $color-white;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
.Slider {
|
|
display: block;
|
|
padding: rem(20px) rem(20px);
|
|
width: 100%;
|
|
|
|
@include iftablet {
|
|
flex: 1;
|
|
display: block;
|
|
padding: 0 rem(20px);
|
|
}
|
|
}
|
|
|
|
.Slide {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
|
|
.VideoModalContainer {
|
|
background: $color-white;
|
|
width: 100%;
|
|
border-radius: rem(16px);
|
|
padding: rem(10px) rem(10px);
|
|
margin-bottom: rem(20px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: rem(460px);
|
|
justify-content: center;
|
|
align-self: center;
|
|
|
|
@include iftablet{
|
|
max-width: unset;
|
|
align-self: unset;
|
|
width: max-content;
|
|
height: auto;
|
|
}
|
|
|
|
& > svg {
|
|
z-index: 1;
|
|
path {
|
|
stroke: #FFFFFF;
|
|
stroke-opacity: 0.8;
|
|
}
|
|
}
|
|
}
|
|
|
|
.PreviewModalContainer {
|
|
background: $color-white;
|
|
width: max-content;
|
|
height: auto;
|
|
border-radius: rem(16px);
|
|
padding: rem(10px) rem(10px);
|
|
margin-bottom: rem(20px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
//max-width: max-content;//rem(460px);
|
|
justify-content: center;
|
|
align-self: center;
|
|
overflow: visible;
|
|
|
|
@include iftablet{
|
|
max-width: unset;
|
|
align-self: unset;
|
|
width: max-content;
|
|
height: auto;
|
|
}
|
|
|
|
.Image{
|
|
object-fit: contain;
|
|
width: 80vw;
|
|
height: auto;
|
|
max-height: 90vh;
|
|
@include iftablet{
|
|
width: auto;
|
|
height: 90vh;
|
|
}
|
|
}
|
|
|
|
& > svg {
|
|
z-index: 1;
|
|
top: rem(5px);
|
|
right: rem(-25px);
|
|
@include iftablet{
|
|
right: rem(-40px);
|
|
}
|
|
path {
|
|
stroke: #FFFFFF;
|
|
stroke-opacity: 1;
|
|
}
|
|
}
|
|
} |