@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
}
body {
  min-height: 100dvh;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  position: relative;
  width: 100%;
  background: linear-gradient(to bottom, rgb(41, 40, 40), black);
}

.container {
  width: 90%;
  max-width: 700px;
  height: auto;
  min-height: 80vh;
  margin: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  background-color: #121212;
  border-radius: 10px;
}

.img > svg {
  height: 40px;
  margin-top: 20px;
}
.connect-btn {
  display: flex;
  margin-top: -15px;
  flex-direction: column;
}
.connect-btn > button {
  margin: 4px 0;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-evenly;
  height: 48px;
  font-size: 16px;
  width: 335px;
  cursor: pointer;
  color: white;
  padding: 20px;
  outline: none;
  border: 0.5px solid gray;
  border-radius: 30px;
  background-color: transparent;
  transition: all 0.2s ease;
}
.connect-btn > button:hover {
  border: 1px solid white;
}
h2 {
  color: white;
  margin-top: -22px;
  font-size: 35px;
  word-spacing: -4px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  font-weight: bold;
  text-align: left;
  color: white;
}
hr {
  width: 80%;
  border: none;
  height: 0.5px;
  border: 30px;
  background-color: #3a3a3a;
}
#email1{
  height: 42px;
  color: white;
  padding: 0px 10px;
  background-color: transparent;
  border: 2.5px solid gray;
  border-radius: 4px;
  outline: none;
  transition: all 0.2s ease;
  font-weight: 600;
}
input {
  width: 310px;
  height: 42px;
  color: white;
  padding: 0px 10px;
  background-color: transparent;
  border: 2.5px solid gray;
  border-radius: 4px;
  outline: none;
  transition: all 0.2s ease;
  font-weight: 600;
}
input:hover {
  border: 2.5px solid rgb(178, 178, 178);
}
input:focus {
  border: 2.5px solid white;
}
input::placeholder {
  font-weight: bold;
  color: rgb(158, 157, 157);
}
form > button {
  font-weight: bold;
  font-size: 17px;
  height: 50px;
  background-color: #1ed760;
  border: none;
  margin-top: -10px;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.4s ease;
}
.form > form > button:hover {
  background-color: #3be477;
  transform: scale(1.05);
}
form > button:active {
  transform: scale(0.9);
}
.pass svg {
  height: 30px;
  fill: gray;
  display: flex;
  cursor: pointer;
  position: relative;
  bottom: 48px;
  right: -88%;
  transition: all 0.3s ease;
}
.pass svg:hover {
  transform: scale(1.04);
  fill: white;
}
.pass svg:active {
  transform: scale(0.9);
}
.container > p {
  color: gray;
}
.container a {
  cursor: pointer;
  font-weight: bold;
  color: white;
}
.container a:hover {
  color: rgb(0, 194, 0);
}
footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  background-color: #121212;
}
footer > p {
  font-size: 12px;
  text-align: center;
  color: rgb(160, 160, 160);
}
footer > p > a {
  color: rgb(160, 160, 160);
}
.popup {
  z-index: 1;
  height: 130vh;
  width: 100vw;
  position: absolute;
  background-color: #121212c4;
  display: none;
  align-items: center;
  justify-content: center;
}
.forget-container {
  min-height: 45vh;
  border-radius: 10px;
  position: relative;
  bottom: 10%;
  width: 75%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  background: linear-gradient(to bottom, rgb(34, 34, 34), black);
  transition: all 0.3s ease;
  animation: popup 0.5s ease;
}
@keyframes popup {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.btn2 {
  width: 50%;
}
.forget-container svg {
  filter: invert();
  position: absolute;
  top: 13px;
  cursor: pointer;
  right: 22px;
  transition: all 0.3s ease;
}
.forget-container svg:hover {
  fill: aqua;
  transform: scale(1.08);
}
.forget-container svg:active {
  transform: scale(0.9);
}
.forget-container > .forget > form {
  display: flex;
  height: 35vh;
  gap: 20px;
  width: 100%;
  justify-content: space-evenly;
  align-items: center;
  transition: all 0.3s ease-in;
}
.none {
  display: none;
}
.flex {
  display: flex;
  flex-direction: column;
}
.block {
  display: block;
}
/* From Uiverse.io by vinodjangid07 */
.otp-Form {
  color: white;
  width: 230px;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  gap: 20px;
  position: relative;
}

.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;
}

@media (min-width: 768px) {
  .container {
    padding: 40px;
    gap: 30px;
    margin: 30px auto;
  }
  .forget-container {
    width: 47vw;
  }
}

.password-box {
  width: 300px;
  margin: 40px auto;
  padding: 20px;
  border-radius: 10px;

  color: #fff;
}
.password-box h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 30px;
  word-spacing: 1px;
}
.input-group {
  margin-bottom: 15px;
}
.input-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: bold;
}
.input-group input {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: none;
  outline: none;
}
#resetBtn {
  width: 100%;
  padding: 10px;
  background: #1ed760;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}
#resetBtn:hover {
  background: #3be477;
}

#otpAlert {
  position: absolute;
  font-size: 18px;
  color: rgb(22, 205, 22);
  top: 5px;
}

@media screen and (max-width: 768px) {
  #email1{
    width: 100%;
  }
  .btn2{
    width: 90%;
  }
  .password-box{
    width: 244px;
  }
  .forget{
    align-items: center;
  }
}