/* Hover animations, group xmas (einschlafgeschichte.de icons) */
.ico-th-santa .hat { transform-box: fill-box; transform-origin: 35% 100%; }
.ico-th-santa .stache { transform-box: fill-box; transform-origin: 50% 30%; }
.ico-th-santa .star { transform-box: fill-box; transform-origin: 50% 50%; }
.hov:hover .ico-th-santa .hat, .hov:focus-visible .ico-th-santa .hat, .hov.on .ico-th-santa .hat { animation: th-santa-hat 1.2s ease-in-out infinite; }
.hov:hover .ico-th-santa .stache, .hov:focus-visible .ico-th-santa .stache, .hov.on .ico-th-santa .stache { animation: th-santa-stache .6s ease-in-out infinite; }
.hov:hover .ico-th-santa .star, .hov:focus-visible .ico-th-santa .star, .hov.on .ico-th-santa .star { animation: th-santa-star 1.2s ease-in-out infinite; }

.ico-th-reindeer .nose { transform-box: fill-box; transform-origin: 50% 50%; }
.ico-th-reindeer .glow { transform-box: fill-box; transform-origin: 50% 50%; }
.ico-th-reindeer .ear-l { transform-box: fill-box; transform-origin: 100% 50%; }
.ico-th-reindeer .ear-r { transform-box: fill-box; transform-origin: 0% 50%; }
.ico-th-reindeer .bell { transform-box: fill-box; transform-origin: 50% 0%; }
.hov:hover .ico-th-reindeer .nose, .hov:focus-visible .ico-th-reindeer .nose, .hov.on .ico-th-reindeer .nose { animation: th-reindeer-nose 1s ease-in-out infinite; }
.hov:hover .ico-th-reindeer .glow, .hov:focus-visible .ico-th-reindeer .glow, .hov.on .ico-th-reindeer .glow { animation: th-reindeer-glow 1s ease-in-out infinite; }
.hov:hover .ico-th-reindeer .ear-l, .hov:focus-visible .ico-th-reindeer .ear-l, .hov.on .ico-th-reindeer .ear-l { animation: th-reindeer-ear-l .8s ease-in-out infinite; }
.hov:hover .ico-th-reindeer .ear-r, .hov:focus-visible .ico-th-reindeer .ear-r, .hov.on .ico-th-reindeer .ear-r { animation: th-reindeer-ear-r .8s ease-in-out infinite; }
.hov:hover .ico-th-reindeer .bell, .hov:focus-visible .ico-th-reindeer .bell, .hov.on .ico-th-reindeer .bell { animation: th-reindeer-bell .7s ease-in-out infinite; }

.ico-th-elf .hat { transform-box: fill-box; transform-origin: 30% 100%; }
.ico-th-elf .bell { transform-box: fill-box; transform-origin: 50% 0%; }
.ico-th-elf .jingle { transform-box: fill-box; transform-origin: 0% 50%; }
.ico-th-elf .ear-l { transform-box: fill-box; transform-origin: 100% 50%; }
.ico-th-elf .ear-r { transform-box: fill-box; transform-origin: 0% 50%; }
.hov:hover .ico-th-elf .hat, .hov:focus-visible .ico-th-elf .hat, .hov.on .ico-th-elf .hat { animation: th-elf-hat 1.1s ease-in-out infinite; }
.hov:hover .ico-th-elf .bell, .hov:focus-visible .ico-th-elf .bell, .hov.on .ico-th-elf .bell { animation: th-elf-bell .55s ease-in-out infinite; }
.hov:hover .ico-th-elf .jingle, .hov:focus-visible .ico-th-elf .jingle, .hov.on .ico-th-elf .jingle { animation: th-elf-jingle .55s ease-in-out infinite; }
.hov:hover .ico-th-elf .ear-l, .hov:focus-visible .ico-th-elf .ear-l, .hov.on .ico-th-elf .ear-l { animation: th-elf-ear-l .9s ease-in-out infinite; }
.hov:hover .ico-th-elf .ear-r, .hov:focus-visible .ico-th-elf .ear-r, .hov.on .ico-th-elf .ear-r { animation: th-elf-ear-r .9s ease-in-out infinite; }

.ico-th-nicholas .staff { transform-box: fill-box; transform-origin: 50% 100%; }
.ico-th-nicholas .head { transform-box: fill-box; transform-origin: 50% 95%; }
.ico-th-nicholas .star { transform-box: fill-box; transform-origin: 50% 50%; }
.hov:hover .ico-th-nicholas .staff, .hov:focus-visible .ico-th-nicholas .staff, .hov.on .ico-th-nicholas .staff { animation: th-nicholas-staff 1.4s ease-in-out infinite; }
.hov:hover .ico-th-nicholas .head, .hov:focus-visible .ico-th-nicholas .head, .hov.on .ico-th-nicholas .head { animation: th-nicholas-head 1.4s ease-in-out infinite; }
.hov:hover .ico-th-nicholas .star, .hov:focus-visible .ico-th-nicholas .star, .hov.on .ico-th-nicholas .star { animation: th-nicholas-star 1.4s ease-in-out infinite; }

.ico-th-snowunicorn .mane { transform-box: fill-box; transform-origin: 70% 0%; }
.ico-th-snowunicorn .forelock { transform-box: fill-box; transform-origin: 0% 100%; }
.ico-th-snowunicorn .spark { transform-box: fill-box; transform-origin: 50% 50%; }
.ico-th-snowunicorn .flake { transform-box: fill-box; transform-origin: 50% 50%; }
.hov:hover .ico-th-snowunicorn .mane, .hov:focus-visible .ico-th-snowunicorn .mane, .hov.on .ico-th-snowunicorn .mane { animation: th-snowunicorn-mane 1.3s ease-in-out infinite; }
.hov:hover .ico-th-snowunicorn .forelock, .hov:focus-visible .ico-th-snowunicorn .forelock, .hov.on .ico-th-snowunicorn .forelock { animation: th-snowunicorn-mane 1.3s ease-in-out infinite; }
.hov:hover .ico-th-snowunicorn .spark, .hov:focus-visible .ico-th-snowunicorn .spark, .hov.on .ico-th-snowunicorn .spark { animation: th-snowunicorn-spark 1s ease-in-out infinite; }
.hov:hover .ico-th-snowunicorn .flake, .hov:focus-visible .ico-th-snowunicorn .flake, .hov.on .ico-th-snowunicorn .flake { animation: th-snowunicorn-flake 1.6s linear infinite; }
.hov:hover .ico-th-snowunicorn .flake.f2, .hov:focus-visible .ico-th-snowunicorn .flake.f2, .hov.on .ico-th-snowunicorn .flake.f2 { animation-delay: .8s; }

.ico-th-snowman .hat { transform-box: fill-box; transform-origin: 0% 100%; }
.ico-th-snowman .scarf { transform-box: fill-box; transform-origin: 50% 0%; }
.ico-th-snowman .flake { transform-box: fill-box; transform-origin: 50% 50%; }
.hov:hover .ico-th-snowman .hat, .hov:focus-visible .ico-th-snowman .hat, .hov.on .ico-th-snowman .hat { animation: th-snowman-hat 1.4s ease-in-out infinite; }
.hov:hover .ico-th-snowman .scarf, .hov:focus-visible .ico-th-snowman .scarf, .hov.on .ico-th-snowman .scarf { animation: th-snowman-scarf .8s ease-in-out infinite; }
.hov:hover .ico-th-snowman .flake, .hov:focus-visible .ico-th-snowman .flake, .hov.on .ico-th-snowman .flake { animation: th-snowman-flake 1.6s ease-in infinite; }
.hov:hover .ico-th-snowman .flake.f2, .hov:focus-visible .ico-th-snowman .flake.f2, .hov.on .ico-th-snowman .flake.f2 { animation-delay: .55s; }
.hov:hover .ico-th-snowman .flake.f3, .hov:focus-visible .ico-th-snowman .flake.f3, .hov.on .ico-th-snowman .flake.f3 { animation-delay: 1.1s; }


@keyframes th-santa-hat { 0%,100% { transform: rotate(0); } 30% { transform: rotate(-6deg); } 70% { transform: rotate(4deg); } }
@keyframes th-santa-stache { 0%,100% { transform: translateY(0) scaleY(1); } 50% { transform: translateY(-1.2px) scaleY(.9); } }
@keyframes th-santa-star { 0%,100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(1.35) rotate(45deg); opacity: .75; } }

@keyframes th-reindeer-nose { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes th-reindeer-glow { 0%,100% { opacity: 0; transform: scale(.6); } 50% { opacity: .75; transform: scale(1.05); } }
@keyframes th-reindeer-ear-l { 0%,100% { transform: rotate(0); } 50% { transform: rotate(14deg); } }
@keyframes th-reindeer-ear-r { 0%,100% { transform: rotate(0); } 50% { transform: rotate(-14deg); } }
@keyframes th-reindeer-bell { 0%,100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg); } }

@keyframes th-elf-hat { 0%,100% { transform: rotate(0); } 50% { transform: rotate(5deg); } }
@keyframes th-elf-bell { 0%,100% { transform: rotate(-16deg); } 50% { transform: rotate(16deg); } }
@keyframes th-elf-jingle { 0%,100% { opacity: 0; transform: translateX(-2px) scale(.7); } 50% { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes th-elf-ear-l { 0%,100% { transform: rotate(0); } 50% { transform: rotate(-10deg); } }
@keyframes th-elf-ear-r { 0%,100% { transform: rotate(0); } 50% { transform: rotate(10deg); } }

@keyframes th-nicholas-staff { 0%,100% { transform: rotate(0); } 50% { transform: rotate(5deg); } }
@keyframes th-nicholas-head { 0%,100% { transform: rotate(0) translateY(0); } 50% { transform: rotate(-3deg) translateY(1px); } }
@keyframes th-nicholas-star { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4) rotate(45deg); opacity: .7; } }

@keyframes th-snowunicorn-mane { 0%,100% { transform: skewX(0) rotate(0); } 50% { transform: skewX(-6deg) rotate(3deg); } }
@keyframes th-snowunicorn-spark { 0%,100% { transform: scale(.6) rotate(0); opacity: .4; } 50% { transform: scale(1.4) rotate(45deg); opacity: 1; } }
@keyframes th-snowunicorn-flake { 0% { transform: translateY(-3px) rotate(0); } 50% { transform: translateY(3px) rotate(90deg); } 100% { transform: translateY(-3px) rotate(180deg); } }

@keyframes th-snowman-hat { 0%,100% { transform: translateY(0) rotate(0); } 35%,55% { transform: translateY(-5px) rotate(-14deg); } }
@keyframes th-snowman-scarf { 0%,100% { transform: rotate(0); } 50% { transform: rotate(-12deg); } }
@keyframes th-snowman-flake { 0% { transform: translateY(-6px) rotate(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(12px) rotate(120deg); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .hov:hover .ico-th-santa .hat, .hov:focus-visible .ico-th-santa .hat, .hov.on .ico-th-santa .hat,
  .hov:hover .ico-th-santa .stache, .hov:focus-visible .ico-th-santa .stache, .hov.on .ico-th-santa .stache,
  .hov:hover .ico-th-santa .star, .hov:focus-visible .ico-th-santa .star, .hov.on .ico-th-santa .star,
  .hov:hover .ico-th-reindeer .nose, .hov:focus-visible .ico-th-reindeer .nose, .hov.on .ico-th-reindeer .nose,
  .hov:hover .ico-th-reindeer .glow, .hov:focus-visible .ico-th-reindeer .glow, .hov.on .ico-th-reindeer .glow,
  .hov:hover .ico-th-reindeer .ear-l, .hov:focus-visible .ico-th-reindeer .ear-l, .hov.on .ico-th-reindeer .ear-l,
  .hov:hover .ico-th-reindeer .ear-r, .hov:focus-visible .ico-th-reindeer .ear-r, .hov.on .ico-th-reindeer .ear-r,
  .hov:hover .ico-th-reindeer .bell, .hov:focus-visible .ico-th-reindeer .bell, .hov.on .ico-th-reindeer .bell,
  .hov:hover .ico-th-elf .hat, .hov:focus-visible .ico-th-elf .hat, .hov.on .ico-th-elf .hat,
  .hov:hover .ico-th-elf .bell, .hov:focus-visible .ico-th-elf .bell, .hov.on .ico-th-elf .bell,
  .hov:hover .ico-th-elf .jingle, .hov:focus-visible .ico-th-elf .jingle, .hov.on .ico-th-elf .jingle,
  .hov:hover .ico-th-elf .ear-l, .hov:focus-visible .ico-th-elf .ear-l, .hov.on .ico-th-elf .ear-l,
  .hov:hover .ico-th-elf .ear-r, .hov:focus-visible .ico-th-elf .ear-r, .hov.on .ico-th-elf .ear-r,
  .hov:hover .ico-th-nicholas .staff, .hov:focus-visible .ico-th-nicholas .staff, .hov.on .ico-th-nicholas .staff,
  .hov:hover .ico-th-nicholas .head, .hov:focus-visible .ico-th-nicholas .head, .hov.on .ico-th-nicholas .head,
  .hov:hover .ico-th-nicholas .star, .hov:focus-visible .ico-th-nicholas .star, .hov.on .ico-th-nicholas .star,
  .hov:hover .ico-th-snowunicorn .mane, .hov:focus-visible .ico-th-snowunicorn .mane, .hov.on .ico-th-snowunicorn .mane,
  .hov:hover .ico-th-snowunicorn .forelock, .hov:focus-visible .ico-th-snowunicorn .forelock, .hov.on .ico-th-snowunicorn .forelock,
  .hov:hover .ico-th-snowunicorn .spark, .hov:focus-visible .ico-th-snowunicorn .spark, .hov.on .ico-th-snowunicorn .spark,
  .hov:hover .ico-th-snowunicorn .flake, .hov:focus-visible .ico-th-snowunicorn .flake, .hov.on .ico-th-snowunicorn .flake,
  .hov:hover .ico-th-snowman .hat, .hov:focus-visible .ico-th-snowman .hat, .hov.on .ico-th-snowman .hat,
  .hov:hover .ico-th-snowman .scarf, .hov:focus-visible .ico-th-snowman .scarf, .hov.on .ico-th-snowman .scarf,
  .hov:hover .ico-th-snowman .flake, .hov:focus-visible .ico-th-snowman .flake, .hov.on .ico-th-snowman .flake { animation: none !important; }
}
