@font-face {
  font-family: JosefSans;
  src: url(/font/static/JosefinSans-Light.ttf);
}

@font-face {
  font-family: JosefSans-Bold;
  src: url(/font/static/JosefinSans-Bold.ttf);
}

:root {
  --bg-color-light: rgb(236, 239, 241);
  --text-color-light: black;
  --bg-color-dark: #333333;
  --text-color-dark: white;

  /* Join button */

  --btn-bg-color-light: white;
  --btn-bg-color-dark: #353434;
  --btn-text-color-light: #0d0d0d;
  --btn-text-color-dark: white;

  /* Option hover colors */
  --bg-hover-dark: rgb(34 87 105);
  --bg-hover-light: rgb(199, 216, 222);

  /* navbar and footer */
  --primary-bg-color-light: rgb(192, 218, 241);
  --primary-bg-color-dark: #333333;
}

* {
  font-family: JosefSans;
}

h3 {
  font-size: 50px;
}
hr {
  font-weight: normal !important;
  height: 0.5px !important;
}
li {
  list-style: none;
}
input {
  /* border: 2px solid grey; */
  color: black;
  /* font-family: Arial, Helvetica, sans-serif; */
  font-weight: bold !important;
  font-size: large !important;
}

input::placeholder {
  font-size: medium !important;
}

.passwordEye,
.passwordEye__register {
  width: 30px;
  margin-left: -35px;
  cursor: pointer;
}

section {
  background-color: var(--bg-color-light);
  color: var(--text-color-light);
  transition: background-color 0.5s, color 0.5s;
}

.navbar,
footer {
  background-color: var(--primary-bg-color-light);
  color: var(--text-color-light);
}

.navbar {
  box-shadow: 0 3px 7px 0px rgba(0, 0, 0, 0.2);
  transition: background-color 0.5s, color 0.5s;
}

.navbar-brand img {
  width: 50px;
  border-radius: 50%;
}

.nav-link {
  font-size: 24px;
}

.q {
  font-family: JosefSans-Bold;
}

.card {
  background-color: var(--bg-color-light);
  color: var(--text-color-light);
  box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px,
    rgba(17, 17, 26, 0.05) 0px 8px 32px;
  transition: background-color 0.5s, color 0.5s, transform 0.2s;
}

.card:hover {
  transform: scale(1.1);
}

.question__option {
  width: 80%;
  padding: 5px;
  margin-bottom: 5px;
  border-radius: 5px;
  transition: background-color 0.1s ease-in-out;
}

.question__option:hover {
  background-color: var(--bg-hover-light) !important;
}

.cursor-pointer {
  cursor: pointer;
}

/* Wrapper */

.login-wrapper,
.register-wrapper {
  border-radius: 6px !important;
}

/* Login */

.login-container {
  border-radius: 6px !important;
}

.loginImg {
  width: 100%;
  height: 440px;
  object-fit: contain;
  border-radius: 6px !important;
  background-color: #333333;
}

/* Register */

.registerImg {
  width: 100%;
  object-fit: contain;
  height: 489px;
  padding: 20px;
  background: darkslategray;
}

.successRegister {
  text-shadow: 2px 2px 10px green;
}

/* Pages / Sections */

#courseSection {
  padding: 30px !important;
}

#login-page {
  height: 80vh;
}

#quizQuestion,
#resultSection {
  height: 100vh;
}

.list-of-mcqs {
  padding-left: 0rem;
}

/* Buttons */

.radio-btn {
  width: 16px !important;
  height: 16px !important;
  margin-right: 6px !important;
}

.back-btn {
  margin-right: 45px;
}

.join-btn {
  background-color: var(--btn-bg-color-light);
  color: var(--btn-text-color-light);
  border: 1px solid #1586dc;
  transition: background-color 0.3s, color 0.5s;
}

.join-btn:hover {
  background-color: #0c6ab2;
  color: var(--text-color-dark);
}

.join-btn:active {
  opacity: 0.8;
}

.allOptions {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

/* label */

.form-floating > label {
  top: -8px;
}

/* Footer */

footer {
  color: var(--text-color-light);
  height: 90px;
  border: none;
  border-bottom: none !important;
  box-shadow: 0 -3px 7px 0px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.5s;
}

footer p {
  margin-top: revert-layer;
}

@media (max-width: 992px) {
  .loginImgContainer,
  .registerImgContainer {
    display: none;
  }

  .login-container,
  .register-container {
    width: 320px;
  }
}

@media (max-width: 450px) {
  .navbar-brand img {
    width: 36px;
  }
}
