/* ---------- Reset minimo ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

@font-face {
  font-family: "Bahnschrift";
  src: url("Font/bahnschrift.ttf") format("truetype-variations");
  font-weight: 100 700;
  font-style: normal;
}

/* ---------- Base ---------- */
body {
  min-height: 100vh;
  min-height: 100dvh;
  background: url('background.jpg') center center no-repeat #fff;
  background-size: cover;
  color: #303030;
  font-family: "Bahnschrift";
  -webkit-font-smoothing: antialiased;
}

/* ---------- Contenitore flex ---------- */
.wrapper {
  height: 100vh;
  width: min(364px, 100%);
  padding-inline:2rem;
  display: flex;
  margin:0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
  border-left:2px solid #ccc;
  border-right:2px solid #ccc;
  background-color:white;
}

/* ---------- Elementi ---------- */
.logo {
  display: block;
  width: auto;
  max-width: 300px;
  height: auto;
}

.title {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: none;
  line-height: 1;
}

.email {
  color: #777777;
}

.email a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.email a:hover,
.email a:focus-visible {
  color: #303030;
  border-bottom-color: #303030;
}

.email a:focus-visible {
  outline: 2px solid #303030;
  outline-offset: 4px;
  border-bottom-color: transparent;
}

/* ---------- Accessibilità ---------- */
@media (prefers-reduced-motion: reduce) {
  .email a {
    transition: none;
  }
}
