body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

.main-container {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(246, 247, 248);
}

#start-pic {
  z-index: 10;
  object-fit: contain;
  transition: all 450ms ease-in-out;
}

#start-background {
  position: fixed;
  inset: 0;
  transition: all 75ms ease-in-out;
}

.start {
  opacity: 1;
  background-color: white;
}

.logo-big {
  width: 150px;
  height: 150px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.logo-small {
  width: 80px;
  height: 80px;
  position: absolute;
  top: 20px;
  left: 20px;
}

form {
  gap: 0;
}

form > div {
  margin-block-end: 12px;
}

#password-login {
  padding-left: 10px;
  background-image: url("../img/lock.png");
  background-position: 95% 50%;
  background-repeat: no-repeat;
}

.help-container {
  display: flex;
  justify-content: space-between;
  flex-direction: column-reverse;
  gap: 8px;
  align-self: flex-start;
}

.container-remember {
  display: flex;
  font-size: 14px;
  gap: 8px;
}

.container-remember p {
  margin-block: 0;
}

#btn-box {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.login-btn:hover {
  background-color: #0d99ff;
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

#guest-btn {
  color: rgb(43, 54, 71);
  background-color: white;
  border: solid 1px rgb(43, 54, 71);
}

#guest-btn:hover {
  border: solid 1px #0d99ff;
  color: #0d99ff;
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

#new-user-container {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#new-user-container a:hover {
  background-color: #0d99ff;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

#new-question {
  color: rgb(43, 54, 71);
  margin-right: 16px;
}

#sign-in {
  height: 32px;
  background-color: rgb(43, 54, 71);
  color: white;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 10px;
}

.popup-user-p {
  padding: 20px;
  height: 20%;
  width: 30%;
  border-radius: 16px;
  background-color: rgb(43, 54, 71);
  text-align: center;
  color: white;
  font-size: 20px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

button {
  cursor: pointer;
}

@media screen and (max-width: 700px) {
  .start {
    background-color: gray;
  }
  .logo-big {
    width: 80px;
    height: 80px;
  }
  h1 {
    font-size: 48px;
  }
  #new-user-container {
    left: 0;
    top: unset;
    bottom: 20px;
  }

  #start-pic {
    width: 60px;
    aspect-ratio: 1/1;
  }
  form {
    width: 100%;
  }
  #password-cont {
    width: 100%;
  }
  #password-login {
    margin-bottom: unset !important;
  }
  #btn-box {
    flex-direction: column;
    align-items: center;
  }
  #popup-mail-p {
    font-size: 16px;
    min-width: 150px;
    padding: 2%;
  }

  #popup-mail img {
    transform: scale(0.8);
  }
}

@media screen and (max-width: 572px) {
  h1 {
    font-size: 36px;
  }

  #eyelock {
    right: 16px;
  }
}
