* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-image: url("lip\ wellpeper.jpg");
  margin: 0;
  padding: 0;
}
.start-container {
  width: 800px;
  margin: 40px auto;
  background-color: #fafafb;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: 500px;
}

.start-box h1 {
  font-size: 60px;
  color: #333;
  margin-bottom: 15px;
}

.start-box p {
  font-size: 25px;
  margin-top: 150px;
  margin-bottom: 25px;
  color: #666;
}

#start-btn {
  font-size: 20px;
  padding: 12px 30px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

#start-btn:hover {
  background-color: #333;
}

/* نخفي الكويز في الأول */
.quiz-app {
  display: none;
}


.quiz-app {
  margin: 40px auto;
  width: 800px;
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

.quiz-app .quiz-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 25px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  border-left: 5px solid #0075ff;
}

.quiz-app .quiz-info .category {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  text-transform: uppercase;
}

.quiz-app .quiz-info .category span {
  color: #0075ff;
}

.quiz-app .quiz-info .count {
  font-size: 16px;
  color: #333;
}

.quiz-app .quiz-info .count span {
  font-weight: bold;
  color: #0075ff;
}

.quiz-app .quiz-area {
  background-color: #FFF;
  padding: 20px 20px 0;
  margin-top: 15px;
  border-radius: 8px;
  border: 1px solid #eee;
}

.quiz-app .quiz-area h2 {
  margin: 0;
  font-size: 22px;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.quiz-app .answer-area {
  background-color: #FFF;
  padding: 0 20px 20px;
  border-radius: 0 0 8px 8px;
  border: 1px solid #eee;
  border-top: none;
}

.quiz-app .answer-area .answer {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 6px;
  margin-top: 10px;
  transition: 0.3s;
}

.quiz-app .answer-area .answer:hover {
  background-color: #eef4ff;
}

.quiz-app .answer-area .answer:not(:last-child) {
  border-bottom: 1px solid #dfdfdf;
}

.quiz-app .answer-area .answer input[type="Radio"]:checked + label {
  color: #0075ff;
}

.quiz-app .answer-area .answer label {
  cursor: pointer;
  font-weight: bold;
  color: #555;
  font-size: 15px;
  margin-left: 8px;
  position: relative;
  top: -1px;
}

.quiz-app .submit {
  background-color: #000;
  display: block;
  width: 100%;
  padding: 15px;
  border: none;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  border-radius: 10px;
  margin: 25px auto 10px;
  transition: background 0.3s;
}

.quiz-app .submit:hover {
  background-color: #333;
}

.quiz-app .submit:focus {
  outline: none;
}

.quiz-app .bullets {
  border-top: 1px solid #dfdfdf;
  background-color: #fff;
  display: flex;
  padding: 20px;
  justify-content: space-between;
  align-items: center;
}

.quiz-app .bullets .spans {
  flex: 1;
  display: flex;
}

.quiz-app .bullets .spans span {
  width: 20px;
  height: 20px;
  background-color: #ddd;
  margin-right: 5px;
  border-radius: 50%;
  transition: transform 0.3s;
}

.quiz-app .bullets .spans span.on {
  background-color: #0075ff;
  transform: scale(1.2);
}

.quiz-app .countdown {
  font-weight: bold;
  font-size: 18px;
  color: #ff4d4d;
  text-align: right;
}

.quiz-app .results {
  font-size: 20px;
  text-align: center;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.quiz-app .results span.bad {
  color: red;
}

.quiz-app .results span.good {
  color: green;
}

.quiz-app .results span.perfect {
  color: #0075ff;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
