.heroQuiz {
  background: #080808;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 8, 1) 0%,
    rgb(255, 251, 251) 100%
  );
  height: 110vh;
}

h1 {
  text-align: center;
  color: white;
}

h2 {
  color: white;
}

#quizContainer {
  background-color: rgba(255, 255, 255, 0.798);
  border: 0.2px solid white;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  max-width: 80%;
  min-width: 60%;;
  height: 100%;
  padding: 20px;
  display: none;
}

#quizContainer #buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 50px;  
  justify-content: center;
  flex-direction: row;   
}
#buttons {
  display: flex;
}

.correct {
  background-color: green;
  transform: scale(1.04);
  color: black;
}

.wrong {
  background-color: rgba(255, 0, 0, 0.733);
  color: black;
}

#buttons button {
  flex: 0 1 calc(50% - 25px);
  padding: 30px 20px;     
  font-size: 1.5rem;          
  border: 1px solid black;
  border-radius: 8px;
  cursor: pointer;
  box-sizing: border-box;
  transition: 0.2s;
  
}


#buttons button:hover{
  animation: hoverAnimation 1.4s infinite;
  box-shadow: 0 0 5px 1px black;
  background-color: rgba(0, 0, 0, 0.276);
  color: white;
}

#feedback{
  color: black;
  font-size: 3rem;
  animation: hoverAnimationText 1.4s ease-in-out infinite;
}

#showCurrentQuestion{
  color: white;
  font-size: 1.75rem;
  background-color: white;
  padding: 10px;
  border-radius: 20px;
  color: black;
}



#wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 80%;
  
}

#startQuiz,
#quizContainer {
  margin-top: 20px;
}

#startQuiz{
  background-color: rgba(255, 255, 255, 0.798);
  border: 0.2px solid white;
  border-radius: 20px;
  height: 70%;
  width: 70%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;;
}


#quizContainer h2 {
  margin-bottom: 20px;
  font-size: 3rem;
  color: black;
}

#startQuiz input {
  width: 200px;
  height: 40px;
  border-radius: 10px;
  font-size: 1.8rem;
}

#typeInNameQuizDiv{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}



label{
  color: black;
  font-size: 1.8rem;
  font-family: "ABeeZee";
}

#startQuiz h2{
  font-size: 3.5rem;
  font-family: "Montserrat";
  color: black;
}


#startQuiz button,
#next button {
  width: 300px;
  height: 70px;
  border-radius: 10px;
  font-size: 1.8rem;
  cursor: pointer;
  background-color: rgba(255, 0, 0, 0.733);
  transition: transform 0.4s ease;
  border: none;
  color: white;
}

#startQuiz button:hover,
#next button:hover{
    transform: scale(1.1);  
    background-color: rgb(222, 37, 37);
    box-shadow: 0 0 5px 1px black inset;
} 

#next {
  margin-top: 20px;
  min-height: 80px;
}


#summaryContainer {
  margin: 20px 0px;
  display: none;
  flex-direction: column;
 background-color: rgba(255, 255, 255, 0.798);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  max-width: 80%;
  min-width: 60%;
  border-radius: 15px;
  padding: 20px;
  display: none;
  overflow-y: auto;
  min-height: 60vh;
  margin: 20px auto;
}
#summaryContainer h2 {
  margin: 10px 0px;
  color: black;
}

#points {
  font-size: 22px;
  font-family: "ABeeZee";
}

#infoQuizDiv{
  width: 60%;
  text-align: center;
  padding: 10px 10px;
  background-color: rgba(0, 0, 0, 0.342);
  border-radius: 10px;
  border: 1px solid black;

}

#infoQuiz{
  color: white;
  font-size: 1.6rem;
  font-family: "ABeeZee ";
}

#summaryContainer ul{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  list-style-type: none;
  width: 80%
  
}

#summaryContainer ul li{
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px 10px inset rgba(222, 37, 37, 0.168);
  border-radius: 16px;
  border: 1px solid black;
  font-size: 2.2rem;
  color: black;
  padding: 20px;
  transition: transform 0.3s ease;
  display: flex;
  justify-content: space-between;   
  align-items: center;
}


#summaryContainer h2{
  color: black;

}

#points{
  color: black;
}
#summaryContainer ul li span{
  font-size: inherit;
}

#summaryContainer ul li:hover{
  transform: scale(1.04);
}

#highscoreText{
  padding: 10px 15px;
  border-radius: 10px;
  background-color: white;
  color: black;
}


@keyframes hoverAnimation {
  0%   { 
    transform: scale(1); 
  }
  10%  {
     transform: scale(1.008); 
    }
  20%  { 
    transform: scale(1.016); 
  }
  30%  { 
    transform: scale(1.024); 
  }
  40%  { 
    transform: scale(1.032); 
  }
  50%  { 
    transform: scale(1.04); 
  }
  60%  { 
    transform: scale(1.032); 
  }
  70%  { 
    transform: scale(1.024); 
  }
  80%  {
     transform: scale(1.016); 
    }
  90%  { 
    transform: scale(1.008); 
  }
  100% { 
    transform: scale(1); 
  }
}

@keyframes hoverAnimationText {
  0%   { 
    transform: scale(1); 
  }
  10%  {
     transform: scale(1.01); 
    }
  20%  { 
    transform: scale(1.02); 
  }
  30%  { 
    transform: scale(1.03); 
  }
  40%  { 
    transform: scale(1.04); 
  }
  50%  { 
    transform: scale(1.04); 
  }
  60%  { 
    transform: scale(1.04); 
  }
  70%  { 
    transform: scale(1.03); 
  }
  80%  {
     transform: scale(1.02); 
    }
  90%  { 
    transform: scale(1.01); 
  }
  100% { 
    transform: scale(1); 
  }
}
