/* Universal Styles */

html {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
}

.main-content {
  position: relative;
  top: 5.3125rem; /* To offset for fixed header. */
}

.center {
  text-align: center;
}

.button {
  border-radius: 4px;
  background-color: #4a4a4a;
  color: white;
}

.image-container {
  overflow: hidden;
}

@media only screen and (max-width: 760px) {
  .main-content {
    top: 2.5625rem;
  }
}

/* Header */

header {
  position: fixed;
  width: 100%;
  height: 5.3125rem;
  border-bottom: solid 1px #c6c1c1;
  background-color: white;
  z-index: 10;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
}

header .desktop {
  width: 100%;
  padding-right: 1.875rem;
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  line-height: 1.6;
  font-size: 1rem;
  color: #4a4a4a;
}

header .desktop a {
  padding: 0rem 1.75rem;
}

header .desktop .button {
  display: none;
}

header .desktop_logo {
  padding-left: 1.875rem;
}

header .desktop .icon {
  width: 1rem;
  padding-left: .75rem;
  vertical-align: text-bottom;
}

header .mobile {
  display: none;
}

@media only screen and (max-width: 760px) {

  header .desktop .button {
    display: inherit;
    padding: .1875rem .5rem;
    background-color: #9dc20b;
    line-height: 1.6rem;
    color: white;
  }

}

@media only screen and (max-width: 655px /* not 450px*/) {

  header .desktop, .desktop_logo {
    display: none;
  }

  header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 2.5625rem;
  }

  header .mobile {
    display: inline-flex;
    justify-content: space-around;
    align-items: flex-end;
    width: 100%;
  }

  header .mobile .button {
    padding: 0rem .5rem;
    background-color: #9dc20b;
    line-height: 1.6rem;
    color: white;
  }
}

/* Sign Up Section */

#sign-up-section {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 43.5rem;
  background-image: url('../images/banner-landingpage.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#sign-up-cta {
  width: 25.625rem;
  margin-left: 6.25rem;
  padding: 2rem 5rem 3.5rem 5rem;
  border: solid 1px #979797;
  border-radius: 4px;
  background-color: #9dc20b;
  font-family: "Roboto", sans-serif;
  font-size: 1.25rem;
  line-height: 1.4;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: lighter;
}

#sign-up-cta h2 {
  font-size: 2.25rem;
  font-family: "Damion", cursive;
}

#sign-up-cta h1 {
  font-size: 3.125rem;
  font-family: "Rubik", sans-serif;
  padding-bottom: .75rem;
}

#sign-up-cta p span {
  font-weight: bold;
}

#sign-up-cta .button {
  margin-top: 1.625rem;
  padding: 1.25rem 7.25rem;
}

@media only screen and (max-width: 760px) {
  #sign-up-section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28rem;
  }

  #sign-up-cta {
    width: auto;
    height: auto;
    background-color: transparent;
    border: none;
    margin: 0;
  }

  #sign-up-cta .email {
    display: none;
  }

  #sign-up-cta h1 {
    font-size: 3.125rem;
  }

  #sign-up-cta h2 {
    font-size: 2.25rem;
  }
}

@media only screen and (max-width: 655px) {
  #sign-up-section {
    height: 20rem;
  }

  #sign-up-cta h1 {
    font-size: 2.25rem;
  }

  #sign-up-cta h2 {
    font-size: 2rem;
  }
}

/* Features Section */

#features-section {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #f3f3f3;
  padding: 4rem 0rem 4rem 3rem
}

#features-section .feature {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  margin-right: 3rem;
  padding: 2rem;
}

#features-section .feature .image-container img {
  width: 90%;
  height: 65%;
}

#features-section .feature .content {
  height: 10rem;
  padding-top: 2.5rem;
  font-size: 100%;
}

#features-section .feature .content h2 {
  padding-bottom: .5rem;
  font-size: 2.25rem;
  font-weight: bold;
  color: #4a4a4a;
}

#features-section .feature .content h3 {
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 300;
  color: #4a4a4a;
}

@media only screen and (max-width: 865px) {
  #features-section .feature .content {
    height: 5rem;
  }

  #features-section .feature .content h2 {
    font-size: 1.125rem;
    line-height: 1.3;
    font-weight: normal;
  }

  #features-section .feature .content h3 {
    font-size: .875rem;
    line-height: 1.4;
  }
}

@media only screen and (max-width: 760px) {
  #features-section {
    flex-flow: column;
    align-items: center;
    justify-content: center;
    padding: 0rem;
  }

  #features-section .feature {
    margin: 0;
    padding: 0.5rem 1rem;
  }

  #features-section .feature .content {
    padding: 1rem;
  }

}

/* Filters Section */

#filters-section {
  width: 100%;
  padding: 4rem 0rem 5rem 0rem;
  background-color: #4a4a4a;
}

#filters-section .content {
  margin: 0rem 5rem 5rem 5rem;
}

#filters-section .content h2 {
  font-size: 2.25rem;
  font-weight: bold;
  color: white;
}

#filters-section .content h3 {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 300;
  color: white;
}

#filters-section .images-container {
  padding: 0 1%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

#filters-section .images-container .image-container img {
  height: 100%;
  width: 100%;

}

@media only screen and (max-width: 760px) {
  #filters-section {
    padding: 1.5rem 0 0 0;
  }

  #filters-section .content {
    margin: 0rem 0rem 1rem 0rem;
  }

  #filters-section .content h2 {
    padding-bottom: .625rem;
    font-size: 1.125rem;
    line-height: 1.3;
    font-weight: normal;
  }

  #filters-section .content h3 {
    font-size: .875rem;
    line-height: 1.4;
  }

  #filters-section .images-container {
    padding: 0;
  }

  #filters-section .extra {
    display: none;
  }
}

/* Quotes Section */

#quotes-section {
  width: 100%;
  background-color: #f3f3f3;
  padding: 5rem 2rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

#quotes-section .quote {
  padding-right: 1.875rem;
  font-family: "Palatino", serif;
  font-size: 1.875rem;
  line-height: 1.1;
  font-style: italic;
  color: #4a4a4a;
}

#quotes-section .quote-citation {
  height: 1.875rem;
}

@media only screen and (max-width: 760px) {
  #quotes-section {
    width: 100%;
    padding: 1.875rem .625rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #quotes-section .quote {
    font-size: 1.5rem;
    line-height: 1.4;
  }

  #quotes-section .quote-citation {
    display: block;
    padding-top: 1rem;
    margin: auto;
  }
}

/* Footer */

footer {
  height: 3.875rem;
  background-color: #9b9b9b;
  color: white;
  font-size: .75rem;
  display: flex;
}

footer .content {
  width: 100%;
  margin: 0rem 2rem;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
}

@media only screen and (min-width: 760px) {
  footer {
    font-size: .625rem;
  }
}
