153 lines
3.3 KiB
SCSS
153 lines
3.3 KiB
SCSS
// Place section
|
|
.place {
|
|
position: relative;
|
|
background-position: 50% 0;
|
|
background-size: 100%;
|
|
background-repeat: no-repeat;
|
|
overflow-x: hidden;
|
|
|
|
// Title
|
|
&__title {
|
|
position: relative;
|
|
z-index: 2;
|
|
padding: pxVW(400) 0 pxVW(400);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: flex-end;
|
|
|
|
@include breakpoint (sm) {
|
|
padding: pxVW(224) 0 pxVW(240);
|
|
}
|
|
@include breakpoint (xxl) {
|
|
padding-top: 240px;
|
|
padding-bottom: 280px;
|
|
}
|
|
|
|
h1 {
|
|
position: relative;
|
|
z-index: 2;
|
|
text-align: left;
|
|
pointer-events: none;
|
|
|
|
.anim-translate {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
&_bottom {
|
|
text-align: right;
|
|
margin-left: pxVW(128);
|
|
}
|
|
|
|
// Switcher button
|
|
.button-control--dashed {
|
|
z-index: 1;
|
|
flex-shrink: 0;
|
|
margin-left: -12px;
|
|
|
|
@include breakpoint (sm) {
|
|
margin-left: -24px;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Description
|
|
&__description {
|
|
position: relative;
|
|
z-index: 2;
|
|
padding-top: pxVW(200);
|
|
padding-bottom: 72px;
|
|
background-color: $color-tertiary;
|
|
|
|
@include breakpoint (m) {
|
|
padding-bottom: 96px;
|
|
}
|
|
@include breakpoint (sm) {
|
|
padding-bottom: pxVW(240);
|
|
}
|
|
@include breakpoint (md) {
|
|
border-radius: 8px 0 0 8px;
|
|
}
|
|
@include breakpoint (xxl) {
|
|
padding-top: 200px;
|
|
padding-bottom: 240px;
|
|
}
|
|
|
|
.wrapper {
|
|
margin: 0;
|
|
max-width: 1280px;
|
|
}
|
|
|
|
p {
|
|
font-size: rem(18px);
|
|
font-family: $font-sans-light;
|
|
line-height: 1.64;
|
|
color: $color-text;
|
|
|
|
@include breakpoint (sm) {
|
|
font-size: rem(22px);
|
|
}
|
|
@include breakpoint (lg) {
|
|
font-size: 1rem;
|
|
}
|
|
}
|
|
|
|
// Updated notice
|
|
.updated {
|
|
font-size: rem(12px);
|
|
margin-top: 32px;
|
|
|
|
strong {
|
|
font-family: $font-sans-sb;
|
|
color: rgba($color-text, 0.4);
|
|
}
|
|
|
|
@include breakpoint (md) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
// Toggle
|
|
.toggle {
|
|
display: none;
|
|
|
|
@include breakpoint (md) {
|
|
display: inline-flex;
|
|
}
|
|
}
|
|
|
|
// Right side background completion
|
|
&:after {
|
|
content: "";
|
|
display: block;
|
|
position: absolute;
|
|
top: 0;
|
|
right: -49.9vw;
|
|
width: 50vw;
|
|
height: 100%;
|
|
background-color: $color-tertiary;
|
|
}
|
|
}
|
|
|
|
// Wrap
|
|
&__wrap {
|
|
padding: 0;
|
|
|
|
@include breakpoint (md) {
|
|
padding-left: 128px;
|
|
}
|
|
}
|
|
|
|
// Background illustration
|
|
&__illustration {
|
|
position: absolute;
|
|
z-index: 0;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: url(/img/illustration.png) 0 0 no-repeat;
|
|
background-size: 100% auto;
|
|
}
|
|
}
|