body{
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  font-size: 20px;
  width: 100%;
  height: 100%;
}


.container {
  display: flex; /* Make it a flex container */
  /* height: 100vh;  Full viewport height */
  justify-content: center; /* Center horizontally */
  margin: auto;
  align-items: center;     /* Center vertically */
  flex-direction: column;
}

#passiveView, #Break ,#Associationtest,#finishSession, #PassiveRound,#BonusAssociationtest,#AfcRound,#SessionStart,#Demographics{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-direction: column;
  line-height: 1.5;
  white-space:  pre-line;
}

#passiveView img, #Break img, #Associationtest img ,#finishSession img,#BonusAssociationtest img,#AfcRound img {
  width: 200px;
  height: auto;
}
#feedbackCorrect img,#feedbackWrong img{
    width: 100px;
  height: auto;
}


#PassiveRound img{
  width: 400px;
  height: auto;
}

#AssociationRound #ImageContainer,.afcContainer,#PassiveRound #ImagePassiveContainer,.SessionImageContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-direction: row;
  gap: 80px;
}


/* For all images inside .SessionImageContainer, set width to 200px */
.SessionImageContainer img {
  width: 200px;
  height: auto;
}

#2afc img {
  width: 400px;
  height: auto;
}
#AssociationRound img{
  width: 400px;
  height: auto;
}

.afcContainer img {
  /* Ensures all images inside #2afc have the same style */
  width: 300px;
  height: auto;
}



.buttonkeyboardup {
  background-color: #e0e0e0; /* Light grey background */
  border: none;
  color: #333;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  top: 10%;
  margin-top: 10rem;
  font-size: 15px;
  border: 2px solid #000000; /* Dark grey border */
  transition: background 0.2s;
}
.buttonkeyboarddown{
    background-color: #e0e0e0; /* Light grey background */
  border: none;
  color: #333;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  top: 10%;
  margin-top: 2rem;
  font-size: 15px;  
  border: 2px solid #000000; /* Dark grey border */
  transition: background 0.2s;
}


.button-clicked {
  background-color: #007bff; /* or any color for feedback */
  transform: scale(0.95);
  transition: all 0.1s ease;
}

#feedbackOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* So it doesn't block input */
  z-index: 999; /* Above everything else */
}

#feedbackCorrect,
#feedbackWrong {
  display: none;
}

#feedbackCorrect img,
#feedbackWrong img {
  width: 100px;
  height: auto;
}

/* Progress Bar Container */
#progressContainer {
  width: 100%;
  height: 20px;
  background-color: #eee;
  margin-top: 10px;
}

#progressBar {
  width: 0%;
  height: 100%;
  background-color: #4caf50;
}


.label-container {
      display: flex;
      justify-content: space-around;
      align-items: center;
      width: 95%;
      margin: 50px auto;
      font-family: sans-serif;
    }

    .letter-box {
      text-align: center;
    }

    .box {
      border: 2px solid black;
      width: 60px;
      height: 60px;
      line-height: 40px;
      font-size: 32px;
      font-weight: bold;
      margin-bottom: 5px;
    }

    .caption {
      font-size: 14px;
      color: #333;
    }