.container {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.container a {
  flex-shrink: 0;
  width: inherit;
}

@media screen and (max-width: 576px) {
  .container {
    justify-content: flex-start;
  }
}