* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #000000;
  background-color: #ffffff;
}

.image-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #ffffff;
}

.image-section img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.content-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 2;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 25rem;
  padding: 1rem;
}

h1 {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 600;
}

h2 {
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
  font-weight: 400;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  width: 100%;
}

input {
  padding: 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: #000000;
  background-color: #ffffff;
  border: 2px solid #000000;
  border-radius: 0.5em;
  outline: none;
}

input:focus {
  border-color: #1c7ed6;
}

button {
  padding: 1rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #000000;
  border: none;
  border-radius: 0.5em;
  cursor: pointer;
}

button:hover {
  background-color: #333333;
}

input.error {
  border-color: #d32f2f;
}

input.error:focus {
  border-color: #d32f2f;
}

.error-message {
  margin-top: 1.5rem;
  min-height: 1.5rem;
  width: 100%;
  font-size: 1rem;
  color: #d32f2f;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.error-message.show {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .image-section {
    display: none;
  }
  .content-section {
    width: 100%;
  }
}

@media (min-width: 3700px) {
  html {
    font-size: 32px;
  }
  .image-section {
    display: none;
  }
  .content-section {
    width: 100%;
  }
}

@media (min-width: 5000px) {
  html {
    font-size: 40px;
  }
}
