File: /var/www/quadcode-site/src/style/components/vision.scss
.vision {
padding: 96px 0;
background: rgba(50, 50, 50, 0.05);
@include breakpoint-down('deskS') {
padding: 64px 0;
}
@include breakpoint-down('tabM') {
padding-top: 0;
}
&__inner {
display: flex;
align-items: center;
justify-content: space-between;
@include breakpoint-down('tabM') {
flex-direction: column-reverse;
}
}
&__block {
&-text {
max-width: 460px;
@include breakpoint-down('deskS') {
max-width: 336px;
}
}
&-img {
width: 580px;
height: 580px;
@include breakpoint-down('deskM') {
width: 460px;
height: 460px;
}
@include breakpoint-down('deskS') {
width: 334px;
height: 334px;
}
}
}
&__title {
margin-bottom: 16px;
}
&__animation {
width: 580px;
height: 580px;
@include breakpoint-down('deskM') {
width: 460px !important;
height: 460px !important;
}
@include breakpoint-down('deskS') {
width: 334px !important;
height: 334px !important;
}
}
&__canvas {
position: absolute;
display: block;
@include breakpoint-down('deskM') {
width: 460px !important;
height: 460px !important;
}
@include breakpoint-down('deskS') {
width: 334px !important;
height: 334px !important;
}
}
&__overlay {
pointer-events: none;
overflow: hidden;
width: 580px;
height: 580px;
position: absolute;
left: 0px;
top: 0px;
display: block;
@include breakpoint-down('deskM') {
width: 460px !important;
height: 460px !important;
}
@include breakpoint-down('deskS') {
width: 334px !important;
height: 334px !important;
}
}
}