body {
  /* background: url("../images/hero.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: fixed; */
  width: 100vw;
  padding: 0;
  margin: 0;
}

.hero {
  height: 250vh;
}

.hero.done {
  height: 100vh;
}

.hero__content {
  width: 50vw;
  margin-left: 20vw;
  transform: translateY(0);
  background-color: rgba(255, 255, 255, 0.7);
}

.hero.done > .hero__content {
  transform: translateY(0);
}

/* Style the form section */
.form {
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 20px;
  width: calc(
    100% - 40px
  ); /* Adjust this to your preferred width (minus padding) */
  margin: auto;
  padding: 20px;
}

/* Style the form labels */
.form label {
  width: 100%;
  color: black; /* Adjust this to contrast with the hero section */
  font-size: 1.2rem; /* Adjust this to your preferred font size */
}

/* Style the form inputs */
.form input[type="text"],
.form input[type="email"],
.form textarea,
.form select {
  width: calc(
    100% - 40px
  ); /* Adjust this to your preferred width (minus padding) */
  padding: 10px;
  border: none;
  border-radius: 5px;
  margin-bottom: 20px;
  font-size: 1rem; /* Adjust this to your preferred font size */
  background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
  color: black; /* Adjust this to contrast with the input background */
}

.form select {
  width: calc(100% - 20px);
}

/* Style invalid form inputs and select */
.submitted input:invalid,
.submitted select:invalid {
  border: 2px solid red; /* Add a red border to invalid fields */
}

/* Style the form submit button */
.form input[type="submit"] {
  background-color: var(--color-accent);
  color: var(--color-background);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  width: calc(100% - 20px);
  font-weight: bold;
}

.form input[type="submit"]:hover {
  transform: scale(1.02);
}

/* Style for mobile devices */
@media (max-width: 768px) {
  .hero {
    height: 200vh;
  }
  .hero__content {
    width: 80vw;
    margin-left: 5vw;
  }
}
