@import "global.css";
@import "header.css";
@import "footer.css";

.container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto;
  margin-top: 2rem;
}

.info {
  text-align: left;
  margin: 1.25rem;
  margin-bottom: 2.5rem;
  align-self: top;
}

h2 {
  font-size: 2rem;
}

.form {
  margin: 0 20px;
}

.star {
  color: red;
}

.form input {
  font-size: inherit;
  line-height: 1.5rem;
  width: 100%;
}

.form textarea {
  width: 100%;
  height: 5rem;
}

.form button {
  background-color: black;
  color: white;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 700;
  border-radius: 0.3rem;
  padding: 0.8rem 1.5rem;
  margin-top: 1.25rem;
  border: none;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 0 5px #00ff00, 0 0 10px #fff, 0 0 15px #ff00ff;
}

.form button:hover {
  opacity: 0.7;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-input {
  display: block;
}

.form-message {
  height: 2rem;
  color: green;
}

.form-error {
  color: red;
}

@media (min-width: 900px) {
  .container {
    margin-top: 10rem;
  }
}

@media (min-width: 600px) {
  .container {
    flex-direction: row;
    margin: 1.25rem;
    justify-content: space-between;
    align-items: top;
    margin-top: 2rem;
  }

  .info {
    text-align: left;
    margin: 0 1.25rem;
  }

  h1 {
    font-size: 2rem;
  }

  .form {
    margin: 0 1.25rem;
  }

  .form-row {
    margin-bottom: 1.25rem;
  }

  .form-input {
    display: block;
  }

  .form-message {
    height: 2rem;
    color: green;
  }

  .form-error {
    color: red;
  }
}
