.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: #DAAB1D;
  height: 128px;
  width: 100%;
  border: 1px solid #979797;
}
@media (max-width: 500px) {
  .header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
.header .logo {
  color: #1E3A46;
  font-family: "Avenir Next";
  font-size: 32px;
  font-weight: 600;
  line-height: 44px;
  margin: 10px 0px 10px 80px;
}
@media (max-width: 500px) {
  .header .logo {
    font-size: 20px;
    margin: 0px;
  }
}
.header nav {
  margin: 0px 80px 0px 0px;
}
@media (max-width: 500px) {
  .header nav {
    margin: 0px;
  }
}
.header nav a {
  text-decoration: none;
  color: #1E3A46;
  font-family: "Avenir Next";
  font-size: 20px;
  font-weight: bold;
  line-height: 27px;
  margin: 10px;
}
@media (max-width: 500px) {
  .header nav a {
    margin: 5px;
  }
}
.hero-img {
  width: 100%;
  height: auto;
}
.box {
  height: 510px;
  width: 45%;
  background-color: #EDE3C2;
  position: absolute;
  left: 25%;
  right: 10%;
  margin-top: -300px;
  margin-bottom: 300px;
}
@media (max-width: 500px) {
  .box {
    width: 70%;
    height: 480px;
    left: 15%;
    margin-top: -100px;
  }
}
.box h2 {
  color: #41340C;
  font-family: "Avenir Next";
  font-size: 32px;
  font-weight: 600;
  line-height: 44px;
  margin: 20px 0 0 40px;
}
@media (max-width: 500px) {
  .box h2 {
    font-size: 24px;
  }
}
.box .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.box .content .fill {
  padding: 80px 60px 0 60px;
}
@media (max-width: 500px) {
  .box .content .fill {
    width: 40%;
    padding: 40px 30px 0 0;
    margin-left: -70px;
  }
}
.box .content .fill form {
  color: #1E3A46;
  font-family: "Avenir Next";
  font-size: 18px;
  font-weight: 600;
  line-height: 25px;
}
.box .content .fill input {
  height: 40px;
  width: 500px;
  background-color: #E9E8E4;
  font-size: 16px;
  font-family: "Avenir Next";
  margin: 0 0 30px 0;
}
@media (max-width: 500px) {
  .box .content .fill input {
    width: 250px;
  }
}
.box .content p {
  color: #352720;
  font-family: "Avenir Next";
  font-size: 24px;
  line-height: 33px;
}
.box .content button {
  color: #336277;
  font-family: "Avenir Next";
  font-size: 32px;
  font-weight: 600;
  line-height: 44px;
  text-align: center;
  border-radius: 6px;
  background-color: #DAAB1D;
  width: 30%;
}
@media (max-width: 500px) {
  .box .content button {
    width: 50%;
  }
}
.ask {
  color: #352720;
  font-family: "Avenir Next";
  font-size: 24px;
  line-height: 33px;
  margin-left: 1100px;
}
@media (max-width: 500px) {
  .ask {
    margin-left: 130px;
    margin-top: 460px;
  }
}
.account {
  height: 63px;
  width: 263px;
  border: 3px solid #488EAC;
  border-radius: 7px;
  color: #488EAC;
  font-family: "Avenir Next";
  font-size: 24px;
  font-weight: 600;
  line-height: 33px;
  text-align: center;
  position: absolute;
  right: 5%;
}
@media (max-width: 500px) {
  .account {
    right: 23%;
    top: 140%;
  }
}
