.right_page {
  grid-column: 2;
  grid-row: 1;
  background: #ecfcf1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 36px;
}

.right_page h1 {
  color: #2e7d32;
  font-size: 40px;
}

.form {

  display: flex;
  background: #ecfcf1;

  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

.form form {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 1rem;

}
.err{
  color: red;
  margin: auto;
  display: none;
}
.form label {
  font-weight: 500;
  font-size: 20px;
  color: #333;
  text-align: left;
  display: block;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  font-size: 16px;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 2px solid black;
}

#location {
  font-size: 18px;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  width: 65%;
  box-sizing: border-box;
  border: 2px solid black;
}

a {
  text-decoration: none;
}
.sub{
  display: flex;
  flex-direction: column;
  gap: 2px;
}
#submit {
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  width: fit-content;
  padding: 0 10px;
  margin-bottom: 3rem;
  font-size: 18px;
  background-color: #2e7d32;
  color: #fff;
  border-radius: 12px;
  border: none;
}

#submit:hover {
  background-color: #1b5e20;
  color: #fff;
}

.form a {
  justify-self: center;
  margin: auto;
}

@media (max-width: 768px) {
  .page_container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;

  }

  .left_page,
  .right_page,
  .form {

    width: 100%;
    padding: 1rem;
  }

  #image {
    width: 100%;
    height: 180px;
    margin-bottom: 1rem;
  }

  .left_page h1 {

    font-size: 26px;
  }

  .left_page p {
    font-size: 14px;

  }

  .left_page button {
    font-size: 16px;
    padding: 10px 28px;
  }

  .right_page {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    padding: 1rem;
    justify-content: center;
  }

  .right_page h1 {
    font-size: 32px;
    text-align: center;
  }

  .form {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    padding: 1rem;
    justify-content: center;
  }

  .form form {

    margin-left: 0;

  }

  .form input,
  .form textarea,
  #location {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 16px;
  }

  .form input,
  .form select,
  #submit {
    width: 100%;
  }
}