@font-face {
  font-family: mj;
  src: url("../assets/fonts/Mj_Tunisia_Bd_0.ttf");
  font-weight: bold;
}
@font-face {
  font-family: mj;
  src: url("../assets/fonts/Mj_Tunisia_Lt_0.ttf");
  font-weight: normal;
}
@font-face {
  font-family: yekan;
  src: url("../assets/fonts/IRANYekanX-Light.woff2"),
    url("../assets/fonts/IRANYekanX-Light.woff");
  font-weight: normal;
}
@font-face {
  font-family: yekan;
  src: url("../assets/fonts/IRANYekanX-Bold.woff2"),
    url("../assets/fonts/IRANYekanX-Bold.woff");
  font-weight: bold;
}
body {
  background-image: url("../assets/bg2.jpg");
  /* height:100% !important; */
  background-position-x: 11%;
  background-position-y: 10%;
  background-size: auto 130vh;
  background-repeat: no-repeat;
  font-family: mj;
  font-weight: bold;
  color: #0a3b59;
}
body,
#levelSelect,
#questionPage,
#skinSelection {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.pholderr,
#startGame,
#endGame,
#gainedtxt,
#result,
#archiveList,
#tournamentList,
#landing,
#ld-txt,
#ld-logo,
#progress-bar-containerr,
#shegerfist,
#sin-logo,
#loginBtn,
#selectCharBtn,
#q-selectCharBtn,
.sin-input,
#skinSelection,
#questionBox,
#characterWindow,
#characterSelector,
.characterItems img,
#returnLdr,
#levelSelect {
  transform: translate(-50%, -50%);
  left: 50%;
  position: absolute;
}
#skinSelection,
#signIn,
#levelSelect,
#questionPage {
  display: none;
}
#levelSelect {
  max-width: 960px;
  width: 100vw;
}
.pholderr {
  width: 100%;
  max-width: 960px;
  height: 100%;
  top: 50%;
}
#landing,
#skinSelection {
  width: 100vw;
  max-width: 960px;
  height: 100vh;
  top: 50%;
}
#ld-txt {
  /* flex-grow: 0; */
  background-color: #1a6a9b;
  border-radius: 1.5rem;
  color: white;
  width: 14rem;
  padding: 0.3rem;
  padding-top: 0.5rem;
  font-size: 1.1rem;
  text-align: center;
  top: 85%;
}
#ld-logo {
  /* flex-grow: 0; */
  width: 19rem;
  top: 42%;
}
#sin-logo {
  /* flex-grow: 0; */
  width: 19rem;
  top: 20%;
}
#shegerfist {
  font-size: 0.9rem;
  top: 92%;
  color: white;
}
#menuItems div:hover {
  cursor: pointer;
}
.handleGoToTrnmArchieveBtn {
  border-radius: 2rem;
  color: white;
  padding: 10px;
  width: fit-content;
  margin-inline: auto;
  cursor: pointer;
  font-weight: bold;
  background-color: #006e8c;
}
#selectCharBtn,
#q-selectCharBtn,
#startGame,
#endGame,
#loginBtn,
#returnLdr {
  padding-top: 0.5rem;
  border: 0;
  border-radius: 2rem;
  background-color: white;
  height: 3.5rem;
  width: 10.5rem;
  top: 90%;
  font-weight: bold;
  color: #006e8c;
}
#selectCharBtn,
#startGame,
#endGame,
#loginBtn,
#returnLdr {
  font-size: 2rem;
  line-height: 0.5;
  padding-top: 0;
}
#skinSelectTitle {
  border-radius: 0 2rem 2rem 0;
  background-color: #1e4b68;
  position: absolute;
  top: 3%;
  text-align: right;
  direction: rtl;
  left: 0;
  color: white;
  width: calc(100% - 60px);
  z-index: 10;
  font-size: 1.1rem;
  padding: 0.6rem 1rem 0 0;
  height: 2.8rem;
}
.headerProfileBack {
  border-radius: 0 2rem 2rem 0;
  background-color: #1e4b68;
  position: absolute;
  top: 1.5rem;
  text-align: right;
  direction: rtl;
  left: 0;
  color: white;
  width: calc(100% - 60px);
  z-index: 2;
  font-size: 1.1rem;
  padding: 0.6rem 1rem 0 0;
  height: 3rem;
}
#skinSelectDesc {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  font-size: 0.9rem;
  top: 83%;
  font-weight: normal;
  color: white;
  width: 60%;
  text-align: center;
}
#loginBtn {
  padding-top: 0rem;
  top: 69%;
}
#endGame {
  background-color: #0a3b59;
  color: white;
  display: none;
}
#startGame,
#returnLdr {
  background-color: #0a3b59;
  color: white;
}
#returnLdr {
  display: none;
}
#selectCharBtn:active,
#selectCharBtn:hover,
#q-selectCharBtn:active,
#q-selectCharBtn:hover {
  border: 0;
}
#skinWindow {
  position: absolute;
  transform: translate(-50%, 0);
  left: 50%;
  background-color: white;
  border-radius: 0 0 2rem 2rem;
  width: 100%;
  /* max-width:28rem; */
  height: 80vh;
  top: 0;
  overflow: hidden;
}

#questionBox {
  width: 90vw;
  height: 75vh;
  top: 52.5vh;
  max-width: 900px;
}

.sin-input {
  width: 19rem;
  height: 3.4rem;
  top: 45%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  padding-right: 1rem;
  direction: rtl;
  font-weight: bold;
}
/* .sin-input:nth-of-type(2){
    top: 55%;
} */

.danger:focus-visible {
  outline: 1px solid rgb(226, 51, 51);
  outline-offset: -5px;
}

#characterWindow {
  width: 100%;
  height: 70%;
  background-color: #ccc;
  top: 33.2%;
  overflow: hidden;
}
#characterSelector {
  width: 100%;
  overflow: hidden;
  height: 25%;
  top: 85.5%;
}
#insider {
  height: 100%;
  width: 56rem;
  position: absolute;
  top: 0;
  left: 0;
}
.characterItems {
  position: relative;
  float: left;
  margin-left: 0.8rem;
  margin-top: 2%;
  height: 75%;
  width: 5.8rem;
  overflow-x: hidden;
  border-radius: 1rem;
}

.arrow {
  content: "";
  position: absolute;
  transform: translate(-50%, -50%);
  left: 5.8rem;
  top: 7%;
  border-style: solid;
  border-width: 0 0.5rem 1rem;
  border-color: #1a6a9b transparent;
  display: none;
  width: 0;
}

.characterItems img {
  position: absolute;
  top: 50%;
  height: 100%;
}

.menuu {
  position: absolute;
  transform: translate(0, -50%);
  background-color: #40758b;
  width: 50px;
  top: 3rem;
  height: 2.8rem;
  right: 0;
  border-radius: 2rem 0 0 2rem;
}

#mnuBtnImage,
#blueArrow {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 60%;
  top: 50%;
  width: 1.2rem;
}

#menuHolder {
  width: 0rem;
  overflow: hidden;
  position: absolute;
  right: 0;
  height: 15.25rem;
  z-index: 12;
  background-color: white;
  border-radius: 0 0 0 2rem;
}
/* #shadowAfkanL{
  display: none;
  position: absolute;
  width: 100vw;
  top: 0;
  left: 0;
  height: 100vh;
  background-color: #074668;
  z-index: 12;
} */

#mnuBack2,
#mnuBack,
#mnuBack1 {
  display: none;
  position: absolute;
  width: 100vw;
  top: 0;
  left: 0;
  height: 100vh;
  background-color: #074668;
  opacity: 0%;
  z-index: 11;
  transform: scale(2);
}
#mnuBack2 {
  z-index: 12;
  background-color: #074668;
  opacity: 70%;
}
#whiteArrow,
#whiteArrowS {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 60%;
  top: 50%;
  width: 1.2rem;
}
.showBack {
  animation: showBackAnim 0.3s linear;
}
@keyframes showBackAnim {
  from {
    opacity: 0%;
  }
  to {
    opacity: 70%;
  }
}
.hideBack {
  animation: hideBackAnim 0.3s linear;
}
@keyframes hideBackAnim {
  from {
    opacity: 70%;
  }
  to {
    opacity: 0%;
  }
}
.openMenuHolder {
  animation: openHolder 0.3s linear;
}
@keyframes openHolder {
  from {
    width: 0;
  }
  to {
    width: 15rem;
  }
}
.closeMenuHolder {
  animation: closeHolder 0.3s linear;
}
@keyframes closeHolder {
  from {
    width: 15rem;
  }
  to {
    width: 0;
  }
}

#menuItems {
  width: 15rem;
  height: 30rem;
  background-color: #40758b;
  z-index: 12;
  position: absolute;
  right: 0px;
  text-align: right;
  direction: rtl;
}

.showMenuItems {
  animation: showMenuItemsAnim 0.3s linear;
}

.hideMenuItems {
  animation: hideMenuItemsAnim 0.3s linear;
}

@keyframes showMenuItemsAnim {
  from {
    background-color: #40758b;
  }
  to {
    background-color: white;
  }
}

@keyframes hideMenuItemsAnim {
  from {
    background-color: white;
  }
  to {
    background-color: #40758b;
  }
}

#menuItems img {
  margin-left: 0.5rem;
  display: inline-block;
  height: 2rem;
}

#menuItems div {
  padding: 0.5rem;
  margin-right: 5%;
  width: 90%;
  border-bottom: 1px solid #ddd;
}

.mnuBtnToOpen {
  z-index: 12;
  background-color: white;
  right: 15rem;
  animation: moveMenuButton 0.3s linear;
}
@keyframes moveMenuButton {
  from {
    right: 0;
    background-color: #40758b;
  }
  to {
    right: 15rem;
    background-color: white;
  }
}
.mnuBtnToClose {
  z-index: 12;
  animation: closeMenuButton 0.3s linear;
}
@keyframes closeMenuButton {
  from {
    right: 15rem;
    background-color: white;
  }
  to {
    right: 0;
    background-color: #40758b;
  }
}
#nickname,
#q-nickname {
  position: absolute;
  transform: translateY(-50%);
  right: 132px;
  color: white;
  font-size: 1.2rem;
  top: 2.4rem;
  z-index: 3;
}

#badge,
#q-badge {
  position: absolute;
  transform: translate(0, -50%);
  right: 137px;
  top: 3.75rem;
  z-index: 3;
}

#ranktxt,
#q-ranktxt {
  position: absolute;
  transform: translateY(-50%);
  right: 158px;
  font-size: 0.8rem;
  top: 3.7rem;
  color: rgba(255, 255, 255, 0.5);
  z-index: 3;
}

#facepic,
#q-facepic {
  position: absolute;
  transform: translateY(-50%);
  right: 66px;
  width: 2.5rem;
  top: 3rem;
  border-radius: 1.55rem;
  overflow: hidden;
  z-index: 3;
}

#facepic img,
#q-facepic img {
  width: 100%;
  height: auto;
}

#pointHolder,
#q-pointHolder {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 60px;
  width: 4rem;
  height: 1.8rem;
  top: 3rem;
  background: linear-gradient(90deg, #f8b42c 0%, #f18941 94%);
  border-radius: 1rem;
  /* padding-top:0.18rem; */
  padding-right: 0.7rem;
  color: white;
  text-align: right;
  direction: rtl;
  font-size: 1.2rem;
  line-height: 1.4;
  z-index: 3;
}
#pointHolder img,
#q-pointHolder img {
  position: absolute;
  top: 0.2rem;
  left: 0.3rem;
}
.q-pointHolder {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 48%;
  width: 3rem;
  height: 1.4rem;
  top: 1.9rem;
  background: linear-gradient(90deg, #f8b42c 0%, #f18941 94%);
  border-radius: 0.6rem;
  padding-right: 0.7rem;
  color: white;
  text-align: right;
  direction: rtl;
  font-size: 1rem;
  line-height: 1.45;
}
.q-pointHolder img {
  position: absolute;
  top: 0.25rem;
  left: 0.4rem;
  width: 30%;
  height: auto;
}
#result .q-pointHolder img {
  top: 0.32rem;
  width: 1.1rem;
}
#runResultPoints {
  display: inline-block;
  font-size: 1rem;
  margin-left: 1.5rem;
}
#tournamentList,
#archiveList {
  width: 100%;
  height: 84.5vh;
  max-width: 34rem;
  top: 57.6vh;
  border-top-right-radius: 2rem;
  border-top-left-radius: 2rem;
  background-color: white;
  padding-top: 1.8rem;
  /* padding-bottom: 1.8rem; */
  overflow: hidden;
  overflow-y: auto;
}


#tl-insider,
#archive-insider,
#emptyArchive {
  position: relative;
  width: 100%;
  height: 100%;
}
#tl-insider,
#archive-insider{
  /* height: calc(100% + 6.8rem); */
  height: 150%;
}
.emptyImage {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  width: 55%;
  top: 210px;
}
.archiveQuestion {
  color: black;
  font-size: 1rem;
  direction: rtl;
  margin-left: 5%;
  width: 90%;
  height: auto;
  border-bottom: 1px solid #8c8c8c;
  text-align: right;
}
.archiveQuestion span {
  color: #8c8c8c8c;
}
.archiveQuestion img {
  display: inline-block;
  width: 0.9rem;
}
.title,
.txtTitle {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 0.6rem;
  color: #0a3b59;
  font-size: 1.3rem;
  font-weight: bold;
  width: 90%;
  text-align: center;
  direction: rtl;
}
.txtTitle {
  color: #5b77aa;
  top: 100px;
}
.tournoments {
  position: relative;
  float: left;
  width: 90%;
  height: 7rem;
  background: rgb(203, 189, 214);
  background: linear-gradient(
    135deg,
    rgba(203, 189, 214, 1) 0%,
    rgba(151, 106, 186, 1) 54%,
    rgba(114, 64, 152, 1) 100%
  );
  border-radius: 0.8rem;
  margin-left: 5%;
  margin-top: 0.9rem;
  overflow: hidden;
}
.t-orange {
  background: rgb(255, 205, 175) !important;
  background: linear-gradient(
    135deg,
    rgba(255, 205, 175, 1) 0%,
    rgba(255, 154, 95, 1) 59%,
    rgba(252, 97, 5, 1) 100%
  ) !important;
}
.userBox {
  position: absolute;
  transform: translateY(-50%);
  right: 7%;
  top: 1.3rem;
  width: 4.2rem;
  height: auto;
  background-color: red;
}
.userBox img {
  position: absolute;
  right: 0;
  width: 33%;
  height: auto;
}
.userBox span {
  display: block;
  position: absolute;
  left: 1rem;
  top: 0rem;
  font-size: 1rem;
  color: gray;
  line-height: 1.4;
}
.questionNumber {
  position: absolute;
  transform: translateY(-50%);
  left: 4%;
  top: 1.2rem;
  width: 4rem;
  font-size: 0.8rem;
}
.questionNumber div {
  display: block;
  position: absolute;
  background-color: grey;
  border-radius: 50%;
  width: 1rem;
  height: 1rem;
  padding-left: 0.31rem;
  margin-top: 0.15rem;
  left: 0.1rem;
  top: 0.1rem;
  color: white;
}
.questionNumber span {
  display: block;
  position: absolute;
  width: 3rem;
  height: 1.2rem;
  padding-left: 0.4rem;
  margin-top: 0.2rem;
  right: 0.2rem;
}
.t-orange .leftCirc {
  background: #f2dcbc;
}
.t-orange .t-progress {
  background: rgba(252, 97, 5, 1);
}
.t-progressHolder {
  position: absolute;
  background: white;
  height: 0.4rem;
  width: 45%;
  top: 87%;
  right: 3rem;
  border-radius: 0.17rem;
}
.t-progress {
  position: absolute;
  top: 20%;
  left: 1%;
  height: 60%;
  width: 10%;
  border-radius: 0.16rem;
  background: rgba(114, 64, 152, 1);
}
.tournoments img {
  position: absolute;
  transform: translateY(-50%);
  top: 45%;
  left: 0.8rem;
  width: 6.5rem;
  height: auto;
}
.tlistpoints {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 6.5%;
  width: 3.3rem;
  height: 2rem;
  top: 96%;
  background: linear-gradient(90deg, #f8b42c 0%, #f18941 94%);
  border-radius: 0.7rem;
  padding-top: 0.22rem;
  padding-right: 0.6rem;
  color: white;
  text-align: right;
  direction: rtl;
  font-size: 0.8rem;
}
.tlistpoints img {
  position: absolute;
  top: 0.7rem;
  left: 0.5rem;
  width: 1rem;
}
.leftCirc {
  position: absolute;
  transform: translateY(-50%);
  left: 0;
  top: 50%;
  height: 9.5rem;
  width: 8rem;
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
  background-color: #c7b6d4;
}
.tourTitle {
  position: absolute;
  top: 0.6rem;
  right: 1rem;
  color: white;
  font-size: 1.3rem;
  font-weight: bold;
}
.t-time {
  position: absolute;
  top: 70%;
  left: 41%;
  color: white;
  font-size: 0.9rem;
  font-weight: bold;
  direction: rtl;
}
.e-time {
  position: absolute;
  top: 70%;
  right: 5%;
  color: white;
  font-size: 0.9rem;
  font-weight: bold;
  direction: rtl;
}
.tourSubTitle {
  position: absolute;
  top: 2.3rem;
  right: 1rem;
  color: white;
  font-size: 0.9rem;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.5);
}
.flexed {
  /*/width:100vw; */
  /* height:300px; */
  /* display:flex; */
  /* flex-direction:column;
    justify-content:flex-end;
    align-items:center;
    /* text-align: center;  */
}

.ldrBtnTn {
  cursor: pointer;
  position: absolute;
  transform: translateY(-50%);
  right: 0;
  width: 4.3rem;
  height: 3rem;
  top: 95%;
  background: linear-gradient(90deg, #9dba3c 0%, #7ca63f 94%);
  border-radius: 0.7rem;
  padding-top: 0.22rem;
  padding-right: 0.6rem;
  color: white;
  text-align: right;
  direction: rtl;
  font-size: 0.8rem;
}
.playBtn {
  cursor: pointer;
  position: absolute;
  transform: translateY(-50%);
  right: -5%;
  width: 3.3rem;
  height: 3rem;
  top: 95%;
  background: linear-gradient(90deg, #9dba3c 0%, #7ca63f 94%);
  border-radius: 0.7rem;
  padding-top: 0.22rem;
  padding-right: 0.6rem;
  color: white;
  text-align: right;
  direction: rtl;
  font-size: 0.8rem;
}

.icon-play {
  position: absolute;
  width: 0.7rem;
  height: 0.9rem;
  border-style: solid;
  border-width: 0.43rem 0px 0.43rem 0.9rem;
  border-color: transparent transparent transparent white;
  top: 0.46rem;
  left: 0.7rem;
}

.circular-progress {
  --size: 3.6rem;
  --half-size: calc(var(--size) / 2);
  --stroke-width: 0.29rem;
  --radius: calc((var(--size) - var(--stroke-width)) / 2);
  --circumference: calc(var(--radius) * 2 * 3.14159);
  --dash: calc((var(--progress) * var(--circumference)) / 100);
  animation: progress-animation 5s linear 0s 1 forwards;
}

.circular-progress circle {
  cx: var(--half-size);
  cy: var(--half-size);
  r: var(--radius);
  stroke-width: var(--stroke-width);
  fill: none;
  stroke-linecap: round;
}
.circular-progress circle.bg {
  stroke: #ddd;
}
.circular-progress circle.fg {
  transform: rotate(-90deg);
  transform-origin: var(--half-size) var(--half-size);
  stroke-dasharray: var(--dash) calc(var(--circumference) - var(--dash));
  transition: stroke-dasharray 0.3s linear 0s;
  stroke: #531272;
}
.pprogress {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 3.6rem;
  width: 90%;
  height: 0.5rem;
  left: 50%;
  border-radius: 0.25rem;
  background-color: #b7dcef;
  overflow: hidden;
}
.progressed {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 0.25rem;
  left: 0;
  background-color: #17516e;
  transform: scaleX(0);
}
.questionCountDown {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 1.92rem;
  left: 1.9rem;
  font-size: 2rem;
  font-weight: bold;
  z-index: 1;
  display: none;
}
.questionsType {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  color: #888;
  font-size: 0.95rem;
}
.questionSliderHolder {
  position: absolute;
  width: 100%;
  height: 20rem;
  overflow: hidden;
  top: 5rem;
}
.questionSlider {
  position: absolute;
  width: 100%;
  height: 100%;
  top: -20rem;
}
.slide {
  top: 0;
  animation: slideQuestion 0.5s linear;
}
@keyframes slideQuestion {
  from {
    top: -20rem;
  }
  to {
    top: 0;
  }
}
.num {
  -moz-font-feature-settings: "ss02";
  -webkit-font-feature-settings: "ss02";
  font-feature-settings: "ss02";
  font-family: yekan;
  font-weight: bold;
}
.questiontxt {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 2rem;
  font-size: 1.2rem;
  text-align: center;
  direction: rtl;
  width: 80%;
  line-height: 1.1;
}
.questionOptions {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 6rem;
  width: 80%;
  padding-top: 0.4rem;
}
.questionOption {
  position: relative;
  width: 100%;
  float: right;
  margin-left: 10%;
  margin-top: 0.8rem;
  height: 2.5rem;
  line-height: 2.5rem;
  border-radius: 1rem;
  border: 1px solid gray;
  text-align: center;
  direction: rtl;
  font-size: 1rem;
  top: 53%;
}
.question {
  position: absolute;
  transform: translateX(-50%);
  background-color: white;
  border-radius: 1rem;
  width: 95%;
  height: 5rem;
  /* top:46%; */
  left: 50%;
  overflow: hidden;
}
.deactiveQuestion {
  animation: slideBack 0.5s linear;
}
.activeQuestion {
  height: 26rem;
  animation: slideQuestionHolder 0.5s linear;
}
@keyframes slideQuestionHolder {
  from {
    height: 5rem;
  }
  to {
    height: 26rem;
  }
}
@keyframes slideBack {
  from {
    height: 26rem;
  }
  to {
    height: 5rem;
  }
}
.hiddenQuestion {
  display: none;
}
.fade {
  z-index: 100;
  animation-name: fadingOut;
  animation-duration: 0.5s;
  transform: scale(1.2) translate(-41%, -48%);
  transform-origin: center center;
  opacity: 0;
}
@keyframes fadingOut {
  from {
    transform: scale(1) translate(-50%, -50%);
    opacity: 1;
  }
  to {
    transform: scale(1.2) translate(-41%, -52%);
    opacity: 0;
  }
}
.camein {
  z-index: 98;
  transform-origin: center center;
  animation-name: camein;
  animation-duration: 0.5s;
  transform: scale(0.7) translate(-50%, -45%);
  opacity: 0.7;
  left: 35%;
  top: 45.5%;
}
.first {
  z-index: 99;
  animation-name: first;
  animation-duration: 0.5s;
  transform: scale(1) translate(-50%, -50%);
  opacity: 1;
  transform-origin: center center;
}
.last {
  z-index: 97;
  transform-origin: center center;
  animation-name: last;
  animation-duration: 0.5s;
  transform: scale(0.4) translate(-50%, -45%);
  opacity: 0.4;
  top: 50%;
  left: 20%;
}
@keyframes first {
  from {
    transform: scale(0.7) translate(-50%, -45%);
    opacity: 0.7;
    top: 45.5%;
    left: 35%;
  }
  to {
    transform: scale(1) translate(-50%, -50%);
    opacity: 1;
    top: 46%;
    left: 50%;
  }
}
@keyframes camein {
  from {
    transform: scale(0.4) translate(-50%, -45%);
    opacity: 0.4;
    top: 50%;
    left: 20%;
  }
  to {
    transform: scale(0.7) translate(-50%, -45%);
    opacity: 0.7;
    top: 45.5%;
    left: 35%;
  }
}
@keyframes last {
  from {
    transform: scale(0.3) translate(-50%, -45%);
    opacity: 0;
    top: 51%;
    left: 16%;
  }
  to {
    transform: scale(0.4) translate(-50%, -45%);
    opacity: 0.4;
    top: 50%;
    left: 20%;
  }
}
#result {
  display: none;
  top: 70%;
  height: 9.4rem;
  width: 95%;
  border-radius: 1rem;
  background-color: white;
}
#gainedtxt,
#topResDiv,
#gainedtxt,
#result .q-pointHolder {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
#cDesc,
#wDesc,
#cNmb,
#wNmb {
  position: absolute;
}
#result #congrats {
  position: absolute;
  left: 50%;
  top: -2rem;
  background-color: #56bc45;
  height: 2rem;
  padding: 0.1rem;
  font-weight: bold;
  font-size: 1.4rem;
  color: white;
  width: 5rem;
  text-align: center;
  transform: translateX(-50%);
  border-radius: 1rem 1rem 0 0;
}
#result #gainedtxt {
  width: 90%;
  text-align: center;
  top: 4.4rem;
  font-weight: bold;
  font-size: 1rem;
  color: #0a3b59;
}

.btn {
  background: #8bc6ed;
  background-image: -webkit-linear-gradient(top, #8bc6ed, #2980b9);
  background-image: -moz-linear-gradient(top, #8bc6ed, #2980b9);
  background-image: -ms-linear-gradient(top, #8bc6ed, #2980b9);
  background-image: -o-linear-gradient(top, #8bc6ed, #2980b9);
  background-image: linear-gradient(to bottom, #8bc6ed, #2980b9);
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;
  font-family: mj;
  color: #ffffff;
  font-size: 0.69rem;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
  width: 7rem;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 70%;
  left: 50%;
  text-align: center;
}

.btn:hover {
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
  background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
  text-decoration: none;
}
#tournomentType,
#tournomentTypeS,
#tournomentTypeSS {
  position: absolute;
  right: 1rem;
  font-weight: normal;
  top: 2rem;
}
#tournomentName,
#tournomentNameS {
  right: 1rem;
  position: absolute;
  top: 0.3rem;
  font-size: 1.3rem;
}
#tournomentNameS {
  top: 3rem;
}
#tournomentTypeS,
#tournomentTypeSS {
  top: 4.6rem;
}
#tournomentTypeSS {
  transform: translate(-50%, -50%);
  left: 50%;
  width: 95%;
  text-align: center;
  top: 4rem;
}
#ldrBtn3 {
  text-decoration: underline;
}
#closeModel {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  width: 5rem;
  text-align: center;
  top: 6.2rem;
  border-radius: 1.2rem;
  border: 0;
  background-color: #2980b9;
  color: white;
}
.ldrBtn,
#ldrBtn {
  cursor: pointer;
  color: white;
  left: 1rem;
  background-color: #7db423;
  position: absolute;
  top: 2.2rem;
  border-radius: 1rem;
  text-align: center;
  width: 4rem;
  font-size: 0.8rem;
  line-height: 1.4rem;
  font-weight: normal;
}
#ldrBtnS,
#ldrBtnSS {
  color: white;
  left: 50%;
  background-color: #329836;
  position: absolute;
  transform: translate(-50%, 0);
  top: 0.14rem;
  border-radius: 0 0 1.2rem 1.2rem;
  text-align: center;
  width: 7rem;
  height: 2.4rem;
  font-size: 1.1rem;
  font-weight: bold;
  padding-top: 0.33rem;
}
#nmbOfPs,
#nmbOfPsS {
  left: 1rem;
  font-weight: normal;
  direction: rtl;
  position: absolute;
  top: 0.3rem;
  font-size: 1rem;
}
#nmbOfPsS {
  top: 3rem;
}
#nmbOfPs span,
#nmbOfPsS span {
  font-weight: bold;
  font-size: 1.2rem;
}
#leaderBoard2,
#leaderBoard {
  height: auto;
  min-height: 15.5rem;
}
#shadowAfkanL {
  height: 100vh;
  width: 100vw;
}
#shadowAfkan,
#shadowAfkanS {
  position: relative;
  height: 7.7rem;
  background-color: white;
  width: 100%;
  z-index: 2;
  box-shadow: 0px 3px 39px 1px rgba(0, 0, 0, 0.3);
}
#shadowAfkanS {
  height: 8.7rem;
}
.ldrRow {
  width: 99%;
  position: relative;
  margin-right: 0.5%;
  margin-left: 0.5%;
  border-bottom: 1px solid #87bed1;
  height: 2.9rem;
}
.ldrActiveRow {
  color: white;
  background-color: #184763;
}
.ldrActiveRow .answered {
  background-color: #1489a3 !important;
}
.rank {
  position: absolute;
  height: 1.7rem;
  padding-top: 0.15rem;
  right: 1px;
  top: 10px;
  background-color: #f7b22d;
  width: 2.5rem;
  border-radius: 0.7rem 0 0 0.7rem;
  padding-left: 0.9rem;
}
.name {
  position: absolute;
  right: 3rem;
  top: 0.65rem;
}
.answered {
  background-color: #184763;
  left: 1rem;
  position: absolute;
  top: 0.7rem;
  width: 5rem;
  color: white;
  font-weight: normal;
  font-size: 0.8rem;
  height: 1.4rem;
  border-radius: 0.7rem;
  text-align: center;
  padding-top: 0.1rem;
}
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.popup {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.popup:hover {
  transform: translateY(-2px);
}

/*******************/
#progress-bar-containerr {
  margin: 20px auto 0 auto;
  width: 19rem;
  top: 58%;
  background-color: #ffffff;
  padding: 4px;
  border-radius: 1rem;
}
#progress-barr {
  width: 0;
  height: 6px;
  background-color: #ee661d;
  border-radius: 1rem;
  margin: 0 auto;
}
/* #progress-text {
  color: rgb(255, 255, 255);
  font-family: yekan;
  font-weight: bold;
  text-align: center;

} */
.text-center {
  text-align: center;
}
