/* Import Google Fonts (optional - uncomment to use) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Playfair+Display:wght@700&family=Open+Sans:wght@400;600&family=Montserrat:wght@500;700&display=swap');

/* Root font variables - change these to update fonts across the project */
:root {
  /* Main font for body text */
  --font-primary: 'Arial', sans-serif;
  
  /* Font for headings/titles */
  --font-heading: 'Arial', sans-serif;
  
  /* Font for navigation */
  --font-nav: 'Arial', sans-serif;
  
  /* Font sizes */
  --font-size-body: 16px;
  --font-size-nav: 24px;
  --font-size-title: 92px;
  --font-size-subtitle: 46px;
}

/* HTML & Body */
html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
  font-family: var(--font-primary);
  background-color: #0a0a0a;
}

/* Canvas */
canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0 !important; /* canvas sits above page background */
}

/* P5.js Button Styling (Start Now / All Done) */
button {
  font-family: var(--font-primary);
  font-size: 30px;
  font-weight: 500;
  border-radius: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

button:active {
  transform: scale(0.98);
}

.fredoka-variable {
  font-family: "Fredoka", sans-serif;
  font-optical-sizing: auto;
  /* Use a concrete numeric font-weight or a CSS variable (e.g. 400, 500, 700) */
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.days-one-regular {
  font-family: "Days One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* Scrolling fish list styles */
.fish-scroller {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  position: absolute; /* placed by p5.position(), ensure absolute CSS */
  z-index: 1000 !important; /* keep scroller above canvas */
  background: rgba(19,24,48,0.92); /* darker solid backdrop for readability */
  padding: 8px 12px; /* ensure comfortable padding */
  border-radius: 28px;
}
.fish-scroller::-webkit-scrollbar {
  display: none;
}
.fish-item {
  display: inline-block;
  margin-right: 12px;
  padding: 8px 16px;
  border-radius: 22px;
  border: 2px solid rgba(255,255,255,0.35);
  color: #ffffff;
  background: transparent;
  cursor: pointer;
  font-family: "Fredoka", sans-serif;
  font-size: 18px;
}
.fish-item:hover {
  background: rgba(255,255,255,0.06);
}

/* Fun fact box */
.fun-fact-box {
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 14px;
  background: rgba(19,24,48,0.92); /* darker solid panel */
  color: #eafcff;
  font-family: "Fredoka", sans-serif;
  position: absolute;
  z-index: 1000 !important; /* ensure visible above canvas */
}
.fun-fact-title {
  font-family: "Days One", sans-serif;
  font-size: 22px;
  margin-bottom: 8px;
}
.fun-fact-text {
  font-size: 16px;
  line-height: 1.4;
}