@charset "utf-8";

form {
  width: 90%;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 1 rem;
  background-color: floralwhite;
}

label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: .5rem;
}

@media only screen and (min-width: 600px) {
  label {
    flex-direction: row;
    align-items: center;
  }
}

input,
textarea {
  width: 100%;
  margin-top: .25rem;
  padding: .5rem;
  font-size: 1.25rem;
  line-height: 1.5;
  outline: none;
  border: 1px solid #7f7f7f;
  border-radius: .25rem;
  color: #333;
  transition: border .25s ease-in-out;
}

input:hover,
textarea:hover,
input:focus,
textarea:focus {
  border: 1px solid #fa8b8b;
}

@media only screen and (min-width: 600px) {
  input,
  textarea {
    width: 70%;
    margin-top: 0;
    font-size: 1rem;
  }
}

@media only screen and (min-width: 980px) {
  input,
  textarea {
    width: 80%;
    font-size: 1.25rem;
  }
}

.btn {
  padding: .75rem 1.25rem;
  font: 700 1.1rem/1.2 Verdana, sans-serif;
  letter-spacing: .05rem;
  text-decoration: none;
  text-shadow: 0px 1px 0px rgba(77,77,77,.5);
  background-color: transparent;
  border: 0;
  border-radius: .25rem;
  color: #333;
  transition: .5s;
}

.btn-send,
.btn-reset {
  transition: box-shadow .25s ease-in-out;
}

.btn-send {
  box-shadow: 0 0 2px 1px rgba(0,128,0,.7);
}
.btn-send:hover,
.btn-send:focus {
  box-shadow: 0 0 3px 2px rgba(0,128,0,.5);
}

.btn-reset {
  box-shadow: 0 0 2px 1px rgba(255,0,0,.7);
}
.btn-reset:hover,
.btn-reset:focus {
  box-shadow: 0 0 3px 2px rgba(255,0,0,.5);
}
