@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css");
/* hero section of download */
#hero-download {
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-right {
  position: relative;
  margin-bottom: 12rem;
}

.content-right h1 {
  font-size: calc(1.5rem + 2vw);
  padding-bottom: 1.3rem;
}

.content-right p {
  font-size: calc(1rem + 0.2vw);
  line-height: 1.5rem;
}

/* download button */
.download-ul {
  text-align: center;
  padding-top: 2rem;
  position: absolute;
}

.download-li {
  display: inline-block;
  margin-right: 10px;
}

.download {
  width: 200px;
  height: 75px;
  background: black;
  float: left;
  border-radius: 5px;
  position: relative;
  color: #fff;
  cursor: pointer;
  border: 1px solid #fff;
}

.download > .fa {
  color: #fff;
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
}

.df,
.dfn {
  position: absolute;
  left: 70px;
}

.df {
  top: 20px;
  font-size: 0.68em;
}

.dfn {
  top: 33px;
  font-size: 1.08em;
}

.download:hover {
  -webkit-filter: invert(100%);
  filter: invert(100%);
}

/* newsletter header */
.newsletter-header {
  text-align: center;
  padding: 10rem 0;
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
}

.newsletter-header h2 {
  font-size: calc(1.5rem + 2vw);
  padding-bottom: 1rem;
  letter-spacing: 5px;
}

.newsletter-header p {
  font-size: calc(1rem + 0.2vw);
  text-transform: uppercase;
}

.form-elements {
  display: flex;
  justify-content: center;
}

.form-elements fieldset {
  position: relative;
  border: none;
  margin-top: 3rem;
}

.form-elements fieldset label {
  padding-right: 17.5rem;
}

.form-elements input {
  padding: 1rem 3rem;
  font-size: 1.1rem;
}

.form-elements .submit-btn {
  margin-top: 4rem;
  margin-left: 4rem;
  padding: 1rem 2rem;
  background-color: white;
  color: black;
  cursor: pointer;
}

.thankyou_message p {
  padding-top: 2rem;
  font-size: calc(1rem + 0.5vw);
  line-height: 1.5rem;
}

/* mobile view */
@media (max-width: 768px) {
  /* hero-section */
  #hero-download {
    flex-direction: column;
  }
  .content-left img {
    width: 350px;
    height: 407px;
  }
  .content-right h1 {
    text-align: center;
  }

  .content-right p {
    text-align: center;
  }
  /* newsletter */
  #newsletter {
    margin-top: 6rem;
  }
  .form-elements {
    display: flex;
    flex-direction: column;
  }

  input {
    margin-bottom: 2rem;
  }

  .form-elements .submit-btn {
    margin: auto;
  }

  .submit-btn {
    width: 30%;
    margin: auto;
  }
}

/* tablet */
@media screen and (min-width: 768px) and (max-width: 1040px) {
  /* hero-section */
  #hero-download {
    flex-direction: column;
  }
  .content-left img {
    width: 350px;
    height: 407px;
  }
  .download-ul {
    justify-content: center;
  }
  .content-right h1 {
    text-align: center;
  }

  .content-right p {
    text-align: center;
  }
  #download-button {
    display: flex;
    justify-content: center;
  }
}

/* landscape mode */
@media screen and (min-width: 1041px) and (max-width: 1700px) {
  .content-left img {
    width: 700px;
    height: 757px;
  }
}
