@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap");

:root {
  --mainColor: #5d6eff;
  --globalBg: #f9f5ff;
  --bgColor: #fcfcfc;
  --mainBgColor: #fff;
  --wrongText: #ed6c70;
  --wrongColor: #f02d1f;
  --rightColor: #32cd32;
  --myGray: #606060;
  --mainBorder: 1px solid #b9b9b9;
  --mainShadow: 0px 39px 37px rgba(0, 0, 0, 0.09);
}

* {
  font-family: "Rubik", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: var(--globalBg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  padding-inline: 16px;
}

li {
  list-style: none;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background-color: rgb(126, 124, 124);
}

::-webkit-scrollbar-thumb {
  background-color: rgb(77, 73, 73);
}

body,
.container,
.options {
  display: flex;
  gap: 2rem;
  flex-direction: column;
  align-items: center;
  font-size: 1.4rem;
}

.container {
  padding-block: 15px 20px;
  padding-inline: 16px !important;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 25%);
  height: fit-content !important;
  margin-bottom: 80px !important;
}

body {
  width: 700px !important;
  min-height: 100vh;
  font-size: 1.4rem !important;
  user-select: none;
}

.QNav,
.bottomNav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header .container {
  width: 100%;
}

.topBar img {
  width: 15px;
}

.topBar img:nth-child(2) {
  width: 100px;
}
.topBar .icon-btn {
  width: 30px;
  height: 30px;
}

/* Menu styles added by bagena */

button {
  color: inherit;
}

.timer,
.test {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  color: var(--mainColor);
  box-shadow: 0 0 4px rgba(0, 0, 0, 25%);
  background-color: var(--globalBg);
}

.timer.active {
  color: rgb(216, 47, 28) !important;
}
.timer.active svg circle,
.timer.active svg rect {
  fill: rgb(216, 47, 28) !important;
}
.timer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timer img {
  width: 1rem;
}

.que-img {
  display: none;
  max-width: 200px;
  max-height: 200px;
}
.que-img.active {
  display: block;
}

.QNav {
  position: sticky;
  top: 0px;
  background-color: var(--globalBg);
  border-bottom: 1px solid gainsboro;
  padding-block: 2rem;
  padding-block: 1.1rem !important;
  z-index: 2;
}

.container,
.options {
  width: 100%;
  height: 100%;
  justify-content: flex-start;
}

.question {
  width: 100%;
  padding-block: 1.8rem 1rem;
  padding-inline: 2rem;
  border-radius: 8px;
  background-color: var(--globalBg);
  box-shadow: 0 0 2px rgba(0, 0, 0, 25%);
}

.question h3 {
  font-weight: 500;
}

.options {
  width: 100%;
  gap: 1rem;
}

.options li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--mainBgColor);
  box-shadow: var(--mainShadow);
  color: var(--myGray);
  border-radius: 8px;
  padding: 1.6rem;
  width: 100%;
  cursor: pointer;
  overflow: hidden;
}

.options li:hover {
  border: var(--mainBorder);
}

.onclick {
  border: var(--mainBorder);
}

.choiceLetter {
  background-color: #ededff;
  color: #4f75ff;
  padding: 0.5rem 1rem;
  font-size: 1.4rem;
  font-weight: 400;
  text-align: center;
  border-radius: 50%;
}

.fixed {
  position: fixed;
  max-width: 700px !important;
  padding: 20px 16px;
  backdrop-filter: blur(10px);
  bottom: 0;
}

.invisible {
  opacity: 0;
  padding-bottom: 50px;
}

.reminder {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #515151;
}

.reminder img {
  width: 16px;
}

.bottomNav button {
  background-color: var(--mainColor);
  padding: 0.6rem 1.2rem;
  color: #fff;
  border: none;
  box-shadow: 0px 8px 46px rgba(93, 110, 255, 0.42);
  border-radius: 3px;
}

.bottomNav button:hover {
  background-color: #3045fd;
}

/* bagena change */
.disappear {
  display: none;
}

.options .incorrect {
  background: #f02d1f;
  color: #e7f6d5;
  border-color: #f02d1f;
}

.options .correct {
  background: #32cd32;
  color: #e7f6d5;
  border-color: #32cd32;
}

/* ====== MEDIA QUERIES ===== */

/* normal computers & tablets */
@media (max-width: 1370px) {
  * {
    font-size: 1.4rem;
  }
  body {
    width: 700px !important;
    font-size: 1.4rem !important;
  }

  .bottomNav,
  .topBar {
    max-width: 700px !important;
  }
}

/* wide computers */
@media (max-width: 900px) {
  body {
    width: 540px !important;
    font-size: 1.4rem !important;
  }

  .bottomNav,
  .topBar {
    max-width: 540px !important;
  }

  .topBar img {
    width: 15px;
  }

  .topBar img:nth-child(2) {
    width: 100px;
  }
  .topBar .icon-btn {
    width: 30px;
    height: 30px;
  }
}

/* phones & small tablets*/
@media (max-width: 540px) {
  * {
    font-size: 12px !important;
  }

  .topBar img {
    width: 16px;
  }

  .topBar img:nth-child(2) {
    width: 100px;
  }
  .topBar .icon-btn {
    width: 30px;
    height: 30px;
  }

  .question {
    padding: 1rem;
    border-radius: 6px;
  }

  .question h3,
  .choiceLetter {
    font-size: 16px;
  }

  .options li {
    padding: 12px 1rem;
    letter-spacing: -0.015em;
  }

  .fixed {
    max-width: calc(100% - 32px) !important;
  }

  .fixed .reminder p {
    font-size: 12px !important;
  }

  body,
  .container,
  .options {
    gap: 1rem;
  }
}

.modalWindowBlur {
  position: fixed;
  backdrop-filter: blur(2px);
  width: 100%;
  height: 100vh;
}

.modal-container {
  padding-inline: 16px;
}

.modalWindow {
  z-index: 10000;
  width: 95%;
  max-width: 350px;
  height: 350px;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px solid #b9b9b9;
  box-shadow: 0px 39px 37px rgba(0, 0, 0, 0.09);
  border-radius: 18px;
}

.modalWindow h3,
.modalWindow h3 span {
  font-size: 24px !important;
  font-weight: bolder !important;
}

.modalWindow h3 span {
  color: var(--mainColor);
}

.btns {
  margin-top: 1rem;
}

.mainBtn {
  margin: 0.4rem;
  background-color: var(--mainColor);
  border: none;
  color: var(--mainBgColor);
  border-radius: 4px;
  padding: 0.7rem 1.5rem;
  box-shadow: 0px 8px 46px rgba(93, 110, 255, 0.42);
}

.secBtn {
  margin: 0.4rem;
  border: var(--mainBorder);
  border-radius: 4px;
  background-color: transparent;
  padding: 0.7rem 1.5rem;
  font-weight: 500;
}

.mainBtn:hover {
  background-color: #3045fd;
}

.secBtn:hover {
  background-color: rgb(230, 230, 230);
}
