@import url(https://db.onlinewebfonts.com/c/ae238c3ee498c52a23aab0d9f5e94d6b?family=dana-fanum+regular);
* {
  margin: 0;
  padding: 0;
  font-family: "dana-fanum regular";
  box-sizing: border-box;
}

:root {
  --bg-color: #1e3a8a;
  --second-bg-color: #e1b373;
  --text-color: #fff;
  --main-color: #ffd700;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  background: rgb(26, 26, 26);
  background: linear-gradient(
    98deg,
    rgba(26, 26, 26, 1) 0%,
    rgb(22, 1, 93) 100%
  );
  color: var(--text-color);
}

section {
  min-height: 100vh;
  padding: 10rem 9% 2rem;
}

.header {
  position: fixed;
  top: 5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 11%;
  padding: 3rem;
  display: flex;
  background: rgba(255, 255, 255, 0.052);
  border: 3px solid rgba(255, 255, 255, 0.171);
  box-shadow: 0 0 10px rgba(215, 214, 214, 0.022);
  backdrop-filter: blur(20px);
  border-radius: 50px;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 3.8rem;
  color: #1e3a8a;
  font-weight: 600;
  text-decoration: none;
}

.logo span {
  color: var(--second-bg-color);
}

.navbar {
  margin-left: 8rem;
}

.navbar a {
  font-size: 3rem;
  color: var(--text-color);
  margin-right: 7rem;
  transition: 0.3s;
  text-decoration: none;
}

.navbar a:hover {
  color: var(--second-bg-color);
}

#login {
  cursor: pointer;
  position: relative;
  padding: 8px 18px;
  font-size: 16px;
  color: var(--text-color);
  border: 2px solid var(--bg-color);
  border-radius: 34px;
  background-color: var(--bg-color);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  text-decoration: none;
}

#login a {
  text-decoration: none;
  color: var(--text-color);
}

#login::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 50px;
  height: 50px;
  border-radius: inherit;
  scale: 0;
  z-index: -1;
  background-color: var(--second-bg-color);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

#login:hover::before {
  scale: 3;
}

#login:hover {
  color: #212121;
  scale: 1.1;
  border: 2px solid var(--second-bg-color);
  box-shadow: 0 0px 20px var(--second-bg-color);
}

#login:active {
  scale: 1;
}

#menu-icon {
  font-size: 3.6rem;
  color: var(--text-color);
  display: none;
}

#login-icon {
  font-size: 3.6rem;
  color: var(--text-color);
  display: none;
}

.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.form {
  position: relative;
  width: 400px;
  height: 475px;
  background: rgba(26, 26, 26, 0.345);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 23px;
  padding: 30px 40px;
  justify-content: center;
  align-items: center;
}

.form h1 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 20px;
}

.index-box {
  position: relative;
  width: 100%;
  height: 50px;
  margin: 20px 0;
}

.index-box input {
  width: 99%;
  height: 92%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 26px;
  color: #fff;
  padding: 0px 20px;
  font-size: 12px;
}

.index-box::placeholder {
  color: white;
  margin-right: 1rem;
}

.index-box i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

.form .remember-forgot {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  margin: 24px 0 24px;
}

.remember-forgot label input {
  accent-color: #fff;
  text-decoration: none;
}

#toggle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 16px;
  color: #85888c;
}

#toggle:hover {
  color: #fff;
}

.ui-checkbox {
  --primary-color: #1677ff;
  --secondary-color: #fff;
  --primary-hover-color: #4096ff;
  --checkbox-diameter: 15px;
  --checkbox-border-radius: 5px;
  --checkbox-border-color: #d9d9d9;
  --checkbox-border-width: 1px;
  --checkbox-border-style: solid;
  --checkmark-size: 1.2;
}

.ui-checkbox,
.ui-checkbox *,
.ui-checkbox *::before,
.ui-checkbox *::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.ui-checkbox {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: var(--checkbox-diameter);
  height: var(--checkbox-diameter);
  border-radius: var(--checkbox-border-radius);
  background: var(--secondary-color);
  border: var(--checkbox-border-width) var(--checkbox-border-style)
    var(--checkbox-border-color);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  left: 3px;
  top: 3px;
}

.ui-checkbox::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-box-shadow: 0 0 0 calc(var(--checkbox-diameter) / 2.5)
    var(--primary-color);
  box-shadow: 0 0 0 calc(var(--checkbox-diameter) / 2.5) var(--primary-color);
  border-radius: inherit;
  opacity: 0;
  -webkit-transition: all 0.5s cubic-bezier(0.12, 0.4, 0.29, 1.46);
  -o-transition: all 0.5s cubic-bezier(0.12, 0.4, 0.29, 1.46);
  transition: all 0.5s cubic-bezier(0.12, 0.4, 0.29, 1.46);
}

.ui-checkbox::before {
  top: 40%;
  left: 50%;
  content: "";
  position: absolute;
  width: 4px;
  height: 7px;
  border-right: 2px solid var(--secondary-color);
  border-bottom: 2px solid var(--secondary-color);
  -webkit-transform: translate(-50%, -50%) rotate(45deg) scale(0);
  -ms-transform: translate(-50%, -50%) rotate(45deg) scale(0);
  transform: translate(-50%, -50%) rotate(45deg) scale(0);
  opacity: 0;
  -webkit-transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6),
    opacity 0.1s;
  -o-transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;
  transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;
}

/* actions */

.ui-checkbox:hover {
  border-color: var(--primary-color);
}

.ui-checkbox:checked {
  background: var(--primary-color);
  border-color: transparent;
}

.ui-checkbox:checked::before {
  opacity: 1;
  -webkit-transform: translate(-50%, -50%) rotate(45deg)
    scale(var(--checkmark-size));
  -ms-transform: translate(-50%, -50%) rotate(45deg)
    scale(var(--checkmark-size));
  transform: translate(-50%, -50%) rotate(45deg) scale(var(--checkmark-size));
  -webkit-transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
  -o-transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
  transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
}

.ui-checkbox:active:not(:checked)::after {
  -webkit-transition: none;
  -o-transition: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  transition: none;
  opacity: 1;
}

.remember-forgot a {
  color: #fff;
  text-decoration: none;
}

.remember-forgot a:hover {
  text-decoration: underline;
}

.btn {
  width: 86%;
  height: 46px;
  cursor: pointer;
  position: relative;
  padding: 10px 24px;
  font-size: 18px;
  color: var(--text-color);
  border: 2px solid var(--bg-color);
  border-radius: 34px;
  background-color: var(--bg-color);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  text-decoration: none;
  margin-right: 3rem;
  margin-top: 20px;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 45px;
  border-radius: inherit;
  scale: 0;
  z-index: -1;
  background-color: var(--second-bg-color);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn:hover::before {
  scale: 3;
}

.btn:hover {
  color: #212121;
  scale: 1.1;
  border: 2px solid var(--second-bg-color);
  box-shadow: 0 0px 20px var(--second-bg-color);
}

.btn:active {
  scale: 1;
}

.one-time-btn {
  background: #4caf50;
}

.one-time-btn:hover {
  background: #45a049;
}

.form .regester-link {
  font-size: 13.5px;
  text-align: center;
  margin-top: 20px;
}

.regester-link p a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.regester-link p a:hover {
  text-decoration: underline;
}

@media (max-width: 1948px) {
  html {
    font-size: 55%;
  }
}

@media (max-width: 1800px) {
  html {
    font-size: 53%;
  }

  .header {
    width: 76%;
  }

  .navbar a {
    font-size: 2.6rem;
    margin-right: 5rem;
  }
}

@media (max-width: 1600px) {
  .header {
    position: absolute;
    top: 4rem;
    width: 98%;
  }
}

@media (max-width: 991px) {
  section {
    padding: 10rem 3% 2rem;
  }

  #menu-icon {
    display: block;
  }

  .header {
    position: fixed;
    top: 13px;
    padding: 2rem 3%;
    background: rgba(26, 26, 26, 0.345);
    backdrop-filter: blur(20px);
  }

  #menu-icon {
    display: block;
    font-size: 3.6rem;
    color: var(--text-color);
    cursor: pointer;
  }

  .navbar {
    position: fixed;
    top: -26px;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(26, 26, 26, 0.808);
    transition: 0.5s ease;
    z-index: 999;
  }

  .navbar.active {
    right: -4%;
  }

  .navbar a {
    display: block;
    font-size: 1.8rem;
    margin: 1.5rem 0;
    padding: 1rem 3rem;
    text-align: right;
    color: var(--text-color);
  }

  .navbar a:hover {
    color: var(--second-bg-color);
  }

  .menu-links {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  #login {
    display: none;
  }

  #login-icon {
    display: block;
    position: relative;
    top: 0.5rem;
  }

  .home {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 50%;
  }

  #login {
    display: none;
  }

  .navbar a {
    display: block;
    font-size: 2.5rem;
    margin: 2rem 0;
  }

  #login-icon {
    display: block;
  }

  .home {
    flex-direction: column;
  }

  .home-content h1 {
    font-size: 5rem;
  }

  .home-content h3 {
    font-size: 2.6rem;
  }

  .logo {
    text-align: center;
  }
}

.form .login-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  margin-top: 5px;
}

.one-time-link {
  width: 80%;
  height: 43px;
  cursor: pointer;
  position: relative;
  padding: 10px 24px;
  font-size: 18px;
  color: var(--text-color);
  border: 2px solid var(--bg-color);
  border-radius: 34px;
  background-color: var(--bg-color);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  text-decoration: none;
  margin-right: 3rem;
  margin-bottom: 1rem;
}

.one-time-link:hover {
  color: var(--main-color);
  text-decoration: underline;
}

.phone-number {
  text-align: center;
  color: var(--text-color);
  margin-bottom: 30px;
  font-size: 0.9em;
}

.otp-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.otp-input {
  width: 40px;
  height: 40px;
  text-align: center;
  font-size: 1.2em;
  border: 2px solid var(--text-color);
  border-radius: 8px;
  background: transparent;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.otp-input:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 5px var(--main-color);
}

.timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

#countdown {
  color: var(--text-color);
  font-size: 1.1em;
}

.resend-btn {
  background: transparent;
  border: none;
  color: var(--main-color);
  cursor: pointer;
  font-size: 0.9em;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.resend-btn:not(:disabled):hover {
  opacity: 1;
  text-decoration: underline;
}

.verify-btn {
  background: #4caf50;
}

.verify-btn:hover {
  background: #45a049;
}

.one-time-login {
  width: 86%;
  height: 46px;
  cursor: pointer;
  position: relative;
  padding: 10px 24px;
  font-size: 18px;
  color: var(--text-color);
  border: 2px solid #4caf50;
  border-radius: 34px;
  background-color: #4caf50;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  text-decoration: none;
  margin-right: 3rem;
  margin-top: 7px;
}

.one-time-login a {
  text-decoration: none;
  color: var(--text-color);
}

.one-time-login::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 45px;
  border-radius: inherit;
  scale: 0;
  z-index: -1;
  background-color: #45a049;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.one-time-login:hover::before {
  scale: 3;
}

.one-time-login:hover {
  color: #212121;
  scale: 1.1;
  border: 2px solid #45a049;
  box-shadow: 0 0px 20px #45a049;
}

.one-time-login:active {
  scale: 1;
}
