
.quiz-container {
    text-align: center;
    margin: 50px auto;
    width: 80%;
    
    

}


.all-container {
    text-align: center;
    margin: 50px auto;
    width: 80%; 
    margin-top: 20px;

}


.chooze {
    padding: 10px 20px;
    font-size: 10px;
    color: #fff;
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    cursor:pointer;
    box-shadow: 0px 5px 0px #3e8e41;
    transition: all 0.1s ease-in-out;
}

.chooze:active{
    transform: translateY(5px);
    box-shadow: none;
}

.chooze:hover{
    background-color: #af4c4cff;
    transform: translateX(5px);
    box-shadow: 0px 5px 0px #8e3e49ff;
}



.option {
    padding: 10px;
    margin: 10px;
    border: 1px solid #ccc;
    cursor: pointer;
    display: block;
}



.correct {
    background-color: green;
    color: white;
}

.ques {
    
    color: green;
}

.buttons{
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
    

}

.next {
    padding: 10px 20px;
    font-size: 15px;
    color: #fff;
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    cursor:pointer;
    box-shadow: 0px 5px 0px #3e8e41;
    transition: all 0.1s ease-in-out;
}

.next:active{
    transform: translateY(5px);
    box-shadow: none;
}

.next:hover{
    background-color: #af4c4cff;
    transform: translateX(5px);
    box-shadow: 0px 5px 0px #8e3e49ff;
}
.expl {
    margin-top:5px;
    margin-bottom:5px;
    
}


.incorrect {
    background-color: red;
    color: white;
}

.option span {
    margin-right: 10px;
}

.restart{
    padding: 10px 20px;
    font-size: 15px;
    color: #fff;
    background-color: #4CAF50;
    border: none;
    border-radius: 5px;
    cursor:pointer;
    box-shadow: 0px 5px 0px #3e8e41;
    transition: all 0.1s ease-in-out;
}

.restart:active{
    transform: translateY(5px);
    box-shadow: none;
}

.restart:hover{
    background-color: #af4c4cff;
    transform: translateX(5px);
    box-shadow: 0px 5px 0px #8e3e49ff;
}


.footer {
  background-color: #fff;
  color: #111;
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-links p {
  margin: 10px 20px;
}

.footer-links a {
  color: #111;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #222;
}

.footer-info {
  margin-bottom: 20px;
}

.footer-info p {
  margin: 5px 0;
}

.footer-info a {
  color: #111;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-info a:hover {
  color: #111;
}

/* Responsive design 
@media (max-width: 480px) {
  .footer-links {
    flex-direction: column;
  }
  .footer-links p {
    margin: 10px 0;
  }
}*/

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #333;
  color: #fff;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 1rem;
}

.nav-logo a {
  color: #fff;
  text-decoration: none;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.nav-links li {
  margin-right: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ccc;
}

.nav-toggle {
  display: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin-bottom: 5px;
  transition: transform 0.3s ease;
}

/* Responsive design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #333;
    padding: 1rem;
    flex-direction: column;
  }

  .nav-links ul {
    flex-direction: column;
  }

  .nav-links li {
    margin-bottom: 10px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}
