@font-face {
  font-family: "DeutscheBank";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/DeutscheBank-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "DeutscheBank";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/DeutscheBank-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "DeutscheBank";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/DeutscheBank-ExtraBold.ttf") format("truetype");
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "DeutscheBank", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: #ffffff;
  background: #0b1230 url("../images/sfondo-orizzontale.jpg") center center/cover no-repeat;
  background-attachment: fixed;
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
}

@supports (-webkit-touch-callout: none) {
  body {
    background-attachment: scroll;
  }
}
img {
  display: block;
  height: auto;
}

.volantino {
  position: relative;
  width: 90%;
  max-width: 560px;
  margin: 24px 0;
}

.loghi {
  position: absolute;
  right: 100%;
  bottom: 100%;
  transform: translateX(0.5424954792%) translateY(16.7597765363%);
  line-height: 0;
}

.loghi__img {
  width: 220px;
}

.riquadro {
  background: rgba(25, 50, 129, 0.86);
  color: #ffffff;
  padding: clamp(28px, 6vw, 48px) clamp(24px, 5vw, 44px);
}

.riquadro__titolo {
  font-weight: 800;
  font-size: clamp(22px, 4.5vw, 32px);
  line-height: 1.08;
  margin-bottom: 0.85em;
}

.riquadro__testo {
  font-size: clamp(15px, 3vw, 18px);
  line-height: 1.35;
  margin-bottom: 1.4em;
}

.riquadro__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.6em 1.4em;
  border: 2px solid #35b9e5;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font-family: "DeutscheBank", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(13px, 2.8vw, 15px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: 1.4em;
  transition: background 0.2s, color 0.2s;
}
.riquadro__cta:active {
  background: #35b9e5;
  color: #0b1230;
}
@media (hover: hover) {
  .riquadro__cta:hover {
    background: #35b9e5;
    color: #0b1230;
  }
}

.riquadro__saluto {
  font-size: clamp(15px, 3vw, 18px);
  line-height: 1.35;
}

.riquadro__firma {
  margin-top: 1.6em;
}

.firma__dedica {
  display: block;
  font-weight: 400;
  font-size: clamp(14px, 3.2vw, 19px);
  color: #35b9e5;
  line-height: 1.2;
}

.firma__nome {
  display: block;
  font-weight: 700;
  font-size: clamp(15.5px, 3.54vw, 21px);
  line-height: 1.2;
}

.pie {
  width: 90%;
  max-width: 560px;
  padding: 20px 0 24px;
  text-align: center;
}

.pie__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
}

.pie__link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 8px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.pie__link:active {
  color: #ffffff;
}

@media (max-width: 960px) {
  html {
    --w: 100vw;
    --u: calc(var(--w) / 420);
  }
  .volantino {
    width: var(--w);
    max-width: none;
    margin: 0;
  }
  .loghi {
    position: static;
    transform: none;
    margin-left: calc(var(--u) * 20.8788426763);
    margin-bottom: calc(var(--u) * -8.7884267631);
  }
  .loghi__img {
    width: calc(var(--u) * 162);
  }
  .riquadro {
    margin-left: calc(var(--u) * 182);
    width: calc(var(--u) * 224);
    padding: calc(var(--u) * 18);
  }
  .pie {
    width: var(--w);
    max-width: none;
    padding-left: 16px;
    padding-right: 16px;
  }
}
.pagina--legale {
  background: #f2f3f7;
  color: #1a1a2e;
  color-scheme: light;
  justify-content: flex-start;
}
.pagina--legale .loghi-legale {
  background: #193281;
  width: 100%;
  padding: 18px 20px;
  display: flex;
  justify-content: center;
}
.pagina--legale .loghi-legale__img {
  width: 160px;
}
.pagina--legale .pie__link {
  color: rgba(26, 26, 46, 0.7);
  text-shadow: none;
}
.pagina--legale .pie {
  width: 100%;
  max-width: none;
}

.legale {
  width: 100%;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.legale__testo {
  width: 100%;
  max-width: 680px;
  padding: 28px 20px 36px;
  font-size: 16px;
  line-height: 1.55;
}
.legale__testo h2 {
  font-size: 19px;
  font-weight: 700;
  color: #193281;
  margin: 1.6em 0 0.5em;
}
.legale__testo h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 1.3em 0 0.4em;
}
.legale__testo p, .legale__testo ul, .legale__testo ol {
  margin-bottom: 0.9em;
}
.legale__testo ul, .legale__testo ol {
  padding-left: 1.4em;
}
.legale__testo a {
  color: #193281;
  overflow-wrap: anywhere;
}
.legale__testo a.pulsante--secondario {
  color: #ffffff;
}

.legale__titolo {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  color: #193281;
  margin-bottom: 0.4em;
}

.legale__data {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 1.4em;
}

.legale__torna {
  margin-top: 2em;
  text-align: center;
}

.pulsante--secondario {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.55em 1.4em;
  border: 2px solid #193281;
  border-radius: 0;
  background: #193281;
  color: #ffffff;
  font-family: "DeutscheBank", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}
.pulsante--secondario:active {
  background: #0f1f57;
  border-color: #0f1f57;
}

.legale__tabella {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 0.4em 0 1.2em;
}
.legale__tabella th, .legale__tabella td {
  text-align: left;
  padding: 5px 8px;
  border-bottom: 1px solid rgba(26, 26, 46, 0.12);
  vertical-align: top;
}
.legale__tabella th {
  font-weight: 700;
  color: #193281;
  border-bottom-color: #193281;
}
.legale__tabella td:nth-child(2) {
  white-space: nowrap;
}
