.Activities {
  display: flex;
  flex-direction: column;
  max-width: 30vw;
  flex-wrap: wrap;
  justify-content: left;
  align-items: left;
  z-index: 1000;
  max-height: 100vh;
  pointer-events: none;
  margin-bottom: 0.5rem;
}

.Activities .Resource {
  width: 3em; /* 5x7 aspect ratio */
  height: 5.2em;
}

.Activities .Who {
  margin-right: 0.25rem;
}

.Activities .PlayerColor {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  padding: 0;
  margin: 0 0.2rem;
}

.Activities > div {
  padding: 0.25rem 0.5rem;
  display: flex;
  align-items: center;
}

.Activities > div.Go {
  background-color: rgba(36, 148, 46, 0.5);
  filter: drop-shadow(0px 0px 10px rgb(54, 219, 68));
}

.Activities > div.Requirement {
  background-color: rgba(219, 208, 54, 0.5);
  filter: drop-shadow(0px 0px 10px rgb(219, 208, 54));
}

.Activities b,
.Activities .Dice {
  margin-left: 0.25em;
}

.Activities b {
  margin-right: 0.25em;
}

.Activities > div:last-child {
  border-top: 1px solid black;
}

.Activity.open{
  opacity: 1;
}

.Activity.close{
  animation: bounce-out 1s ease-in;
}

@keyframes bounce-out{
  0%    {opacity: 1; }
  100%  {opacity: 0; };
}