body {
  --color-primary: #009579;
  --color-primary-dark: #007f67;
  --color-secondary: #252c6a;
  --color-error: #cc3333;
  --color-success: #4bb544;
  --border-radius: 4px;

  margin: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: url(./background.jpg);
}

.container {
  width: 400px;
  max-width: 400px;
  margin: 1rem;
  padding: 2rem;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius);
  background: #ffffff;
}

.container,
.form_input,
.form_button {
  font: 500 1rem "Times New Roman", sans-serif;
}
.form > *:first-child {
  margin-top: 0;
}
.form > *:last-child {
  margin-bottom: 0;
}

.form_title {
  margin-bottom: 2rem;
  text-align: center;
}

.form_input-group {
  margin-bottom: 2rem;
}
.random-cat-picture {
  margin-top: 20px; /* Adjust the margin as needed */
  text-align: center; /* Center the image horizontally */
}

.random-cat-picture img {
  max-width: 100%; /* Ensure the image doesn't exceed the container width */
  height: auto; /* Maintain the aspect ratio */
}
.form_input {
  display: block;
  width: 100%;
  padding: 0.75rem;
  box-sizing: border-box;
  border-radius: var(--border-radius);
  border: 1px solid #dddddd;
  outline: none;
  background: #eeeeee;
  transition: background 0.2s, border-color 0.2s;
  text-align: center;
  caret-color: transparent;
}

.form_input:focus {
  border-color: var(--color-primary);
  background: #ffffff;
}
.form_message {
  text-align: center;
  margin-bottom: 1rem;
}
.form_message--success {
  color: var(--color-success);
}
.form_message--error {
  color: var(--color-error);
}

.form_message--error1 {
  color: var(--color-error);
  font-size: 1.2rem;
  -webkit-animation: cssAnimation 5s forwards;
  animation: cssAnimation 5s forwards;
}
@keyframes cssAnimation {
  0% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes cssAnimation {
  0% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}

.form_input-error {
  color: var(--color-error);
  border-color: var(--color-error);
}
.form_input-error-message {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-error);
}
.form_button {
  width: 100%;
  padding: 1rem 2rem;
  font-weight: bold;
  font-size: 1.1rem;
  color: #ffffff;
  border: none;
  border-radius: var(--border-radius);
  outline: none;
  cursor: pointer;
  background: var(--color-primary);
}
.form_text_register {
  text-align: center;
}
.form_button:hover {
  background: var(--color-primary-dark);
}
.form_button:active {
  transform: scale(0.98);
}
.form_text {
  text-align: center;
}
.form_link {
  color: var(--color-secondary);
  text-decoration: none;
  cursor: pointer;
}
.form_link:hover {
  text-decoration: underline;
}
