@font-face {
  font-family: "Syne";
  src: url("Syne-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

/* L'effetto appartiene a questo div, non al body. */
#matrix-background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #020704 url("bg.png") center center / cover no-repeat;
  isolation: isolate;
  pointer-events: none;
}

#matrix-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

#center-title {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 0.8;
  width: calc(100% - 32px);
  max-width: 1100px;
  background: none;
 
  color: #ffffff;
  font: 800 clamp(1rem, 6vw, 5rem)/1.15 "Syne", Arial, sans-serif;
  text-align: center;
  white-space: nowrap;
}

#top-bar,
#bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 6px;
  color: #000000;
  background-color: #ffffff;
  font: 16px/1.5 "Segoe UI", Arial, sans-serif;
}

#menu-separator {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  overflow: hidden;
  background-color: #800000;
  z-index: 10;
}

#top-bar {
  top: 2px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  color: #ffffff;
  background-color: #000000;
}

#top-bar button,
#top-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 0;
  min-height: 36px;
  margin: 0;
  border: 0;
  padding: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

#top-bar button:hover,
#top-bar a:hover,
#top-bar button:focus-visible,
#top-bar a:focus-visible {
  background-color: #333333;
}

#top-bar button:focus-visible,
#top-bar a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -2px;
}

#bottom-bar {
    bottom: 0;
    color: #5e2727;
    background-color: #000000;
    text-align: center;
}
#bottom-bar-text-1 {
  
    color: #5e2727;
    background-color: #000000;
    text-align: center;
}

#bottom-bar-text-2 {
  display: block;
  font-size:9px;
    color: #5e2727;
    background-color: #000000;
    text-align: center;
}

#bottom-links {
  display: block;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.6;
  color: #aaaaaa;
}

#bottom-links a {
  color: inherit;
  text-decoration: none;
}

#bottom-links a:hover,
#bottom-links a:focus-visible {
  color: #ffffff;
}

.information-page {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: 780px;
  margin: 70px auto 120px;
  padding: clamp(20px, 4vw, 36px);
  color: #eeeeee;
  background-color: rgba(0, 0, 0, 0.85);
  font: 16px/1.65 "Segoe UI", Arial, sans-serif;
  overflow-wrap: anywhere;
}

.information-page h1 {
  margin: 0 0 24px;
  font: 800 clamp(1rem, 6vw, 3rem)/1.2 "Syne", Arial, sans-serif;
  overflow-wrap: anywhere;
}

.information-page h2 {
  margin: 28px 0 8px;
  font-size: 20px;
  line-height: 1.4;
}

.information-page p {
  margin: 0 0 16px;
}

.information-page a {
  color: #afffc5;
  text-underline-offset: 3px;
}

.information-page .draft-notice {
  padding: 12px 16px;
  border-left: 3px solid #800000;
  background: rgba(255, 255, 255, 0.06);
}

#contact-form {
  display: grid;
  gap: 10px;
  min-width: 0;
}

#contact-form label { font-weight: 600; }
#contact-form[hidden] { display: none; }
#contact-form label span { font-weight: 400; color: #bbbbbb; }

#contact-form input,
#contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid #777777;
  border-radius: 4px;
  background: #111111;
  color: #ffffff;
  font: inherit;
}

#contact-form textarea { resize: vertical; }
#contact-form input:focus-visible,
#contact-form textarea:focus-visible,
#contact-submit:focus-visible { outline: 2px solid #afffc5; outline-offset: 2px; }

#contact-submit {
  justify-self: start;
  padding: 10px 20px;
  border: 1px solid #afffc5;
  border-radius: 4px;
  background: #afffc5;
  color: #020704;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

#contact-submit:hover:not(:disabled) { background: #d4ffe2; }
#contact-submit:disabled { opacity: 0.55; cursor: not-allowed; }
#contact-form[aria-busy="true"] { cursor: progress; }
#contact-privacy { font-size: 14px; color: #bbbbbb; }
#contact-status { min-height: 1.65em; }
#contact-status:focus { outline: none; }
#contact-status[data-state="error"] { color: #ffb7b7; }
#contact-status[data-state="success"] { color: #afffc5; }

#contact-form .contact-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  pointer-events: none;
}
