
.quizcard-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 80%;
  padding: 10px;
  box-sizing: border-box;
  gap: 10px;
}


.quizcard {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(75, 75, 75, 0.0));
  backdrop-filter: blur(8px);
  border-radius: 10px;
  border: 1px solid gray;
  color: white;
  text-align: center;
  overflow: hidden;
  font-size: 2.5rem;
  flex-direction: column;
}

.quizcard.wrong {
    background: linear-gradient(to bottom, rgba(231, 76, 60, 0.5), rgba(192, 57, 43, 0.0));
    border: 1px solid red;
    box-shadow: 0px 0px 56px 0px rgba(231, 76, 60,0.5);
}
.quizcard.correct {
    background: linear-gradient(to bottom, rgba(26, 188, 156, 0.5), rgba(22, 160, 133, 0.0));
    border: 1px solid green;
    box-shadow: 0px 0px 56px 0px rgba(25,188,155,0.8);
}

.quizcard.inactive {
    opacity: 0.3;
    border: 1px solid gray;
}


.quizcard.large {
  flex: 1.5;
  height: 25%;
  margin: 0 auto;
  width: calc(95%);
}


.quizcard-row.two {
  display: flex;
  flex: 1;
  justify-content: space-between;
  gap: 10px;
  height: 30%;
}

.quizcard.medium {
  flex: 1;
  height: 100%;
  transition: all 0.3s ease-in-out;
  opacity: 1;
}


.quizcard-row.three {
  display: flex;
  flex: 1;
  justify-content: space-between;
  gap: 10px;
  height: 30%;
  margin-top: 20px;
}

.quizcard.small {
  flex: 1;
  height: 100%;
}

.quizbuttoncontainer {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  display:block;
}

.quizbutton {
  background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
 
  background: linear-gradient(to right, rgba(226, 118, 79, 0.3), rgba(99, 178, 218, 0.3));
  border: 1px solid gray;
  border-radius: 10px;
  padding: 10px;
  padding-left: 30px;
  padding-right: 30px;
  transition: border-color 0.3s ease, transform 0.2s ease;
}

.answerbox {
  transition: transform 0.2s ease;
  cursor: pointer;
}

.answerbox:hover {
  transform: scale(1.015);
}

.quizbutton:hover {
 
  transform: scale(1.05);
}


.quizcard.revealed {
    opacity: 1;
    transform: scale(1);
}

.quizcard.correct.revealed {
    opacity: 1;
    transform: scale(1.05);
}

.quizcard.wrong.revealed {
    opacity: 0.5;
    transform: scale(0.95);
}
