.nav {
  display: flex;
  align-items: center;
  gap: 4rem;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.6rem;
  margin: 0 12px;
}

.rating {
  margin-right: 12px;
}   

.lang-switch{
  font-weight: bold;
  font-size: 1.2em;
}

  .lang-switch a{
    color: #ff6900;
  }


@media (max-width: 768px) {
  .nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    gap: 2rem;
    max-width: 234px;
    margin: 2.9rem auto 3.6rem;
  }
  .nav .menu-item:nth-child(2n - 2) {
    justify-self: right;
  }

  .rating {
    margin-right: 0;
  }  

  .lang-switch{
    font-size: 1em;
  }

}

.menu-item a {
  color: #000;
  white-space: nowrap;
  transition: 0.3s;
}

.menu-item a:hover {
  color: var(--primary);
}
