/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

body{
  background: #fff; /* sfondo bianco "di base" */
  font-family: Helvetica, Arial, sans-serif; /* Gotham non è web-safe */
  color: #111;
  overflow: hidden;
}

/* Slideshow full screen */
.bg{
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #fff;
}

.bg-layer{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1200ms ease-in-out; /* dissolvenza */
  transform: scale(1.02);
}

.bg-layer.is-visible{ opacity: 1; }

/* Overlay contenuti */
.overlay{
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Header */
.top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 32px;
  gap: 24px;
}

/* Box testo in alto a sinistra */
.top-left{
  max-width: min(720px, 62vw);
  padding: 12px 14px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  border-radius: 3px;
}

.top-left h1{
  margin: 0 0 10px 0;
  font-size: 16px;
  line-height: 1.15;
}

.top-left p{
  margin: 0;
  font-size: 13px;
  line-height: 1.2;
}

/* Logo */
.logo{
  width: 150px;     /* cambia qui la dimensione logo */
  height: auto;
  display: block;
}

/* Footer */
.bottom{
  margin-top: auto;
  padding: 18px 32px 12px 32px;
  display: flex;
  justify-content: flex-end; /* spinge il footer a destra */
}

.credits{
  display: inline-block;
  padding: 12px 14px;
  background: rgba(255,255,255,0);
  backdrop-filter: blur(6px);
  border-radius: 3px;
  font-size: 10px;
}

.credits a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Mobile */
@media (max-width: 720px){
  body{ overflow: auto; }
  .top{
    flex-direction: column-reverse;
    align-items: flex-start;
  }
  .top-left{ max-width: 100%; }
  .logo{ width: 120px; }
.bottom{
  justify-content: center;
}
}
