
:root {
  --app-bg: #f5f7fb;
  --app-surface: #ffffff;
  --app-border: #e7eaf0;
  --app-text: #1f2937;
  --app-muted: #6b7280;
  --app-primary: #0d6efd;
  --app-primary-soft: rgba(13, 110, 253, .08);
  --app-purple: #6f42c1;
  --app-radius: 18px;
  --app-shadow: 0 14px 40px rgba(31, 41, 55, .07);
}

html, body { min-height: 100%; }

body.sdq-modern {
  margin: 0;
  overflow-x: hidden;
  color: var(--app-text);
  background:
    radial-gradient(circle at top left, rgba(13, 110, 253, .08), transparent 30rem),
    radial-gradient(circle at 85% 20%, rgba(111, 66, 193, .06), transparent 28rem),
    var(--app-bg) !important;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
}

body.sdq-modern a { text-underline-offset: 2px; }

/* --------------------------------------------------------------------------
   Shared top navigation
   -------------------------------------------------------------------------- */
.site-navbar {
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231,234,240,.95);
  box-shadow: 0 6px 22px rgba(31,41,55,.04);
  z-index: 1100;
}
.site-nav-inner { width: 100%; max-width: 1260px; margin: 0 auto; }
.site-brand { gap: .7rem; color: #111827 !important; text-decoration: none !important; }
.site-brand-logo { width: 36px; height: 36px; object-fit: contain; }
.site-brand-title { display:block; font-weight: 600; letter-spacing: -.015em; line-height: 1.05; font-size: 1rem; }
.site-brand-subtitle { display:block; color: var(--app-muted); font-size: .71rem; line-height: 1.15; margin-top: 2px; font-weight: 400; }
.site-navbar .navbar-toggler { border: 1px solid var(--app-border); border-radius: 10px; padding: .42rem .58rem; }
.site-navbar .navbar-toggler:focus { outline: none; box-shadow: 0 0 0 .2rem rgba(13,110,253,.1); }
.site-navbar .navbar-nav .nav-link {
  color: #4b5563;
  font-weight: 500;
  font-size: .91rem;
  border-radius: 9px;
  padding: .55rem .72rem;
  white-space: nowrap;
}
.site-navbar .navbar-nav .nav-link:hover,
.site-navbar .navbar-nav .nav-link.active,
.site-navbar .navbar-nav .show > .nav-link {
  color: var(--app-primary);
  background: var(--app-primary-soft);
}
.site-navbar .dropdown-menu {
  border: 1px solid var(--app-border);
  border-radius: 14px;
  padding: .45rem;
  box-shadow: 0 18px 40px rgba(31,41,55,.12);
  min-width: 250px;
}
.site-navbar .dropdown-item {
  border-radius: 9px;
  padding: .55rem .65rem;
  font-size: .89rem;
  color: #374151;
}
.site-navbar .dropdown-item:hover { background: #f4f7fb; color: #111827; }
.site-navbar .dropdown-item.active,
.site-navbar .dropdown-item:active { background: var(--app-primary); color: #fff; }
.site-navbar .dropdown-header { color: #9ca3af; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }

/* Retire the old fixed sidebar/topbar without touching its markup or JS. */
body.sdq-modern #sidebar-wrapper,
body.sdq-modern #page-content-wrapper > .navbar-custom { display: none !important; }
body.sdq-modern #wrapper,
body.sdq-modern #wrapper.toggled { padding-left: 0 !important; }
body.sdq-modern #page-content-wrapper,
body.sdq-modern #wrapper.toggled #page-content-wrapper {
  width: 100% !important;
  position: relative !important;
  margin-right: 0 !important;
  padding: 0 !important;
}

/* --------------------------------------------------------------------------
   General pages / score forms
   -------------------------------------------------------------------------- */
body.sdq-modern #main-row {
  margin: 0 !important;
  padding: 30px 16px 52px;
  display: flex;
  justify-content: center;
}
body.sdq-modern #main-row > .col:not(#main-col) { display: none; }
body.sdq-modern #main-col {
  flex: 0 1 1040px;
  width: min(1040px, 100%);
  max-width: 1040px !important;
  margin: 0 auto !important;
  padding: 22px 24px 26px !important;
  background: rgba(255,255,255,.97) !important;
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius) !important;
  box-shadow: var(--app-shadow);
}
body.sdq-modern #iewarning {
  border-radius: 12px;
  border: 1px solid #fecaca;
  background: #fff7f7 !important;
  color: #b91c1c !important;
  margin: 0 0 16px !important;
}
body.sdq-modern #main-col > .d-flex.border-bottom {
  margin: -4px -2px 18px;
  padding: 0 2px 15px !important;
  border-bottom: 1px solid var(--app-border) !important;
}
body.sdq-modern #main-col > .d-flex.border-bottom h1,
body.sdq-modern #main-col > .d-flex.border-bottom h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.025em;
}
body.sdq-modern #main-col > .d-flex.border-bottom h1 i,
body.sdq-modern #main-col > .d-flex.border-bottom h2 i { color: var(--app-primary); margin-right: .25rem; }

body.sdq-modern .form-group label.h5 { font-size: .84rem; font-weight: 600; color: #374151; margin-bottom: .42rem; }
body.sdq-modern .form-control {
  min-height: 44px;
  border: 1px solid #d9dee7;
  border-radius: 11px;
  color: #1f2937;
  background: #fff;
  box-shadow: none;
}
body.sdq-modern .form-control:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 .22rem rgba(13,110,253,.10);
}

body.sdq-modern #main-col .table {
  color: #374151;
  margin-bottom: 1.15rem;
  border-collapse: separate;
  border-spacing: 0;
}
body.sdq-modern #main-col .table thead th,
body.sdq-modern #main-col .table .thead-dark th {
  background: #f7f9fc !important;
  color: #475569 !important;
  border-top: 1px solid var(--app-border) !important;
  border-bottom: 1px solid var(--app-border) !important;
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: .7rem .62rem;
}
body.sdq-modern #main-col .table thead th:first-child { border-left: 1px solid var(--app-border); border-radius: 12px 0 0 0; }
body.sdq-modern #main-col .table thead th:last-child { border-right: 1px solid var(--app-border); border-radius: 0 12px 0 0; }
body.sdq-modern #main-col .table tbody tr > * {
  border-top: 0;
  border-bottom: 1px solid #eef1f5;
  padding: .2rem .6rem;
  background: rgba(255,255,255,.72);
}
body.sdq-modern #main-col .table tbody tr:hover > * { background: #f9fbfd; }
body.sdq-modern #main-col .table tbody tr:last-child > *:first-child { border-radius: 0 0 0 12px; }
body.sdq-modern #main-col .table tbody tr:last-child > *:last-child { border-radius: 0 0 12px 0; }
body.sdq-modern #main-col .table tbody th:first-child,
body.sdq-modern #main-col .table tbody td:first-child { border-left: 1px solid #eef1f5; }
body.sdq-modern #main-col .table tbody td:last-child,
body.sdq-modern #main-col .table tbody th:last-child { border-right: 1px solid #eef1f5; }
body.sdq-modern #main-col .table td a:not(.btn),
body.sdq-modern #main-col .table th a:not(.btn) { color: #374151; text-decoration: none; }

body.sdq-modern .btn-group-toggle .btn {
  border-radius: 8px !important;
  margin-left: 4px;
  border-width: 1px;
  background: #fff;
  color: #64748b;
  box-shadow: none !important;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
body.sdq-modern .btn-group-toggle .btn:first-child { margin-left: 0; }
body.sdq-modern .btn-outline-primary:hover,
body.sdq-modern .btn-outline-primary:focus { background: #eef5ff; color: #0d6efd; border-color: #86b7fe; }
body.sdq-modern .btn-group-toggle .btn.active,
body.sdq-modern .btn-outline-primary:not(:disabled):not(.disabled).active {
  background: var(--app-primary) !important;
  color: #fff !important;
  border-color: var(--app-primary) !important;
  box-shadow: 0 5px 12px rgba(13,110,253,.16) !important;
}
body.sdq-modern .btn-sdq { min-width: 48px; min-height: 34px; }
body.sdq-modern .btn-k10p { min-width: 42px; min-height: 40px; display:inline-flex; align-items:center; justify-content:center; }
body.sdq-modern .btn-k10p a { color: inherit !important; }

body.sdq-modern #results-table {
  margin-top: 10px;
  border: 1px solid var(--app-border);
  border-radius: 14px;
  overflow: hidden;
}
body.sdq-modern #results-table tbody th { color: #111827; font-weight: 600; }
body.sdq-modern #results-table h6 { margin: 0; font-size: .92rem; font-weight: 600; }

body.sdq-modern .btn {
  border-radius: 10px;
  font-weight: 600;
}
body.sdq-modern #calcscores,
body.sdq-modern #calck10score {
  background: var(--app-primary);
  border-color: var(--app-primary);
  color: #fff;
  padding: .62rem 1rem;
  box-shadow: 0 8px 18px rgba(13,110,253,.16);
}
body.sdq-modern #openwindow {
  background: #fff;
  border-color: #d9dee7;
  color: #374151;
  padding: .62rem 1rem;
}
body.sdq-modern #openwindow:hover { background: #f8fafc; border-color: #cbd5e1; }
body.sdq-modern button[onclick*="reload"] {
  background: #f8fafc !important;
  color: #64748b !important;
  border: 1px solid #e2e8f0 !important;
  padding: .5rem .72rem !important;
}

/* Jotform links page */
body.jotform-modern #main-col { max-width: 980px !important; flex-basis: 980px; }
body.jotform-modern #main-col .table { margin-top: .2rem; }
body.jotform-modern #main-col .table-borderless tbody tr > * { border-left: 0; border-right: 0; }
body.jotform-modern .table-gradient-bg { display: none; }
body.jotform-modern .btn-group[role="group"] { gap: 6px; }
body.jotform-modern .btn-group[role="group"] > .btn {
  margin-left: 0 !important;
  border-radius: 9px !important;
  font-size: .82rem;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
body.jotform-modern .copy-area {
  background: #eef5ff !important;
  color: #0d6efd !important;
  border-color: #d6e7ff !important;
}
body.jotform-modern a.btn-dark {
  background: #fff !important;
  color: #374151 !important;
  border-color: #d9dee7 !important;
}
body.jotform-modern a.btn-dark:hover { background: #f8fafc !important; }

/* --------------------------------------------------------------------------
   Home page
   -------------------------------------------------------------------------- */
.modern-page-shell { width: min(1220px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 52px; }
.surface-card,
.tool-card,
.resource-card {
  background: rgba(255,255,255,.97);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  box-shadow: var(--app-shadow);
}
.hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 58px);
  min-height: 300px;
  display: flex;
  align-items: center;
}
.hero-card::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  right: -95px;
  top: -120px;
  background: linear-gradient(135deg, rgba(13,110,253,.14), rgba(111,66,193,.1));
}
.hero-content { position: relative; z-index: 1; }
.hero-logo { width: 74px; height: 74px; object-fit: contain; margin-bottom: 18px; filter: drop-shadow(0 8px 15px rgba(0,0,0,.08)); }
.hero-title { margin: 0 0 .7rem; font-size: clamp(2rem, 5vw, 3.35rem); font-weight: 700; letter-spacing: -.04em; color:#111827; }
.hero-copy { color: var(--app-muted); max-width: 680px; font-size: 1.04rem; }
.section-heading { margin: 34px 0 16px; }
.section-heading h2 { margin: 0; font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; color:#111827; }
.section-heading p { color: var(--app-muted); font-size: .9rem; margin: .25rem 0 0; }
.tool-card,
.resource-card { height: 100%; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.tool-card:hover,
.resource-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(31,41,55,.11); border-color: #dbe2ec; }
.tool-card .card-body,
.resource-card .card-body { padding: 20px; }
.tool-card h3,
.resource-card h3 { margin: 0 0 .5rem; font-size: 1.02rem; font-weight: 600; color:#111827; }
.tool-card p,
.resource-card p { margin: 0 0 .8rem; color: var(--app-muted); font-size: .88rem; line-height: 1.55; }
.tool-icon,
.resource-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--app-primary);
  background: var(--app-primary-soft);
  margin-bottom: 14px;
  font-size: 1rem;
}
.tool-meta { color: #64748b; font-size: .76rem; font-weight: 600; }
.resource-card .btn { font-size: .78rem; padding: .4rem .62rem; }

/* 404 */
.error-card { max-width: 720px; margin: 70px auto 0; padding: clamp(30px,5vw,54px); text-align:center; }
.error-code { font-size: clamp(4rem, 16vw, 8rem); line-height: 1; font-weight: 700; letter-spacing: -.06em; color:#111827; }

.site-footer { color: #94a3b8; text-align: center; font-size: .76rem; padding: 4px 16px 30px; }

/* --------------------------------------------------------------------------
   Score / PDF popup windows
   -------------------------------------------------------------------------- */
body.popup-modern {
  background: #f5f7fb !important;
  color: var(--app-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding: 18px;
}
body.popup-modern #toprint {
  background: #fff;
  border: 1px solid var(--app-border);
  border-radius: 16px;
  box-shadow: var(--app-shadow);
  max-width: 850px;
  margin: 0 auto;
  padding: 18px !important;
}
body.popup-modern #toprint .table {
  border: 1px solid var(--app-border) !important;
  border-radius: 10px;
  overflow: hidden;
  color:#374151;
}
body.popup-modern #toprint .thead-dark th {
  background:#f7f9fc !important;
  color:#475569 !important;
  border-color:var(--app-border) !important;
  font-size:.75rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.02em;
}
body.popup-modern #toprint td,
body.popup-modern #toprint th { border-color:#eef1f5 !important; }
body.popup-modern #toprint h6,
body.popup-modern #toprint a.h6 { color:#111827; font-size:.92rem; font-weight:600; text-decoration:none; }
body.popup-modern .nottoprint,
body.popup-modern #toprint + .container-fluid {
  max-width:850px;
  margin: 14px auto 0;
}
body.popup-modern .movebuttons { max-width:850px; margin:14px auto 0; }
body.popup-modern .btn { border-radius:10px; font-weight:600; }
body.popup-modern .btn-primary { background:var(--app-primary); border-color:var(--app-primary); }
body.popup-modern .btn-dark { background:#fff; border-color:#d9dee7; color:#374151; }
body.popup-modern .btn-dark a { color:#374151 !important; }

@media (max-width: 991.98px) {
  .site-navbar .navbar-collapse { padding: .6rem 0 .8rem; }
  .site-navbar .dropdown-menu { box-shadow:none; margin:.25rem 0 .4rem; }
  body.sdq-modern #main-row { padding: 20px 12px 38px; }
  body.sdq-modern #main-col { padding: 18px 16px 22px !important; border-radius: 15px !important; }
}

@media (max-width: 767.98px) {
  .modern-page-shell { width: min(100% - 24px, 1220px); padding-top:22px; }
  .site-brand-subtitle { display:none; }
  body.sdq-modern #main-col .table { font-size:.88rem; }
  body.sdq-modern #main-col > .row > [class*="col-"] { min-width:0; }
  body.sdq-modern #main-col .table td:nth-child(2) { min-width: 260px; }
  body.sdq-modern .btn-group-toggle { white-space:nowrap; }
  body.jotform-modern .btn-group[role="group"] { display:grid !important; grid-template-columns:1fr; }
  body.jotform-modern #main-col .table th,
  body.jotform-modern #main-col .table td { display:block; width:100% !important; }
  body.jotform-modern #main-col .table th { padding-bottom:.2rem; border-bottom:0; }
  body.jotform-modern #main-col .table td { padding-top:.2rem; margin-bottom:.65rem; }
}

@media print {
  body.popup-modern { background:#fff !important; padding:0 !important; }
  body.popup-modern #toprint { border:0 !important; box-shadow:none !important; border-radius:0 !important; margin:0 !important; max-width:none !important; }
  body.popup-modern .nottoprint,
  body.popup-modern .movebuttons,
  body.popup-modern #toprint + .container-fluid { display:none !important; }
}

/* Typography - match Bootstrap / Envelope Printer */
:root {
    --bs-font-sans-serif:
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        sans-serif;
}

body {
    font-family:
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        sans-serif;
    font-weight: 400;
}

/* Branding */
.site-brand-logo {
    display: block;
    width: auto;
    height: 30px;
    max-width: 100%;
    margin-left: 5px;
}

.site-brand-title {
    font-family: "Avenir Next World", "Avenir Next", Avenir, sans-serif;
    font-weight: 500;
    letter-spacing: -0.01em;
    font-size: 1.15rem;
}

/* Navigation */
.navbar-nav .nav-link {
    font-weight: 500;
}

/* Page headings */
.hero-title {
    font-size: clamp(1.55rem, 2vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.page-heading h1 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.section-heading h2 {
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Home page cards */
.tool-card h3,
.resource-card h3 {
    font-weight: 600;
    letter-spacing: 0;
}

.tool-meta {
    font-weight: 600;
}

/* Address book */
.contact-card .card-title {
    font-weight: 600;
    letter-spacing: 0;
}

/* Medication search */
.medication-card h3 {
    font-weight: 600;
}

/* Buttons */
.btn {
    font-weight: 450;
}


/* MISC STUFF */
.glitter-wrapper {
  position: relative;
  display: inline-block; /* Shrink-wraps tightly to text width */
  padding: 0 4px;
}

.glitter-text {
  position: relative;
  z-index: 1;
  font-weight: 700;
  background: linear-gradient(110deg,rgba(147, 92, 184, 1) 0%, rgba(209, 98, 192, 1) 16%, rgba(219, 112, 176, 1) 35%, rgba(131, 166, 235, 1) 58%, rgba(181, 94, 168, 1) 80%, rgba(147, 92, 184, 1) 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: twinkle-hover 2.2s infinite ease-in-out;
}

/* Evenly spaced across 0% - 100% of text width */
.p1  { width: 2.5px; height: 2.5px; background: #f72585; box-shadow: 0 0 4px #f72585; top: 15%; left: 0%;   animation-delay: 0s; }
.p2  { width: 2px;   height: 2px;   background: #4cc9f0; box-shadow: 0 0 3px #4cc9f0; top: 75%; left: 4%;   animation-delay: 0.4s; }
.p3  { width: 3px;   height: 3px;   background: #b5179e; box-shadow: 0 0 4px #b5179e; top: 40%; left: 9%;   animation-delay: 0.8s; }
.p4  { width: 2px;   height: 2px;   background: #7209b7; box-shadow: 0 0 3px #7209b7; top: 85%; left: 13%;  animation-delay: 1.2s; }
.p5  { width: 2.5px; height: 2.5px; background: #4cc9f0; box-shadow: 0 0 4px #4cc9f0; top: 20%; left: 18%;  animation-delay: 0.2s; }
.p6  { width: 3px;   height: 3px;   background: #f72585; box-shadow: 0 0 4px #f72585; top: 65%; left: 22%;  animation-delay: 1.5s; }
.p7  { width: 2px;   height: 2px;   background: #b5179e; box-shadow: 0 0 3px #b5179e; top: 30%; left: 27%;  animation-delay: 0.9s; }
.p8  { width: 3px;   height: 3px;   background: #4cc9f0; box-shadow: 0 0 4px #4cc9f0; top: 80%; left: 31%;  animation-delay: 1.8s; }
.p9  { width: 2px;   height: 2px;   background: #7209b7; box-shadow: 0 0 3px #7209b7; top: 15%; left: 36%;  animation-delay: 0.5s; }
.p10 { width: 2.5px; height: 2.5px; background: #f72585; box-shadow: 0 0 4px #f72585; top: 70%; left: 40%;  animation-delay: 1.3s; }
.p11 { width: 2px;   height: 2px;   background: #4cc9f0; box-shadow: 0 0 3px #4cc9f0; top: 25%; left: 45%;  animation-delay: 0.1s; }
.p12 { width: 3px;   height: 3px;   background: #b5179e; box-shadow: 0 0 4px #b5179e; top: 85%; left: 49%;  animation-delay: 1.6s; }
.p13 { width: 2px;   height: 2px;   background: #7209b7; box-shadow: 0 0 3px #7209b7; top: 35%; left: 54%;  animation-delay: 1.9s; }
.p14 { width: 2.5px; height: 2.5px; background: #f72585; box-shadow: 0 0 4px #f72585; top: 75%; left: 58%;  animation-delay: 0.7s; }
.p15 { width: 2px;   height: 2px;   background: #4cc9f0; box-shadow: 0 0 3px #4cc9f0; top: 20%; left: 63%;  animation-delay: 1.1s; }
.p16 { width: 3px;   height: 3px;   background: #b5179e; box-shadow: 0 0 4px #b5179e; top: 65%; left: 67%;  animation-delay: 0.3s; }
.p17 { width: 2px;   height: 2px;   background: #7209b7; box-shadow: 0 0 3px #7209b7; top: 30%; left: 72%;  animation-delay: 1.4s; }
.p18 { width: 2.5px; height: 2.5px; background: #f72585; box-shadow: 0 0 4px #f72585; top: 80%; left: 76%;  animation-delay: 1.0s; }
.p19 { width: 2px;   height: 2px;   background: #4cc9f0; box-shadow: 0 0 3px #4cc9f0; top: 15%; left: 81%;  animation-delay: 0.6s; }
.p20 { width: 3px;   height: 3px;   background: #b5179e; box-shadow: 0 0 4px #b5179e; top: 70%; left: 85%;  animation-delay: 1.7s; }
.p21 { width: 2px;   height: 2px;   background: #f72585; box-shadow: 0 0 3px #f72585; top: 25%; left: 90%;  animation-delay: 0.2s; }
.p22 { width: 2.5px; height: 2.5px; background: #4cc9f0; box-shadow: 0 0 4px #4cc9f0; top: 85%; left: 94%;  animation-delay: 1.5s; }
.p23 { width: 2px;   height: 2px;   background: #7209b7; box-shadow: 0 0 3px #7209b7; top: 35%; left: 98%;  animation-delay: 0.9s; }
.p24 { width: 3px;   height: 3px;   background: #f72585; box-shadow: 0 0 4px #f72585; top: 60%; left: 102%; animation-delay: 1.3s; }

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes twinkle-hover {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.2);
  }
  50% {
    opacity: 0.4;
    transform: translate(1px, 1px) scale(1.1);
  }
  100% {
    opacity: 0;
    transform: translate(-1px, 2px) scale(0.2);
  }
}