:root {
  --yellow: #fdc748;
}

@font-face {
  font-family: 'CircularBold';
  font-style: normal;
  src: url(assets/fonts/CircularXXTT-Bold.ttf);
}

@font-face {
  font-family: 'CircularMedium';
  font-style: normal;
  src: url(assets/fonts/CircularXXTT-Medium.ttf);
}


@font-face {
  font-family: 'CircularRegular';
  font-style: normal;
  src: url(assets/fonts/CircularXXTT-Regular.ttf);
}

html{
  font-size: 16px;
  font-family: 'CircularRegular', sans-serif;
}

@media (min-width:1200px){
  html{
    font-size: 36px;
  }
}

/* @media (min-width:1199px){
  html{
    font-size: 72px;
  }
} */


/* Custom styles for the Cochlear Kiosk quiz */
.quiz-container {
  margin-top: 2rem;
}

/* Leaderboard styles */
.leaderboard-container {
  background: transparent;
  border-radius: 8px;
  padding: 2rem 1rem;
  color: #fff;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
}

.leaderboard-table {
  background: transparent !important;
  width: 75%;
  margin-bottom: 3rem;
}
.leaderboard-header{
  border-bottom: 2px solid var(--yellow);
  margin-bottom: 1rem;
}

#leaderboard-body{
  font-size: 1.5rem;
}


div.rank{
  width: 20px;
  text-align: center;
}

div.name{
  /* width: 200px; */
  margin-left:0.5rem;
}

div.dots{
  flex: 1 1 auto;
  border-bottom: 2px dotted var(--yellow);
  height:1.6rem;
  margin-left: 0.5rem;;
}

div.score{
  width: 50px;
  text-align: right;
}

#start-quiz-btn {
  font-size: 2rem;
  border-radius: 2rem;
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.08); */
  width: 10rem;
  height: 10rem;
  transform: scale(1);
 
}

#start-quiz-btn.throb {
  animation: pulse 2s infinite;
}

#playNow{
  margin-top: 2rem!important;

}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

#start-quiz-btn  img{
  width: 100%;
  height: auto;
}

#start-quiz-btn.disabled  img{
  opacity: 0.5;
  pointer-events: none;
}

#timer {
  min-width: 6rem;;
  text-align: center;
}

#quiz-section {
  background: transparent;
  border-radius: 8px;
  padding: 2rem 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  position: relative;
}

html, body {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #000;
  font-family: 'CircularRegular', sans-serif;
}

.main-app-container {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Default to test size */
  width: 540px;
  height: 960px;
  transform: translate(-50%, -50%) scale(1);
  background: transparent;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Scale up for production size using a class or media query */
@media (min-width: 1000px) and (min-height: 1800px) {
  .main-app-container {
    width: 100%;
    height: 100%;
    /* If you want to scale up content instead of resizing, use transform: scale(4); and keep width/height at 540x960 */
    /* transform: translate(-50%, -50%) scale(4); */
  }
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.main-app-container > .container-fluid {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
}

.fixed-app-wrapper {
  width: 540px;
  height: 960px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  box-shadow: 0 0 32px rgba(0,0,0,0.12);
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}



#logo{
  position: absolute;
  top: 3rem;
  right: 3rem;;
  z-index: 10;
  width: 25%; /* Adjust size as needed */
  height: auto;

}

#logo img{
  width: 100%;
  height: auto;
}

/* Quiz option button color and text */
.quiz-option {
  background-color: #56a7ab !important;
  color: #fff !important;
  border-color: #56a7ab !important;
  font-family: "CircularMedium", sans-serif;
  width: 25rem;
}
.quiz-option:hover, .quiz-option:focus, .quiz-option:active {
  background-color: #468a8e !important;
  color: #fff !important;
  border-color: #468a8e !important;
}

#question-area {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 10%; /* Start about a third down the screen */
}

#question-area:has(.quiz-question-animate) {
  justify-content: flex-start;
}

#leaderboard-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100%;
}

.btn-play-svg {
  outline: none;
  box-shadow: none;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  transition: transform 0.1s;
}
.btn-play-svg:active {
  transform: scale(0.96);
}
.btn-play-svg svg {
  display: block;
}
.btn-play-svg:focus-visible {
  outline: 2px solid #efc168;
}

.quiz-timer-bottom {
  position: absolute;
  left: 50%;
  top: 10rem;;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 2.5rem !important;
  width: 100px;
  min-width: 100px;
  max-width: 100px;
  text-align: center;
  padding: 0.75rem 0;
  border-radius: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  background: #fff !important;
  color: #000 !important;
  border: none;
}


#left-squiggle-video{
 width: 100%;
}


.right-squiggle{
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

#right-squiggle-video{
  width: 100%;
  height: auto;
}

#continue-btn, .submit-button{
  width: 6rem!important;
  height: 6rem;
}

.submit-button{
  width: 6rem!important;
  height: 6rem;
}

#continue-btn img, .submit-button img {
  width: 100%;
  height: auto;
}

#answer-feedback{
  max-width: 50%;
}

#answer-feedback-svg{
  /* max-width: 600px; */
}

#leaderboard-header{
  position: relative;
  width: 90%;
  height:auto;
}
#SmartQuiz{
  font-family: 'CircularBold', sans-serif;
  position: absolute;
  top:2rem;
  left: 4rem;
  font-size: 7rem;
  display: block;;
  transform:rotate(-5deg)!important;
  color: #fdc748;
}

#Challenge{
  font-family: 'CircularRegular', sans-serif;
  position: absolute;
  top:10rem;
  right: 3.8rem;
  font-size: 4rem;
  display: block;;
  color: white;
  transform:rotate(-5deg)!important;
  text-transform: uppercase;
}

.quiz-question-subtext{
  font-size: 2rem;
  margin: 2rem 0;
}

.quiz-question-text{
  font-size: 3rem;
  color: var(--yellow);
  text-transform: uppercase;
}
.quiz-question-animate{
  padding-top: 9rem;
  max-width: 40%
}

#nextbutton{
  margin: 40rem auto 0 auto!important;
  max-width:15rem;
}

.score-container h3{
  font-size: 5rem!important;
  margin-top: -30rem;;
}


.close{
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  width: 5rem;
  height: 5rem;
  z-index: 10;
}

.enter-details-text{
  font-size: 5rem;
  margin-top: -10rem;;
  margin-bottom: 1rem;
  color: var(--yellow);
}
.enter-details-subtext{
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.close{
  display: none;;
}

.score-container .score{
  color: var(--yellow);
}