

.hn-noel { display: contents; }

.hn-noel > div,
.hn-neige-tete,
.hn-cadeau-hero {
  pointer-events: none;
}

.hn-noel > div {
  position: fixed;
  z-index: 40;
}

@media not all and (hover: hover) and (min-width: 1024px) {
  .hn-noel:not(.hn-mobile) { display: none; }
}

.hn-noel svg { display: block; width: 100%; height: 100%; }


.hn-coin {
  top: 0;
  width: 260px;
  height: 170px;
}

.hn-coin-gauche { left: 0; }
.hn-coin-droite { right: 0; transform: scaleX(-1); }

.hn-noel:not(.hn-complet) .hn-coin {
  width: 170px;
  height: 111px;
  opacity: 0.75;
}

.hn-fil { fill: none; stroke: #2f4a32; stroke-width: 1.6; }
.hn-douille { fill: #8d939c; }
.hn-houx { fill: #1d6b38; stroke: #0f4523; stroke-width: 0.8; }
.hn-houx-clair { fill: #2c8a4a; }
.hn-baie { fill: #c81e2a; }
.hn-reflet { fill: #fff; opacity: 0.7; }

.hn-a-rouge .hn-verre, .hn-a-rouge .hn-halo, .hn-boule-sapin.hn-a-rouge { fill: #ef3340; }
.hn-a-or .hn-verre, .hn-a-or .hn-halo, .hn-boule-sapin.hn-a-or { fill: #ffc933; }
.hn-a-vert .hn-verre, .hn-a-vert .hn-halo { fill: #3ddc84; }
.hn-a-bleu .hn-verre, .hn-a-bleu .hn-halo, .hn-boule-sapin.hn-a-bleu { fill: #4aa8ff; }

.hn-halo { opacity: 0.18; }


.hn-joue .hn-ampoule .hn-verre { animation: hn-clignote 1.2s ease-in-out 5; }
.hn-joue .hn-rang-1 .hn-verre { animation-delay: -0.4s; }
.hn-joue .hn-rang-2 .hn-verre { animation-delay: -0.8s; }

@keyframes hn-clignote {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}


.hn-noel > .hn-scene {
  bottom: 0;
  width: 230px;
  height: 168px;
  display: none;
}

@media (min-width: 1280px) and (min-height: 700px) {
  .hn-noel > .hn-scene { display: block; }
}

.hn-scene-gauche { left: 0; }
.hn-scene-droite { right: 0; }

.hn-noel:not(.hn-complet) > .hn-scene {
  width: 184px;
  height: 134px;
  opacity: 0.85;
}

.hn-sol { fill: #e9f1fb; }
.hn-tronc { fill: #6b4226; }
.hn-branches { fill: #1f6b3a; stroke: #155129; stroke-width: 1; }
.hn-neige-branche { fill: none; stroke: #f4f8fd; stroke-width: 3; stroke-linecap: round; opacity: 0.85; }
.hn-guirlande-sapin { fill: none; stroke: #e8b923; stroke-width: 1.6; stroke-dasharray: 3 2; }
.hn-etoile { fill: #ffd23f; stroke: #c9971c; stroke-width: 0.8; transform-box: fill-box; transform-origin: 50% 55%; }


.hn-joue .hn-etoile { animation: hn-scintille 1.5s ease-in-out 2; }

@keyframes hn-scintille {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.25); opacity: 0.75; }
}

.hn-paquet { stroke: rgba(0, 0, 0, 0.25); stroke-width: 0.8; }
.hn-p-rouge { fill: #c81e2a; }
.hn-p-bleu { fill: #2563eb; }
.hn-p-vert { fill: #15803d; }
.hn-ruban { fill: none; stroke: #ffd23f; stroke-width: 3; }
.hn-noeud { fill: #ffd23f; }

.hn-neige-boule { fill: #f4f8fd; stroke: #b8c8dc; stroke-width: 1; }
.hn-chapeau { fill: #1d1d28; }
.hn-chapeau-ruban { fill: #c81e2a; }
.hn-oeil { fill: #1d1d28; }
.hn-carotte { fill: #f08a26; }
.hn-sourire { fill: none; stroke: #1d1d28; stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 0.1 2.6; }
.hn-echarpe { fill: #c81e2a; }
.hn-branche-bras { fill: none; stroke: #6b4226; stroke-width: 2.4; stroke-linecap: round; }


.hn-bras-salut {
  transform-box: view-box;
  transform-origin: 159px 82px;
}

.hn-joue .hn-bras-salut { animation: hn-salut 3s ease-in-out 1; }

@keyframes hn-salut {
  0%, 100% { transform: rotate(0); }
  15%, 45% { transform: rotate(-22deg); }
  30%, 60% { transform: rotate(-6deg); }
  75%      { transform: rotate(-18deg); }
}


.hn-flocon {
  border-radius: 50%;
  background: #fff;
  opacity: 0.8;
}

.hn-cristal { background: none; opacity: 0.85; }
.hn-cristal path { fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; }


.hn-boule {
  width: 30px;
  height: 150px;
  transform-origin: 50% 0;
}

.hn-boule-gauche { left: 3vw; top: 120px; }
.hn-boule-droite { right: 3.5vw; top: 90px; height: 130px; }

.hn-joue.hn-boule { animation: hn-balance 2s ease-in-out 3; }
.hn-joue.hn-boule-droite { animation-duration: 2.4s; animation-iteration-count: 2; }

.hn-ficelle { stroke: #c9b37a; stroke-width: 1; }
.hn-grosse-boule { fill: #c81e2a; }
.hn-boule-droite .hn-grosse-boule { fill: #1f6fd1; }
.hn-motif { fill: none; stroke: #ffd23f; stroke-width: 2; }

@keyframes hn-balance {
  0%, 100% { transform: rotate(0); }
  25%      { transform: rotate(6deg); }
  75%      { transform: rotate(-6deg); }
}


.hn-traineau {
  top: 96px;
  left: 0;
  width: 170px;
  height: 53px;
  transform: translate(-190px, 0);
}

.hn-joue.hn-traineau { animation: hn-traineau 13s linear 1; }

.hn-renne { fill: #8a5a3a; }
.hn-pattes-renne { fill: none; stroke: #6b4226; stroke-width: 1.8; stroke-linecap: round; }
.hn-nez { fill: #ff2a2a; }
.hn-harnais { stroke: #e8b923; stroke-width: 1.2; }
.hn-sac { fill: #8b6a3e; }
.hn-pere { fill: #c81e2a; }
.hn-visage-pere { fill: #f2cfae; }
.hn-barbe { fill: #fff; }
.hn-luge { fill: #a3161f; stroke: #e8b923; stroke-width: 1; }
.hn-patin { fill: none; stroke: #e8b923; stroke-width: 2; stroke-linecap: round; }

@keyframes hn-traineau {
  0%   { transform: translate(-190px, 40px) rotate(-3deg); }
  33%  { transform: translate(30vw, 6px) rotate(-1deg); }
  66%  { transform: translate(60vw, 26px) rotate(-4deg); }
  100% { transform: translate(calc(100vw + 190px), -8px) rotate(-2deg); }
}


.hn-neige-tete {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22px;
  z-index: 1;
}

.hn-neige-tete svg,
.hn-cadeau-hero svg { display: block; width: 100%; height: 100%; }
.hn-congere { fill: #f4f8fd; }
.hn-glacons { fill: #cfe6f7; opacity: 0.9; }


.hn-cadeau-hero {
  position: absolute;
  right: 16px;
  bottom: 10px;
  width: 50px;
  height: 50px;
  z-index: 1;
}


.hn-noel.hn-mobile .hn-coin {
  width: 110px;
  height: 72px;
  opacity: 0.8;
}


.hn-semis {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
}

.hn-semis > div { position: absolute; }
.hn-semis svg { display: block; width: 100%; height: 100%; }

@media (max-width: 700px) {
  .hn-neige-tete { height: 16px; }
  .hn-cadeau-hero { width: 36px; height: 36px; right: 10px; bottom: 8px; }
}
