@import './variables.css';
#notice-container {
  position: fixed;
  top: var(--wall-gap);
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
}
#notice-container * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#notice-container.contained {
  position: absolute;
}

#notice-container.top-left {
  flex-direction: column-reverse;
}

#notice-container.top-center {
  left: 50%;
  translate: -50% 0;
  flex-direction: column-reverse;
}

#notice-container.top-right {
  left: unset;
  right: var(--wall-gap);
  flex-direction: column-reverse;
}

#notice-container.bottom-left {
  top: unset;
  bottom: var(--wall-gap);
}

#notice-container.bottom-center {
  top: unset;
  bottom: var(--wall-gap);
  left: 50%;
  translate: -50% 0;
}

#notice-container.bottom-right {
  left: unset;
  top: unset;
  bottom: var(--wall-gap);
  right: var(--wall-gap);
}

#notice-container .notification {
  background-color: var(--light-background-color);
  color: var(--light-text-color);
  box-shadow: 0px 16px 34px -7px rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  padding: 18px;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  opacity: 0;
  translate: 0 -100%;
  margin-inline: var(--wall-gap);
  transition: opacity 300ms, translate 300ms;
}
#notice-container .notification .notification-icon {
  width: 34px;
  height: 34px;
}
#notice-container .notification p {
  font-size: 24px;
  font-weight: 300;
  width: 100%;
  min-width: min-content;
}
#notice-container .notification .notification-close-icon {
  height: 34px;
  width: 34px;
  position: relative;
  cursor: pointer;
}
#notice-container .notification .notification-close-icon svg path {
  stroke: var(--light-text-color);
}
#notice-container .notification .notification-close-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 0%;
  height: 0%;
  background-color: var(--light-text-color);
  border-radius: 50%;
  opacity: 0.1;
  transition: width 200ms, height 200ms;
}
#notice-container .notification .notification-close-icon:hover::before {
  width: 120%;
  height: 120%;
}

#notice-container.dark .notification {
  background-color: var(--dark-background-color);
  color: var(--dark-text-color);
}
#notice-container.dark .notification .notification-close-icon svg path {
  stroke: var(--dark-text-color);
}
#notice-container.dark .notification .notification-close-icon::before {
  background-color: var(--dark-text-color);
}

#notice-container.bottom-right .notification,
#notice-container.bottom-center .notification,
#notice-container.bottom-left .notification {
  translate: 0 100%;
}

#notice-container.slide-up .notification {
  translate: 0 100%;
}

#notice-container.slide-down .notification {
  translate: 0 -100%;
}

#notice-container.slide-left .notification {
  translate: 100% 0;
}

#notice-container.slide-right .notification {
  translate: -100% 0;
}

#notice-container .notification.show {
  opacity: 1;
  translate: 0 0;
}