@charset "UTF-8";

/*Миксины*/

.aside_menu a {
  position: relative;
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
}

.aside_menu a span {
  position: relative;
  z-index: 1;
}

.aside_menu a::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 8px;
  background: var(--violet);
  opacity: 0;
  -webkit-transform: translate(-50%, -50%) scale(0.8, 0.2);
      -ms-transform: translate(-50%, -50%) scale(0.8, 0.2);
          transform: translate(-50%, -50%) scale(0.8, 0.2);
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
}

.aside_menu a.active,
.aside_menu a:hover {
  color: var(--violet);
}

.aside_menu a.active::before,
.aside_menu a:hover::before {
  opacity: 0.1;
  -webkit-transform: translate(-50%, -50%) scale(1, 1);
      -ms-transform: translate(-50%, -50%) scale(1, 1);
          transform: translate(-50%, -50%) scale(1, 1);
}