@import url('https://fonts.googleapis.com/css2?family=Anek+Malayalam:wght@100;200;300;400;500;600;700;800&display=swap');

body {
  font-family: 'Anek Malayalam', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(90.04deg, #03254c 0.03%, #2a9df4 99.96%);
  color: #11052c;
}

.quiz-container {
  
  margin: 50px auto;
  max-width: 500px;
  min-width: 250px;
  background: #ffffff;
  border-radius: 4px;
  padding: 30px 60px;
}

.quiz-container .active-question-no {
  font-size: 32px;
  font-weight: 500;
  color: #800080;
}

.quiz-container .total-question {
  font-size: 16px;
  font-weight: 500;
  color: #e0dee3;
}

.quiz-container h2 {
  font-size: 20px;
  font-weight: 500;
}

.quiz-container ul {
  margin-top: 20px;
  margin-left: -40px;
}

.quiz-container ul li {
  text-decoration: none;
  list-style: none;
  font-size: 16px;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 11px;
  margin-top: 15px;
  cursor: pointer;
}

.quiz-container ul .selected-answer {
  background: #ffd6ff;
  border: 1px solid #800080;
}

.quiz-container button {
  background: linear-gradient(90.04deg, #03254c 0.03%, #2a9df4 99.96%);
  border-radius: 9px;
  font-size: 18px;
  color: #ffffff;
  padding: 10px 42px;
  outline: none;
  border: none;
  cursor: pointer;
  margin-top: 15px;
}

.quiz-container button:disabled {
  background: #e7e8e9;
  color: #9fa3a9;
  cursor: not-allowed;
}

.flex-right {
  display: flex;
  justify-content: flex-end;
}

.result h3 {
  font-size: 24px;
  letter-spacing: 1.4px;
  text-align: center;
}

.result p {
  font-size: 16px;
  font-weight: 500;
}

.result p span {
  color: #800080;
  font-size: 22px;
}

.quiz-container h2 {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}

.quiz-container p {
  font-size: 16px;
}

.quiz-container form {
  margin-top: 20px;
}

.quiz-container form label {
  display: block;
  margin-bottom: 10px;
}

.quiz-container form button {
  background: linear-gradient(90.04deg, #03254c 0.03%, #2a9df4 99.96%);
  border-radius: 9px;
  font-size: 18px;
  color: #ffffff;
  padding: 10px 42px;
  outline: none;
  border: none;
  cursor: pointer;
  margin-top: 15px;
}

.quiz-container form button:disabled {
  background: #e7e8e9;
  color: #9fa3a9;
  cursor: not-allowed;
}

.progress {
  width: 100%;
  height: 10px;
  background: #ccc;
  border-radius: 5px;
}

.progress-bar {
  height: 10px;
  background: #0099CC;
  width: 0%;
  border-radius: 5px;
}

.progress-text {
  text-align: end;
}

/* Header and Navigation Styles */

header {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: black;
}

.logo {
  width: 150px;
  height: 50px;
}

nav {
  flex-grow: 1;
  text-align: center;
}

nav a {
  margin: 0 10px;
  color: white;
  text-decoration: none;
}

.social-links {
  margin-left: auto;
  margin-right: 50px;
}

.social-links img {
  width: 30px;
  height: auto;
  margin-left: 10px;
}
/* Add this CSS code to your existing styles */

.step-indicator {
  list-style-type: none;
  padding: 0;
  margin-bottom: 20px;
}

.step-indicator li {
  display: inline-block;
  width: calc(100% / 4); /* Adjust width based on the number of steps */
  text-align: center;
  font-weight: bold;
  color: #888; /* Default color for inactive steps */
  transition: color 0.3s ease; /* Smooth transition for color change */
}

.step-indicator li.active {
color: #fff; /* Dark color for active step */
background-color: #11052c;
}
@media only screen and (max-width: 600px) {
  .social-links{
      display: none;
  }
          .quiz-container {
              padding: 10px;
              width: auto;
          }

          .quiz-container h2 {
              font-size: 20px;
          }

          .quiz-container form input[type="text"],
          .quiz-container form input[type="email"],
          .quiz-container form button {
              font-size: 14px;
          }
          .flex{
              width: auto;
              overflow: hidden;
          }
          img{
              margin:auto;
          }
          nav{
              display: none;
          }
}