html {
  scroll-behavior: smooth;
}

body {
  background: #fbedf7;
  color: #1f111b;
}

main {
  position: relative;
}

img {
  border-radius: 16px;
}

input,
textarea,
select {
  border-radius: 12px;
  border: 3px solid #805174;
  background: #fdf6fb;
  color: #1f111b;
  padding: 0.9rem 1rem;
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(128, 81, 116, 0.18);
}

hr.section-rule {
  width: 60%;
  margin: 0 auto;
  border: 0;
  border-top: 1px solid #916559;
}

.decor-circle,
.decor-square,
.decor-dot-grid {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.decor-circle {
  width: 110px;
  height: 110px;
  border: 2px solid #b18aa6;
  border-radius: 9999px;
  opacity: 0.45;
}

.decor-square {
  width: 64px;
  height: 64px;
  border: 2px solid #0c76be;
  border-radius: 18px;
  opacity: 0.4;
  transform: rotate(12deg);
}

.decor-dot-grid {
  width: 110px;
  height: 110px;
  background-image: radial-gradient(#916559 1.6px, transparent 1.6px);
  background-size: 14px 14px;
  opacity: 0.2;
}

.motif-wrap {
  position: relative;
  overflow: hidden;
}

.motif-wrap > * {
  position: relative;
  z-index: 1;
}

.brutalist-card {
  background: #fdf6fb;
  border: 2px solid #0c76be;
  border-radius: 24px;
  box-shadow: 4px 4px 0 #0c76be;
}

.brutalist-button,
.cookie-button,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #fdf6fb;
  color: #1f111b;
  border: 3px solid #805174;
  border-radius: 9999px;
  box-shadow: 3px 3px 0 #805174;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.brutalist-button:hover,
.cookie-button:hover,
.form-submit:hover {
  box-shadow: 0 0 0 #805174;
  transform: translate(3px, 3px);
}

.nav-link {
  color: #1f111b;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #59224d;
}

.stat-pill {
  border: 2px solid #805174;
  border-radius: 9999px;
  background: #fdf6fb;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  background: #fdf6fb;
  border: 3px solid #805174;
  border-radius: 24px;
  box-shadow: 4px 4px 0 #805174;
}

.cookie-banner.is-hidden {
  display: none;
}

@media (min-width: 768px) {
  .cookie-banner {
    left: auto;
    width: 420px;
  }
}
