/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700;800;900&family=Comfortaa:wght@400;600;700&display=swap');

:root {
  /* Vibrant Cartoon Palette (Solid Colors) */
  --color-bg: #FFF8E1;
  /* Light Yellow Background */
  --color-paper: #FFFFFF;
  --color-primary: #FF5252;
  /* Bright Red */
  --color-secondary: #00E676;
  /* Bright Green */
  --color-accent: #FFD600;
  /* Bright Yellow */
  --color-blue: #2979FF;
  /* Bright Blue */
  --color-text: #212121;
  /* Almost Black */
  --color-text-light: #757575;

  --font-heading: 'Comfortaa', cursive;
  --font-body: 'Nunito', sans-serif;

  /* Cartoon Shadows (Hard) */
  --shadow-sm: 2px 2px 0px rgba(0, 0, 0, 0.2);
  --shadow-md: 4px 4px 0px rgba(0, 0, 0, 0.2);
  --shadow-lg: 8px 8px 0px rgba(0, 0, 0, 0.15);
  --shadow-hover: 8px 8px 0px rgba(0, 0, 0, 0.25);

  --border-width: 3px;
  --border-color: #212121;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Nunito', sans-serif;
  background-color: #95BCC8;
  background-image: 
    radial-gradient(circle at 1px 1px, rgba(140, 140, 150, 0.04) 1px, transparent 0);
  background-size: 36px 36px;
  color: #333;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  margin-bottom: 0.5em;
}

button {
  font-family: var(--font-heading);
  cursor: pointer;
  border: none;
  outline: none;
}

/* Common Home Button */
.home-button {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--color-secondary);
  color: white;
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}

.home-button:hover {
  transform: scale(1.1);
}

.home-button:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .home-button {
    top: 15px;
    left: 15px;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .home-button {
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}