html {
  font-size: 100%;
}

body {
  color: #323232;
  font-family: 'Roboto', sans-serif;
  font-size: 1.125rem;
}

.inner-container {
  max-width: 1900px;
  padding: 1rem;
}

.inner-container a svg {
  width: 4rem;
}

li a {
  color: #fff;
  font-size: 1.5rem;
}

header {
  background-color: #2c3e5b;
  box-shadow: 0 0 8px rgb(0, 0, 0);
  color: #fff;
}

header .inner-container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

header .inner-container nav {
  flex: 0 0 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height ease-in-out 1s;
}

header .inner-container li a {
  display: block;
  padding: 0.5rem;
  text-align: center;
  text-decoration: none;
}

header .inner-container .show {
  max-height: 400px;
}

header .inner-container button {
  background-color: #2c3e5b;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 3.4375rem;
}

.sr-only {
  height: 0.1rem;
  left: -9999999px;
  position: absolute;
  top: 0;
  visibility: hidden;
  width: 0.1rem;
}

.nav-search {
  position: relative;
}

.magnifying-glass {
  position: relative;
}

.magnifying-glass svg {
  color: #6f6c6c;
  left: 0.5rem;
  position: absolute;
  top: 1rem;
  width: 2rem;
}

.banner {
  background: url(../img/falls-banner-sm.webp) center / cover no-repeat;
  color: #fff;
  height: auto;
  position: relative;
}
  
.banner-text {
  margin: 0 auto;
  max-width: 960px;
  padding: 10rem 2rem 7rem 2rem;
  top: 4rem;
}

input {
  padding: 1rem 1rem 1rem 2.5rem;
  padding-left: 5rem;
  width: 100%;
}

.keyword h2,
.testimonials h2,
.statistics h2 {
  color: #2c3e5b;
}

.banner h1 {
  font-family: 'Piazzolla', serif;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: lighter;
}

.banner h2 {
  font-size: 4rem;
  line-height: 4.5rem;
  text-transform: uppercase;

}

.banner p {
  margin-top: 1rem;
}

.banner p a {
  color: #fff;
  text-decoration: underline;
}

.flex-container svg {
  height: 10rem;
  width: 100%;
  margin: 2rem 0 2rem 0;
}

.inspired div,
.rewarded div,
.social div {
  background-color: #2c3e5b;
  color: #fff;
  padding: 2rem;
}

.inspired div h2,
.rewarded div h2,
.social div h2 {
  margin-bottom: 1rem;
}

.inspired,
.rewarded,
.social {
  background-color: #f9f8f7;
}

.testimonials {
  background-color: #f9f8f7;
  padding: 2rem;

}

.testimonials > div {
  align-items: center;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr 2fr;
}

.testimonials > div div:last-of-type {
  text-align: left;
}

.testimonials > div div:first-of-type>img {
  border-radius: 56%;
  width: 100%;
}

.testimonials p {
  font-family: 'Piazzolla', serif;
}

.testimonials p:last-child {
  font-size: 1rem;
}

.browse-keyword h2 {
  padding-left: 2rem;
}

.keyword {
  text-align: center;
}

.keyword div p:first-child {
  font-family: 'Piazzolla', serif;
  font-size: 1.5rem;
}

.keyword div {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: bold;
}

.keyword h2 {
  padding-bottom: 1rem;
  text-align: left;
}

.keyword div {
  color: #fff;
  position: relative;
}

.keyword div div {
  position: absolute;
  top: 35%;
  width: 100%;
}

.keyword div img {
  width: 100%;
}

.statistics {
  background-color: #f9f8f7;
  padding: 2rem 0 1rem 0;
  text-align: center;
}

.statistics div {
  padding-bottom: 1rem;
}

.statistics div p:first-of-type {
  font-size: 2rem;
  font-weight: bold;
}

.statistics-text {
  display: flex;
  padding: 2rem;
}

.statistics .statistics-text {
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: center;
}

footer {
  color: #8b8b8b;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  padding: 2rem;
}

.nav-links li a:hover {
  color: rgb(255, 123, 0);
}

.nav-search a:hover {
  color: rgb(230, 44, 11);
  font-weight: bold;
}

.keyword div:hover {
  text-decoration: underline;
}

@media screen and (min-width: 762px) {
  .ham-btn {
    display: none;
  }

  header .inner-container nav {
    flex: 0 1 auto;
    max-height: unset;
  }

  .nav-links {
    display: flex;
    gap: 1rem;
  }

  .nav-links li a {
    font-size: 1rem;
  }

  .flex-container {
    display: grid;
    gap: 1rem;
    grid-row: 3;
    padding: 1rem;
  }

  .inspired,
  .rewarded,
  .social {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .banner {
    background: url(../img/falls-banner-md.webp) center / cover no-repeat;
  }

  .testimonials p {
    font-size: 2rem;
  }

  .testimonials p:last-child {
    font-size: 1.5rem;
  }

  .keyword {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  footer {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (min-width: 1100px) {

  .nav-links li a {
    font-size: 1.25rem;
  }

  .keyword div div {
    top: 30%;
  }

  .flex-container {
    display: flex;
    gap: .5rem;
    padding: 3rem 0 3rem 0;
  }

  .inspired,
  .rewarded,
  .social {
    display: unset;
  }

  .inspired div, .rewarded div, .social div {
    min-height: 16rem;
}
}

@media screen and (min-width: 1300px) {

  .banner {
    background: url(../img/falls-banner-lg.webp) center / cover no-repeat;
  }

  .inner-container,
  .flex-container,
  .testimonials > div,
  .statistics > div {
    margin: 0 auto;
    max-width: 960px;
  }

  .testimonials {
    padding: 3rem 0 6rem 0;
    position: relative;
  }

  .testimonials div {
    grid-template-columns: 2fr 1fr;
  }
  .testimonials div :last-of-type {
    width: 100%;
  }

  .testimonials-img {
    left: 62%;
    position: absolute;
    top: 6rem;
  } 

  .browse-keyword {
    margin-top: 10rem;
  }

  .browse-keyword h2 {
    margin: 0 auto;
    max-width: 960px;
    padding: 0;
  }

  .keyword {
    grid-template-columns: repeat(5, 1fr);
    padding-bottom: 3rem;
  }

  .container h2 {
    text-align: left;
    margin: 0 auto;
    max-width: 960px;
  }

  .statistics-text {
    padding: 0;
  }
}

@media screen and (min-width: 1920px) {
  .banner-text h1 {
    font-size: 2rem;
    line-height: 3rem;
  }

  .banner h2 {
    font-size: 5rem;
    line-height: 6rem;
  }

  .banner p {
    font-size: 1.5rem;
  }

  .inspired div, .rewarded div, .social div {
    min-height: 18rem;
  }

  .testimonials h2 {
    font-size: 2rem;
  }

  .browse-keyword h2 {
    font-size: 2rem;
  }

  .statistics h2 {
    font-size: 2rem;
  }

  .statistics-text div p:first-of-type {
    font-size: 2.5rem;
  }
}