﻿
.license_quiz {
  min-height: 500px;
  display: flex;
  justify-content: center;
}

.license_quiz-intro {
  display: flex;
  justify-content: center;
  align-items: center; /* Center-aligns content */
  flex-direction: column;
}

.license_quiz-title {
  font-size: 36px;
  font-weight: bold;
  color: #2F3538;
  text-align: center;
  padding-bottom: 0.5em;
}

.license_quiz-subtitle {
  font-size: 24px;
  font-weight: bold;
  color: #2F3538;
  padding-bottom: 0.5em;
}

.license_quiz-questions {
  font-size: 16px;
  font-weight: bold;
  color: #2F3538;
  display: none;
  padding-bottom: 0.5em;
  margin: auto
}

.license_quiz .question-button, .license_quiz-intro > input {
  background-color: #009AE1;
  min-width: 100px;
  padding: 10px 10px;
  margin: 0.5em;
  color: #FFF;
  font-weight: bold;
  font-size: 16px;
  border: 0px;
  transition: background-color 0.2s ease;
}

  .license_quiz .question-button:hover {
    background-color: #2a6496;
    cursor: pointer;
  }


.question-buttons {
  display: flex;
  justify-content: center;
}

/* Basic container styling for visibility */
.license_quiz {
  position: relative;
}

.recommendation {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.recommendation-heading {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  color: #2F3538;
  line-height: 36px;
}

.recommendation-image {
  max-height: 350px;
  padding: 25px;
}

.recommendation-text {
  font-size: 24px;
  font-weight: bold;
  color: #2F3538;
  padding-bottom: 1em;
  line-height: 24px;
}

.recommendation-buttons {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.license_quiz-button {
  color: #009AE1;
  font-weight: bold;
  background-color: transparent;
  font-size: 16px;
  padding: 5px 5px;
  margin: 0.25em;
  display: inline-block; /* Ensures consistent inline-block behavior */
  border: 0;
  cursor: pointer; /* Shows pointer cursor for buttons */
  text-align: center; /* Centers text inside button */
  transition: color 0.2s ease;
}

  .license_quiz-button:hover {
    color: #0077BA;
  }

.button-order {
  background: #fccf0a;
  color: #2f3538;
  font-weight: bold;
  margin-right: 0.75em;
  font-size: 16px;
  padding: 10px 10px;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

  .button-order:hover {
    background: #fa9e00;
  }

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Slide-in animation */
@keyframes slideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.license_quiz-intro, .license_quiz-questions, .recommendation {
  animation: fadeIn 0.5s ease, slideIn 0.5s ease;
}

.fadeIn {
  animation: fadeIn 0.5s ease, slideIn 0.5s ease;
}


.question-button:hover {
  background-color: #2a6496;
  cursor: pointer;
}
