* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* .navbar{
    background-color: #f8f9fa;
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 100;
} */

.navbar-toggler {
  color: #000 !important;
}

.container-fluid > img {
  width: 150px;
  height: 100px;
  padding: 10px;
  cursor: pointer;
}

/* login */
.btn-login {
  display: flex;
  justify-content: end;
  align-items: end;
  padding: 10px;
  gap: 10px;
}

.login-container {
  border-radius: 6px !important;
}

.loginImg {
  width: 100%;
  height: 440px;
  object-fit: contain;
  border-radius: 6px !important;
  background-color: #333333;
}

input::placeholder {
  font-size: medium !important;
}

.passwordEye,
.passwordEye__register {
  width: 30px;
  margin-left: -35px;
  cursor: pointer;
}

/* Wrapper */

.login-wrapper,
.register-wrapper {
  border-radius: 6px !important;
}

/* Register */

.registerImg {
  width: 100%;
  object-fit: contain;
  height: 489px;
  padding: 20px;
  background: darkslategray;
}

.successRegister {
  text-shadow: 2px 2px 10px green;
}

.heading {
  text-align: center;
  margin-top: 10px;
  font-size: 18px;
}

.heading > p {
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

#course-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  display: block;
}

.card {
  text-align: center;
  padding: 10px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  margin: 10px;
}

.card-body {
  padding: none;
}

.card:hover {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px,
    rgba(0, 0, 0, 0.23) 0px 6px 12px;
  transition: all 0.3s ease-in-out;
}

.btn-join-card {
  border: 2px solid #007bff;
  padding: 5px 30px !important;
}

.btn-join-card:hover {
  background-color: red !important;
  color: #fff;
  border: none;
  transition: all 0.3s ease-in-out;
}

.inst-span {
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.container {
  margin-bottom: 100px;
}

/* course join */

.course-join {
  width: 100%;
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 40px;
  gap: 20px;
  text-align: start;
  display: none;
}

.course-join-1 {
  width: 100%;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  padding: 20px 0px;
}

.join-1 {
  gap: 20px;
  padding: 20px;
  color: #000;
  font-size: 18px;
}

.courseList {
  width: 100%;
  margin-top: 30px;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.course {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 5px;
  background-color: #f1efef;
  font-size: 1.5rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #f5eded;
}

.course:hover {
  background-color: #007bff;
  color: #fff;
  transition: all 0.3s ease-in-out;
  width: 100%;
  border: none;
}

.back-btn {
  margin: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back,
.submit-key {
  padding: 5px 20px;
  background-color: #007bff;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 5px;
}

.back:hover,
.submit-key:hover {
  background-color: red;
  transition: all 0.3s ease-in-out;
}

/* key section */
.key {
  width: 100%;
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: start;
  flex-wrap: wrap;
  padding: 40px !important;
  gap: 20px;
  text-align: start;
  display: none;
}

.key-title {
  font-size: 24px;
  font-weight: 600;
  color: #000;
  text-align: start;
}

.input-Key {
  width: 100%;
  height: 50px;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  border: 1px solid #f5eded;
  border-radius: 5px;
}

.password {
  width: 100%;
  height: 50px;
  padding: 10px;
}

.submit {
  margin: 5px;
}

/* quiz form */
#quizes {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
  margin-top: 30px;
  margin-bottom: 50px;
}

.quiz-form {
  width: 700px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  padding: 20px;
  border-radius: 10px;
  flex-wrap: wrap;
  margin-bottom: 100px;
}

.quiz-title {
  width: 100%;
  text-align: center;
  font-size: 20px;
  color: #63b3d8;
  text-shadow: 1px 1px 1px #000;
}

.question {
  width: 100%;
  display: flex;
  align-items: center;
}

#questionGenerate {
  padding: 20px;
  font-size: 22px;
  font-weight: 600;
  color: #000;
}

.time > p,
.time > span {
  display: inline-block;
  margin-right: 10px;
  color: #007bff;
  font-size: 20px;
  font-weight: 500;
  right: 5px;
  margin-bottom: 20px;
}

.time {
  text-align: end;
}

.options {
  width: 100%;
  padding-left: 20px;
}

.option {
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.options > label {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin: 10px;
}

.submit-form-btn {
  padding: 10px 20px;
  margin: 30px;
}

/* result section */
#result > div {
  border-bottom: 1px solid rgb(187, 187, 187);
  padding: 20px 5px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #0d6db7;
}

#result span {
  font-size: 30px;
  margin-left: 10px;
}

.passedText {
  color: #20831e !important;
  font-size: 30px !important;
}

.failedText {
  color: red !important;
  font-size: 30px !important;
}

.scoreArea {
  display: none;
}

#result {
  margin: 0 auto;
  margin-bottom: 100px;
  margin-top: 20px;
  text-align: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 500px;
  flex-wrap: wrap;
}

#result h3 {
  margin-top: 30px;
  margin-left: 110px;
  padding: 30px 40px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
  color: #20831e;
  border: 14px solid #20831e;
  font-size: 80px;
}

.failedScore {
  color: red !important;
  border: 14px solid red !important;
}

/* footer */

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
  background-color: #f8f9fa;
  color: #000;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
  /* position: sticky; */
  bottom: 0;
  width: 100%;
}

@media screen and (max-width: 900px) {
  .btn-login {
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 10px;
    margin-top: 10px;
  }
  .loginImgContainer,
  .registerImgContainer {
    display: none;
  }

  .login-container,
  .register-container {
    width: 320px;
  }
}

@media screen and (max-width: 600px) {
  .back,
  .submit-key {
    margin-top: 10px;
  }

  .course-join {
    width: 100% !important;
    margin: 0;
  }

  .course-join-1 {
    padding: 0;
  }

  .join-1 > h5,
  h6 {
    padding: 10px;
    font-size: 17px;
  }

  .course {
    text-align: center;
    height: 50px;
  }

  .courseList {
    margin-top: 14px;
  }

  .back-btn {
    margin: 5px;
  }

  .options > label {
    font-size: 18px;
    margin: 5px;
    line-clamp: 2;
  }

  #questionGenerate {
    padding: 10px;
    font-size: 18px;
  }

  .question {
    padding: 5px;
    top: 10px;
  }

  #result {
    width: 100%;
  }

  #result h3 {
    padding: 20px 30px;
    width: 200px;
    height: 200px;
    font-size: 60px;
    border: 8px solid #20831e;
    text-align: center;
  }
}

@media screen and (max-width: 400px) {
  #result h3 {
    padding: 20px 30px;
    width: 150px;
    height: 150px;
    font-size: 50px;
    border: 8px solid #20831e;
    text-align: center;
    margin-left: 50px;
  }

  .passedText {
    font-size: 20px !important;
    padding: 0 10px;
  }

  #result span {
    font-size: 20px;
  }

  #result > div {
    padding: 10px 5px;
  }
}
