/*font*/
@import url('https://fonts.bunny.net/css?family=open-sans:300,400|satisfy:400');

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Satisfy',sans-serif;
}


/*slider*/
#carousel-s6{
	position: relative;
	height: 100vh;
	width: 100%;
}
#carousel-s6 .carousel-inner{
	position: relative;
	height: 100%;
	width: 100%;
	background: #000;
}
#carousel-s6 .carousel-inner:before{
	position: absolute;
	content: '';
	/* background: rgba(0, 0, 0, 0.45); sfoca al nero il backgroud */
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 1;
}

#carousel-s6 .carousel-inner .carousel-item{
	position: relative;
	height: 100%;
	width:100%;
	background: url('assets/img/background/1.jpg');
	/* background-size: 100% 100%; */
	/* https://developer.mozilla.org/en-US/docs/Web/CSS/background-size */
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}
#carousel-s6 .carousel-inner .carousel-item:nth-child(2){
	background: url('assets/img/background/2.jpg');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}
#carousel-s6 .carousel-inner .carousel-item:nth-child(3){
	background: url('assets/img/background/3.jpg');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}
#carousel-s6 .carousel-inner .carousel-item:nth-child(4){
	background: url('assets/img/background/4.jpg');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}
#carousel-s6 .carousel-inner .carousel-item:nth-child(5){
	background: url('assets/img/background/5.jpg');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}
#carousel-s6 .carousel-inner .carousel-item:nth-child(6){
	background: url('assets/img/background/6.jpg');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}
#carousel-s6 .carousel-inner .carousel-item:nth-child(7){
	background: url('assets/img/background/7.jpg');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}


#carousel-s6 .carousel-inner .carousel-item .info{
	position: absolute;
	left: 5%; 
	right: 5%;
	z-index: 10;
	padding-top: 5px;
	/* padding-bottom: 10px;*/
	color: #fff; 
	text-align: center; 
	text-shadow: 0 1px 2px rgba(0,0,0,0.6);
	bottom: auto;
	top: 7%;
}

@media (max-width: 680px){
	#carousel-s6 .carousel-inner .carousel-item h1{
		height: auto;
		color: #fff;
		width: 100%;
		z-index: 1;
		text-align: center;
		font-size: 35px;
	}
}
@media (min-width: 681px){
	#carousel-s6 .carousel-inner .carousel-item h1{
		height: auto;
		color: #fff;
		width: 100%;
		z-index: 1;
		text-align: center;
		font-size: 53px;
	}
}

/* tempo di fade out */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity ease-out 0.8s;
}


#carousel-s6 .carousel-inner .carousel-item p{
	height: auto;
	color: #ccc;
	width: 100%;
	z-index: 1;
	text-align: center;
	font-size: 1.2em;
	font-weight: 500;
}


#legalinfo { position: absolute; 
	font-family: 'Satisfy', sans-serif;
	font-size:1.1em;
	left: 5%; 
	right: 5%; 
	bottom: 60px; 
	z-index: 5; 
	color: #fff;
	text-align: center;
	/* text-shadow:0 1px 2px rgba(0,0,0,0.6); */
	text-shadow: 0 4px 8px rgba(0,0,0,0.8);
}
#legalinfo a, a:visited, a:hover, a:active {
	font-family: 'Satisfy', sans-serif;
	color: #fff;
	border: none;
}



@media (max-width: 680px){
	.carousel-indicators { display: none; } /* no footer linee */
	#foo22 { text-align: center; } /* txt center */
}
@media (min-width: 681px){
	#foo22 { text-align: left; }
}


#foo22 { 
	position: absolute; 
	font-family: Helvetica, Arial, sans-serif;
	font-size:14px;
	line-height:1.1;
	left: 15%; 
	right: 15%; 
	bottom: 10px; 
	z-index: 10; 
	color: #fff; 
	text-shadow: 0 1px 2px rgba(0,0,0,0.6); 
	/* width: fit-content; */
}
#foo22 a, a:visited, a:hover, a:active {
	font-family: Helvetica, Arial, sans-serif;
	color: #fff;
	border: none;
}

@media screen and (min-width: 410px)  {
	.mobile-br { display: none; }
}