.font_kai {
  font-family: "Open Sans", adobe-kaiti-std, "KaiTi", sans-serif;
  font-style: normal;
  font-weight: 400;
}

.navbar-active-theme {
  color: #9841d8 !important;
  font-weight: bold;
}

.nav-item {
  font-size: 1.2rem !important;
}

.heading {
  text-align: center;
  padding-top: 100px;
  padding-bottom: 50px;
}

.heading h1:first-child {
  color: #9841d8;
  margin-bottom: 50px;
}

.alphaindex {
  background-color: #9841d8;
  padding: 25px;
  position: relative;
  margin: 0 auto;
}

.title {
  font-size: calc(1.3rem + 2vw);
  background-color: white;
  color: #59178a;
  min-width: 60px;
  box-shadow: 5px 5px 5px #7f36b5;
}

.content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.bottom-bottom {
  border-bottom: 1px solid #eee;
}

.box:before {
  content: "";
  padding-top: 100%;
  float: left;
}

.box {
  font-size: calc(1.3rem + 2vw);
  width: 8%;
  background-color: white;
  color: #59178a;
  min-width: 60px;
  border-radius: 20px;
  box-shadow: 5px 5px 5px #7f36b5;
  display: flex;
}

.selection,
.clickable {
  cursor: pointer;
}
.lessons {
  width: 50% !important;
  display: block;
  text-align: center;
  border-radius: 10px !important;
}

.box div {
  margin: auto;
}
.sentCharacters {
  cursor: pointer;
  font-size: 2.5rem;
  color: #9841d8;
}

.sentPinyin {
  color: #9841d8;
}

.btn-primary {
  background-color: white !important;
  border: 1px solid #9841d8 !important;
  color: #9841d8 !important;
}

.active {
  background-color: #9841d8 !important;
  color: white !important;
}

.hidden {
  display: none;
}

.btn {
  margin-top: 15px;
  border-radius: 10px;
}
.btn-convert {
  font-size: 1.2rem;
  width: 140px;
}

.info-buttons {
  float: left;
  position: relative;
  z-index: 1000;
  font-size: 1rem !important;
}

.info-buttons .btn {
  font-size: 0.8rem;
  width: 115px;
  min-height: 40px;
}

.btn-exercises {
  font-size: 1.5rem;
  width: 250px;
}

.back {
  width: 60px;
  height: 60px;
  font-size: 1rem;
  background-color: white;
  text-align: center;
  border-radius: 30px;
  display: flex;
  cursor: pointer;
  position: absolute;
}

.ex-back {
  text-align: center;
  cursor: pointer;
  font-size: 2rem;
  text-decoration: underline;
  margin-top: 10px;
  width: 100px;
  margin: 0 auto;
}

.backSymbol {
  margin: auto;
}

.currSection {
  margin: 0 auto !important;
}

.container-head {
  margin-bottom: 25px;
}

.chinese {
  text-align: center;
}

.box .pinyin {
  font-size: 15px;
  text-align: center;
}

.modal {
  display: none;
  z-index: 1000;
  background-color: white;
  min-width: 100%;
  min-height: 100%;
}

.modal-content {
  min-height: 100%;
  border: none;
  max-width: 1920px;
  margin: 0 auto;
}

.modal-inner-content {
  margin-top: 25px;
}

.information {
  padding: 20px 35px 20px 35px;
  text-align: center;
  font-family: "times new roman";
  font-size: 1.5rem;
}

.close-btn {
  top: 0px;
  right: 5px;
  position: fixed;
  cursor: pointer;
  font-size: 3rem;
}

svg {
  margin-top: 25px !important;
  margin: auto;
  display: block;
  border: 0.1px grey solid;
  border-radius: 20px;
}

.chinWordEx {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
}

.chinSentEx {
  text-align: left;
}

.red {
  color: red;
}
.blue {
  color: blue;
}
.green {
  color: darkgreen;
}

.orange {
  color: orange;
}

.purple {
  color: purple;
}

.brown {
  color: brown;
}

.pink {
  color: #ff004c;
}

.lightblue {
  color: #6cb4ee;
}
.grey {
  color: grey;
}
.orangered {
  color: orangered;
}
.peach {
  color: peachpuff;
}

#etymologyText {
  text-align: left;
}

.nextEx {
  margin-top: 2rem;
  font-size: 1.5rem;
  float: right;
  cursor: pointer;
  color: #9841d8;
}

.prevEx {
  margin-top: 2rem;
  font-size: 1.5rem;
  float: left;
  cursor: pointer;
  color: #9841d8;
}

.chinSentChar {
  font-size: 2.5rem;
}

.instructions {
  text-align: left;
  margin-bottom: 1rem;
}

.radQuestion {
  width: 200px;
  margin-right: 20px;
  position: relative;
}

.correct,
.incorrect {
  position: absolute;
  z-index: 9999;
  display: flex;
  font-size: 3rem;
  left: 175px;
  display: none;
}

.correct {
  color: green !important;
}

.incorrect {
  color: red !important;
}

path {
  cursor: pointer;
}

.index {
  font-size: 2rem;
  width: 300px;
  height: 100px;
  line-height: 100px;
  margin: 0 auto;
  cursor: pointer;
  background-color: #9841d8;
  text-align: center;
  color: white;
  margin-bottom: 3rem;
  border-radius: 15px;
  font-family: "times new roman";
}

.matching {
  height: 60px;
  border-radius: 5px;
  border: 0.5px solid black;
  padding: 0.375rem 0.75rem;
  width: 150px;
}

.btn-info,
.btn-info:hover {
  background-color: #1abebb;
}

.btn-info:focus {
  background-color: #fff;
  color: #0dcaf0 !important;
}

.btn-outline-secondary:hover {
  border-color: #6c757d !important;
}
.btn-outline-secondary {
  background-color: white !important;
  color: #6c757d !important;
}

@media screen and (min-width: 767px) and (max-width: 1199px) {
  .info-buttons .btn {
    font-size: 1.1rem !important;
    width: 150px !important;
  }

  .information {
    top: 400px !important;
  }

  .chinExampleChar,
  .radCompChar {
    font-size: 3rem;
  }

  .chinExampleEnglish,
  .radCompEnglish,
  .instructions {
    font-size: 1.5rem;
  }

  .chinExampleSymbol {
    padding: 10px;
    font-size: 2rem;
  }
}

@media screen and (min-width: 767px) {
  #charPinyin {
    font-size: 5rem !important;
  }

  #definition,
  #strokes {
    font-size: 2.5rem !important;
  }

  #etymology {
    font-size: 1.5rem !important;
  }

  .nextEx {
    font-size: 2rem;
  }

  .prevEx {
    font-size: 2rem;
  }
}

@media screen and (max-width: 991px) {
  .information {
    max-width: 375px;
  }
  .lessons {
    width: 60px;
    line-height: 60px;
  }
}

@media screen and (min-width: 992px) {
  #etymology {
    font-size: 1.7rem !important;
  }
}

@media screen and (max-width: 767px) {
  .information {
    position: relative;
    left: 5%;
  }
  .heading {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .heading h1:first-child {
    margin-bottom: 40px !important;
  }
  .answer-cols {
    display: inline-block;
    width: 320px;
    margin: 0 auto;
    padding-bottom: 0px !important;
  }
}

@media screen and (max-width: 475px) {
  .content {
    justify-content: center;
  }
}

@media screen and (max-width: 419px) {
  .information {
    text-align: left !important;
  }

  #etymology {
    margin-left: 60px;
  }

  #charPinyin,
  #radical,
  #component {
    margin-left: calc(1rem + 10vw);
    text-align: center;
    width: 60%;
  }
}

@media screen and (max-width: 474px) {
  .heading {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
  }

  .heading h1:first-child {
    margin-bottom: 15px !important;
  }
}

@media screen and (min-width: 420px) {
  .information {
    position: absolute;
    top: 350px;
    left: 50%;
    margin-top: -150px;
    transform: translate(-50%, 0%);
  }
}

@media screen and (min-width: 450px) {
  .info-buttons {
    position: absolute;
    top: 100px;
    left: 15px;
  }
}

@media screen and (min-width: 420px) and (max-width: 767px) {
  .info-buttons .btn {
    width: 125px !important;
    font-size: 1rem;
  }
}

@media screen and (max-width: 767px) {
  .hidden {
    display: none;
  }

  .information {
    max-width: 300px;
  }

  .chinExampleChar,
  .radCompChar {
    font-size: 2.5rem;
  }

  .chinExampleEnglish,
  .radCompEnglish,
  .instructions {
    font-size: 1rem;
  }

  .sentEnglish {
    text-align: left;
  }

  .chinExampleSymbol {
    padding: 5px;
    font-size: 2.5rem;
  }
}

@media screen and (min-width: 1200px) {
  .box .pinyin {
    font-size: 20px;
  }
  .info-buttons .btn {
    margin-top: 25px !important;
    margin-left: 30px !important;
    font-size: 1.2rem !important;
    width: 175px !important;
  }

  .information {
    top: 400px !important;
    max-width: 800px;
  }

  .chinExampleChar,
  .radCompChar {
    font-size: 5rem;
  }

  .chinExampleEnglish,
  .radCompEnglish,
  .instructions {
    font-size: 1.5rem;
  }

  .chinExampleSymbol {
    padding: 15px;
    font-size: 3.5rem;
  }

  #definition,
  #strokes {
    font-size: 5rem !important;
    font-family: "times new roman";
  }
}
@media screen and (min-width: 2000px) {
  .box {
    font-size: 80px !important;
  }
}
