#emergency-notice {
  background-color: rgb(244, 166, 0);
  box-shadow: inset 0px -6px 7px -2px rgba(0,0,0,0.25);
  overflow: hidden;
  background: linear-gradient(90deg, rgba(244,166,0,1) 0%, rgba(255,244,0,1) 50%, rgba(244,166,0,1) 100%);
}


#emergency-notice>div {
  max-width: min(85ch, calc(100% - 1rem));
  margin-inline: auto;
  margin-block: .5rem;
  padding: .5rem 1.5rem;
  display: flex;
  gap: .8rem;
  flex-direction: column;
  position: relative; 

}

@media (prefers-reduced-motion: no-preference){
  #emergency-notice>div {
    animation: notice_up 400ms ease-in;
  }
}

@keyframes notice_up {
  0% {
    translate: 0 7rem;
    scale: 50% 1;
  }

  100% {
    translate: 0 0;
    scale: 100% 1;
  }
}

#emergency-notice > div > * {
  margin-bottom: 0;
  width: fit-content;
  color: black;
}

#emergency-notice h2 {
	font-size: clamp(.9rem, 4vw ,2rem);
  text-wrap: balance;
  line-height: 1.1;
}


#emergency-notice p {
	font-size: clamp(.9rem, 3.5vw ,1.2rem);
  text-wrap: pretty;
}
