body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
  }
  
  header {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
  }

  header {
    font-family: 'Comic Sans MS', cursive; /* Playful font */
    background-color: #b8e994;

    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* Set a high z-index to keep it above other elements */
  }

  
  .container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  #characterSelection, #gamePlay {
    text-align: center;
    margin-bottom: 20px;
  }
  
  #avatars {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  #avatars img {
    width: 100px;
    height: 100px;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
  }
  
  #avatars img:hover {
    transform: scale(1.1);
  }
  
  button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  footer {
    text-align: center;
    padding: 1rem 0;
    background-color: #333;
    color: #fff;
  }


  /* Existing styles remain unchanged */

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  
  #options button {
    margin: 5px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    background-color: #f5f5f5; /* Light gray background */
    margin: 0;
    padding: 0;
  }
  
  header {
    /* background-color: #ffcc00;  */
    /* Yellow header background */
    text-align: center;
    padding: 20px 0;
  }
  
  header h1 {
    font-size: 36px;
    color: #333; /* Dark gray text color */
  }
  
  .container {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
  }
  
  #characterSelection, #gamePlay {
    background-color: #fff; /* White background for game sections */
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
  }
  
  h2 {
    font-size: 24px;
    color: #ff6600; /* Orange heading color */
    margin-bottom: 20px;
  }
  
  #avatars img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
  }
  
  #avatars img:hover {
    transform: scale(1.1);
  }
  
  button {
    background-color: #ff6600; /* Orange button background */
    color: #fff; /* White button text color */
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
  }
  
  button:hover {
    background-color: #ff8533; /* Lighter orange on hover */
  }
  
  select {
    padding: 8px;
    font-size: 16px;
  }
  
  footer {
    background-color: #ffcc00; /* Yellow footer background */
    text-align: center;
    padding: 20px 0;
  }
  
  footer p {
    font-size: 16px;
    color: #333; /* Dark gray footer text color */
  }

  #miniGame {
  background-color: #62c5d6; /* Light blue background for the mini-game */
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}

#miniGameCanvas {
  display: block;
  margin: 0 auto;
  border: 2px solid #fff; /* White border around the canvas */
  border-radius: 10px;
}

#scoreDisplay {
  text-align: center;
  font-size: 24px;
  color: #fff; /* White text color for the score */
  margin-top: 10px;
}



button:hover {
  background-color: #ff8533; /* Lighter orange on hover */
}


.message-box {
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
    border: 2px solid #ff6600; /* Orange border */
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
    color: #333; /* Dark gray text color */
    display: none; /* Initially hidden */
  }
  #selectedAvatarContainer {
    text-align: center;
    margin-top: 20px;
  }
  
  #selectedAvatarImg {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* Round the corners to make it look like a circle */
    border: 3px solid #ff6600; /* Orange border */
    box-shadow: 0px 0px 10px rgba(255, 102, 0, 0.5); /* Orange shadow */
    transition: transform 0.3s ease-in-out; /* Smooth hover effect */
  }
  
  #selectedAvatarImg:hover {
    transform: scale(1.1); /* Zoom in a bit on hover */
  }

  
  /* Header style */
header {
    /* background-color: #ffcc00;  */
    /* Yellow header background */
    text-align: center;
    padding: 20px 0;
  }
  
  header h1 {
    font-size: 36px;
    color: #333; /* Dark gray text color */
  }
  
  /* Character selection section style */
  #characterSelection {
    background-color: #fff; /* White background */
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
  }
  
  #characterSelection h2 {
    font-size: 24px;
    color: #ff6600; /* Orange heading color */
    margin-bottom: 20px;
  }
  
  #avatars {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  
  #avatars img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    margin: 10px;
  }
  
  #avatars img:hover {
    transform: scale(1.1);
  }
  
  /* Game play section style */
  #gamePlay {
    background-color: #f5f5f5; /* Light gray background */
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    display: none; /* Initially hidden */
  }
  
  #gamePlay h2 {
    font-size: 24px;
    color: #ff6600; /* Orange heading color */
    margin-bottom: 20px;
  }
  
  /* Selected avatar display style */
  #selectedAvatarContainer {
    text-align: center;
    margin-top: 20px;
  }
  
  #selectedAvatarImg {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* Round the corners to make it look like a circle */
    border: 3px solid #ff6600; /* Orange border */
    box-shadow: 0px 0px 10px rgba(255, 102, 0, 0.5); /* Orange shadow */
    transition: transform 0.3s ease-in-out; /* Smooth hover effect */
  }
  
  #selectedAvatarImg:hover {
    transform: scale(1.1); /* Zoom in a bit on hover */
  }
  
  /* Message box style */
  .message-box {
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
    border: 2px solid #ff6600; /* Orange border */
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
    color: #333; /* Dark gray text color */
    display: none; /* Initially hidden */
  }

  body {
    margin: 0;
    padding: 0;
    background-color: #b8e994; /* Light green background */
    background-image: url('../images/background_game.jpeg'); /* URL of your background image */
    background-size: cover; /* Cover the entire viewport */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Do not repeat the background image */
  }
  header {
    /* background-color: rgba(255, 255, 255, 0.8); */
     /* Semi-transparent white background */
    text-align: center;
    padding: 20px 0;
  }
  .container {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); /* Add a shadow effect */
  }




    /* Navbar */
    .navbar {
      background-color: #ffcc00; /* Bright yellow background */
      border-radius: 15px; /* Rounded corners */
      padding: 15px;
      box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow */
    }
    
    .navbar-nav .nav-item {
      margin-bottom: 15px; /* Add space between menu items */
    }
    
    .navbar-nav .nav-link {
      color: #333; /* Dark text color */
      font-weight: bold;
      padding: 10px 20px; /* Add padding to each menu item */
      font-family: 'Comic Sans MS', cursive; /* Playful font */
      transition: color 0.3s ease; /* Smooth color transition */
      position: relative;
    }
    
    .navbar-nav .nav-link:hover {
      color: #ff5722; /* Dark orange text color on hover */
    }
    
    /* Submenu */
    .dropdown-menu {
      background-color: #fff; /* White background */
      border-radius: 10px; /* Rounded corners */
      box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow */
      animation: slideDown 0.5s ease forwards; /* Slide down animation */
    }
    
    .dropdown-menu .dropdown-item {
      color: #333; /* Dark text color */
      font-family: 'Comic Sans MS', cursive; /* Playful font */
      transition: color 0.3s ease; /* Smooth color transition */
      padding: 10px 20px; /* Add padding to submenu items */
    }
    
    .dropdown-menu .dropdown-item:hover {
      color: #ff5722; /* Dark orange text color on hover */
    }
    
    /* Slide down animation */
    @keyframes slideDown {
      0% {
          opacity: 0;
          transform: translateY(-20px);
      }
      100% {
          opacity: 1;
          transform: translateY(0);
      }
    }
    
    /* Buttons */
    .btn {
      background-color: #ff5722; /* Dark orange background */
      color: #fff; /* White text color */
      border-radius: 25px; /* Rounded corners */
      font-weight: bold;
      font-family: 'Comic Sans MS', cursive; /* Playful font */
      transition: background-color 0.3s ease; /* Smooth background color transition */
    }
    
    .btn:hover {
      background-color: #ff7744; /* Lighter orange background on hover */
      transform: scale(1.05); /* Scale up on hover */
      box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow on hover */
    }
    .logo {
      display: flex;
      align-items: center;
    }
    
    .logo img {
      max-width: 50px;
      margin-right: 10px;
      border-radius: 50%;
    }
    /* Logo */
    .logo img {
      width: 60px; /* Adjust size as needed */
      height: auto;
      margin-right: 10px;
      border-radius: 50%; /* Rounded logo */
      animation: bounce 1.5s infinite alternate; /* Bouncing animation */
    }
    
    .logo h1 {
      font-size: 28px;
      font-weight: bold;
      color: #333; /* Dark text color */
      margin-top: 10px;
      font-family: 'Comic Sans MS', cursive; /* Playful font */
    }
    .logo {
      display: flex;
      align-items: center;
    }
    
    .logo img {
      width: 60px;
      margin-right: 10px;
    }
    
    .logo h1 {
      font-size: 28px;
      font-weight: bold;
      color: #333; /* Dark text color */
      margin-top: 10px;
      font-family:  'Baloo Tamma 2', cursive;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Add a subtle shadow */
      letter-spacing: 2px; /* Adjust letter spacing for readability */
    }
    
    /* Bounce animation */
    @keyframes bounce {
      0% {
          transform: translateY(0);
      }
      100% {
          transform: translateY(-10px);
      }
    }
    
    /* Fade-in animation */
    @keyframes fadeIn {
      from {
          opacity: 0;
          transform: translateY(-10px);
      }
      to {
          opacity: 1;
          transform: translateY(0);
      }
    }
    
    /* Mobile responsiveness */
    @media (max-width: 768px) {
      .navbar-nav .nav-link {
          font-size: 16px; /* Increase font size on smaller screens */
      }
    
      .logo h1 {
          font-size: 22px; /* Decrease font size on smaller screens */
      }
    }
    
    
    /* Adjust the margin or padding of the next section to push it down */
    .header {
      text-align: center;
      font-family: 'Comic Sans MS', cursive; /* Playful font */
    
    }
    
    /* Footer section styles */
    .footer-section {
      font-family: 'Comic Sans MS', cursive; /* Playful font */
      background-color: #ffcc99; /* Light orange background for a playful feel */
      color: #333; /* Dark text color */
      padding: 40px 20px 20px; /* Adjusted padding for better spacing */
      text-align: center;
      width: 100%;
      border-radius: 20px; /* Add rounded corners for a softer look */
    }
    
    .footer-links a,
    .social-media-links a {
      text-decoration: none;
      color: #3498db; /* Blue text color for a playful touch */
      margin: 0 10px; /* Improved spacing between links */
      transition: color 0.3s ease;
      font-weight: bold; /* Add bold font weight for emphasis */
    }
    
    .footer-links a:hover,
    .social-media-links a:hover {
      color: #e74c3c; /* Red accent color on hover */
    }
    
    .footer-links img,
    .social-media-links img {
      max-width: 40px; /* Smaller max-width for logos */
      height: auto; /* Maintain aspect ratio */
      margin: 10px 0; /* Add margin for spacing between logos */
      border-radius: 50%; /* Round logos for a playful look */
    }
    
    
    .footer-section {
    background-color: #333;
    color: #fff;
    padding: 40px 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    text-align: center;
    }
    
    .footer-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    }
    
    .footer-branding {
    flex: 1;
    text-align: left;
    }
    
    .footer-branding img {
    width: 80px;
    margin-bottom: 10px;
    margin-left: 100px;
    border-radius: 50% ;
    }
    .footer-branding p {
    color:rgb(245, 245, 245);
    text-align: center;
    }
    
    .footer-links {
    display: flex;
    justify-content: space-between;
    flex: 2;
    max-width: 800px;
    margin-top: 40px;
    
    }
    
    .footer-category {
    text-align: left;
    margin-bottom: 20px;
    padding: 0 30px;
    margin-right: 20px;
    flex: 1;
    }
    
    .footer-category h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: rgb(146, 153, 200);
    }
    
    .footer-links a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
    
    }
    
    .footer-links a:hover {
    color: #3498db;
    }
    
    /* Remove box styles */
    .footer-links a,
    .footer-category {
    background-color: transparent;
    border: none;
    padding: 0;
    }
    
    .social-media-links {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: auto; /* Set margin-top to auto to push it to the bottom */
    margin-right: 60px;
    }
    
    .social-media-links a {
    margin-right: 20px; /* Add margin between social media icons */
    text-decoration: none; /* Remove underlines from links */
    }
    
    .social-media-links img {
    width: 30px;
    }
    
    /* Remove box styles */
    .social-media-links a {
    background-color: transparent;
    border: none;
    padding: 0;
    }
    h2{
      font-family: 'Comic Sans MS', cursive; /* Playful font */
    }
    p{
      font-family: 'Comic Sans MS', cursive; /* Playful font */
    }
  
  
      
    .header{
      margin-top: 250px;
    }
  