/* DoneTech Festive Season */

/* Fairy lights along the top of the page */
.dtf-lights { position: absolute; left: 0; right: 0; top: 0; height: 34px; pointer-events: none; z-index: 99990; overflow: visible; }
.dtf-lights.dtf-has-bar { top: 32px; }
@media screen and (max-width: 782px) { .dtf-lights.dtf-has-bar { top: 46px; } }
.dtf-lights svg { display: block; width: 100%; height: 34px; overflow: visible; }
.dtf-lights .dtf-wire { fill: none; stroke: #2e4a3e; stroke-width: 1.6; }
.dtf-lights .dtf-cap { fill: #2e4a3e; }
.dtf-lights .dtf-bulb { animation: dtf-twinkle 2.4s ease-in-out infinite; }
.dtf-lights .dtf-b1 { fill: #ff4d5e; filter: drop-shadow(0 0 4px #ff4d5e); }
.dtf-lights .dtf-b2 { fill: #ffd23f; filter: drop-shadow(0 0 4px #ffd23f); animation-delay: -.6s; }
.dtf-lights .dtf-b3 { fill: #3ddc84; filter: drop-shadow(0 0 4px #3ddc84); animation-delay: -1.2s; }
.dtf-lights .dtf-b4 { fill: #06adef; filter: drop-shadow(0 0 5px #06adef); animation-delay: -1.8s; }
@keyframes dtf-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* Santa hat on the logo */
.dtf-hat { position: absolute; pointer-events: none; z-index: 5; transform: rotate(-18deg); transform-origin: 50% 100%; }

/* Snow resting on chosen elements */
.dtf-cap-snow { position: absolute; left: 14px; right: 14px; top: -4px; height: 12px; pointer-events: none; z-index: 3; filter: drop-shadow(0 1px 1.5px rgba(0, 21, 32, .3)); }
.dtf-cap-snow svg { display: block; width: 100%; height: 100%; }

/* Falling snow */
.dtf-snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 99991; }

/* Visitor switch for the snow */
.dtf-toggle { position: fixed; bottom: 18px; z-index: 99992; width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; margin: 0;
  display: grid; place-items: center; cursor: pointer; background: #071923; color: #fff; box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .55);
  transition: background-color .15s, color .15s; line-height: 1; }
.dtf-toggle.dtf-left { left: 18px; }
.dtf-toggle.dtf-right { right: 18px; }
.dtf-toggle:hover { background: #06adef; color: #001520; }
.dtf-toggle:focus-visible { outline: 2px solid #06adef; outline-offset: 3px; }
.dtf-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.dtf-toggle[aria-pressed="false"] svg { opacity: .45; }

@media (max-width: 720px) {
  .dtf-lights, .dtf-lights svg { height: 28px; }
  .dtf-toggle { width: 40px; height: 40px; bottom: 14px; }
  .dtf-toggle.dtf-left { left: 14px; }
  .dtf-toggle.dtf-right { right: 14px; }
}
@media (prefers-reduced-motion: reduce) { .dtf-lights .dtf-bulb { animation: none; } }
@media print { .dtf-lights, .dtf-hat, .dtf-cap-snow, .dtf-snow, .dtf-toggle { display: none !important; } }
