.homepage {
  position: fixed;
  top: $navbar-height;
  left: 0;
  z-index: 2;
  overflow: auto;
  width: 100vw;
  height: calc(100vh - #{$navbar-height});

  .container {
    margin: 0 auto;

    @media (min-width: 992px) {
      width: 970px;
    }

    @media (min-width: 1200px) {
      width: 1170px;
    }
  }

  .row {
    margin: 0 auto;
    padding: 0 30px;

    @media (min-width: 768px) {
      width: 50%;
      padding: 0;
    }
  }

  .anchorjs-link {
    display: none;
  }

  .hero {
    padding: 60px 0 120px;
    background: var(--primary);
    text-align: center;
    color: #fff;

    h2 {
      margin-top: 0;
      font-size: 2.1rem;
      font-weight: normal;
    }

    .form-control {
      width: 100%;
      padding: 12px 15px;
      border: none;
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.1);
      font-size: 1.2rem;
      color: #fff;

      &.active {
        position: fixed;
        top: 80px;
        left: 0;
        width: calc(100vw - 420px);
        outline: none;
        border-radius: 0;
        background: #fff;
        height: 73px;
        color: #333;
      }
    }

    .form-control::placeholder {
      color: rgba(255, 255, 255, 0.75);
    }
  }

  .guides {
    background: #fbfbfb;
    margin-bottom: 100px;

    .container {
      display: flex;
      flex-wrap: wrap;
    }
  }

  .guide {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 60px 30px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease-in-out;

    .guide-content {
      flex: 1;
      padding: 12px 0;
    }

    h4 {
      margin: 16px 0 10px;
      font-size: 1.5rem;
      border: none;
    }

    p {
      margin-bottom: 0;
    }

    img {
      width: 100px;
      height: 100px;
      max-width: initial;
    }

    &:hover,
    &:focus {
      box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.15);
      background: #fff;
      transform: scale(1.075);
    }

    @media (min-width: 450px) {
      width: 50%;
    }
    @media (min-width: 992px) {
      width: 33%;
    }
  }
}
