﻿.categories {
  width: 90%;
  border-radius: 40px;
  max-width: 800px;
  min-height: 500px;
  justify-content: space-between;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  background-color: var(--3-light-primary-color);
}

.category-wrapper {
  width: 100%;
}


.category {
  width: 100%;
  margin-bottom: 10px;
}

.category-header {
  width: 100%;
  padding: 20px;
  font-weight: bold;
  text-align: left;
  color: var(--dark-text-color);
  background-color: var(--3-light-primary-color);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.category-header--selected {
  background-color: var(--light-primary-color);
}

.category-header:hover {
  background-color: var(--light-primary-color);
}

.category-content {
  background-color: var(--light-primary-color);
  padding: 20px;
  border-radius: 0 0 5px 5px;
}


.category-item {
  background-color: var(--3-light-primary-color);
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}


.category-item:hover {
  scale: 102%;
}

.category-item--heading {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tags {
  display: flex;
  gap: 5px;
}

.tag {
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  background-color: var(--2-light-primary-color);
}

@media (max-width: 768px) {
  .tags {
    display: none;
  }
}
