* {
  box-sizing: border-box;
}

html {
  background: #f8f7f4;
  color: #11100c;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: calc(24px + env(safe-area-inset-top)) calc(24px + env(safe-area-inset-right))
    calc(24px + env(safe-area-inset-bottom)) calc(24px + env(safe-area-inset-left));
  align-items: center;
  justify-content: center;
  background: #f8f7f4;
}

[hidden] {
  display: none !important;
}

.notice {
  --poster-width: min(
    calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 48px),
    420px
  );
  position: relative;
  isolation: isolate;
  width: var(--poster-width);
  aspect-ratio: 340 / 400;
  flex-shrink: 0;
  overflow: hidden;
}

.notice__paper {
  position: absolute;
  z-index: -1;
  inset: 2.5% 4.3% 3%;
  border: 1px solid #f9efcf;
  border-radius: calc(var(--poster-width) * 0.022);
  background: linear-gradient(154deg, #f8f2e3 0%, #f0e1bb 31%, #e9d39c 31.1%, #e6cc8d 100%);
  box-shadow:
    0 0 2px #fff8df,
    0 8px 20px #0d0b0759;
}

.notice__content {
  position: relative;
  padding: 10% 9% 0;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: calc(var(--poster-width) * 0.0735);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: break-word;
  white-space: pre-line;
}

html[lang="it"] h1 {
  margin-right: -4%;
  margin-left: -4%;
  padding-top: 4%;
  font-size: calc(var(--poster-width) * 0.048);
}

html[lang="de"] h1 {
  font-size: calc(var(--poster-width) * 0.0647);
}

html[lang="nl"] h1 {
  font-size: calc(var(--poster-width) * 0.0706);
}

.notice__date {
  max-width: 94%;
  margin: 6% auto 0;
  font-size: calc(var(--poster-width) * 0.0382);
  line-height: 1.3;
  text-wrap: balance;
}

.notice__community {
  margin: 6% auto 0;
  line-height: 1.3;
}

.notice__community a {
  display: inline-block;
  max-width: 100%;
  padding: 1.1% 2.5%;
  border: 1px solid #8c794b;
  border-radius: 999px;
  color: inherit;
  font-size: calc(var(--poster-width) * 0.0215);
  text-decoration: none;
  vertical-align: top;
}

.notice__community a[href]:hover {
  background: #fff3c755;
}

.notice__community a[href]:active {
  background: #b8984d33;
}

.notice__community a:focus-visible {
  outline: 2px solid #3f341c;
  outline-offset: 4px;
}

.notice__support {
  max-width: 88%;
  margin: 6% auto 0;
  font-size: calc(var(--poster-width) * 0.022);
  line-height: 1.4;
  text-wrap: balance;
}

html[lang="en"] .notice__support {
  max-width: 76%;
  text-align: center;
  text-wrap: wrap;
}

.notice__envelope {
  position: absolute;
  z-index: 1;
  right: 1%;
  bottom: 2.5%;
  left: 1%;
  width: 98%;
  height: auto;
  pointer-events: none;
}

.brand {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 9.5%;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand__logo {
  display: block;
  width: 50%;
  height: auto;
}
