.birthday-hat-parent {
  position: relative;
}

.party-hat-overlay {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transform: translate(-50%, -84%) rotate(-10deg);
  height: auto;
  max-width: 170px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.28));
}

@media (max-width: 640px) {
  .party-hat-overlay {
    transform: translate(-50%, -82%) rotate(-8deg);
  }
}
