:root {
  --white: #ffffff;
  --primary: #373d48;
  --dark: #20242b;
  --warning: #ffbd58;
  --teal: #45b4b0;
  --blue: #3d8fdf;
  --red: #d11727;
  --orange: #ffc30c;
  --pink: #ff87e7;
  --purple: #ae87ff;
  --secondary: #737373;
}

html,
body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--white);
  background: var(--dark);
  font-style: normal;
  height: 100%;
  margin: 0;
}

.main {
  background: var(--primary);
  max-width: 600px;
  height: 100vh; /* Full viewport height */
  position: relative;
  padding: 0;
  margin: 0 auto;
  display: flex;
  align-items: center; /* Centers vertically */
  justify-content: center; /* Centers horizontally */
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.logo-container a {
  border-bottom: 3px solid transparent;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
}

.logo-container img {
  margin:0 auto;
}

.logo-container a:hover,
.logo-container a:focus {
  scale: 1.05;
  border-color: var(--pink);
}

.lc-btn-s1 {
  min-width: 70px;
  text-align: center;
  margin: 0.5rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  border: 2px solid transparent;
  background: var(--secondary);
  color: var(--white);
  border-radius: 2rem;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
}

.lc-btn-s1:hover,
.lc-btn-s1:active,
.lc-btn-s1:focus {
  border-color: var(--white);
}

.footer {
  text-align: center;  
  font-size: 0.8rem;
}

.footer .footer-link {
  cursor: pointer;
  text-decoration: none;
  color: var(--white);
}

.footer .footer-link:hover,
.footer .footer-link:active,
.footer .footer-link:focus {
  color: var(--teal);
}

.wrapper {
  height: auto;
  padding: 0.5rem;
}

.wrapper .logo-container img {
  max-width: 190px;
}

.lc-page-heading {
  text-transform: capitalize;
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0 auto;
}

label {
  font-size: 1.1rem;
}

.form-control {
  border-radius: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background: #dbdbdb;
  border: 2px solid var(--white);
  font-size: 1.1rem;
}

.lc-login-btn,
a.lc-btn-continue {
  padding: 4px;
  border-radius: 50%;
  height: 80px;
  width: 80px;
  border: none;
  transition: all 0.6s ease-in-out;
  -webkit-transition: all 0.6s ease-in-out;
  -o-transition: all 0.6s ease-in-out;
  -moz-transition: all 0.6s ease-in-out;
  cursor: pointer;
  background: var(--white);
}

a.lc-btn-continue {
  display: inline-block;
}

.lc-login-btn img,
a.lc-btn-continue img {
  width: 100%;
  object-fit: cover;
}

.lc-login-btn:hover,
a.lc-btn-continue:hover {
  transform: rotate(360deg);
  border-radius: 45%;
}

.link {
  cursor: pointer;
  text-decoration: none;
  color: var(--white);
}

.link:hover,
.link:active,
.link:focus {
  color: var(--teal);
}

.progressbar {
  display: block;
  position: relative;
  z-index: 9;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 200px;
  height: 30px;
  border: 4px solid #ebebeb;
  border-radius: 20px;
}

.progressbar::before,
.progressbar::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background-image: linear-gradient(
    90deg,
    #e63946 0%,
    #e63946 20%,
    #f4a261 20%,
    #f4a261 40%,
    #f4c724 40%,
    #f4c724 60%,
    #2a9d8f 60%,
    #2a9d8f 80%,
    #2ecc71 80%,
    #2ecc71 100%
  );
  background-position: 0 0;
  background-repeat: repeat-x;
  -webkit-animation: movebar 5s linear infinite;
  animation: movebar 5s linear infinite;
}

@-webkit-keyframes movebar {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 400px 0;
  }
}
@keyframes movebar {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 400px 0;
  }
}

.green {
  background-color: #2ecc71;
}

/* Animation to expand the container's width */
@keyframes expandContainer {
  from {
    width: 0;
  }
  to {
    width: 100%; /* Full width of the container */
  }
}

ul.lists {
  margin: 1rem auto;
  padding:0 0.5rem;
}

ul.lists li {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  list-style-type: none;
  padding:0.5rem 1rem;
  border-radius: 1rem;
}

li.l1 {
  background: #b47211;
}

li.l2 {
  background: #d464be;
}

li.l3 {
  background: #8766c8;
}

li.l4 {
  background: #ac1421;
}

#countdown {
  font-size: 2.5rem;
  font-weight: bold;
  color: #d4a105; /* Yellow color */
  margin-top: 20px;
  background: #ffffff;
  height: 60px;
  width: 60px;
  border-radius: 50%;
}

#message {
  font-size: 2rem;
  font-weight: bold;
}

#audio-controls {
  margin-top: 20px;
}

#toggle-audio {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
}

.question-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.quiz-count {
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
}

.quiz-question {
  font-size: 1.7rem;
  font-weight: 600;
  text-align: center;
}

.quiz-img-container {
  width: 300px;
  height: 300px;
  margin: 0 auto;
}

.quiz-img-container img {
  width: 100%;
  object-fit: cover;
}

.radio-group {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: center;
  margin: 0 auto;
}

.radio-label {
  position: relative;
  display: inline-block;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
}

.radio-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid transparent;
  overflow: hidden;
  transition: all 0.3s ease;
}

.radio-label .ans-text {
  font-weight: 400;
  font-size: 12px;
  width: 48px;
  text-align: center;
}

.radio-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-label input:checked + .radio-icon {
  border-color: #dbdbdb;
  border-width: 3px;
}

.radio-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 576px) {
  .radio-icon {
    width: 36px;
    height: 36px;
  }
}

.btn-submit {
  background: #f4a261;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  border-bottom: 4px solid transparent;
  cursor: pointer;
}

.btn-submit:hover {
  border-bottom: 4px solid #f4a261;
  background-color: #e63946;
  transform: translate(0px, -4px);
}

.btn-submit[disabled] {
  background-color: #ccc;
  cursor: not-allowed;
}
