* {
  font-family: Roboto, Geneva, Tahoma, sans-serif;
}

form {
  display: flex;
  max-width: auto;
  max-height: auto;
  height: auto;
  width: auto;
}

.logo {
  height: 900px;
  width: 500px;
  position: relative;
  overflow: hidden;
  font-size: 25px;
  font-weight: bold;
  color: #333;
}
.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.form-container {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  background-color: #f9f9f9;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.overlay {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 150px;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-image {
  width: 100px;
  display: block;
}

.photo-credit {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  white-space: nowrap;
}

.top-container {
  width: 800px;
  height: 300px;
  max-height: 300px;
  font-weight: 700;
  font-size: 20px;
  background-color: rgb(229, 229, 229);
}

.top-container p1 {
  display: block;
  margin: 100px 0 0 40px;
}

p1 {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  font-weight: 700;
  font-size: 20px;
}

.middle-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 600px;
  height: 300px;
  margin: 0 0 0 40px;
}

.left-middle-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 600px;
  height: 300px;
  margin-top: 20px;
}

.right-middle-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 600px;
  height: 300px;
  margin-top: 50px;
}

label {
  margin: 20px 0 0;
  font-size: 14px;
}

input {
  margin: 5px 0 0 0;
  padding: 10px;
  width: 200px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
}

input[type="password"]:invalid {
  border: 1px solid red;
}

input:focus {
  border: 1px solid #3b82f6;
  box-shadow: 0 0 5px rgba(59, 130, 246, 0.4);
}

.bottom-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 800px;
  height: 300px;
  background-color: rgb(229, 229, 229);
}

button {
  background-color: #596d48;
  color: white;
  padding: 15px 30px;
  margin: 20px 0 0 40px;
  border: none;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.final-wording {
  margin: 20px 0 0 40px;
  font-size: 14px;
}
