* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  max-width: 1080px;
  margin: 0 auto;
  height: 100%;
}

h1, h2, h3, h4, h5, h6, p {
  margin-bottom: 16px;
}

.input-wrapper {
  width: 65%;
  position: relative;
  padding: 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.input-wrapper .form1, .input-wrapper .form2, .input-wrapper .form3, .input-wrapper .form4, .input-wrapper .form5 {
  position: relative;
  display: flex;
  width: 100%;
  margin-top: 30px;
  height: 40px;
}
.input-wrapper .form1 .title, .input-wrapper .form2 .title, .input-wrapper .form3 .title, .input-wrapper .form4 .title, .input-wrapper .form5 .title {
  color: #333;
  padding-top: 5px;
  width: 15%;
  font-size: 15px;
  margin-right: 10px;
}
.input-wrapper .form1 span, .input-wrapper .form2 span, .input-wrapper .form3 span, .input-wrapper .form4 span, .input-wrapper .form5 span {
  border-bottom: darkgoldenrod 1px solid;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 10%;
}
.input-wrapper .form1 .text-field, .input-wrapper .form2 .text-field, .input-wrapper .form3 .text-field, .input-wrapper .form4 .text-field, .input-wrapper .form5 .text-field {
  width: 85%;
  padding: 10px;
  border: 1px solid #333;
  outline: none;
}
.input-wrapper .form1 .text-field:focus, .input-wrapper .form2 .text-field:focus, .input-wrapper .form3 .text-field:focus, .input-wrapper .form4 .text-field:focus, .input-wrapper .form5 .text-field:focus {
  border: 1px solid darkgoldenrod;
}
.input-wrapper .form1 .icon, .input-wrapper .form2 .icon, .input-wrapper .form3 .icon, .input-wrapper .form4 .icon, .input-wrapper .form5 .icon {
  font-size: large;
  position: absolute;
  right: 10px;
  padding: 10px;
  min-width: 50px;
  text-align: center;
  color: darkgoldenrod;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .input-wrapper {
    width: 100%;
    padding: 10px;
  }
  .input-wrapper .form1, .input-wrapper .form2, .input-wrapper .form3, .input-wrapper .form4, .input-wrapper .form5 {
    flex-direction: column;
    height: auto;
    position: relative;
  }
  .input-wrapper .form1 .title, .input-wrapper .form2 .title, .input-wrapper .form3 .title, .input-wrapper .form4 .title, .input-wrapper .form5 .title {
    width: 100%;
    text-align: left;
  }
  .input-wrapper .form1 span, .input-wrapper .form2 span, .input-wrapper .form3 span, .input-wrapper .form4 span, .input-wrapper .form5 span {
    width: 0;
  }
  .input-wrapper .form1 .text-field, .input-wrapper .form2 .text-field, .input-wrapper .form3 .text-field, .input-wrapper .form4 .text-field, .input-wrapper .form5 .text-field {
    width: 100%;
  }
  .input-wrapper .form1 .icon, .input-wrapper .form2 .icon, .input-wrapper .form3 .icon, .input-wrapper .form4 .icon, .input-wrapper .form5 .icon {
    width: 100%;
    text-align: right;
    bottom: 0;
    color: darkgoldenrod;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
  }
}
.header {
  padding: 20px;
  text-align: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  max-width: 800px;
}
.header p {
  padding-top: 50px;
  font-size: 80px;
  color: darkgoldenrod;
  text-align: left;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}
.header span {
  border-bottom: darkgoldenrod 2px solid;
  font-weight: bold;
  color: darkgoldenrod;
  position: absolute;
  bottom: 0;
  left: 20px;
  width: 35%;
}

@media (max-width: 600px) {
  .header {
    padding: 10px;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
  }
  .header p {
    font-size: 50px;
    text-align: center;
  }
  .header span {
    width: 60%;
    margin: 0 auto;
    left: 20%;
  }
}
