/* Google Fonts & CSS Variables */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&family=Caprasimo&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Macondo&family=Quicksand:wght@300..700&display=swap');


:root {   
    /* Colors */
  --title-color: #73463a;

  /* Fonts */
  --font-title: 'Baloo 2', cursive;
  --font-text: 'Quicksand', sans-serif;
}


/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Page layout */
html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center;     /* center vertically */
    height: 100vh;           /* full height of the screen */

    background-image: url('images/background/background-900px.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Titles */
h1{
    font-family: var(--font-title);
    font-size: 3rem;
    color: var(--title-color);
}

/* Menu container */
#menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem; 
}

#raccoon {
  position: fixed;  
  bottom: 0px;         
  max-width: 220px;
  z-index: 10;     
}

/* Buttons */
#start-btn, #how-to-play-btn, #back-btn {
    font-weight: bold;
    padding: 0.8rem 1.5rem;
    font-size: 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

#start-btn, #back-btn {
    background-color: #9a6086;
    border: 3px solid #664059;
    color: white; 
}

#how-to-play-btn {
    background-color: #f6bb9d; 
    border: 3px solid #ac7565;
    color: var(--title-color);
}

 /* Game / How to Play Areas */
#how-to-play-area, #game-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Instructions text */
.instructions {
    font-family: var(--font-text);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--title-color);
    padding: 1.5rem 1rem 1.5rem 1rem;
}