/* === Progress line with smooth delay === */
.progress-line {
  position: absolute;
  width: 4px;
  background: linear-gradient(to bottom, #e6f7ff, #66ccff, #0066cc, #003366);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 0;
  z-index: 1;
  border-radius: 2px;

/* button */
/* Style both <button> and <a class="btn"> */
.btn, .btn:link, .btn:visited {
  position: absolute;         /* take out of normal flow */
  top: 5%;                   /* adjust this to move vertically */
  left: 50%;                  /* keep centered horizontally */
  transform: translate(-50%, 0);

  display: inline-block;
  padding: 20px 40px;
  background-color: #141414;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  text-decoration: none;   /* removes underline */
  text-align: center;
  cursor: pointer;
  box-shadow: 
    0 8px 0 #141414, 
    0 25px 20px rgba(0,0,0,0.5);

  /* removed transform from transitions */
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
  z-index: 20;
}

/* Shared button styling (from quiz.html) */
.btn {
  font-size: 1.3rem;
  padding: 14px 28px;
  margin: 15px auto;
  display: inline-block;
  background-color: #ffffff;
  color: #0066cc;
  border: 2px solid #0066cc;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease,
              transform 0.2s ease, box-shadow 0.3s ease;
}

/* Hover glow */
.btn:hover {
  background-color: #0066cc;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0,71,184,0.5);
}

/* Active (pressed) effect */
.btn:active {
  transform: translateY(2px);
}

/* hover */
.btn:hover::before {
  opacity: 1;
}

.btn:active:after {
  background: transparent;
}

.btn:active {
  color: #000;
  font-weight: bold;
}

/* Override repeated button block */
.btn, .btn:link, .btn:visited {
  display: inline-block;
  padding: 20px 40px;
  background-color: #202020;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  text-decoration: none;   /* removes underline */
  text-align: center;
  cursor: pointer;
  box-shadow: 
    0 8px 0 #202020, 
    0 25px 20px rgba(0,0,0,0.5);
  z-index: 20;
}
}