.elementor .xmas {
position: relative;
overflow: hidden;
&:before,
&:after {
content: '';
position: absolute;
left: 0;
width: 100%;
background-repeat: no-repeat;
background-size: cover;
pointer-events: none;
z-index: 2;
}
&:before {
top: 0;
aspect-ratio: 1244 / 136;
height: 140px;
background-image: url(//www.spie-automation.com/wp-content/themes/robur-relaunch/xmas/images/icicle.svg);
background-position: top right;
opacity: 1;
@media (min-width: 1025px) {
background-position: top center;
}
@media (min-width: 1441px) {
height: 180px;
}
}
&:after {
bottom: 0;
aspect-ratio: 1253 / 70;
min-height: 45px;
background-image: url(//www.spie-automation.com/wp-content/themes/robur-relaunch/xmas/images/snow.svg);
background-position: bottom center;
}
#snow-bg,
#snow {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 1;
canvas {
position: relative;
z-index: 1;
display: block;
}
}
#snow-bg canvas {
filter: blur(0.8px);
}
#snow {
z-index: 3;
canvas {
filter: blur(3px);
}
.sphere {
position: absolute;
z-index: 2;
pointer-events: none;
@media (max-width: 1024px) {
display: none;
}
}
.sphere_1 {
bottom: 5%;
right: 60px;
}
.sphere_2 {
bottom: 4.5%;
right: 10px;
}
.sphere_3 {
bottom: 3.5%;
right: 110px;
}
}
}