#notificationBox {
  position: fixed;
  bottom: 10rem;
  right: 1rem;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  overflow: hidden;
  padding: 20px;
  max-width: 90vw;
  z-index: 10000;
}

.notificationShow {
  width: 400px;
  height: 80px;
  background: var(--primary-bg);
  font-weight: 500;
  margin: 15px 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 10px;
  transform: translateX(100%);
  animation: notificationShowMoveLeft 0.5s linear forwards;
  font-family: "AgencyFb";
  color: var(--primary-font-color);
  font-size: 1.9rem;
}

@keyframes notificationShowMoveLeft {
  100% {
    transform: translateX(0);
  }
}

.notificationShow svg {
  margin: 0 20px;
}

.notificationShow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  border-radius: 10px;
  animation: notificationShowAnimation 5s linear forwards;
}

.notificationShow.success::after {
  background: #008000;
}

.notificationShow.warning::after {
  background: #ffa500;
}

.notificationShow.error::after {
  background: #ff0000;
}

@keyframes notificationShowAnimation {
  100% {
    width: 0;
  }
}

@media (max-width: 700px) {
  #notificationBox {
    right: 0;
    padding-right: 0.5rem;
    max-width: 400px;
    width: 100vw;
  }

  .notificationShow {
    width: 100%;
    font-size: 1.4rem;
    padding: 1rem;
  }
}
