/* Impostazioni generali */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  color: #f3f3f3;

  background-image:
    radial-gradient(
      circle at top,
      rgba(27, 27, 27, 0.45) 0%,
      rgba(8, 8, 8, 0.65) 45%,
      rgba(0, 0, 0, 0.8) 100%
    ),
    url("images/sfondo.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}


/* Parte superiore */

.hero {
  position: relative;
  width: 100%;
  min-height: 310px;
  padding: 55px 30px 30px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  border-bottom: 1px solid #383838;
}
.telar-image {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
  margin: 30px auto 30px;
}

/* Logo in alto a sinistra */

.logo-button {
  position: fixed;
  top: 25px;
  left: 30px;
  width: 105px;
  height: 105px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.logo-image {
  width: 100%;
  height: 100%;
    object-fit: cover;
  border-radius: 50%;
  transition: transform 0.25s ease;
}

.logo-button:hover .logo-image {
  transform: scale(1.05);
}

.logo-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 5px;
}
.logo-image {
  border-radius: 50%;
}

/* Testo introduttivo */

.intro-container {
  width: min(850px, 100%);
  padding: 0 120px;
  text-align: center;
}

.intro-text {
  margin: 0;
  font-size: 24px;
  line-height: 1.65;
  letter-spacing: 0.3px;
}


/* Contenuto principale */

.main-content {
  width: 100%;
  padding: 55px 25px 80px;
}

.button-container {
  width: min(680px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}


/* Pulsanti */

.menu-button {
  min-height: 72px;
  padding: 18px 25px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid #4a4a4a;
  border-radius: 6px;
  color: #ffffff;
  background-color: #1c1c1c;
  text-decoration: none;
  font-size: 21px;
  letter-spacing: 0.4px;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.menu-button:hover {
  transform: translateY(-2px);
  border-color: #9e1b1b;
  background-color: #281313;
}

.menu-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.button-number {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #9e1b1b;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: bold;
}


/* Pulsante segreto */

.secret-button {
  display: none;
  border-color: #9e1b1b;
  background-color: #241111;
}

.secret-button.visible {
  display: flex;
  animation: revealButton 0.55s ease;
}

@keyframes revealButton {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.final-message {
  margin: 90px auto 40px;
  text-align: center;
  font-size: 2rem;
  font-style: italic;
  font-weight: bold;
  color: #e8e8e8;
  letter-spacing: 2px;
  line-height: 1.8;
  opacity: 0.95;
  max-width: 900px;
}


/* Versione per telefoni e schermi piccoli */

@media (max-width: 800px) {

  .hero {
    min-height: auto;
    padding: 145px 22px 35px;
  }

  .logo-button {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
  }

  .intro-container {
    padding: 0;
  }

  .intro-text {
    font-size: 19px;
    line-height: 1.55;
  }

  .main-content {
    padding: 35px 18px 60px;
  }

  .menu-button {
    padding: 16px;
    font-size: 18px;
  }
/* Archivio discratotelico */

.archive-content {
  padding: 26px;
}

.archive-introduction {
  margin: 0 0 25px;
  color: #bdbdbd;
  font-style: italic;
  text-align: center;
}

.archive-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.archive-item {
  width: 100%;
}

.archive-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 17px 20px;
  border: 1px solid #494949;
  border-left: 4px solid #8f1e1e;
  border-radius: 4px;
  background-color: #191919;
  color: #eeeeee;
  font-family: inherit;
  font-size: 19px;
  font-weight: bold;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.archive-button:hover {
  border-color: #9e1b1b;
  border-left-color: #c63b3b;
  background-color: #241414;
}

.archive-button[aria-expanded="true"] {
  border-color: #8f1e1e;
  background-color: #2a1515;
}

.archive-symbol {
  flex-shrink: 0;
  margin-left: 20px;
  font-family: Arial, sans-serif;
  font-size: 27px;
  font-weight: normal;
  transition: transform 0.25s ease;
}

.archive-button[aria-expanded="true"] .archive-symbol {
  transform: rotate(45deg);
}

.archive-panel {
  overflow: hidden;
}

.archive-text {
  margin: 6px 0 10px;
  padding: 22px 25px;
  border: 1px solid #383838;
  border-top: none;
  background-color: #111111;
  color: #dddddd;
  animation: openArchivePanel 0.3s ease;
}

.archive-text p {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.7;
}

.archive-text ol,
.archive-text ul {
  margin: 0;
  padding-left: 25px;
}

.archive-text li {
  margin-bottom: 16px;
  padding-left: 5px;
  font-size: 17px;
  line-height: 1.7;
}

.archive-text li:last-child {
  margin-bottom: 0;
}

.archive-text ul {
  margin-top: 14px;
}

.archive-text strong {
  color: #d35a5a;
}

.archive-text em {
  color: #efc9c9;
}

.censored-text {
  color: #d03535;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes openArchivePanel {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 600px) {
  .archive-content {
    padding: 18px 12px;
  }

  .archive-button {
    padding: 15px;
    font-size: 17px;
  }

  .archive-text {
    padding: 19px 16px;
  }

  .archive-text p,
  .archive-text li {
    font-size: 16px;
    line-height: 1.6;
  }
}
}