:root {
  --real100vh: 100vh;
}
.notice-bar {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
}
.notice-bar.animate {
  opacity: 0;
  animation: fade-in var(--animation-speed) ease-in-out var(--animation-delay) 1 forwards;
}
.notice-bar.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}
.notice-bar.fixed-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}
.notice-bar.scroll-top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0px;
}
.notice-bar.scroll-bottom {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--real100vh) - 50px);
}
.notice-bar .wrapper {
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  color: var(--color-text);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}
.notice-bar .bar {
  display: flex;
  align-items: center;
}
.notice-bar .close {
  position: absolute;
  height: 40px;
  width: 20px;
  top: 0;
  right: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.notice-bar .close::before,
.notice-bar .close::after {
  content: '';
  height: 3px;
  width: 100%;
  background-color: var(--color-text);
  position: absolute;
}
.notice-bar .close::before {
  transform: rotate(45deg);
}
.notice-bar .close::after {
  transform: rotate(-45deg);
}
.notice-bar p {
  font-size: 21.6px;
  color: var(--color-text);
  text-align: center;
}
.notice-bar a {
  font-weight: normal;
}
.notice-bar a:not(.link-wrapper) {
  text-decoration: underline;
}
.notice-bar .button {
  background-color: var(--color-button-bg)!important;
  color: var(--color-button-text)!important;
  border: 0;
  border-radius: 4px;
  margin-left: 10px;
  text-transform: none;
  cursor: pointer;
  transition: .5s
}
.notice-bar .button:hover {
  filter: brightness(0.95);
}

@media screen and (max-width: 500px) {
  .notice-bar p {
    font-size: 14px;
    line-height: 1;
  }
}


@keyframes fade-in {
  0% {opacity:0}
  100% {opacity:1}
}
