@media (max-width: 768px) {
.anchors ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
  justify-content: center;
}

.anchors li {
  flex: 1 1 auto;
}

.anchors a {
  display: block;
  text-align: center;
  font-size: 14px;
  padding: 12px 16px;
  background-color: #f6f6f6;
  white-space: nowrap;
  transition: all 0.2s ease;
}

}

.anchors ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 20px auto 40px auto;
  max-width: 1280px;
  padding: 0 20px;
  gap: 15px;
}

@media (max-width: 520px) {
  .anchors a{
    font-size: 14px;
  }
}

.anchors a {
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 2.5px;
  transition: all 0.3s ease;
  background-color: #f5f5f5;
}

.anchors a:hover {
  background-color: black;
  color: white;
}