html {
  font-family: 'Source Sans Pro', sans-serif;
}
html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
}

.header {
  box-sizing: border-box;
  padding: 10px 0 0 40px;
  margin-bottom: 10px;
  width: 100%;
  background: #3243c2;
  color: #fff;
  display: flex;
  justify-content: space-between;
  vertical-align: middle;
  align-items: center;
  position: fixed;
  z-index: 9;
}

.nav {
  text-align: center;
  height: 66px;
  line-height: 60px;
  margin: 0 20px;
}

.menu a {
  clear: right;
  width: 100%;
  font-size: 125%;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  color: white;
  margin: auto;
  line-height: 70px;
  margin: 10px;
  padding: 0;
}

.menu a:hover,
.menu a:focus {
  font-weight: 500;
  font-size: 140%;
  padding: 10px 0;
  border-top: 3px ridge #fff;
  border-bottom: 3px ridge #fff;
}

.menu a:focus {
  font-size: 150%;
  font-weight: 500;
}

label {
  margin: 0 20px;
  padding: 0 40px;
  font-size: 28px;
  line-height: 70px;
  height: 74px;
  display: none;
  width: 100%;
  float: right;
  cursor: pointer;
}

#toggle {
  display: none;
}

h2 {
  color: white;
  font-size: 3rem;
}

@media only screen and (max-width: 780px) {
  label {
    display: block;
    font-size: 36px;
    font-weight: normal;
    width: auto;
    text-align: center;
    margin: 0 10px;
    padding: 0 10px;
    cursor: pointer;
  }

  .nav {
    margin: 0;
  }

  .menu {
    text-align: center;
    width: auto;
    margin: auto 0;
    line-height: 70px;
    height: 7px;
    display: none;
  }

  .menu a {
    display: block;
    background: #3243c2;
    text-align: center;
    font-size: 125%;
    font-weight: 500;
    color: white;
    margin: 0;
    padding: 0 40px 0 0;
    z-index: 6;
  }

  .menu a:hover,
  .menu a:focus {
    background: #3243c2;
    margin: 0;
    color: #fff;
    text-align: center;
    font-weight: 500;
    font-size: 140%;
    border-bottom: 3px solid white;
    border-top: 3px solid white;
  }

  .menu a:focus {
    background: #fff;
    color: #3243c2;
    font-size: 150%;
    font-weight: 500;
    letter-spacing: 1.2;
    transform: rotate(-6deg);
  }

  .faq {
    border-radius: 0 0 0 0;
  }

  #toggle:checked + .menu {
    display: block;
  }

  h2 {
    font-size: 2.5rem;
  }
}

@media only screen and (max-width: 550px) {
  h2 {
    font-size: 1.8rem;
  }
}

.hero {
  background-image: url('../images/yosemite.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 20px 45px 100px 45px;
  margin: 0;
  display: flex;
  justify-content: center;
  z-index: 0;
}

.hero-inner {
  margin-top: 100px;
  max-width: 780px;
}

.hero h1 {
  font-weight: normal;
  color: #fff;
  font-size: 4rem;
  margin: 0;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.4;
  padding-bottom: 20px;
  color: #fff;
  text-align: justify;
}

.btn {
  display: inline-block;
  background: #3243c2;
  color: #fff;
  text-decoration: none;
  padding: 10px 30px;
  border-radius: 8px;
  font-size: 1.3rem;
}

.btn:hover,
.btn:focus {
  font-weight: 700;
  background: #fff;
  color: #3243c2;
  border-bottom: 2px solid #fff;
}

.features {
  background: #e8eaf6;
  padding: 60px 40px;
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-column-gap: 40px;
  grid-row-gap: 45px;
}

.features-inner h3 {
  font-size: 150%;
  font-weight: 500;
  color: #3243c2;
}

.features-inner p {
  margin: 0;
  line-height: 1.3;
  text-align: justify;
}

.footer {
  text-align: center;
  padding: 20px 0;
  color: #999;
  font-size: 0.9rem;
}
