/* Copyright 2023 @miya7090 */

#notifBox {
  position: absolute;
  top: 20px;
  right: 100px;
  width: 330px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 5px 2px rgba(255, 255, 255, 0.3);
  pointer-events: none;

  display: none;
  z-index: 50;
}

body.portrait #notifBox {
  zoom: 2.1;
  top: 190px;
  right: 0px;
}

#notifBox[p1='true'] span {
  color: var(--p1PassiveTextColor);
}

#notifBox[p1='false'] span {
  color: var(--p2PassiveTextColor);
}

#notifBox[p1='true'] #notifIconBacking {
  opacity: 0.8;
  filter: invert(13%) sepia(100%) saturate(7473%) hue-rotate(359deg)
    brightness(101%) contrast(104%) blur(10px);
}

#notifBox[p1='false'] #notifIconBacking {
  opacity: 0.8;
  filter: invert(26%) sepia(99%) saturate(4297%) hue-rotate(209deg)
    brightness(108%) contrast(102%) blur(10px);
}

#notifIcon {
  pointer-events: none;
  filter: invert(1);
  position: relative;
  top: 0px;
  right: 70px;
  width: 60px;
  height: 60px;
}

#notifIconBacking {
  pointer-events: none;
  position: relative;
  top: 0px;
  right: 130px;
  width: 60px;
  height: 60px;
}

#notifText {
  font-size: 14px;

  height: 60px;

  display: table-cell;
  vertical-align: middle;
  width: 320px;

  transform: translateY(-64px) translateX(10px);
}

#dialogueBox {
  margin-top: 7px;
  margin-left: 5px;
  margin-right: 10px;
  background-color: rgba(0, 0, 0, 0.545);
  border-radius: 5px;
  box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.6);
  padding: 8px;
  height: fit-content;

  display: none;
  z-index: 50;
}

body.portrait #dialogueBox {
  visibility: hidden;
}

#dialogueText {
  font-size: 15px;
  color: white;
  text-shadow: 0px 0px 3px black, 0px 0px 6px black, 0px 0px 12px black;
}
