@import "../variables";
@import "../utilities";

.system-vermine2047 .vermine2047.actor {
  .totem-details {
    position: relative;

    img.img-totem {
      transform-origin: 50% 50%;
      filter: grayscale(1);
      opacity: 0.15;
      position: absolute;
      width: 30%;
      height: auto;
      pointer-events: none;
      aspect-ratio: 1/1;
      left: 35%;
    }
  }

  div.minor-totems {
    position: relative;
    background-color: rgba(146, 156, 111, 0.5215686275);

    h5 {
      position: absolute;
      top: 0;

      img {
        max-width: 2rem;
        position: absolute;
        bottom: -2rem;
      }

      &.human, &.adapted {
        .transition(0.3s);
      }

      &.human img.img-totem,
      &.adapted img.img-totem {
        filter: drop-shadow(0px 0px 20px rgb(0, 0, 0));
      }

      &.human.major,
      &.adapted.major {
        transform: scale(1.1);
      }

      &.human.major img,
      &.adapted.major img {
        filter: drop-shadow(0px 0px 10px red);
      }
    }

    .totem-dice {
      .human-dice,
      .adapted-dice {
        display: flex;
        flex-direction: row;
        margin-left: 2rem;
      }

      .human-dice i,
      .adapted-dice i {
        padding-top: 0.5rem;
        color: @totem-human-color;
        position: relative;
        z-index: 0;
        pointer-events: none;
      }

      .adapted-dice {
        justify-content: flex-end;
        margin-left: 0;
        margin-right: 2rem;
        transform: rotate(180deg);
      }

      .adapted-dice i {
        transform: rotate(180deg);
        padding-top: 0.5rem;
        color: @totem-adapted-color;
      }
    }

    .human {
      left: 0;
      img { left: 0; }
    }

    .adapted {
      right: 0;
      img { right: 0; }
    }
  }
}
