body{
  background-image: url("img/bg.jpg");
  background-size: cover;
}

h1 {
  margin-top: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

form {
  margin: 0 auto;
  width: 400px;
  padding: 1em;
  border: 2px solid rgb(0, 0, 0);
  border-radius: 1em;
  background-color: antiquewhite;
}

div+div {
  margin-top: 1em;
}

label span {
  display: inline-block;
  width: 120px;
  text-align: right;
}

input, textarea {
  font: 1em sans-serif;
  width: 250px;
  box-sizing: border-box;
  border: 1px solid #999;
}

input[type=checkbox], input[type=radio] {
  width: auto;
  border: none;
}

input:focus, textarea:focus {
  border-color: #000;
}

textarea {
  vertical-align: top;
  height: 5em;
  resize: vertical;
}

fieldset {
  width: 250px;
  box-sizing: border-box;
  margin-left: 136px;
  border: 2px solid rgb(0, 0, 0);
}

button{
  margin: 20px 0 0 124px;
}
.button:hover {
  transition-duration: 0.4s;
  background-color: #4CAF50;
  color: white;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}


label {
  position: relative;
}

label em {
  position: absolute;
  right: 5px;
  top: 20px;
}