#main {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  width: max-content;
  height: 90%;
  width: 99vw;
}

.get-answers-button {
  direction: ltr;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s;
  padding: 10px 20px;
  border-radius: 100px;
  background: #d9b34a;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  font-size: 15px;
}

.get-answers-button:hover {
  background: #dbbd6c;
}

.get-answers-button > svg {
  width: 34px;
  margin-left: 10px;
  transition: transform 0.3s ease-in-out;
}

.get-answers-button:hover svg {
  transform: translateX(5px);
}

.get-answers-button:active {
  transform: scale(0.95);
}

.correct-answer {
  width: 80%;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.resultInputs {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 4rem auto;
}

.grade-group {
  position: relative;
}

.grade-input {
  font-size: 16px;
  padding: 10px 10px 10px 5px;
  display: block;
  width: 200px;
  border: none;
  border-bottom: 1px solid #515151;
  background: transparent;
  color: white;
}
.grade-input::-ms-clear {
  display: none;
}

.grade-input[type="number"]::-webkit-outer-spin-button,
.grade-input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.grade-input:focus {
  outline: none;
}

label {
  color: #999;
  font-size: 18px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  right: 5px;
  top: 10px;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}

.grade-input:focus ~ label,
.grade-input:valid ~ label {
  top: -20px;
  font-size: 14px;
  color: #d9b34a;
}

.gradeBar {
  position: relative;
  display: block;
  width: 200px;
}

.gradeBar:before,
.gradeBar:after {
  content: "";
  height: 2px;
  width: 0;
  bottom: 1px;
  position: absolute;
  background: #d9b34a;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}

.gradeBar:before {
  left: 50%;
}

.gradeBar:after {
  right: 50%;
}

.grade-input:focus ~ .gradeBar:before,
.grade-input:focus ~ .gradeBar:after {
  width: 50%;
}

.gradeHighlihgt {
  position: absolute;
  height: 60%;
  width: 100px;
  top: 25%;
  left: 0;
  pointer-events: none;
  opacity: 0.5;
}

.grade-input:focus ~ .gradeHighlihgt {
  animation: inputHighlighter 0.3s ease;
}

@keyframes inputHighlighter {
  from {
    background: #d9b34a;
  }

  to {
    width: 0;
    background: transparent;
  }
}

.confirmBtn {
  --color: #00a97f;
  --color2: rgb(10, 25, 30);
  padding: 0.8em 1.75em;
  background-color: transparent;
  border-radius: 6px;
  border: 0.3px solid var(--color);
  transition: 0.5s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin: 2rem;
  z-index: 1;
  font-weight: 300;
  font-size: 17px;
  font-family: "Roboto", "Segoe UI", sans-serif;
  text-transform: uppercase;
  color: var(--color);
}

.confirmBtn::after,
.confirmBtn::before {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  transform: skew(90deg) translate(-50%, -50%);
  position: absolute;
  inset: 50%;
  left: 25%;
  z-index: -1;
  transition: 0.5s ease-out;
  background-color: var(--color);
}

.confirmBtn::before {
  top: -50%;
  left: -25%;
  transform: skew(90deg) rotate(180deg) translate(-50%, -50%);
}

.confirmBtn:hover::before {
  transform: skew(45deg) rotate(180deg) translate(-50%, -50%);
}

.confirmBtn:hover::after {
  transform: skew(45deg) translate(-50%, -50%);
}

.confirmBtn:hover {
  color: var(--color2);
}

.confirmBtn:active {
  filter: brightness(0.7);
  transform: scale(0.98);
}

/* alert card */

.alert-card-cont {
  width: 100vw;
  height: 130vh;
  margin-top: -20%;
  position: fixed;
  z-index: 100000;
  background-color: #4747537a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.exam-alert-card {
  position: fixed;
  /* z-index: 100000; */
  /* width: 17em; */
  min-height: 22.5em;
  min-width: 75%;
  margin: auto 2rem;
  padding-top: 5vh;
  padding-bottom: 5vh;
  background: #171717;
  transition: 1s ease-in-out;
  clip-path: polygon(
    30px 0%,
    100% 0,
    100% calc(100% - 30px),
    calc(100% - 30px) 100%,
    0 100%,
    0% 30px
  );
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.exam-alert-card span {
  font-weight: bold;
  color: white;
  text-align: center;
  display: block;
  font-size: 1.7em;
}

.exam-alert-card .exam-alert-info {
  font-weight: 500;
  color: white;
  display: block;
  width: 70%;
  text-align: center;
  font-size: 1em;
  margin: 1em;
}

.exam-alert-card .exam-alert-photo {
  width: max-content;
  height: max-content;
  /* background: white; */
  border-radius: 15px;
  margin: auto;
  color: rgb(255, 186, 186);
}

.card-buttons-cont {
  width: 70%;
  display: flex;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.card-next-button,
.card-cancel-button,
.card-change-num-button {
  padding: 1.3em 2.7em;
  display: block;
  margin: auto;
  margin-top: 1rem;
  border-radius: 25px;
  border: none;
  font-weight: bold;
  background: #ffffff;
  color: rgb(0, 0, 0);
  transition: 0.2s ease-in-out;
}

.fa-green {
  color: green;
}

.card-next-button {
  background: green;
  color: white;
  cursor: pointer;
}

.card-next-button:hover {
  filter: brightness(120%);
  scale: 1.05;
  color: white;
  /* cursor: pointer; */
}

.card-cancel-button:hover {
  background: red;
  scale: 0.95;
  color: white;
  cursor: pointer;
}

.card-change-num-button:hover {
  background: yellow;
  scale: 0.95;
  color: black;
  cursor: pointer;
}

.disable-next {
  background-color: #575757;
  cursor: default;
}
.disable-next:hover {
  filter: brightness(100%);
  scale: 100%;
}

.phone-input {
  margin: 30px;
  background: none;
  border: none;
  outline: none;
  max-width: 190px;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 9999px;
  box-shadow: inset 2px 5px 10px rgb(5, 5, 5);
  color: #fff;
}

@media screen and (max-width: 1024px) {
  .alert-card-cont {
    margin-top: -30%;
  }
}

@media screen and (max-width: 450px) {
  .alert-card-cont {
    margin-top: -60%;
  }
  .exam-alert-card span {
    font-size: 1.4em;
  }
}
@media screen and (min-width: 2000px) {
  .alert-card-cont {
    margin-top: -20%;
  }
  .exam-alert-card {
    font-size: xx-large;
  }
  .exam-alert-photo img {
    width: 250px;
  }
  .card-next-button,
  .card-cancel-button,
  .card-change-num-button {
    width: 200px;
    height: 70px;
    font-size: xx-large;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .card h3 {
    font-size: xx-large;
    text-align: center;
  }
  .fawryCodeBox h4 {
    font-size: 3rem;
    text-align: center;
  }
  .fawryCodeBox h6 {
    font-size: x-large;
    text-align: center;
  }
}
/* end */

/* Loader */

.loader-wrapper {
  width: 200px;
  height: 60px;
  position: relative;
  z-index: 1;
}

.loader-circle {
  width: 20px;
  height: 20px;
  position: absolute;
  border-radius: 50%;
  background-color: #fff;
  left: 15%;
  transform-origin: 50%;
  animation: loader-circle7124 0.5s alternate infinite ease;
}

@keyframes loader-circle7124 {
  0% {
    top: 60px;
    height: 5px;
    border-radius: 50px 50px 25px 25px;
    transform: scaleX(1.7);
  }

  40% {
    height: 20px;
    border-radius: 50%;
    transform: scaleX(1);
  }

  100% {
    top: 0%;
  }
}

.loader-circle:nth-child(2) {
  left: 45%;
  animation-delay: 0.2s;
}

.loader-circle:nth-child(3) {
  left: auto;
  right: 15%;
  animation-delay: 0.3s;
}

.loader-shadow {
  width: 20px;
  height: 4px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.9);
  position: absolute;
  top: 62px;
  transform-origin: 50%;
  z-index: -1;
  left: 15%;
  filter: blur(1px);
  animation: loader-shadow046 0.5s alternate infinite ease;
}

@keyframes loader-shadow046 {
  0% {
    transform: scaleX(1.5);
  }

  40% {
    transform: scaleX(1);
    opacity: 0.7;
  }

  100% {
    transform: scaleX(0.2);
    opacity: 0.4;
  }
}

.loader-shadow:nth-child(4) {
  left: 45%;
  animation-delay: 0.2s;
}

.loader-shadow:nth-child(5) {
  left: auto;
  right: 15%;
  animation-delay: 0.3s;
}
