.navbar {
  padding: 38px 96px;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;

  .navbar-brand {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    display: inline-block;
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;

    &:hover,
    &:focus {
      text-decoration: none;
    }

    .user-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
    }

    .site-name {
      font-size: 28px !important;
      font-weight: bold;
      margin-left: 16px;
    }
  }

  .navbar-nav {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;

    .nav-item {
      padding: 16px 32px;

      a {
        font-size: 15px;
        flex-shrink: 0;
      }
    }
  }

  .img-more {
    width: 22px;
    height: 22px;
  }

  .navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
  }

  .navbar-toggler {
    padding: 0.25rem 0.75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.25rem;

    &:hover,
    &:focus {
      text-decoration: none;
    }
  }
}


@media (max-width: 992px) {
  .navbar {
    padding: 30px 30px 0 30px !important;

    .navbar-brand {
      .user-avatar {
        width: 31px;
        height: 31px;
        border-radius: 50%;
      }

      .site-name {
        font-size: 21px !important;
        font-weight: bold;
      }
    }

    .nav-item {
      padding: 16px 32px;

      &:first-child {
        margin-top: 35px;
      }
    }
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg {
    flex-flow: row nowrap;
    justify-content: flex-start;

    .navbar-nav {
      flex-direction: row;
    }

    .navbar-collapse {
      display: flex !important;
      flex-basis: auto;
    }

    .navbar-toggler {
      display: none;
    }
  }
}

@media (max-width: 991px) {
  #navbarSupportedContent {
    display: none;
  }
}
