* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
  
  }
  
  
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #333;
  }
  
  .container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  
  /* Navigation Bars */
  
  /* Base styles */
  .desktop-nav, .mobile-nav {
    display: none;
  }
  
  .top-login-container{
    display: flex;
    position: relative;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
  }
  
  /* Hamburger menu icon (hidden by default, shown on smaller screens) */
  .menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #01a37b;
  }
  
  /* Top menu with login/logout buttons */
  .top-menu {
    display: flex !important; /* Always visible by default */
    gap: 10px;
  }
  
  /* Default hidden state for small screens */
  .top-menu.hidden {
    display: none !important;
  }
  
  /* Display menu when "show" class is added */
  .top-menu.show {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 60px !important;
    right: 10px !important;
    background-color: #f8f9fa !important;
    padding: 10px !important;
    border-radius: 5px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
    z-index: 1000 !important; /* Ensure it appears above other elements */
  }
  
  
  
  .hide {
    display: none !important;
  }
  
  .hidden {
    display: none !important;
  }
  
  
  .logo__link {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #8254EA, #E86DEC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-animation 3s ease infinite;
    font-weight: 800;
  }
  
  .logo__img {
    width: 3rem;
    margin-right: 10px;
  }
  
  .top-login-btn, .top-logout-btn {
    margin: 0 10px;
    padding: 10px 20px;
    font-size: 1.2rem !important; 
    font-weight: bold;
    color: #ffffff;
    background: linear-gradient(135deg, #8254EA, #E86DEC);
    background-size: 200% 200%;
    animation: gradient-animation 3s ease infinite;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  
  }
  
  @keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
  }
  
  .top-login-btn:hover, .top-logout-btn:hover {
    background-color: #01765e;
  }
  
  /* Welcome Message */
  .welcome_container{
    background: linear-gradient(135deg, #8254EA 0%, #E86DEC 100%) !important;
  
  }
  #welcome_message {
    background-color: #f0f4f8;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 50px auto;
  }
  
  #welcome_message h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
  }
  
  #welcome_message p {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 30px;
  }
  
  #welcome_message button {
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #8254EA 0%, #E86DEC 100%) !important;
    background-size: 200% 200%;
    animation: gradient-animation 3s ease infinite;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  @keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
  }
  
  
  #welcome_message button:hover {
    background: linear-gradient(135deg, #6f48c9 0%, #b954bd 100%) !important;
  
  }
  
  .access-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .access-form input, .access-form button {
    padding: 12px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    outline: none;
  }
  
  .access-form input:focus {
    border-color: #01a37b;
  }
  
  
  
  .access-form button:hover {
    background-color: #01765e;
  }

  /*Directions*/

.resource_directions{
  background: linear-gradient(135deg, #8254EA 0%, #E86DEC 100%) !important;
padding: 30px;
font-size: 1.2rem;
text-align: center;
color: white;
}
  
  /* Start Screen */
  .startScreen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    text-align: center;
  }
  
  .title_container {
    font-size: 6rem;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  .start_screen_img {
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
  }
  
  .start_btn {
    margin-top: 20px;
    background-color: #FF2A5B;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    cursor: pointer;
    width: 80%;
    max-width: 300px;
    transition: background-color 0.3s;
  }
  
  .start_btn:hover {
    background-color: #a01f3d;
  }
  
  
  /* Skill Selection Screen */
  
  .fisr_sss_container{
    height: 100vh;
    display: flex;
    justify-content: center;
  }
  #skillSelectionScreen {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    max-width: 700px;
    margin: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  #skillSelectionScreen h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
  }
  
  .skillSelectionOptions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .skillButton {
    padding: 15px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    background-color: #01a37b;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
  }
  
  .skillButton:hover {
    background-color: #01765e;
    transform: scale(1.05);
  }
  
  /* Game Screen */
  .gameScreen_container{
    height: 100vh;
    display: flex;
    justify-content: center;
  }
  
  
  #gameScreen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 50vh;
  }
  
  #questionImage {
    width: 20rem !important;
    max-width: 400px;
    margin-bottom: 30px;
  }
  
  .gs_elements {
    display: flex;
    gap: 10px;
    align-items: center;
  }
  
  #scrambledWord {
    font-size: 6rem !important;
    color: white;
    font-weight: 900;
  }
  
  #userAnswer {
    font-size: 6rem;
    text-align: center;
    font-weight: 900;
    width: 230px;
    color: #FE6027;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid #333;
  }
  
  #checkButton {
    margin-top: 17px;
    background-color: #FF2A5B;
    padding: 10px 30px;
    font-size: 2rem;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  #checkButton:hover {
    background-color: #a01f3d;
  }
  
  /* Correct Answer Screen */
  .correct_answer_container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #27fa27;
    padding: 20px;
    border-radius: 10px;
  }
  
  #correctScreen {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  #correctScreen p {
    font-size: 4rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
  }
  
  #correctGif {
    max-height: 60vh !important;
    min-height: 60vh !important;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  #correctScreen button {
    font-size: 1.5rem;
    padding: 10px 20px;
    background-color: #ad0e56;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top:10px ;
  }
  
  #correctScreen button:hover {
    background-color: #800f41;
  }
  
  /* Game Over Screen */
  #gameOverScreen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 50vh;
    background: linear-gradient(135deg, #8254EA 0%, #E86DEC 100%) !important;

  }
  
  #gameOverScreen p {
    font-size: 4rem;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
  }
  
  #gameOverGif {
    width: 80%;
    max-width: 500px;
    margin-bottom: 20px;
  }
  
  #playAgainButton {
    background-color: #FF2A5B;
    padding: 15px 30px;
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  #playAgainButton:hover {
    background-color: #a01f3d;
  }
  
  /* Game Over Screen */
  .gameOverScreen_container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #8254EA 0%, #E86DEC 100%) !important;

    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  #game_over_screen p {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
  }
  
  #gameOverGif img {
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  #playAgainButton {
    background-color: #FF2A5B;
    padding: 15px 30px;
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  #playAgainButton:hover {
    background-color: #a01f3d;
  }
  
  .game-over-options {
    margin-top: 30px;
    text-align: center;
  }
  
  .game-over-options p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
  }
  
  /* Game Over Screen Button */
  #exploreGamesButton {
    background-color: #FF2A5B;
    padding: 15px 30px;
    font-size: 2rem !important;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  #exploreGamesButton:hover {
    background-color: #a01f3d;
  }
  
  .freemium-btn, .full-version-btn {
    margin-top: 15px;
    background-color: rgb(255, 191, 0);
    padding: 10px 25px;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.7rem;
    transition: background-color 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

  }
  
  .freemium-btn:hover, .full-version-btn:hover {
    background-color: #01765e;
  }
  
  .full-version-btn {
    margin-top: 10px;
    background-color: #FF9F1C;
  }
  
  .full-version-btn:hover {
    background-color: #e68a17;
  }
  
  /* Footer */
  .footer {
    background-color: #f8f9fa;
    text-align: center;
    padding: 20px;
    margin-top: auto;
    position: relative;
  }

  footer p{
    background: linear-gradient(135deg, #8254EA, #E86DEC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-animation 3s ease infinite;   
     font-size: 1rem;
  }
  
  /* Extra small screens (max-width: 480px) */
  @media (max-width: 480px) {
    .title_container {
        font-size: 2.5rem !important;
    }
  
    .start_btn, .top-login-btn, .top-logout-btn, #checkButton, #exploreGamesButton {
        font-size: 1.2rem !important;
        padding: 10px 20px !important;
    }
  
    #scrambledWord, #userAnswer {
        font-size: 1.8rem !important;
    }
  
    #questionImage, #gameOverGif {
        width: 90% !important;
        max-width: 300px !important;
    }
  
    #correctScreen p, #gameOverScreen p {
        font-size: 2.5rem !important;
    }
  
    #welcome_message h1 {
        font-size: 2rem !important;
    }
  
    #welcome_message p {
        font-size: 1.1rem !important;
    }
  
    #correctGif {
      max-height: 40vh !important;
      min-height: 40vh !important;
    }
  }
  
  /* Small screens (max-width: 768px) */
  @media (max-width: 768px) {
    .title_container {
        font-size: 3rem !important;
    }
  
    .start_btn, .top-login-btn, .top-logout-btn, #checkButton, #exploreGamesButton {
        font-size: 1.4rem !important;
        padding: 12px 25px !important;
    }
  
    #scrambledWord, #userAnswer {
        font-size: 2.2rem !important;
    }
  
    #questionImage, #gameOverGif {
        width: 80% !important;
        max-width: 350px !important;
    }
  
    #correctScreen p, #gameOverScreen p {
        font-size: 3rem !important;
    }
  
    /* Display hamburger menu on small screens */
    .menu-toggle {
        display: block !important; /* Show the hamburger menu icon */
        font-size: 2rem !important;
        cursor: pointer !important;
        color: #01a37b !important;
    }
  
    /* Hide the top-menu by default */
    .top-menu {
      display: none !important; /* Hidden by default on small screens */
      flex-direction: column !important;
      position: absolute !important;
      top: 60px !important;
      right: 10px !important;
      background-color: #f8f9fa !important;
      padding: 10px !important;
      border-radius: 5px !important;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
      z-index: 1000 !important;
  }
  
  
    /* Styling for login/logout buttons within the top-menu */
    .top-login-btn, .top-logout-btn {
        font-size: 1rem !important;
        padding: 10px 20px !important;
        color: #ffffff !important;
        background-color: #01a37b !important;
        border-radius: 5px !important;
        text-align: center !important;
        margin-top: 5px !important;
        width: 100% !important;
    }
  
    .mobile-nav{
      display: flex !important;
    }
  
    .desktop-nav{
      display: none;
    }
  
    #correctGif {
      max-height: 50vh !important;
      min-height: 50vh !important;
    }
  }
  
  
  /* Medium screens (max-width: 992px) */
  @media (max-width: 992px) {
    .title_container {
        font-size: 4rem !important;
    }
  
    .start_btn, .top-login-btn, .top-logout-btn, #checkButton, #exploreGamesButton {
        font-size: 1.6rem !important;
        padding: 12px 25px !important;
    }
  
    #scrambledWord, #userAnswer {
        font-size: 3rem !important;
    }
  
    #correctScreen p, #gameOverScreen p {
        font-size: 3.5rem !important;
    }
  
    #questionImage, #gameOverGif {
        width: 70% !important;
        max-width: 400px !important;
    }
  
    #correctGif {
      max-height: 55vh !important;
      min-height: 55vh !important;
    }
  }
  