body {
  background: #feffd3;
}

#wrapper {
  background: #fff;
  background-image: -linear-gradient(-45deg, #fff, #e9e9e9);
  background-image: -webkit-linear-gradient(-45deg, #fff, #ebebeb);
  background-image: -moz-linear-gradient(-45deg, #fff, #ebebeb);
  background-image: -o-linear-gradient(-45deg, #fff, #ebebeb);
  width: 400px;
  margin: 100px auto;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1), inset 5px 5px 15px rgba(0, 0, 0, 0.1),
    inset -10px -10px 15px rgba(255, 255, 255, 0.6);
  padding: 20px 30px;
  box-sizing: border-box;
}

#header {
  text-align: center;
  margin-bottom: 30px;
}
#header img {
  width: 100px;
  padding-top: 15px 0 0 0;
  margin: 0;
}
#header h3 {
    padding: 0;
    margin: 0;
}

form {
  margin: 20px 0;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}
.form-group input {
  width: 100%;
  position: relative;
  border: 1px solid grey;
  outline: none;
  padding: 7px 35px 7px 15px;
  border-radius: 5px;
}
.form-group label {
  position: absolute;
  pointer-events: none;
  font-weight: 600;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
  color: grey;
  transition: 0.5s;
}
.form-group i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: grey;
}

.form-group input:valid ~ label,
.form-group input:focus ~ label {
  font-size: 0.9em;
  letter-spacing: 3px;
  top: -70%;
  transform: translateY(50%);
  padding: 1px 5px;
  background: rgb(128, 128, 128);
  color: #fff;
  font-weight: normal;
  border-radius: 3px;
}

.form-group button {
  font-weight: bold;
  width: 100%;
  border-radius: 5px;
  padding: 7px;
  background: rgb(255, 251, 0);
  background-image: -linear-gradient(rgb(255, 251, 0), rgb(224, 221, 0));
  background-image: -webkit-linear-gradient(rgb(255, 251, 0), rgb(224, 221, 0));
  background-image: -o-linear-gradient(rgb(255, 251, 0), rgb(224, 221, 0));
  background-image: -moz-linear-gradient(rgb(255, 251, 0), rgb(224, 221, 0));
  border: none;
  box-shadow: 0 0 10px rgba(251, 255, 0, 0.1),
    inset 5px 5px 5px rgba(0, 0, 0, 0.1), inset -5px -5px 5px rgba(0, 0, 0, 0.1);
  transition: 0.5s;
}

.form-group button:hover {
  box-shadow: 0 0 10px rgba(251, 255, 0, 0.1);
}

#footer {
  text-align: center;
  line-height: 1;
  margin: 20px 0 10px 0;
}
