.top-menu {
  display: flex;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #fff;
  justify-content: flex-end;
  grid-gap: 10px;
}
.top-menu a {
  background: #c51515;
  padding: 5px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
}

.top-menu a:nth-child(1)::before {
  content: url(/img/phone-white.svg);
  margin-right: 5px;
  margin-top: 5px;
  display: flex;
}
.top-menu a:nth-child(2)::before {
  content: url(/img/local-white.svg);
  margin-right: 5px;
  margin-top: 5px;
}

.top-menu a:last-of-type {
  background: #0e9610;
  padding: 10px 20px;
  border-radius: 4px;
}

.top-menu a:last-of-type::before {
  content: url(/img/whats-minor.svg);
  margin-right: 5px;
  margin-top: 5px;
}

@media only screen and (min-width: 426px) and (max-width: 650px) {
  .top-menu {
    justify-content: center;
  }
}

@media only screen and (min-width: 390px) and (max-width: 425px) {
  .top-menu {
    justify-content: center;
  }

  .top-menu a {
    font-size: 0.8rem;
  }
}

@media only screen and (min-width: 343px) and (max-width: 389px) {
  .top-menu {
    justify-content: center;
  }

  .top-menu a {
    font-size: 0.8rem;
  }

  .top-menu a:last-of-type {
    padding: 5px 10px;
  }

  .top-menu a {
    padding: 2.5px 5px;
  }
}

@media only screen and (max-width: 342px) {
  .top-menu {
    justify-content: center;
  }

  .top-menu a {
    font-size: 0.8rem;
  }

  .top-menu a:last-of-type {
    padding: 5px 10px;
  }

  .top-menu a {
    padding: 2.5px 5px;
  }

  .top-menu a:nth-child(2) {
    display: none;
  }
}
