[class*='c-bully'],
[class*='c-bully']:before,
[class*='c-bully']:after
{
box-sizing: border-box;
}
.c-bully
{
font-size: 12px;
position: fixed;
right: 48px;
top: 50%;
transform: translate(0, -50%);
z-index: 9;
} .c-bully__bullet
{
cursor: pointer;
opacity: 0;
padding: .5em;
}
.c-bully__bullet:after
{
border: 6px double currentColor;
border-radius: 50%;
content: '';
display: block;
height: 1em;
width: 1em;
will-change: transform;
}
.c-bully__bullet--active
{
left: 0;
position: absolute;
top: 0;
transition: top .2s ease-out;
}
.c-bully__bullet--active:before
{
background: currentColor;
border-radius: 50%;
content: '';
font-size: 14px;
height: 1em;
left: 50%;
position: absolute;
top: 50%;
transform: translate(-50%, -50%);
width: 1em;
}
.c-bully__bullet--active:after
{
border-color: transparent;
}
.c-bully__bullet--pop
{
animation: bully-pop .6s cubic-bezier(.485, 1.630, .430, 2) forwards, fade-in .2s .2s ease-out forwards;
}
.c-bully__bullet--squash
{
animation: bully-squash .2s ease-out forwards;
opacity: 1;
}
@keyframes fade-in
{
0%
{
opacity: 0;
}
100%
{
opacity: 1;
}
}
@keyframes bully-pop
{
50%
{
transform: scale(.7);
}
100%
{
transform: scale(1);
}
}
@keyframes bully-squash
{
50%
{
transform: scale(.6, 1.8);
}
100%
{
transform: scale(1);
}
} [data-rellax],
[data-rellax-container]
{
height: 100%;
width: 100%;
}
[data-rellax]
{
backface-visibility: hidden;
will-change: transform, opacity;
}
[data-rellax-container]
{
overflow: hidden;
}
[data-rellax-container] [data-rellax]
{
opacity: 0;
transition: opacity .3s ease-out;
}
.js [data-rellax-container] [data-rellax]
{
opacity: 1;
}
.rellax-element.rellax-hidden
{
opacity: 0;
pointer-events: none;
visibility: hidden;
}
[data-rellax]
{
background-color: #444;
transform: translate3d(0,0,0);
will-change: transform;
}
.rellax-hidden
{
opacity: 0;
}
.fill
{
height: 100%;
width: 100%;
object-fit: cover;
}