#rr_app{
  background: #070028;
  display: flex;
  justify-content: center;
  padding: 30px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  min-height: 100vh;
  max-width: 100vw;
  align-items: center;
}

/* place at top of ras.css (or your main stylesheet) */

.skill-filter {
  text-align: center;
  margin-bottom: 1rem;
}
#skillSearch {
  width: 80%;
  max-width: 400px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 4px;
}

.highlight {
  background-color: #fff176; /* pale yellow */
  transition: background-color 0.3s;
}


.startScreen {
  position: relative;
  width: 100%;
  height: 100vh; /* Ensures it covers the full height of the viewport */
  background: url('imgs/bg.jpeg') no-repeat center center/cover; /* Covers the full screen */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-attachment: fixed;

}

.tagline{
  font-size: 1.9rem !important;
  font-weight: 800;
  color: #ffd92f;
}

/* Dark Overlay */
.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.574); /* Adjust darkness by changing the alpha */
  z-index: 1;

}

/* Content Container */
.content-container {
  position: relative;
  z-index: 2; /* Above overlay */
  text-align: center;
  color: #fff;
}


.hidden {
  display: none !important;
}

.hide{
  display: none !important;
}

.startScreen{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.title_container {
  text-align: center;
  font-size: 7rem;
  font-weight: 900;
  line-height: 1.3; 
  color: white; 
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
  margin-bottom: 20px;

}

.start_screen_img{
  width: 700px;
  margin-top: 20px;
}


.start_btn{
  margin-top: 20px;
  margin-bottom: 10px;
background-color: #ffbb00;
font-size: 2.5rem;
font-weight: 800;
color: white;
padding: 5px 20px;
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
border: none;
cursor: pointer;
width: 80%;
}

.start_btn:hover{
background-color: #c49107;
}

.title {
  font-size: 6rem;
  font-weight: 900;
  color: white;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.start-screen-img {
  width: 50%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.start-btn {
  background-color: #ffbb00;
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  padding: 10px 30px;
  border: none;
  border-radius: 1px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 50%;
  margin-top: 20px;
}

#gameScreen{
  width: 90%;
}

#question{
  font-size: 3rem;
  color: white;
  font-weight: 600;
  text-align: center;
}

.answer-options{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  width: 100%;
}

.answer-options button{
  font-size: 4rem;
  font-weight: 900;
}

#userAnswer{
font-size: 4.5rem;
text-align: center;
font-weight: 900;
width: 500px;
}

#correctScreen{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.correct{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

#correctScreen p{
color: rgb(49, 251, 49);
font-weight: 900;
font-size: 5rem;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);

}

#correctScreen img{
max-height: 700px;
min-height: 450px;
}

label{
  font-size: 3rem;
  color: white;
  font-weight: 800;
}

input{
  font-size: 3rem;
  text-align: center;
}

#correctScreen button{
margin-top: 10px;
font-size: 2rem;
cursor: pointer;
background-color:rgb(49, 251, 49);
border: none;
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
font-weight: 800;
width: 250px;
}

#correctScreen button:hover{
background-color:rgb(38, 210, 38);
}

.dance-gif:hover {
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12), 0 10px 20px rgba(0,0,0,0.24);
}

.choose-winner-screen p{
  font-size: 3rem;
  color: white;
  text-align: center;
}

.choose-winner-screen{
  width: 90%;
}

.winner-options{
  display: grid;
  grid-template-columns: repeat(5,1fr);
}

.winner-options img{
  min-height: 250px;
  max-height: 250px;
  max-width: 250px;
  min-width: 250px;
}

.end_text{
color: rgb(49, 251, 49);
font-weight: 900;
font-size: 8rem;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.end_gif{
width: 650px;
}


.word-image{
margin: auto; /* This will center the image if its container is flex */
display: flex; 
justify-content: center; 
align-items: center; 
}



.response_text{
font-size: 6rem;
font-weight: 800;
display: flex;
justify-content: center;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3); 
}

.correct-response{
color: rgb(30, 247, 30);
}

.incorrect-response{
color: rgb(247, 30, 30);

}

.gif{
width: 700px;
}

.gif_response button{
font-size: 2.5rem;
display: flex;
justify-content: center;
margin: auto;
color: #333;
padding: 7px 20px;
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
cursor: pointer;  
}

.game-over-container{
display: flex;
flex-direction: column;
align-items: center;
}


.game-over-container button{
font-size: 2rem;
padding: 10px 30px;
cursor: pointer;
margin-top: 10px;
}



#gameScreen{
display: flex;
flex-direction: column;
align-items: center;
}


.screen {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.screen.active {
  display: flex;
}

button {
  padding: 10px 20px;
  margin: 10px;
  cursor: pointer;
}

#gameOverGif, #correctGif, #questionImage {
  max-width: 100%;
  height: auto;
}

.instructions{
  color: white;
  font-size: 2rem;
}

#skillSelectionScreen{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}

.skillSelectionOptions{
  display: grid;
  grid-template-columns: repeat(5,1fr);

}

.skillButton.disabled {
  opacity: 0.5;
  cursor: not-allowed;

}

.skillButton:not(.disabled):hover::after {
/* Tooltip styles */
content: attr(title);
position: absolute;
background-color: #555;
color: #fff;
text-align: center;
padding: 5px 0;
border-radius: 6px;
z-index: 1;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
white-space: nowrap;
display: block; /* Show the tooltip */
}

.themeButton{
  font-size: 2rem;
}


/* Full version specific styles for Game Over screen */
#gameOverScreen.full-version {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #4A90E2; /* Modern vibrant blue background */
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  color: #FFF;
  width: 90%;
  max-width: 800px;
  margin: auto;
}

#gameOverScreen.full-version .game-over-title {
  font-size: 5rem;
  font-weight: 900;
  color: #FECF6D; /* Gold-like color to highlight "Winner!" text */
  text-shadow: 0px 0px 12px rgba(255, 221, 0, 0.943);
  margin-bottom: 20px;
}

#gameOverScreen.full-version .game-over-congrats {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 20px;
}

#gameOverScreen.full-version #gameOverGif {
  width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
}

#gameOverScreen.full-version .play-again-btn {
  font-size: 2rem;
  font-weight: 800;
  padding: 15px 30px;
  background-color: #FECF6D; /* Matches the gold-like title for consistency */
  color: #4A90E2;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#gameOverScreen.full-version .play-again-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}


/* Media Query for Tablet */


/* Media Query for Tablet (768px and below) */
@media (max-width: 768px) {
  .title_container {
    font-size: 4rem;
    line-height: 1.2;
  }

  .start_screen_img {
    width: 500px;
  }

  .start_btn {
    font-size: 2rem;
    width: 80%;
  }

  .instructions {
    font-size: 1.8rem;
  }

  #question {
    font-size: 3.5rem;
    text-align: center;
  }

  .answer-options {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .answer-options button {
    font-size: 2.8rem;
  }

  #gameOverScreen.full-version #gameOverGif {
    width: 400px;
  }

  .winner-options img {
    min-height: 200px;
    max-height: 200px;
    min-width: 200px;
    max-width: 200px;
  }

  #gameOverScreen.full-version .play-again-btn {
    font-size: 1.5rem;
    padding: 10px 25px;
  }

  #correctScreen img {
    max-height: 500px;
    min-height: 300px;
  }
}

/* Media Query for Mobile (480px and below) */
@media (max-width: 480px) {
  .title_container {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 10px;
  }

  .start_screen_img {
    width: 100%;
    max-width: 300px;
  }

  .start_btn {
    font-size: 1.5rem;
    padding: 10px;
    width: 100%;
  }

  .instructions {
    font-size: 1.5rem;
    text-align: center;
  }

  #question {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }

  .answer-options {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .answer-options button {
    font-size: 2.5rem;
    padding: 10px 15px;
  }

  #gameOverScreen.full-version #gameOverGif {
    width: 250px;
  }

  #gameOverScreen.full-version .play-again-btn {
    font-size: 1.2rem;
    padding: 8px 15px;
  }

  #correctScreen img {
    max-height: 300px;
    min-height: 200px;
  }

  .winner-options img {
    min-height: 150px;
    max-height: 150px;
    min-width: 150px;
    max-width: 150px;
  }

  label {
    font-size: 1.8rem;
  }

  input {
    font-size: 1.8rem;
  }
}