body {
  height: 100vh;
}
.emailMessage {
  padding: 0;
  font-size: 0.8rem;
  font-style: italic;
  color: red;
}
.sucessfulVerification {
  text-align: center;
}
/*sucessfulVerification*/
.sucessfulVerification {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: WHITE;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  transition: all 0.2s linear;
}
.displayVerificationMessage {
  display: block;
}

.hideVerificationMessage {
  display: none;
}
.messageSuccess {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.messageSuccess p {
  line-height: 1;
}
/*Loader profile*/
.waiting {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  position: relative;
}
.loader {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 10px solid rgba(0, 0, 0, 0.2);
}
.loaderInner {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 10px solid rgba(0, 0, 0, 0.8);
  border-top: 10px solid rgba(216, 184, 6, 0.8);
  position: absolute;
  top: 0;
  left: 0;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}
/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.counterLoader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
}
.textbox {
  border: 1px solid red;
  background-color: grey;
}
.userLogin {
  width: 100%;
  text-align: center;
  padding: 5px;
}
.userLogin a {
  font-style: italic;
  font-size: 1rem;
  color: red;
  padding: 5px;
  text-align: center;
  &:hover {
    text-shadow: 0px 0px 5px cyan, 0px 0px 10px cyan, 0px 0px 30px cyan;
  }
}
main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 80%;
  margin-top: 45px;
}
main h1 {
  padding: 20px 0px;
}
main p {
  width: 80%;
  text-align: center;
  padding: 20px 0px;
  line-height: 2;
  font-size: 1.2rem;
}
main .logo {
  font-size: 1.7rem;
  text-shadow: 2px 0px goldenrod, 0px -2px goldenrod;
}
.buttunsHome {
  padding: 5px 0px;
  width: 40%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.buttunsHome a {
  width: 46%;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  background-color: transparent;
  border: 1px solid var(--fontColor);
  color: var(--fontColor);
  cursor: pointer;
  transition: all 0.3s ease-in;
  &:hover {
    box-shadow: 0px 0px 5px cyan, 0px 0px 10px cyan, 0px 0px 20px cyan;
    border-radius: 5px;
  }
}
.buttunsHome .regBTN {
  background-color: goldenrod;
  width: 100%;
  padding: 10px 0px;
}
.donoteBTN {
  padding: 10px 0px;
}

/*Registration form*/
.regForm {
  position: absolute;
  background-color: white;
  color: black;
  width: 30%;
  font-size: 1.2rem;
}
.regFormContainer {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}
.fomrREG {
  padding: 20px;
  display: flex;
}
.regForm input {
  width: 100%;
  margin-bottom: 5px;
  font-size: 1rem;
  padding: 5px 10px;
  background: none;
  border: 1px solid goldenrod;
}
.regForm label {
  font-size: 1.1rem;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
}
.regForm input:focus,
input:active {
  border: none;
}
.selection {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.selection input {
  align-self: center;
  margin: auto 0;
}
/*names error messages*/
.nameValue {
  color: red;
  font-size: 0.8rem;
  font-style: italic;
}
.hideNameError {
  opacity: 0;
}
.frmPersonalDate {
  width: 100%;
}
.hideFrmPersonal {
  transform: scale(0);
}

.user {
  position: absolute;
  padding: 5px;
  width: 90%;
  right: 5%;
  top: 25%;
  transition: all 0.3s linear;
  transform-origin: right;
  transform: scaleX(0);
}
.user input {
  border: 1px solid black;
  margin-bottom: 20px;
  margin-top: 5px;
}
.userFormTitle {
  padding: 5px;
  font-size: 1.5rem;
  color: goldenrod;
  font-weight: bold;
  width: 100%;
  border-bottom: 1px solid goldenrod;
  margin-bottom: 15px;
  text-align: center;
}

.userShow {
  transform: scaleX(1);
}

.regForm .formHead {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  background-color: goldenrod;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
}
.overlay {
  position: absolute;
  background-color: black;
}
.formHead img {
  width: 25px;
  height: 25px;
  filter: invert();
  cursor: pointer;
  transition: all 0.3s linear;
  &:hover {
    scale: 1.5;
    rotate: 180deg;
  }
}
/*the buttons in the users form*/
.reg_closeBTN {
  display: flex;
  justify-content: space-between;
}
.reg_closeBTN button {
  background-color: transparent;
  width: 49%;
  padding: 10px;
  font-weight: bold;
  box-shadow: 2px 2px 5px black;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  &:hover {
    border: 1px solid goldenrod;
  }
}

.regConfirm:hover {
  background-color: goldenrod;
  color: white;
  border: 1px solid blue;
}
/*the back button in the user creation form*/
.backBTN {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
.backBTN img {
  width: 25px;
  height: 25px;
  transition: all 0.2s linear;
}
.backBTN:hover img {
  filter: invert();
}
/*the back button in the user creation form ends here*/
.eye {
  position: absolute;
  right: 10px;
  cursor: pointer;
}
.eye img {
  width: 30px;
  height: 30px;
}
.hidePW,
.hideCPW {
  visibility: hidden;
}
.showBTNHide {
  visibility: visible;
}
.hideeye {
  transform: scale(0);
}

.directToLogin {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 80%;
  padding: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background-color: white;
  transition: all 0.2s linear;
  transform-origin: top;
  border-radius: 20px;
  /* display: none;*/
}
.hideDirectToLogin {
  transform: scaleY(0);
}
* .directToLogin .contents {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 95%;
  color: goldenrod;
}
.directToLogin .contents .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0px;
}
.countDown {
  margin-top: 10px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}
.directToLogin .contents .text h5 {
  background-color: goldenrod;
  padding: 5px 10px;
  font-size: 0.95rem;
  color: white;
  font-weight: 200;
  font-style: italic;
}
.directToLogin .contents .text h5 .emailSpan {
  color: rgb(9, 9, 192);
}
.directToLogin .contents .text #resendOTP {
  margin-top: 15px;
  background: none;
  border: none;
  box-shadow: none;
  font-style: italic;
  font-weight: 300;
  text-decoration: underline;
  cursor: pointer;
  transition: all 0.2s linear;
}

.directToLogin .contents .text input {
  border: 1px solid black;
  margin-top: 20px;
  border-radius: 0;
  width: 80%;
}
.directToLogin .contents .text .loginBtn button {
  background-color: goldenrod;
  color: white;
  font-size: 1.2rem;
  border: 1px solid white;
  box-shadow: 2px 2px 4px grey, -2px -2px 4px grey;
  padding: 10px 55px;
  cursor: pointer;
  transition: all 0.2s linear;
  &:hover {
    box-shadow: 2px 2px 8px blacks;
    scale: 0.9;
  }
}
/*Error if email was not founf during verfication*/
.errorMessageEmail {
  color: red;
  background-color: none;
  font-style: italic;
  display: none;
}

/*countries list API*/
.countriesshow {
  transform: scaleY(0);
}
.countries {
  width: 90%;
  height: 300px;
  position: absolute;
  top: 44%;
  color: white;
  background-color: goldenrod;
  overflow-y: scroll;
  z-index: 25000;
  transition: all 0.2s ease-in;
  transform-origin: top;
  margin-bottom: 5px;
  border: 1px solid goldenrod;
}
.overlay-countries {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100vw;
  height: 90vh;
  background-color: transparent;
  cursor: pointer;
}
.countries ul ul li {
  list-style: none;
  padding: 0;
}
.countries ul .countryDeatails {
  transition: all 0.2s linear;
  &:hover {
    background-color: grey;
  }
}
.countryDeatails {
  border-bottom: 1px solid white;
  padding: 5px;
  z-index: 1200;
}
.countryDeatails:hover {
  background-color: grey;
}

.countries ul ul {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 2px 2px;
  gap: 5px;
  cursor: pointer;
  &:hover {
    background-color: var(--backgroundcolor);
  }
}
.countries ul ul img {
  height: 1rem;
  width: 2rem;
}
/* country code selection container*/
.selection {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 5px;
}
.codeandflag-holder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 38%;
  border: 1px solid white;
  box-shadow: 2px 2px 5px grey;
  padding: 5px;
  background-color: goldenrod;
  color: white;
  margin-right: 2px;
  height: 1.8rem;
  cursor: pointer;
}
.codeandflag-holder .flagholder {
  height: 2rem;
  padding: 0px;
}
.codeandflag {
  display: flex;
  align-items: center;
  padding: 0;
}
.codeandflag img {
  width: 2.5rem;
  height: 1.5rem;
  margin-right: 2px;
}
.country-code {
  width: 2.5rem;
  font-size: 1rem;
  padding: 0px;
  color: white !important;
}
.codeandflag-holder span img {
  width: 15px;
  vertical-align: middle;
  cursor: pointer;
  transition: all 0.2s ease-in;
  color: black;
}
/*rotate */
.iconMobileRotate {
  rotate: 180deg;
}
.messageBox2 {
  color: red;
  font-size: 0.8rem;
  font-style: italic;
}
@media only screen and (max-width: 900px) {
  main {
    padding-top: 100px;
    margin-top: 50px;
    margin-bottom: 10px;
    overflow-y: scroll;
  }
  ::-webkit-scrollbar {
    display: none;
  }

  /* For Firefox */
  html {
    scrollbar-width: none; /* Hide scrollbar */
    -ms-overflow-style: none; /* IE 10+ */
  }

  /* Ensure the element is scrollable */
  .scrollable-element {
    overflow: scroll;
  }
  h1 {
    font-size: 1.5rem;
    text-align: center;
    width: 90%;
  }
  main p {
    text-align: justify;
    line-height: 1.5;
    width: 95%;
  }

  main .buttunsHome {
    width: 100%;
    padding: 5px 15px;
    display: flex;
    justify-content: center;
    gap: 5px;
  }
  main .buttunsHome a {
    width: 45%;
    font-size: 1rem;
  }

  .regForm {
    width: 100%;
  }
  footer {
    z-index: -1;
  }
}
