body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding-top: 70px; /* to prevent topbar overlap */
  position: relative;
  overflow-x: hidden; /* avoid horizontal scroll from animation */
}

.collections-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 10px;
  /* Make sure container takes full width but is block below header */
  width: 100%;
  box-sizing: border-box;
}


.container {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 90%;
  max-width: 400px;
  position: relative;
  z-index: 1;
}

h1 {
  margin-bottom: 20px;
  text-align: center;
  color: #2b6cb0;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

select,
input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

button {
  margin-top: 20px;
  width: 100%;
  background-color: #2b6cb0;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background-color: #1e4f80;
}

.gear-category {
  margin: 30px;
  padding: 20px;
  background: #f1faff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gear-category h2 {
  margin-bottom: 10px;
  color: #2b6cb0;
}

.gear-item {
  background: #fff;
  padding: 10px 12px;
  margin: 6px 0;
  border-left: 4px solid #2b6cb0;
  border-radius: 6px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.suggestion-box {
  background: #eef6ff;
  border: 1px solid #2b6cb0;
  padding: 20px;
  margin-top: 20px;
  border-radius: 8px;
  white-space: pre-wrap;
  font-family: monospace;
  color: #1a365d;
}

.topbar {
  width: 100%;
  background-color: #2b6cb0;
  padding: 8px 0;
  text-align: center;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

.topbar a {
  color: white;
  text-decoration: none;
  margin-left: 12px;
  font-weight: 600;
  cursor: pointer;
}

.topbar a:hover {
  text-decoration: underline;
}

/* Fish Animation */
svg.fish {
  overflow: visible;
  width: 235px;
  height: 104px;
  margin-left: -235px;
  position: fixed;
  top: 5em;
  left: 0;
  animation: swim 20s linear infinite;
  z-index: 0;
  pointer-events: none;
}

/* Make all fish parts blue */
svg.fish * {
  fill: #2b6cb0 !important;
}

@keyframes swim {
  0% {
    margin-left: -235px;
  }
  70% {
    margin-left: 100%;
  }
  100% {
    margin-left: 100%;
  }
}

/* Bounce animation */
@keyframes bounce {
  0%, 50%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-5px);
  }
  75% {
    transform: translateY(-3px);
  }
}

svg #fish1,
svg #fish2,
svg #fish3,
svg #fish4,
svg #fish5,
svg #fish6 {
  animation: bounce 2s infinite;
}

svg #fish2 { animation-delay: 0.5s; }
svg #fish3 { animation-delay: 0.2s; }
svg #fish4 { animation-delay: 0.4s; }
svg #fish5 { animation-delay: 0.1s; }
svg #fish6 { animation-delay: 0.3s; }
