@font-face {
  font-family: "cairo-regular";
  src: url("../Cairo-Regular.ttf");
}
@font-face {
  font-family: "Kufam-regular";
  src: url("../Kufam-Regular.woff2");
}
@font-face {
  font-family: "Kufam-Bold";
  src: url("../Kufam-SemiBold.woff2");
}
.form-group label {
  font-size: 16px;
  font-weight: 500;
  color: #054D77;
  margin-bottom: 8px;
}
.form-group .form-control {
  border-radius: 8px;
  border: 1px solid #054D77;
  height: 50px !important;
  padding: 0 16px;
}

.btn-primary {
  background-color: #054D77;
  border-color: #054D77;
}
.btn-primary:hover,
.btn-primary :focus {
  background-color: #032d46;
  border-color: #032d46;
}

.btn-primary.focus,
.btn-primary:focus {
  box-shadow: none !important;
}

.btn-lg {
  padding: 0.5rem 3rem;
}

h2 {
  font-family: "Kufam-Bold";
  margin-bottom: 18px;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  line-height: 1.5em;
}

body {
  background-image: url("../media/bg.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  height: 100vh;
  margin: 0;
  padding: 0;
  font-family: "Kufam-regular";
  color: #333;
  font-size: 18px;
  position: relative;
  line-height: 1.5em;
}
body::after {
  content: "";
  width: 250px;
  height: 150px;
  position: absolute;
  background: url("../media/shape-r.png") right no-repeat;
  background-size: 70%;
  right: 0;
  bottom: 10px;
  z-index: -1;
  opacity: 0.5;
}
body::before {
  content: "";
  width: 250px;
  height: 150px;
  position: absolute;
  background: url("../media/sahpe-l.png") left no-repeat;
  background-size: 70%;
  left: 0;
  bottom: 10px;
  z-index: -1;
  opacity: 0.5;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  width: 80%;
  margin-inline: 10%;
}
.header .menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}
.header .menu ul li a {
  font-size: 18px;
  text-decoration: none;
  color: #000;
  font-weight: bold;
  transition: color 0.3s ease;
}
.header .menu ul li a:hover {
  color: #054D77;
}

.wrapper {
  width: 80%;
  height: 75vh;
  margin-inline: 10%;
  margin-top: 16px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 30px #054D77;
  padding: 24px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}
.wrapper:has(.quizz, .question) {
  justify-content: flex-start;
  align-items: flex-start;
}
.wrapper:has(.user_data) {
  justify-content: flex-start;
}
.wrapper:has(#result-container) {
  justify-content: flex-start;
}

.welcome {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.welcome h1 {
  font-size: 50px;
  font-weight: bold;
  margin: 0;
  color: #000;
}
.welcome p {
  font-size: 18px;
  color: #000;
  margin: 0;
  font-weight: 500;
}
.welcome .btn {
  margin-top: 20px;
}

form {
  width: 500px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  text-align: right;
}
form .btn {
  align-self: center;
  justify-self: center;
  margin: auto;
  margin-top: 24px;
}

.subjects {
  width: 100%;
}
.subjects h2 {
  font-family: "Kufam-Bold";
  margin-bottom: 24px;
}
.subjects-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 30px rgba(5, 77, 119, 0.1);
  padding: 16px;
  border-radius: 16px;
  min-height: 230px;
  text-align: center;
  gap: 8px;
  margin-bottom: 24px;
  overflow: hidden;
}
.subjects-card h2 {
  margin-bottom: 8px;
}
.subjects-card--level {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  transform: translate(0, -100%);
}
.subjects-card--level a {
  width: 100%;
  display: block;
}
.subjects-card--level .btn {
  width: 100%;
}
.subjects-card--level .close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 16px;
  color: #000;
  cursor: pointer;
  transition: color 0.9s ease;
}
.subjects-card--level .close:hover {
  color: #032d46;
}
.subjects-card.active .subjects-card--level {
  transform: translate(0, 0);
  transition: transform 0.9s ease;
}

.quizz {
  margin-top: 24px;
  width: 100%;
}
.quizz h4 {
  font-family: "Kufam-Bold";
  margin-bottom: 16px;
  font-size: 18px;
}
.quizz .progress {
  height: 12px;
  border-radius: 8px;
  overflow: hidden;
}
.quizz .progress-bar {
  height: 12px;
  background-color: #054D77 !important;
  border-radius: 8px;
}

.question {
  margin-top: 32px;
  font-weight: bold;
  width: 40%;
  display: flex;
  flex-direction: column;
  text-align: right;
}
.question ul {
  margin-top: 24px !important;
  padding: 0;
}
.question ul li {
  margin-bottom: 16px;
}
.question ul li label {
  height: 60px;
  display: flex;
  border: 1px solid #000;
  align-items: center;
  position: relative;
  padding: 0 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: "monospace";
  font-size: 22px;
}
.question ul li label input {
  display: none;
}
.question ul li label:has(input:checked) {
  box-shadow: 0 0 10px rgba(5, 77, 119, 0.5);
  border-color: #054D77;
}
.question ul li label:has(input:checked)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("../media/checked.png");
  background-size: cover;
}
.question ul li label:hover {
  background-color: rgba(5, 77, 119, 0.1);
}
.question .btn {
  width: 140px;
  margin-top: 24px;
}

/* Extra small devices (portrait phones, less than 576px) */
/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  body {
    background-image: url("../media/bg-sm.jpg");
    background-size: 100% 100%;
    background-position: center top;
    background-repeat: no-repeat;
  }
  .wrapper {
    margin: 0 16px;
    width: calc(100% - 32px);
    height: auto;
    min-height: 85vh;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(5, 77, 119, 0.1);
  }
  .enter_email {
    width: 100%;
  }
  form {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
  }
  h2 {
    font-size: 20px;
  }
  .form-group .form-control::-moz-placeholder {
    font-size: 13px;
  }
  .form-group .form-control::placeholder {
    font-size: 13px;
  }
  .subjects-card p {
    font-size: 13px;
  }
  .subjects-card--level button.select_level {
    font-size: 12px;
    max-width: 170px;
    margin-top: 8px;
  }
  .btn-lg {
    font-size: 14px;
  }
  .question {
    width: 90%;
  }
  .question ul {
    padding: 0;
  }
  .question ul li label {
    height: 50px;
    font-size: 14px;
  }
  .question h3 {
    font-size: 20px;
  }
}
@media (max-width: 1199.98px) {
  h2, .welcome h1 {
    font-size: 24px;
  }
}
/* Extra large devices (large desktops, 1200px and up) */
/* XXL devices (very large screens, 1400px and up) *//*# sourceMappingURL=style.css.map */