/* GLOBAL */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-image: url('background.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  z-index: 1000;
}

.tab {
  padding: 8px 16px;
  background: #f6d365;
  border-radius: 8px;
  font-family: 'Fredoka';
  text-decoration: none;
  color: black;
  box-shadow: 2px 4px 0px rgba(0,0,0,0.2);
  transform: rotate(-2deg);
  transition: 0.2s;
}

.tab:nth-child(2) { background: #ff9ecb; transform: rotate(2deg); }
.tab:nth-child(3) { background: #a5d8ff; transform: rotate(-1deg); }
.tab:nth-child(4) { background: #b5f2a5; transform: rotate(1deg); }

.tab:hover {
  transform: scale(1.05) rotate(0deg);
}

/* SECTIONS */
section {
  max-width: 700px;
  margin: 60px auto;
  padding: 24px;
  background: #fdf6e3;
  box-shadow: 6px 8px 0px rgba(0,0,0,0.2);
  transform: rotate(-1deg);
}

h1, h2 {
  font-family: 'Fredoka';
  margin-top: 0;
}

h1 {
  font-size: 3rem;
  text-align: center;
}

h2 {
  font-size: 1.8rem;
}

.accent {
  font-family: 'Permanent Marker';
}

.center {
  text-align: center;
}

/* BUTTON GRID */
.button-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.button {
  background: #ffdf6b;
  padding: 12px;
  text-align: center;
  border-radius: 10px;
  font-family: 'Fredoka';
  text-decoration: none;
  color: black;
  box-shadow: 3px 5px 0 rgba(0,0,0,0.2);
  transition: 0.2s;
}

.button:hover {
  transform: scale(1.05);
}

/* LISTS */
ul {
  padding-left: 20px;
}

.faq-item {
  margin-bottom: 12px;
}

/* MERCH PAGE */
header {
  text-align: center;
  padding: 20px;
  font-family: 'Fredoka';
  font-size: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 900px;
  margin: auto;
}

.card {
  background: #fdf6e3;
  padding: 16px;
  transform: rotate(-2deg);
  box-shadow: 5px 7px 0 rgba(0,0,0,0.2);
}

.card:nth-child(even) {
  transform: rotate(2deg);
}

h3 {
  font-family: 'Fredoka';
  margin-top: 0;
}

.price {
  font-family: 'Permanent Marker';
  margin: 8px 0;
}

button {
  background: #ffdf6b;
  border: none;
  padding: 8px 12px;
  font-family: 'Fredoka';
  cursor: pointer;
  box-shadow: 2px 3px 0 rgba(0,0,0,0.2);
}

/* BACK LINK */
.back-link {
  display: block;
  text-align: center;
  margin: 20px;
}

/* MOBILE */
@media (max-width: 600px) {
  .button-grid {
    grid-template-columns: 1fr;
  }
}
