/* Hearts falling at three depths.
   The layers and their loop are in effect.css. */

.effect[data-effect="hearts"]::before {
  --effect-tile: 449px;
  background-size: 919px var(--effect-tile);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='.15' y1='.05' x2='.75' y2='1'%3E%3Cstop stop-color='%23fb7185'/%3E%3Cstop offset='.5' stop-color='%23f43f5e'/%3E%3Cstop offset='1' stop-color='%23be123c'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='.15' y1='.05' x2='.75' y2='1'%3E%3Cstop stop-color='%23f43f5e'/%3E%3Cstop offset='.5' stop-color='%23e11d48'/%3E%3Cstop offset='1' stop-color='%23881337'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='.15' y1='.05' x2='.75' y2='1'%3E%3Cstop stop-color='%23fda4af'/%3E%3Cstop offset='.5' stop-color='%23fb7185'/%3E%3Cstop offset='1' stop-color='%23e11d48'/%3E%3C/linearGradient%3E%3CradialGradient id='w'%3E%3Cstop stop-color='%23fff' stop-opacity='.6'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/radialGradient%3E%3ClinearGradient id='r' x2='0' y2='1'%3E%3Cstop stop-color='%23ffe4e6' stop-opacity='.7'/%3E%3Cstop offset='.6' stop-color='%23ffe4e6' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cpath id='h' d='M0 8.6C-2.4 6.7-9.2 2.3-9.2-2.6-9.2-5.9-6.9-8.2-4.4-8.2-2.5-8.2-.9-7.1 0-5.4.9-7.1 2.5-8.2 4.4-8.2 6.9-8.2 9.2-5.9 9.2-2.6 9.2 2.3 2.4 6.7 0 8.6Z'/%3E%3Cg id='s'%3E%3Cuse href='%23h' fill='none' stroke='url(%23r)' stroke-width='.6'/%3E%3Cellipse cx='-4.6' cy='-4.3' rx='3' ry='1.7' transform='rotate(-38 -4.6 -4.3)' fill='url(%23w)'/%3E%3Ccircle cx='-5.4' cy='-5' r='.65' fill='%23fff' fill-opacity='.8'/%3E%3C/g%3E%3C/defs%3E%3Cg transform='scale(.8)' opacity='.9'%3E%3Cg transform='translate(12 507)rotate(-6)'%3E%3Cuse href='%23h' fill='url(%23b)'/%3E%3Cuse href='%23s'/%3E%3C/g%3E%3Cg transform='translate(337 125)rotate(1)'%3E%3Cuse href='%23h' fill='url(%23a)'/%3E%3Cuse href='%23s'/%3E%3C/g%3E%3Cg transform='translate(382 416)rotate(7)'%3E%3Cuse href='%23h' fill='url(%23b)'/%3E%3Cuse href='%23s'/%3E%3C/g%3E%3Cg transform='translate(832 298)rotate(-10)'%3E%3Cuse href='%23h' fill='url(%23c)'/%3E%3Cuse href='%23s'/%3E%3C/g%3E%3Cg transform='translate(856 26)rotate(-7)'%3E%3Cuse href='%23h' fill='url(%23a)'/%3E%3Cuse href='%23s'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  animation-duration: 40s;
}

.effect[data-effect="hearts"]::after {
  --effect-tile: 311px;
  background-size: 613px var(--effect-tile);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='.15' y1='.05' x2='.75' y2='1'%3E%3Cstop stop-color='%23fb7185'/%3E%3Cstop offset='1' stop-color='%23be123c'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='.15' y1='.05' x2='.75' y2='1'%3E%3Cstop stop-color='%23fda4af'/%3E%3Cstop offset='1' stop-color='%23e11d48'/%3E%3C/linearGradient%3E%3CradialGradient id='w'%3E%3Cstop stop-color='%23fff' stop-opacity='.6'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/radialGradient%3E%3Cpath id='h' d='M0 8.6C-2.4 6.7-9.2 2.3-9.2-2.6-9.2-5.9-6.9-8.2-4.4-8.2-2.5-8.2-.9-7.1 0-5.4.9-7.1 2.5-8.2 4.4-8.2 6.9-8.2 9.2-5.9 9.2-2.6 9.2 2.3 2.4 6.7 0 8.6Z'/%3E%3Cellipse id='s' cx='-4.4' cy='-4.2' rx='3' ry='1.8' transform='rotate(-38 -4.4 -4.2)' fill='url(%23w)' opacity='.6'/%3E%3C/defs%3E%3Cg transform='scale(.48)' opacity='.75'%3E%3Cg transform='translate(1140 25)rotate(4)'%3E%3Cuse href='%23h' fill='url(%23a)'/%3E%3Cuse href='%23s'/%3E%3C/g%3E%3Cg transform='translate(14 291)rotate(-15)'%3E%3Cuse href='%23h' fill='url(%23b)'/%3E%3Cuse href='%23s'/%3E%3C/g%3E%3Cg transform='translate(285 390)rotate(16)'%3E%3Cuse href='%23h' fill='url(%23a)'/%3E%3Cuse href='%23s'/%3E%3C/g%3E%3Cg transform='translate(403 42)rotate(-12)'%3E%3Cuse href='%23h' fill='url(%23b)'/%3E%3Cuse href='%23s'/%3E%3C/g%3E%3Cg transform='translate(660 304)rotate(18)'%3E%3Cuse href='%23h' fill='url(%23a)'/%3E%3Cuse href='%23s'/%3E%3C/g%3E%3Cg transform='translate(910 515)rotate(12)'%3E%3Cuse href='%23h' fill='url(%23b)'/%3E%3Cuse href='%23s'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  animation-duration: 35s;
}

.effect[data-effect="hearts"] .effect-fine {
  --effect-tile: 199px;
  background-size: 401px var(--effect-tile);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpath id='h' d='M0 8.6C-2.4 6.7-9.2 2.3-9.2-2.6-9.2-5.9-6.9-8.2-4.4-8.2-2.5-8.2-.9-7.1 0-5.4.9-7.1 2.5-8.2 4.4-8.2 6.9-8.2 9.2-5.9 9.2-2.6 9.2 2.3 2.4 6.7 0 8.6Z'/%3E%3C/defs%3E%3Cg transform='scale(.28)' opacity='.55' fill='%23fda4af'%3E%3Cuse href='%23h' transform='translate(1105 215)rotate(10)'/%3E%3Cuse href='%23h' transform='translate(17 462)rotate(4)'/%3E%3Cuse href='%23h' transform='translate(346 284)rotate(-9)'/%3E%3Cuse href='%23h' transform='translate(346 635)rotate(-12)'/%3E%3Cuse href='%23h' transform='translate(788 566)rotate(-5)'/%3E%3C/g%3E%3C/svg%3E");
  animation-duration: 30s;
}
