/*
 * Globals
 */


/* Custom default button */
.btn-light,
.btn-light:hover,
.btn-light:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
}

/*
 * Base structure
 */
.overall {
	height: auto;
}

@media (width >= 1025px) {
	.overall {
		height: 100% !important;
	}
}



body {
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}

.cover-container {
	background-image: url(../img/background.png);
	background-repeat: no-repeat;
	background-position: center;
}

.biotext {
	color: #a7a7a7;
	/* color: #666666;*/
	padding-bottom: 20px;
	text-align: justify;
	padding-left: 20%;
	line-height: 2.0; /* maggiore respiro tra le righe */
}

.biobg  {
	background-image: url(../img/2T2A1898RM.png);
	background-repeat: no-repeat;
	background-position-x: 50px;
    background-size: contain;

}

.contbg  {
	background-image: url(../img/contacts.png);
	background-repeat: no-repeat;
	background-position-x: 50px;
    background-size: contain;

}


/*
 * Header
 */

.nav-masthead .nav-link {
  color: rgba(255, 255, 255, .5);
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

/* Evidenzia citazioni bio con stile e respiro */
.blockquote-custom {
  color: #adabf7;
  border-left: 4px solid #adabf7;
  padding-left: 1rem;
  margin-left: 0;
  background-color: rgba(173, 171, 247, 0.05);
  font-style: italic;
  line-height: 2.2; /* valore aumentato per ariosità */
}

.figcaption-custom {
  font-size: 0.9rem;
  color: #cccccc;
  margin-top: 0.5rem;
  font-style: normal;
  text-align: right;
  font-weight: 500;
}
.text-soft {
  color: #bbbbbb !important;
}
/* Responsività immagine sfondo */
.img-fluid {
  max-width: 100%;
  height: auto;
}
.main-cover {
  background-image: url('../img/sfondo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* opzionale */
}
/* === Mobile override per immagine sfondo === */
@media (max-width: 768px) and (orientation: portrait) {
  .main-cover {
    background-position: bottom center;
    background-size: cover;
    background-attachment: scroll;
  }
}
/* === Sfondo decorativo per tutto il sito === */
body {
  background-image: url('../img/sfondo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Overlay per rendere leggibile il testo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6); /* oscura lo sfondo */
  z-index: -1;
}

/* Altezza pagina corretta */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
