@import url(https://fonts.googleapis.com/css?family=Archivo+Narrow:400,700);
body {
  overflow-x: hidden;
  background: #dd7f3c;
  font-family: sans-serif;
}

h1, h2 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h1 {
  top: 24px;
  font-size: 12px;
}

h2 {
  top: 44px;
  font-size: 10px;
  text-align: center;
  line-height: 16px;
  opacity: 0.7;
}
h2 a {
  color: white;
  text-decoration: none;
  text-align: center;
  border-bottom: 1px dotted white;
}

form {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Archivo Narrow", sans-serif;
}

.btn {
  position: absolute;
  box-sizing: border-box;
  bottom: 0;
  padding: 6px 18px;
  border-radius: 20px;
  cursor: pointer;
  border: none;
  outline: none;
  font-size: 12px;
  letter-spacing: 2px;
  transform: translateY(50%);
  transition: all 0.1s ease-in-out;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.btn#next {
  right: 15px;
  background: #984f1b;
  color: white;
}

.btn#prev {
  right: 105px;
  background: whitesmoke;
  color: #984f1b;
}

.block {
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 15px;
  background: white;
  border-radius: 2px;
  box-shadow: 0 5px 10px #d97126;
  transition: all 0.3s ease-in-out;
}

.block.empty {
  z-index: 99;
  opacity: 0;
  transform: scale(0.6) translateX(130%);
}

.block.filled {
  z-index: 98;
  opacity: 0;
  transform: scale(0) translateX(0);
}

.block.current {
  z-index: 100;
  opacity: 1;
  transform: scale(1) translateX(0);
  transition-delay: 0.1s;
}

.mandatory::after {
  content: "Mandatory fields";
  position: absolute;
  bottom: 5px;
  left: 0;
  transform-origin: 0 100%;
  transform: translateX(2px) rotate(-90deg);
  color: #e49b67;
  font-size: 26px;
  text-align: center;
  text-shadow: 2px -2px 4px #d97126;
  letter-spacing: 1px;
}

fieldset {
  float: left;
  width: 100%;
  min-height: 50px;
  margin: 5px 0 10px;
}
fieldset i {
  display: block;
  box-sizing: border-box;
  float: left;
  width: 15%;
  height: 40px;
  padding-top: 13px;
  color: #e49b67;
  text-align: center;
}
fieldset .row {
  display: flex;
  flex-wrap: wrap;
}
fieldset .row-col-half {
  width: 50%;
}
fieldset .row-col-one-third {
  width: 33.3%;
}
fieldset .row-col-two-third {
  width: 66.6%;
}
fieldset .choice label {
  position: relative;
  cursor: pointer;
}
fieldset .choice label i {
  display: inline-block;
  width: 50px;
  height: 50px;
  padding-top: 15px;
}
fieldset .choice label input[type="radio"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
fieldset .choice label input[type="radio"]:checked + span {
  color: #737373;
}
fieldset .choice label span {
  display: inline-block;
  padding-top: 14px;
}
fieldset input, fieldset textarea {
  box-sizing: border-box;
  width: 85%;
  background: none;
  border: none;
  outline: none;
  color: #737373;
  font-family: "Archivo Narrow", sans-serif;
  font-size: 16px;
}
fieldset label {
  color: #a6a6a6;
  font-size: 16px;
}
fieldset input {
  height: 50px;
}
fieldset input:required:invalid {
  border-bottom: 2px solid #dd7f3c;
}
fieldset input:required:valid {
  border-bottom: 2px solid #d9d9d9;
}
fieldset textarea {
  height: 150px;
  resize: none;
  padding-top: 8px;
  line-height: 24px;
}

#send {
  position: absolute;
  bottom: 0;
  right: 25px;
  width: 60px;
  height: 60px;
  transform: translateY(50%);
  background: #984f1b;
  border-radius: 50%;
}
#send input[type="submit"], #send i {
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
}
#send input[type="submit"] {
  background: none;
  border-radius: 50%;
  opacity: 0;
}
#send i {
  padding-top: 18px;
  color: white;
  font-size: 24px;
  text-align: center;
}

fieldset:nth-of-type(odd) {
  background: whitesmoke;
}

h3, h4 {
  margin-bottom: 12px;
  color: #db7933;
}

h3 {
  font-size: 36px;
}

h4 {
  font-size: 18px;
}

p {
  color: #737373;
  line-height: 24px;
}

p.info {
  color: #a6a6a6;
  font-size: 14px;
  text-align: justify;
}
p.info i {
  margin-right: 8px;
}

a {
  display: inline-block;
  margin-top: 12px;
  color: #a6a6a6;
  text-decoration: none;
}
a i {
  margin-right: 8px;
}

.divider {
  float: left;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  border-bottom: 2px dotted #d9d9d9;
}
