.creastina-sidebar {
  display: flex;
  flex-direction: column;
  margin-right: auto;
}

.creastina-sidebar__header {
  display: flex;
  width: auto;
  padding: 0.75rem;
  gap: 0.5rem;
  background: var(--accent-1-color);
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  font: var(--heading-1);
  align-items: center;
  color: var(--background-color);

  svg {
    height: 2rem;
    width: 2rem;
  }
}

.creastina-sidebar__content {
  display: flex;
  flex-direction: column;
  background: var(--accent-2-color);
}

.creastina-sidebar__item {
  font: var(--sidebar-item);
  color: var(--text-color);
  transition: all 0.3s;
  padding: 0.75rem 1rem 0.75rem 3.25rem;
  cursor: pointer;
  position: relative;

  &::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 50%;
    transform: translateY(75%) rotate(0deg);
    display: block;
    width: 2rem;
    height: 2rem;
    background-color: var(--accent-2-color);
    border-top-right-radius: 1rem;
    transition: all 0.3s;
    transform-origin: bottom right;
    z-index: -1;
  }

  &:hover,
  &.is--active {
    &::after {
      transform: translateY(75%) rotate(45deg);
    }
  }
}

.creastina-sidebar__button {
  background: var(--accent-2-color);
  border: none;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  box-shadow: none;
  outline: none;
  cursor: pointer;
  color: var(--text-color);
  font: var(--sidebar-item);
  padding: 0.5rem 1rem;
  transition: all 0.3s;
  display: flex;
  gap: 1rem;
  align-items: end;
  border-top: 0.125rem solid var(--accent-1-color);

  svg {
    height: 1.25rem;
    width: 1.25rem;
  }
}
