.tags {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
  margin: 20px 0;
}

.tag {
  max-width: 100%;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--secondary);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
  font-weight: 500;
}

.tag:hover, .tag[data-active] {
  background: var(--light-gray);
  filter: brigtness(90%);
}

.tag[data-keyword=catalysis] {
  background: #004a99;
  color: white;
}

.tag[data-keyword=sensor] {
  background: #28a745;
  color: white;
}

.tag[data-keyword=battery] {
  background: #fd7e14;
  color: white;
}

.tag[data-keyword=functional-semiconductor] {
  background: #6f42c1;
  color: white;
}

.tag[data-keyword=functional-materials] {
  background: #6f42c1;
  color: white;
}

/*# sourceMappingURL=tags.css.map */