body {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.content {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#logo {
  position: absolute;
  width: 64px;
  height: 78px;
  top: 24px;
  left: 24px;
  animation: logoMove 3s none;
}

@keyframes logoMove {
  0% {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 274px;
    height: 334px;
  }

  30% {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 274px;
    height: 334px;
  }

  100% {
    top: 24px;
    left: 24px;
    transform: unset;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

#login-form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeIn 3s forwards 0.5s;
  width: 100%;
  height: 100%;
}

.form-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  background-color: white;
  border-radius: 30px;
  box-shadow: 0px 0px 14px 3px rgba(0, 0, 0, 0.04);
  gap: 16px;
  padding: 16px;
  align-items: center;
  height: 100%;
  width: 95%;
}

header {
  display: flex;
  flex-direction: column;
  position: absolute;
  justify-content: flex-end;
  align-items: center;
  top: 24px;
  right: 24px;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 3s forwards 0.5s;
}

main {
  position: relative;
  top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 420px;
  height: 70%;
}

.headline {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  font-size: 48px;
  font-weight: 700;
  line-height: 56.4px;
  margin-block-start: 0;
  margin-block-end: 0;
}

.underline {
  width: 88px;
  height: 3px;
  border-radius: 3px;
  background-color: #29abe2;
}

.login-field {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}


#error-message {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ff0000;
  height: 16px;
  width: 0%;
  font-size: 12px;
  overflow: hidden;
}



.checkbox {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  height: 30px;
  width: 150px;
  padding-left: 16px;
}

label img {
  height: 16px;
  width: 16px;
}

.login-field input {
  height: 48px;
  font-size: 20px;
  border-radius: 10px;
  border: 1px solid #a8a8a8;
  padding-left: 12px;
  background-position: calc(100% - 20px) center;
  background-repeat: no-repeat;
}

.login-field input:focus {
  border: 1px solid #29abe2;
}

#passwordInput {
  background-image: url(../assets/icons/password_input.png);
}

#passwordInput:focus {
  background-image: url(../assets/icons/password_off.png);
}

#loginInput {
  background-image: url(../assets/icons/mail.svg);
}

.button-section-for-entry {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.login-signup-button,
.guest-login-button {
  font-size: 16px;
  font-weight: 700;
  line-height: 19.2px;
  border-radius: 8px;
  cursor: pointer;
  padding: 4px 0px;
  width: 180px;
  height: 48px;
}

.login-signup-button,
.signup-button {
  background-color: #2a3647;
  color: white;
  border: none;
}

.guest-login-button {
  background-color: transparent;
  border: 1px solid #2a3647;
}

.guest-login-button:hover,
.login-signup-button:hover,
.signup-button:hover {
  box-shadow: 0px 4px 4px 0px #00000040;
  transition: all 125ms ease-in-out;
}

.guest-login-button:hover {
  border: 1px solid #29abe2;
  color: #29abe2;
}

.login-signup-button:hover,
.signup-button:hover {
  background-color: #29abe2;
}

.signup-button {
  border-radius: 8px;
  font-size: 16px;
  line-height: 19.2px;
  font-weight: 700;
  width: 104px;
  height: 48px;
  cursor: pointer;
}

footer {
  position: absolute;
  bottom: 8px;
  display: flex;
  gap: 36px;
  font-size: 16px;
  font-weight: 400;
  line-height: 19.2px;
  color: #a8a8a8;
  opacity: 0;
  animation: fadeIn 3s forwards 0.5s;
}

footer a {
  text-decoration: none;
  color: #a8a8a8;
}

footer a:hover {
  color: #29abe2;
}

@media (min-width: 576px) {


  @keyframes logoMove {
    0% {
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 274px;
      height: 334px;
    }

    30% {
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 274px;
      height: 334px;
    }

    100% {
      top: 36px;
      left: 36px;
      transform: unset;
    }
  }

  #logo {
    top: 36px;
    left: 36px;
  }

  header {
    flex-direction: row;
    top: 36px;
    right: 36px;
    gap: 16px;
  }

  main {
    max-width: 560px;
    max-height: 560px;
  }

  .button-section-for-entry {
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 5%;
  }
}


@media (min-width: 768px) {
  .form-container {
    justify-content: space-evenly;
    flex-direction: column;
    background-color: white;
    gap: 24px;
    padding: 36px;
  }
}

@media (min-height: 768px) {
  .login-field {
    gap: 24px;
  }
}

@media (min-width: 1400px) {
  @keyframes logoMove {
    0% {
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 274px;
      height: 334px;
    }

    30% {
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 274px;
      height: 334px;
    }

    100% {
      top: 80px;
      left: 80px;
      height: 100px;
      width: 80px;
      transform: unset;
    }
  }

  #logo {
    position: absolute;
    width: 80px;
    height: 100px;
    top: 80px;
    left: 80px;
  }

  header {
    flex-direction: row;
    top: 80px;
    right: 80px;
    gap: 40px;
  }


}