:root {
  --font-bangers: 'Bangers', cursive;
}

.card-section.profile {
  font-family: var(--font-bangers), cursive;
}

.interests-box, .top-interests-box {
  margin: 20px 0;
  /* flex: 0 1 45%; */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 25px;
}

.interests-box {
  background-color: #e3f2fd;
  border: 2px solid #90caf9;
}

.top-interests-box {
  background-color: #e8f5e9;
  border: 2px solid #81c784;
}

.interests-box h5,
.top-interests-box h5 {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: #333333;
  border-bottom: 3px solid currentColor;
  padding-bottom: 8px;
  letter-spacing: 1px;
}

.interests-list,
.top-interests-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.interest-item {
  background-color: #ffffff;
  margin-bottom: 12px;
  padding: 16px;
  border-radius: 8px;
  text-align: left;
  font-size: 14px;
  border: 1px solid #90caf9;
  display: flex;
  gap: 12px;
  transition: transform 0.2s;
}

.interest-item.interest-top {
  background-color: #bbdefb;
  font-size: 16px;
  font-weight: 700;
  transform: scale(1.05);
  border: 2px solid #42a5f5;
}

.interest-item::before {
  content: counter(item) ".";
  counter-increment: item;
  font-weight: bold;
  color: #42a5f5;
}

.interests-list {
  counter-reset: item;
}

.top-interest-item {
  display: flex;
  justify-content: space-between;
  background-color: #ffffff;
  margin-bottom: 12px;
  padding: 16px;
  border-radius: 8px;
  font-size: 16px;
  border: 1px solid #81c784;
  transition: transform 0.2s;
}

.top-interest-item.top-interest-top {
  background-color: #c8e6c9;
  font-size: 16px;
  font-weight: 700;
  transform: scale(1.05);
  border: 2px solid #388e3c;
}


.top-interest-item::before {
  content: counter(topitem) ".";
  counter-increment: topitem;
  font-weight: bold;
  color: #388e3c;
  margin-right: 8px;
}

.top-interests-list {
  counter-reset: topitem;
}

.interest-percentage {
  color: #388e3c;
}
