*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 35%, #fbfbfc 0%, #e6e8eb 55%, #d3d6db 100%);
  color: #6b7079;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.scene {
  width: min(640px, 100%);
  height: auto;
  overflow: visible;
}

/* Sign hangs from the nail and sways gently */
.sign {
  transform-origin: 320px 40px;
  animation: sway 6s ease-in-out infinite;
  filter: drop-shadow(0 18px 22px rgba(40, 45, 55, .28));
}

@keyframes sway {
  0%, 100% { transform: rotate(-1.2deg); }
  50%      { transform: rotate(1.2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .sign { animation: none; }
}

/* Sign typography */
.script {
  font-family: "Pacifico", "Brush Script MT", cursive;
  font-size: 46px;
  fill: #fff;
}

.big {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 84px;
  letter-spacing: 4px;
  fill: #fff;
}

.big-shadow {
  fill: #2a0309;
  opacity: .7;
}

.brand {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 6px;
  fill: #fff;
}

footer {
  padding: 0 16px 20px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 2px;
  color: #8a8f97;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
