body {
  background: #bfbfbf;
}
form {
  background: #eee;
  margin: auto;
  display: block;
  padding: 1em 0;
  width: 22em;
  border: 0;
  transform: translate(50%, 50%);
  position: absolute;
  bottom: 50%;
  right: 50%;
  box-shadow: 0px 2px 2px rgba(0,0,0,0.5);
}
form img {
  margin-bottom: 1em;
}
form fieldset {
  border: 0;
  padding: 1em 2em;
}
form fieldset background #eee:nth-child(1) {
  background: #f00;
  margin: auto;
  background: none;
  box-shadow: 0 0 0;
}
form fieldset h1 {
  margin: auto;
}
form fieldset h1:nth-child(2) {
  border-radius: 3px 3px 0 0;
}
form fieldset h1:last-child {
  border-radius: 0 0 3px 3px;
}
form fieldset div {
  margin-top: 1em;
  margin-bottom: 0;
}
form fieldset button {
  margin-left: auto;
  font-weight: bold;
  font-size: 1em;
}
form input {
  width: 50%;
}
