@font-face {
  font-family: 'TextworthySerif';
  src: url('/fonts/TextworthySerifTrial-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

h1,h2, h5 {
  font-family: 'TextworthySerif', serif;
}

.header-banner {
  background-color:#024b99;
}

body {
	background-color:#f8efe8;
	font-size: 14px;
}

.btn-primary {
  background-color:#e04411;
}

.timer-container {
    position: relative;
    width: 200px;
    height: 200px;
}

.timer-svg {
    transform: rotate(-90deg); /* Start at the top */
    width: 100%;
    height: 100%;
}

.timer-track, .timer-progress {
    fill: none;
    stroke-width: 8;
    /* This creates the "notched" look from your screenshot */
    stroke-dasharray: 2, 1; 
}

.timer-track {
    stroke: #f0f0f0;
}

.timer-progress {
    stroke: #e64a19; /* Your orange color */
    stroke-linecap: butt;
    transition: stroke-dashoffset 1s linear;
    /* Total circumference = 2 * π * r (2 * 3.14 * 45 ≈ 283) */
    stroke-dasharray: 283;
    stroke-dashoffset: 0;
}

.timer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    font-weight: bold;
    color: white;
    background-color: #0d47a1; /* Your blue color */
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The frame around the dog */
.dog-frame {
  border: 2px solid #d8cdc0; /* Light brownish border from image */
  border-radius: 40px;
  overflow: hidden;
  padding: 15px;
  background-color: #a3c9e2; /* The blue background inside the frame */
}

/* Positioning the connector lines */
.option-row {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  position: relative;
}

.connector {
  width: 40px;      /* Length of the line */
  height: 2px;
  background-color: #333;
  margin-left: -24px; /* Pulls the line left to touch the dog-frame */
  z-index: 1;
}

.quiz-btn {
  flex-grow: 1;
  text-align: left;
  border-radius: 50px;
  padding: 12px 25px;
  border: 1px solid #ddd;
  background-color: #fff;
  z-index: 2; /* Keeps button above the line if they overlap */
}

.quiz-btn.active {
  background-color: #e44d1a;
  color: white;
  border-color: #e44d1a;
}

.quiz-btn.correct {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
}

.quiz-btn.incorrect {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: white !important;
}

/* Disable buttons after clicking so user can't click twice */
.quiz-btn.disabled {
    pointer-events: none;
    opacity: 0.8;
}