body {
  margin: 0;
  font-family: Inter;
}

.overdiv {
  height: 100vh;
  width: 100%;
  background-color: rgb(246, 247, 248);
}

.logo {
  transition: all 250ms ease-in-out;
  animation-name: backgroundFill;
  animation-duration: 4s;
}



.logo img {
  opacity: 1;
  z-index: 0;
  position: absolute;
  top: 50vh;
  left: 50%;
  animation-delay: 0.5s;
  animation-name: logoEffect;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

.nav-bar {
  position: absolute;
  top: 50px;
  right: 50px;
}

.nav-bar span:hover {
  cursor: default;
}

.nav-bar span {
  font-size: 18px;
  margin-right: 20px;
}

.nav-bar a {
  margin-left: 20px;
  font-size: 18px;
  border-radius: 10px;
  padding: 16px;
  text-decoration: none;
  background-color: rgb(62, 84, 113);
  color: rgb(255, 255, 255);
}

.nav-bar a:hover {
  cursor: pointer;
  background-color: rgba(41, 171, 225, 255);
  box-shadow: 0px 8px 8px -3px rgb(174, 174, 174);
}

.login-div {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  animation-name: opacity;
  animation-duration: 2s;
}

.login {
  position: relative;
  min-width: 550px;
  max-width: 750px;
  max-height: none;
  background-color: white;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
}

.back {
  position: absolute;
  top: 25px;
  left: 25px;
}

.back img:hover {
  cursor: pointer;
}

h1 {
  margin-top: 50px;
  text-align: center;
  font-size: 52px;
  margin-left: 50px;
  margin-right: 50px;
}

.h1-line {
  margin-top: -10px;
  width: 150px;
  height: 2px;
  border-radius: 90px;
  background-color: rgb(35, 167, 232);
}

.overH1-line {
  width: 100%;
  display: flex;
  justify-content: center !important;
}

.login-value {
  margin-top: 10px;
}

.login-value input {
  font-size: 16px;
  margin-top: 32px;
  height: 25px;
  width: 350px;
  border-radius: 5px;
  border-color: #0000002e;
}

.login-value input::placeholder {
  color: rgb(195, 195, 195);
}

.relativ-for-icon {
  position: relative;
  display: flex;
  justify-content: center;
}

.login-value img {
  object-fit: contain;
  height: 20px;
  width: 20px;
  position: absolute;
  top: 38px;
  right: 30px;
}

.password-options {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.checkbox {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 35px;
}

.checkbox div {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
}

.checkbox span:hover {
  cursor: default;
}

.checkbox input {
  height: 15px;
  width: 15px;
  margin-top: 0 !important;
}

.forgot a {
  text-decoration: none;
  color: rgb(65, 181, 229);
}

.forgot a:hover {
  cursor: pointer;
}

.login-buttons {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.login-buttons button {
  margin-left: 30px;
  margin-right: 30px;
}

.login-buttons-sign-up {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.login-buttons-sign-up button {
  margin-left: 0 !important;
}

.login-button:hover {
  cursor: pointer;
  background-color: rgba(41, 171, 225, 255);
  box-shadow: 0px 8px 8px -3px rgb(174, 174, 174);
  border-color: rgba(41, 171, 225, 255);
}

#password-img:hover {
  cursor: pointer;
}

.login-button {
  border: none;
  padding: 12px;
  background-color: rgb(42, 54, 71);
  color: rgb(255, 255, 255);
  font-size: 18px;
  width: 120px;
  border-radius: 7px;
  border: 1px solid rgb(42, 54, 71);
  margin-left: 80px;
}

.guest-button:hover {
  cursor: pointer;
  box-shadow: 0px 8px 8px -3px rgb(174, 174, 174);
  border-color: rgba(41, 171, 225, 255);
  color: rgba(41, 171, 225, 255);
}

.guest-button {
  border: 1px solid rgb(42, 54, 71);
  color: rgb(42, 54, 71);
  background-color: white;
  padding: 12px;
  font-size: 18px;
  width: 140px;
  border-radius: 7px;
  margin-right: 80px;
}

.d-none {
  display: none !important;
}

.Password-text {
  font-size: 16px;
  margin-top: 20px;
}

.worng {
  position: absolute;
  bottom: -20px;
  left: 10px;
  color: red;
  font-size: 12px;
}

.send {
  height: 40px;
  margin-top: 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: rgb(41, 55, 71);
  border-radius: 7px;
}

.send img {
  position: inherit !important;
  margin-left: 20px;
  height: 30px;
  width: 30px;
}

.send span {
  margin-right: 20px;
  color: rgb(240, 249, 253);
}

@keyframes logoEffect {
  from {
    opacity: 1;
    position: absolute;
    top: 50vh;
    left: 50%;
  }
  to {
    opacity: 1;
    position: absolute;
    top: 50px;
    left: 50px;
  }
}

@keyframes backgroundFill {
  from {
    width: 100%;
    height: 100vh;
    background-color: rgb(246, 247, 248);
  }
  to {
    background-color: rgb(246, 247, 248);
    max-height: min-content;
    max-width: min-content;
  }
}

@keyframes opacity {
  from {
    opacity: 0;
  }
}

@keyframes backgroundFillMobile {
  from {
    opacity: 1;
    width: 100%;
    height: 100vh;
    background-color: rgb(55, 69, 88);
  }
  to {
    opacity: 1;
    background-color: rgb(246, 247, 248);
    max-height: min-content;
    max-width: min-content;
  }
}

@keyframes logoEffectMobile {
  from {
    opacity: 1;
    position: absolute;
    top: 50vh;
    left: 50%;
  }
  to {
    opacity: 1;
    position: absolute;
    top: 10px;
    left: 10px;
  }
}
@media (min-width: 610px) {
  .login {
    top: 40px;
  }
}

@media (max-width: 600px) {
  .logo {
    animation-name: backgroundFillMobile;
    animation-duration: 7s;
  }

  .logo img {
    height: 60px;
    width: 60px;
    animation-delay: 1s;
    animation-name: logoEffectMobile;
    animation-duration: 1s;
    animation-fill-mode: forwards;
  }

  .nav-bar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    top: unset;
    right: 0;
    bottom: 10px;
  }

  .nav-bar span {
    font-size: 22px;
  }

  .nav-bar a {
    font-size: 22px;
  }

  .login {
    max-width: 450px;
    min-width: 400px;
  }

  .login-value input {
    width: 300px;
  }

  .login-value img {
    width: 50px;
    right: 0px;
  }

  .password-options {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    text-align: center;
    align-items: flex-start;
  }

  .forgot a {
    margin-left: 11px;
  }

  .checkbox {
    margin-top: 20px;
  }

  .checkbox input {
    width: 30px;
  }

  .login-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .guest-button {
    margin-top: 20px;
    width: 200px !important;
  }

  .login-button {
    width: 200px !important;
  }

  .Password-text {
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
  }

  h1 {
    font-size: 46px;
  }
}

@media (max-width: 415px) {
  .login {
    max-width: 350px;
    min-width: 300px;
  }
}

@media (max-height: 800px) {
  .login-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  .login-button {
    width: 100px !important;
  }
  .guest-button {
    margin-top: 0;
    width: 130px !important;
  }

  .login-value img {
    right: 15px !important;
    top: 21px !important;
  }

  .password-options {
    margin-top: 20px !important;
    margin-bottom: 10px !important;
  }

  .checkbox span {
    margin-top: 15px !important;
  }

  .login-value input {
    margin-top: 15px !important;
  }
}

@media (max-height: 585px) {
  .login {
    padding: 0px;
  }
}
