@media screen and (min-width: 951px) {
  header {
    width: 100%;
    padding: clamp(10px, 2rem, 32px) 0;
    background: var(--bg-color-accent);
    transition: all .2s ease-in-out;
  }

  .bar {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 0px;
  }

  .bar__logo {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
  }

  .bar__logo-item {
    margin-right: clamp(40px, 3.75rem, 60px);
  }

  .bar__logo-item:last-child {
    margin-right: 0;
  }

  .bar__logo-item img {
    width: auto;
    height: 100%;
    max-height: 80px;
  }

  .bar__mobile-button {
    display: none;
  }

  .bar__nav {
    width: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .bar__nav-menu-logo {
    display: none;
  }

  .bar__nav-menu {
    width: 100%;

  }

  .bar__nav-menu ul {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
  }

  .bar__nav-menu ul li {
    list-style-type: none;
    margin: 0;
    margin-left: clamp(20px, 2.5rem, 40px);
    padding: 0;
  }

  .bar__nav-menu ul li::before {
    display: none;
  }

  .bar__nav-menu ul li a {
    color: var(--text-color-accent);
    font-size: clamp(14px, 1.125rem, 18px);
  }

  .bar__button {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
  }
}

@media screen and (max-width: 950px) {
  header {
    width: 100%;
    padding: 15px 0;
    background: var(--bg-color-accent);
    transition: all .2s ease-in-out;
    position: fixed;
    top:0;
    left: 0;
    z-index: 9999;
  }

  .bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
  }

  .bar__logo {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
  }

  .bar__logo-item {
    margin: 0 10px;
  }

  .bar__logo-item:last-child {
    margin-right: 0;
  }

  .bar__logo-item img {
    width: auto;
    height: 100%;
    max-height: 40px;
  }

  .bar__mobile-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .bar__nav {
    width: inherit;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .bar__nav-menu-logo {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    padding: 20px;
    margin-bottom: 10px;
  }

  .bar__nav-menu-logo a {
    display: block;
    text-decoration: none;
    margin-right: 10px;
  }

  .bar__nav-menu-logo a img {
    width: auto;
    height: 40px;
  }

  .bar__nav-menu {
    width: 100%;
  }

  .bar__nav-menu ul {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
  }

  .bar__nav-menu ul li {
    list-style-type: none;
    margin: 0;
    padding: 10px 15px;
  }

  .bar__nav-menu ul li::before {
    display: none;
  }

  .bar__nav-menu ul li a {
    color: var(--text-color-accent);
    font-size: clamp(14px, 1.125rem, 18px);
  }

  .bar__button {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
  }
}