@font-face {
  font-family: "IranSans";
  src: url("../Font/IRANSans(FaNum).ttf");
}
@font-face {
  font-family: "VazirMatn";
  src: url("../Font/VAZIRMATN-REGULAR.ttf");
}
@font-face {
  font-family: "Stardo";
  src: url("../Font/stardo.ttf");
}

* {
  font-family: "IranSans", sans-serif !important;
}

.stardo {
  font-family: "Stardo", sans-serif !important;
}
.vazir {
  font-family: "VazirMatn", sans-serif !important;
}
.irsans {
  font-family: "IranSans", sans-serif !important;
}
/* {
  font-family: 'Stardo', sans-serif !important;
} */

h1 {
  font-family: "VazirMatn", sans-serif !important;
}

body {
  padding-bottom: 70px;
}

.navBar {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: 1% 5% 0% 5%;
  gap: 40px;
  font-size: x-large;
  -webkit-box-shadow: 0px 9px 7px -7px rgba(0, 0, 0, 0.51);
  box-shadow: 0px 9px 7px -7px rgba(0, 0, 0, 0.51);
  max-height: 72px;
}
.navBarLink {
  color: black;
  cursor: pointer;
}
#navBarIcon {
  font-size: xx-large;
  display: flex;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: white;
  z-index: 999;
}
@media (max-width: 550px) {
  .lesson-container {
    width: 100% !important;
  }
}
.goBackBtn {
  margin: 0;
}
.backButtonText {
  margin-left: 77%;
}
.wordAndImageContainer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

ul {
  z-index: 108 important;
}
.word-container {
  direction: rtl;
}
.wordPronounceAndGrammar > p {
  margin-bottom: 2.5 px !important;
}
.ssElement {
  cursor: pointer;
  margin-bottom: 20px;
  color: black;
  text-decoration: none;
}

.dictionary-container {
  width: 90%;
  display: flex;
  flex-direction: row;
  border: 1px solid black;
  border-radius: 7px;
}

.wordContainer {
  background-color: white;
  padding: 10px;
  border-radius: 22px;
  box-shadow: 5px 5px 12px #d5d5d5, -5px -5px 12px #ebebeb;
  margin-bottom: 10px;
}
.wordContainer {
  background-color: white;
  padding: 10px;
  border-radius: 22px;
  box-shadow: 5px 5px 12px #d5d5d5, -5px -5px 12px #ebebeb;
  margin-bottom: 10px;
}
.meaningElement {
  background-color: white;
  padding: 10px;
  border-radius: 22px;
  box-shadow: 5px 5px 12px #d5d5d5, -5px -5px 12px #ebebeb;
  margin-bottom: 10px;
}
.margin-zero-fifty{
  margin: 0 50%;
}
.goBackBtn {
  margin: 0 85% 3%;
}
.persianText {
  direction: rtl;
}
.sseElement {
  direction: rtl;
}
.PrText {
  direction: rtl;
}
.dictionary-image {
  width: 20px;
  height: auto;
}

[data-bs-theme="light"] .blackAndWhiteColor {
  filter: invert(0) !important;
}

[data-bs-theme="dark"] .blackAndWhiteColor {
  filter: invert(1) !important;
}

[data-bs-theme="light"] .reverseBlackAndWhiteColor {
  filter: invert(1) !important;
}

[data-bs-theme="dark"] .reverseBlackAndWhiteColor {
  filter: invert(0) !important;
}

[data-bs-theme="light"] .BlackAndWhiteColorText {
  color: white !important;
}

[data-bs-theme="dark"] .BlackAndWhiteColorText {
  color: black !important;
}
[data-bs-theme="light"] .reverseBlackAndWhiteColorText {
  color: black !important;
}

[data-bs-theme="dark"] .reverseBlackAndWhiteColorText {
  color: white !important;
}

/* _______ */
.roadmapThing {
  color: #f5632b !important;
}
.custom-navbar-text {
  top: 26.5%;
}
[data-bs-theme="light"] .custom-navbar-text {
  color: black !important;
}

[data-bs-theme="dark"] .custom-navbar-text {
  color: black !important;
}
@media (min-width: 540px) {
  [data-bs-theme="dark"] .custom-navbar-text {
    color: white !important;
  }
}

.form-submit {
  border: none !important;
  background-color: transparent;
}

.ItemShadow {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.PlaySoundBtn,
.AddToLeitnerBtn,
.backButton,
.form-control {
  background: transparent;
  border: none;
}

.cover-title {
  top: 8rem;
}

.big-card {
  min-width: 100px;
  min-height: 100px;
}

.small-card {
  min-width: 250px;
  min-height: 200px;
}
.headerImage {
  max-height: 450px;
}
/* .arrow {

} */

.lessonArrow {
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  margin-right: 1rem;
  box-sizing: content-box;
}

.listening-test-show-results {
  margin: 10px 0 30px 0;
  padding-bottom: 3px;
  border-bottom: 1px solid #858484;
}
/* Scrollbar : *
/* width */
::-webkit-scrollbar {
  height: 5px;
  border-radius: 5px;
  width: 11px;
}

/* Track */
::-webkit-scrollbar-track {
  background: var(--bs-body-bg);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--bs-dark-border-subtle);
}

.md-width-50 {
  width: 50% !important;
  @media (min-width: 768px) {
    width: 50% !important;
  }
}

.lg-width-75 {
  width: 75% !important;
  @media (min-width: 1024px) {
    width: 75% !important;
  }
}

.rtl {
  direction: rtl;
}

.flickity-page-dots {
  bottom: -20px;
}
/* white circles */
.flickity-page-dots .dot {
  width: 9px;
  height: 9px;
  opacity: 1;
  background: var(--bs-primary-bg-subtle);
  border: 0px;
}
/* fill-in selected dot */
.flickity-page-dots .dot.is-selected {
  background: #fb741f;
}

.roadmapTagImg {
  background: #fb741f !important;
}

.searchInputX {
  background-color: #fb741f !important;
  margin-bottom:1.4rem!important
}

html[data-bs-theme="light"] {
  .f-br-0 {
    filter: brightness(0) !important;
  }
  .f-br-25 {
    filter: brightness(0.25) !important;
  }
  .f-br-5 {
    filter: brightness(0.5) !important;
  }
  .f-br-75 {
    filter: brightness(0.75) !important;
  }
  .f-br-1 {
    filter: brightness(1) !important;
  }
  .f-inv-0 {
    filter: invert(0) !important;
  }
  .f-inv-25 {
    filter: invert(0.25) !important;
  }
  .f-inv-5 {
    filter: invert(0.5) !important;
  }
  .f-inv-75 {
    filter: invert(0.75) !important;
  }
  .f-inv-1 {
    filter: invert(1) !important;
  }
}
html[data-bs-theme="dark"] {
  .f-d-br-0 {
    filter: brightness(0) !important;
  }
  .f-d-br-25 {
    filter: brightness(0.25) !important;
  }
  .f-d-br-5 {
    filter: brightness(0.5) !important;
  }
  .f-d-br-75 {
    filter: brightness(0.75) !important;
  }
  .f-d-br-1 {
    filter: brightness(1) !important;
  }
  .f-d-inv-0 {
    filter: invert(0) !important;
  }
  .f-d-inv-25 {
    filter: invert(0.25) !important;
  }
  .f-d-inv-5 {
    filter: invert(0.5) !important;
  }
  .f-d-inv-75 {
    filter: invert(0.75) !important;
  }
  .f-d-inv-1 {
    filter: invert(1) !important;
  }
}

.fs-7 {
  font-size: 0.9rem !important;
}
.fs-8 {
  font-size: 0.75rem !important;
}
.fs-9 {
  font-size: 0.65rem !important;
}

/* Light Theme Styles */
[data-bs-theme="light"] .custom-background {
  background-color: darkgrey !important;
}

/* Dark Theme Styles */
[data-bs-theme="dark"] .custom-background {
  background-color: rgba(
    var(--bs-tertiary-bg-rgb),
    var(--bs-bg-opacity)
  ) !important;
}

/* Dark Theme Styles */
[data-bs-theme="light"] .custom-Title-Text-Color {
  color: rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity)) !important;
}

[data-bs-theme="light"] .Custom-Theme-Text-Color {
  color: black !important;
}

[data-bs-theme="dark"] .Custom-Theme-Text-Color {
  color: white !important;
}

[data-bs-theme="light"] .Custom-Theme-Text-Color-reverse {
  color: black !important;
}

[data-bs-theme="dark"] .Custom-Theme-Text-Color-reverse {
  color: white !important;
}

.alwaysWhite {
  filter: invert(1);
}

@media (min-width: 550px) {
  .custom-Text-Color {
    .custom-Text-Color {
      color: white;
    }
  }
}

.femaleIcon {
  filter: invert(67%) sepia(11%) saturate(5000%) hue-rotate(163deg)
    brightness(102%) contrast(97%);
}
.maleIcon {
  filter: invert(58%) sepia(48%) saturate(2805%) hue-rotate(233deg)
    brightness(95%);
}

.orangeBackgroundWhiteColor {
  background-color: #fb741f  !important;
  color: white !important;
}

.OrangeColor {
  color: #fb741f  !important;
}

.color-White {
  color: white !important;
}

#quizTextPR {
  top: 20%;
  right: 0px;
  padding: 3px 0;
  text-align: right;
  min-width: 40%;
}
#quizTextEN {
  bottom: 10%;
  left: 10px;
  padding: 0;
  text-align: right;
  color: white;
  font-size: 0.7rem;
}

#writingQuizContainer {
  top: 102%;
  right: 10%;
  height: 50%;
  width: 80%;
  text-align: right;
}
#lessonBG {
  height: 86px;
  width: 100%;
  background-size: cover;
  text-align: right;
}

.quizTextEN {
  font-size: 0.7rem;
  bottom: 10%;
  left: 10px;
  padding: 3px 0px;
  text-align: right;
}
.cursor-pointer {
  cursor: pointer;
}
.cursor-pointer:hover {
  color: #fb741f !important;
  filter: invert(45%) sepia(98%) saturate(4089%) hue-rotate(336deg)
    brightness(94%) contrast(105%);
}

.profileDaysLeftImg {
  width: 20rem;
}

.settingItemImg {
  height: 1rem !important;
}
