.fg-landing-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  width: 100%;
  height: 75px;
  border-bottom: 1px solid;
}

.fg-landing-header-wrapper--hide {
  display: none;
}

.fg-landing-header {
  width: 100%;
  max-width: 1024px;
  height: 100%;
  margin: 0 auto;
  padding: 0 4px;
  display: flex;
  justify-content: space-between;
  align-content: flex-start;
  align-items: center;
}

.fg-landing-logo-container {
  height: 100%;
  padding-left: 15px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.fg-landing-logo-link {
  height: 75px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.fg-landing-logo-img {
  width: 35px;
  height: 35px;
}

.fg-landing-logo-text {
  font-family: 'AzoSans-Regular';
  font-size: 20px;
  display: block;
  letter-spacing: -1.3px;
  margin-left: 35px;
}

.fg-landing-navigation-container {
  height: 100%;
  text-align: right;
}

.fg-landing-navigation-item-list {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.fg-landing-navigation-link-text {
  font-size: 15px;
  margin-right: 35px;
  cursor: pointer;
  transition: color .4s ease;
}

.fg-landing-navigation-button {
  width: 100px;
  height: 35px;
  font-family: 'AzoSans-Medium';
  font-size: 12.5px;
  border-radius: 5px;
  cursor: pointer;
  transition: background .4s ease, color .4s ease, border .4s ease;
  padding: 0;
  border: none;
  background: none;
  margin-right: 20px;
}

.fg-landing-menu-overlay {
  display: none;
}

.fg-landing-menu-wrapper {
  display: none;
}

.fg-landing-open-menu-btn {
  display: none;
}

.fg-landing .fg-landing-header-wrapper {
  background-color: #2d2f31;
  border-color: #424446;
}

.fg-terms .fg-landing-header-wrapper {
  background-color: #fafafa;
  border-color: #dddddd;
}

.fg-landing .fg-landing-logo-text {
  color: white;
}

.fg-terms .fg-landing-logo-text {
  color: black;
}

.fg-landing .fg-landing-navigation-link-text {
  color: #999;
}

.fg-terms .fg-landing-navigation-link-text {
  color: #777;
}

.fg-landing .fg-landing-navigation-link-text:first-of-type,
.fg-landing .fg-landing-navigation-link-text:hover {
  color: white;
}

.fg-terms .fg-landing-navigation-link-text:nth-of-type(2),
.fg-terms .fg-landing-navigation-link-text:hover {
  color: black;
}

.fg-landing .fg-landing-navigation-button--login {
  background: #222426;
  color: #999;
  border: 1px solid rgba(153, 153, 153, .5);
}

.fg-terms .fg-landing-navigation-button--login {
  background: white;
  color: #777;
  border: 1px solid rgba(119, 119, 119, .5);
}

.fg-landing .fg-landing-navigation-button--signup,
.fg-terms .fg-landing-navigation-button--signup {
  background: #08b58e;
  color: white;
  border: 1px solid #08b58e;
}

.fg-landing .fg-landing-navigation-button--login:hover,
.fg-terms .fg-landing-navigation-button--login:hover {
  background: #777777;
  color: white;
  border: 1px solid #777777;
}

.fg-landing .fg-landing-navigation-button--signup:hover,
.fg-terms .fg-landing-navigation-button--signup:hover {
  background: #ea4c89;
  color: white;
  border: 1px solid #ea4c89;
}

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

  .fg-landing-header-wrapper {
    z-index: 4;
  }

  .fg-landing-header {
    justify-content: space-around;
  }

  .fg-landing-navigation-container {
    display: none;
  }

  .fg-landing-open-menu-btn {
    display: block;
    padding: 0;
    width: 45px;
    height: 100%;
    border: none;
    background: transparent;
    position: relative;
    flex-shrink: 0;
  }

  .fg-landing-open-menu-btn:before {
    position: absolute;
    height: 40px;
    top: 17.5px;
    right: 10px;
    bottom: 17.5px;
    left: 10px;
    background: linear-gradient(transparent 20%, #6b6b6b 20%, #6b6b6b 30%, transparent 30%, transparent 45%,  #6b6b6b 45%,  #6b6b6b 55%, transparent 55%, transparent 70%, #6b6b6b 70%, #6b6b6b 80%, transparent 80%);
    content: '';
  }

  .fg-landing-open-menu-btn:hover {
    opacity: 0.6;
  }

  .fg-landing-close-menu-btn {
    width: 1em;
    height: 1em;
    position: absolute;
    right: 1em;
    top: 1em;
    overflow: hidden;
    text-indent: 1em;
    font-size: 0.75em;
    border: none;
    background: transparent;
    color: transparent;
  }

  .fg-landing-close-menu-btn::before,
  .fg-landing-close-menu-btn::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 100%;
    top: 0;
    left: 50%;
    background: #bdc3c7;
  }

  .fg-landing-close-menu-btn::before {
    transform: rotate(45deg);
  }

  .fg-landing-close-menu-btn::after {
    transform: rotate(-45deg);
  }

  .fg-landing-menu-overlay {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: block;
    transform: translate3d(100vw, 0, 0);
    transition: transform 0.4s;
    transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
  }

  .fg-landing-menu-overlay--visible {
    transform: translate3d(0,  0, 0);
  }

  .fg-landing-menu-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    display: block;
    z-index: 11;
    width: 300px;
    height: 100%;
    background: #373a47;
    padding: 2.5em 1.5em 0;
    font-size: 1.15em;
    transform: translate3d(300px, 0, 0);
    transition: transform 0.4s;
    transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
  }

  .fg-landing-menu-overlay--visible,
  .fg-landing-menu-overlay--visible .fg-landing-menu-wrapper {
    transform: translate3d(0, 0, 0);
    transition: transform 0.8s;
    transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
  }

  .fg-landing-menu,
  .fg-landing-menu-item-list {
    height: 100%;
  }

  .fg-landing-menu-item-list {
    transform: translate3d(0, 100%, 0);
  }

  .fg-landing-menu-item {
    display: block;
    font-family: 'AzoSans-Regular';
    font-size: 15px;
    color: #999999;
    transition: color .4s ease;
    padding: 0.8em;
    transform: translate3d(0, 500px, 0);
  }

  .fg-landing-menu-item-list,
  .fg-landing-menu-item {
    transition: transform 0s 0.4s;
    transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
  }

  .fg-landing-menu-item:nth-child(2) {
    transform: translate3d(0, 1000px, 0);
  }

  .fg-landing-menu-item:nth-child(3) {
    transform: translate3d(0, 1500px, 0);
  }

  .fg-landing-menu-item:nth-child(4) {
    transform: translate3d(0, 2000px, 0);
  }

  .fg-landing-menu-item span {
    margin-left: 10px;
    transition: color .4s ease;
  }

  .fg-landing-menu-overlay--visible .fg-landing-menu-item-list,
  .fg-landing-menu-overlay--visible .fg-landing-menu-item {
    transform: translate3d(0,0,0);
    transition: transform 0.8s;
    transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
  }

  .fg-landing-menu-overlay--visible .fg-landing-menu-item {
    transition-duration: 0.9s;
  }

  .fg-landing .fg-landing-menu-item:first-of-type,
  .fg-landing .fg-landing-menu-item:hover {
    color: white;
  }

  .fg-terms .fg-landing-menu-item:nth-of-type(2),
  .fg-terms .fg-landing-menu-item:hover {
    color: white;
  }
}

