@import url("https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible+Next:ital,wght@0,200..800;1,200..800&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");
* {
  margin: 0;
  padding: 0;
}
body {
  height: 100%;
  overflow-x: hidden;
  background-color: rgb(20, 20, 20);
  font-family: "Atkinson Hyperlegible Next", sans-serif;
}
.img {
  height: 50px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
}
.img svg {
  height: 40px;
}
.container {
  width: 100%;
  max-width: 450px;
  margin: 5vh auto;
  padding: 40px 30px;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
  border-radius: 10px;
  /* display: none; */
  box-sizing: border-box;
}

.container h1 {
  margin-top: -7px;
  color: white;
  word-spacing: -8px;
  font-size: 45px;
}
.heading {
  height: 0;
}
.form {
  position: relative;
  margin-top: 45px;
  width: 100%;
  display: flex;
  top: 80px;
  text-align: left;
  height: 30dvh;
}
form {
  gap: 10px;
  color: white;
  display: flex;
  position: relative;
  flex-direction: column;
}
input {
  width: 150%;
  color: white;
  height: 50px;
  padding: 0 12px;
  outline: none;
  font-weight: bold;
  background-color: transparent;
  border: 1px solid gray;
  border-radius: 5px;
  transition: all 0.5s ease;
}
input:focus {
  border: 1px solid white;
}
input::placeholder {
  font-weight: bold;
  color: rgb(168, 167, 167);
}
label {
  font-size: 13px;
  font-weight: bold;
}
form > a {
  font-size: 14px;
  color: #1ac054;
}
form > button {
  font-size: 17px;
  font-weight: bold;
  display: flex;
  margin-top: 12px;
  align-items: center;
  justify-content: center;
  height: 50px;
  background-color: #1ed760;
  cursor: pointer;
  border: none;
  border-radius: 40px;
  width: 165%;
  transition: all 0.3s ease;
}
form > button:hover {
  background-color: #3be477;
  transform: scale(1.04);
}
form > button:active {
  transform: scale(0.9);
}
.line {
  display: flex;
  margin: 25px 0;
  align-items: center;
  gap: 10px;
  position: relative;
  top: 5px;
}
.line hr {
  width: 50%;
  height: 1px;
  border: none;
  background-color: gray;
}
.line > p {
  color: white;
}
.btn {
  display: flex;
  gap: 10px;
  position: relative;
  top: -35px;
  flex-direction: column;
}
.btn > button {
  background-color: transparent;
  border: 1px solid gray;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  color: white;
  font-weight: bold;
  font-size: 15px;
  width: 100%;
  cursor: pointer;
  height: 50px;
  transition: all 0.3s ease;
}
.btn > button:hover {
  border: 1px solid white;
}
.line1 {
  position: relative;
  top: -65px;
}
.line1 > hr {
  border: none;
  margin: 20px 0;
  height: 0.5px;
  background-color: rgb(45, 45, 45);
}
.foot {
  position: relative;
  top: -100px;
}
.foot > p {
  color: gray;
}
.foot > p > a {
  font-size: 17px;
  color: white;
  font-weight: bold;
}
.foot1 p,
a {
  font-size: 13px;
  color: gray;
}
.foot > p > a:hover {
  color: rgb(0, 194, 0);
}
.foot1 {
  position: relative;
  top: 20px;
}
.alert {
  width: 22%;
  margin: 0 auto 15px;
  height: 60px;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border-radius: 5px;
  background-color: #ffa42b;
  display: none;
}
.alert > .svg > svg {
  height: 30px;
}
.alert > .error a {
  color: black;
  font-size: 16px;
}
.OTP{
  display: none;
}
.otp-Form {
  color: white;
  width: 230px;
  height: 395px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  gap: 20px;
  position: relative;
  margin: auto;
}

.mainHeading {
  font-size: 1.5em;
  color: rgb(188, 188, 188);
  font-weight: 700;
}

.otpSubheading {
  font-size: 0.8em;
  color: rgb(189, 189, 189);
  line-height: 17px;
  text-align: center;
}

.inputContainer {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.otp-input {
  background-color: rgb(228, 228, 228);
  width: 30px;
  height: 30px;
  text-align: center;
  border: none;
  border-radius: 7px;
  caret-color: rgb(127, 129, 255);
  color: rgb(44, 44, 44);
  outline: none;
  font-weight: 600;
}

.otp-input:focus,
.otp-input:valid {
  background-color: rgb(228, 228, 228);
  transition-duration: 0.3s;
}

.verifyButton {
  width: 100%;
  height: 30px;
  border: none;
  background-color: #1ed760;
  color: rgb(0, 0, 0);
  font-weight: 600;
  cursor: pointer;
  border-radius: 10px;
  transition-duration: 0.2s;
}

.verifyButton:hover {
  background-color: #3be477;
  transition-duration: 0.2s;
}

.exitBtn {
  position: absolute;
  top: 5px;
  right: 5px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.171);
  background-color: rgb(255, 255, 255);
  border-radius: 50%;
  width: 25px;
  height: 25px;
  border: none;
  color: black;
  font-size: 1.1em;
  cursor: pointer;
}

.resendNote {
  font-size: 0.7em;
  color: rgb(116, 116, 116);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.resendBtn {
  background-color: transparent;
  border: none;
  color: #1ed760;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  position: relative;
  bottom: 20px;
}
#otpAlert {
  position: absolute;
  font-size: 18px;
  color: rgb(22, 205, 22);
  top: 5px;
  font-weight: bold;
}
.backButton {
  width: 50%;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

.backButton:hover {
  background: #fff;
  color: #000;
}
.none{
  display: none;
}

@media (max-width: 768px) {
  .container {
    margin: auto;
  }
  .container h1 {
    font-size: 50px;
  }
  .alert{
    width: 80%;
  }
}
