/* GSukaj site motion. Everything here is switched off for visitors who ask for reduced motion. */
.rv{opacity:0;transform:translateY(22px);transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1)}
.rv.in{opacity:1;transform:none}

/* live box screens laid over the box pictures */
.lv-wrap{position:relative;display:block;width:100%}
.lv-wrap>img{display:block;width:100%}
.lv-scr{position:absolute;left:0;top:0;width:640px;height:480px;transform-origin:0 0;overflow:hidden;pointer-events:none;
  opacity:0;transition:opacity .9s ease;backface-visibility:hidden;outline:1px solid transparent}
.lv-scr.on{opacity:1}
.lv-scr img{position:absolute;inset:0;width:100%;height:100%;max-width:none;opacity:0;transition:opacity .7s ease}
.lv-scr img.on{opacity:1}
.lv-scr::after{content:"";position:absolute;inset:0;background:linear-gradient(172deg,rgba(255,255,255,.14),rgba(255,255,255,.05) 30%,rgba(255,255,255,0) 46%)}

/* wireless signal rings behind the boxes */
.lv-waves{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;mix-blend-mode:screen;
  -webkit-mask-image:url(img/anim/pair_bgmask.png);mask-image:url(img/anim/pair_bgmask.png);
  -webkit-mask-size:100% 100%;mask-size:100% 100%}
.lv-waves ellipse{fill:none;stroke:#35C9FF;stroke-width:2.5;vector-effect:non-scaling-stroke;
  transform-box:fill-box;transform-origin:center;opacity:0;animation:lvRing 4.2s cubic-bezier(.25,.6,.3,1) infinite}
.lv-waves .w2{animation-delay:1.4s}.lv-waves .w3{animation-delay:2.8s}
.lv-waves .b ellipse{stroke:#9CCBFF}
.lv-waves .b .w1{animation-delay:.7s}.lv-waves .b .w2{animation-delay:2.1s}.lv-waves .b .w3{animation-delay:3.5s}
@keyframes lvRing{0%{transform:scale(.12);opacity:0}12%{opacity:.75}100%{transform:scale(1);opacity:0}}

/* hero phones: gentle float and screens that change */
.phones .phone{position:relative;animation:lvFloat 7s ease-in-out infinite}
.phones .p2{animation-delay:-3.5s}
.phones .phone img.lv-ph{position:absolute;top:9px;left:9px;width:calc(100% - 18px);opacity:0;transition:opacity .9s ease}
.phones .phone img.lv-ph.on{opacity:1}
@keyframes lvFloat{0%,100%{translate:0 0}50%{translate:0 -10px}}

/* iPad screens fade when they change */
.tablet img.lv-fade{animation:lvFade .5s ease}
@keyframes lvFade{from{opacity:.15}to{opacity:1}}

@media (prefers-reduced-motion:reduce){
  .rv{opacity:1;transform:none;transition:none}
  .lv-waves,.lv-scr{display:none}
  .phones .phone{animation:none}
}
