.messenger {
  left: 10px;
  width: 350px;
  position: fixed;
  z-index: 250;
  bottom: 10px;
  pointer-events: none;
  overflow: hidden;
  text-align: center;
}
.messenger > div {
  padding: 6px 14px;
  margin-top: 2px;
  min-height: 60px;
  -webkit-border-radius: 4px;
          border-radius: 4px;
  /* border: 1px solid rgba(0, 0, 0, 0.85); */
  background-color: rgba(0, 0, 0, 0.5);
  color: #f0f0f0;
  pointer-events: auto;
  cursor: pointer;
  position: relative;
}
.messenger > div:hover {
  background-color: rgba(0, 0, 0, 0.55);
  color: #ffffff;
}
.messenger > div.removing {
  opacity: 0;
  -webkit-transition: opacity;
  -o-transition: opacity;
  transition: opacity;
  -webkit-transition-timing-function: ease-out;
       -o-transition-timing-function: ease-out;
          transition-timing-function: ease-out;
}
.messenger > div.removing.short {
  -webkit-transition-duration: 0.1s;
       -o-transition-duration: 0.1s;
          transition-duration: 0.1s;
}
.messenger > div.removing.long {
  -webkit-transition-duration: 2s;
       -o-transition-duration: 2s;
          transition-duration: 2s;
}
.messenger > div > .close {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 16px;
  height: 16px;
  z-index: 300;
}
.messenger > div > .close::before,
.messenger > div > .close::after {
  content: "";
  position: absolute;
  width: 3px;
  left: 50%;
  top: 0;
  bottom: 0;
  transform: translateX(-50%) rotateZ(-45deg);
  background-color: rgb(207, 207, 207);
}
.messenger > div > .close::after {
  transform: translateX(-50%) rotateZ(45deg);
}
.messenger > div > .close:hover::before,
.messenger > div > .close:hover::after {
  background-color: white;
}
@media (max-width: 586px) {
  .messenger {
    left: 0;
    bottom: 0;
    width: 100%;
  }
  .messenger > div {
    margin: 5px 10px;
  }
}
@media (min-width: 587px) and (max-width: 1151px) {
  .messenger {
    left: 0;
    bottom: 0;
    width: 450px;
  }
  .messenger > div {
    margin: 5px 10px;
  }
}
