/* 1. Make the body take full height and use flex */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Full viewport height */
    font-family: Arial, sans-serif;
    background-color: #033531;
    color: #3bbeb4;
    text-align: center;
    padding: 20px;
    margin: 0; /* Remove default margin */
  }
  
  /* 2. Make the main content area grow */
  #game, .container {
    flex: 1; /* Take remaining space */
  }
  
  
  h1 {
    margin-bottom: 10px;
  }
  
  #game {
    margin-top: 20px;
  }
  
  .word-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .word {
    background: #fff;
    color: #333;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 10px 20px;
    margin: 8px;
    cursor: pointer;
    transition: 0.2s;
  }
  
  .word.selected {
    border: 2px solid #4285f4;
    background: #dbeafe;
  }
  
  button {
    background: #4285f4;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
  }
  
  button:hover {
    background: #3367d6;
  }
  
  #score {
    margin-top: 20px;
    font-size: 20px;
  }
  








/* 2 */
/* Navbar container */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000; /* Makes sure it stays on top */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, #475058, #00f2fe);
    padding: 1em 2em;
  }

  /* Logo or brand name */
  .navbar .logo {
    color: white;
    font-size: 1.5em;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
  }

  /* Navbar links */
  .navbar ul {
    list-style: none;
    display: flex;
    font-size: 30px;
    gap: 1.5em;
    margin: 0;
    padding: 0;
  }

  .navbar ul li a {
    text-decoration: none;
    
    color: white;
    font-size: 1em;
    transition: color 0.3s ease;
  }

  .navbar ul li a:hover {
    color: #222;
  }

  /* Responsive for small screens (optional basic example) */
  @media (max-width: 600px) {
    .navbar {
      flex-direction: column;
      align-items: flex-start;
    }

    .navbar ul {
      flex-direction: column;
      gap: 0.5em;
      margin-top: 1em;
    }
  }













/* 3 */
/* footer */

 /* 3. Footer stays at bottom */
.footer {
    background-color: #343a40;
    text-align: center;
    padding: 1em 0;
    font-size: 0.9em;
    color: white;
  }

  





