.login-body,
.signup-body {
  background-image: url("../images/bg-d.jpg");
  background-size: cover;
}
.contact-container,
.login-container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  background-color: #fff;
  border: 1px solid #e6e1ed;
  border-radius: 20px;
}

.back {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  font-size: 20px;
}
.back-home {
  border-radius: 100%;
  padding: 10px;
  margin: 10px;
  background-color: #e2dff3;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.back-home:hover {
  background-color: #1c1b1b;
  color: white;
}

.form-section {
  flex: 1;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 20px;
}

.content-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-radius: 0px 20px 20px 0px;
  background-color: #b5e4d4;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.logo-text {
  font-size: 34px;
  color: #333;
  font-weight: 600;
}

.form-group {
  margin-bottom: 10px;
  width: 100%;
}

.form-row {
  display: flex;
  gap: 20px;
}
.post-row {
  display: flex;
  gap: 20px;
  justify-content: space-evenly;
}
.form-footer {
  font-size: 12px;
  margin-top: 30px;
}
.form-footer a {
  color: #9c8aa5;
  text-decoration: none;
}
.form-footer p {
  margin-top: 30px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #666;
  font-size: 14px;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  border: none;
  background-color: #e6e1ed;
  border-radius: 20px;
  font-size: 14px;
}

textarea {
  height: 120px;
  resize: vertical;
}

button {
  background-color: #9c8aa5;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #8a7991;
}

.illustration {
  text-align: center;
  position: relative;
}

.paper-plane-img {
  width: 400px;

  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Add responsive styles */

@media (max-width: 768px) {
  .contact-container,
  .login-container {
    flex-direction: column;
    width: auto;
    margin: 10px;
    margin-top: 100px;
  }

  .content-section {
    display: none;
  }

  .form-row,
  .post-row {
    flex-direction: column;
  }
}
