body {
	margin: 0;
	padding: 0;
	font-family: 'Oswald', sans-serif;
	font-weight: 400;
	overflow-x: hidden;
	font-size: 1.1rem;
}

h2{
	font-family: 'Bebas Neue', cursive;
	font-size: 4rem;
	line-height: 1;
	text-transform: uppercase;
	
}

h3{
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	font-size: 2rem;
	
}

h4{
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
	font-size: 1.6rem;
	
}
p{
	font-size: 1.2rem;
	line-height: 2rem;
}


.light{
	font-family: 'Oswald', sans-serif;
	font-weight: 300;
}

.semi-bold{
	font-family: 'Oswald', sans-serif;
	font-weight: 600;
}

.bold{
	font-family: 'Oswald', sans-serif;
	font-weight: 700;
}

.nav-link{
	padding-right: 1rem !important;
}
.nav-link,
.navbar-text {
	color: #fff;
	font-size: 0.9rem;
	letter-spacing: 0.05rem;
	

}

.navbar-toggler .navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 255)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;

}

.navbar-toggler {
	--bs-navbar-toggler-border-color: none !important;
}

.social ul {
	list-style: none;
	color: #fff;
	display: flex;
	justify-content: space-between;
	padding: 0;
	margin: 0;
}
.social a{
	color:#fff;
}

.social a:hover{
	color:#fff;
}

.social ul li {
	padding: 0rem 0.5rem;
	font-size: 1.2rem;
}

.navbar-brand img {
	transition: width 0.5s ease-in-out;
	width: 190px;
}


/* menu mobile */
.menu_header {
	position: relative;
	z-index: 100;
	font-weight: 400;
	vertical-align: middle;
}

#click_trigger {
	cursor: pointer;
	position: relative;
	height: 38px;
	width: 50px;
}


.stick {
	width: 35px;
	height: 3px;
	border-radius: 3px;
	background: #fff;
	display: block;
	position: absolute;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
	right: 0;
	margin-top: -17px;
	margin-right: 4px;
}


#stick1 {
	top: 25px;
	right: 3px;
}

.box_sticks.menu_open #stick1 {
	top: 33px;
	background-color: #fff;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
}

#stick2 {
	top: 34px;
	right: 3px;
	background-color: #fff;
}

.box_sticks.menu_open #stick2 {
	opacity: 0;
	width: 0;
}

#stick3 {
	top: 43px;
	right: 3px;
}

.box_sticks.menu_open #stick3 {
	top: 33px;
	background-color: #fff;
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}

#click_trigger.open:hover #stick1,
#click_trigger.open:hover #stick3 {
	right: 5px;
}

#click_trigger.open:hover #stick2 {
	right: 0px;
}

.dark_green {
	background-color: #820000;
}




/* scroll navbar */
.navbarfixata {
	width:100%;
	z-index: 1000;
	transition: width 0.5s ease-in-out;
    position: absolute;
	background-color: transparent;
	
}


.navbarfixata.sticky{
	background-color: #820000;
}



#fix_nav .sticky {
	position: fixed;
	top: 0;
}



.sticky {
	position: fixed;
	top: 0;
	width: 100%;
}


.sticky .navbar-brand img {
	width: 160px;
}

.sticky .social ul li{
	font-size:1rem;
}


.background-suino{
    background-image: url(/images/sfondo.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
}

.intro{
    color:#fff;
    width: 100%;
    position: relative;
    top: 50%;
    left: 16%;
    transform: translateY(-50%);
}

.intro h3{
    font-size: 6rem;
	font-family: 'Bebas Neue', cursive;
	line-height: 1;
	letter-spacing: 0.3rem;
	text-shadow: 2px 2px 4px #000000;
}

.intro p{
    font-size:3rem;
	font-family: 'Oswald', sans-serif;
	font-weight: 400;
	text-shadow: 2px 2px 4px #000000;
}

#auto_write{
    color:#fff;
	letter-spacing: 0;
}


.arrow {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    top:90vh;
}

.arrow span {
    display: block;
    width: 30px;
    height: 30px;
    border-bottom: 5px solid white;
    border-right: 5px solid white;
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: -0.4s;
}

.prenota_vagante {
	position: fixed;
	right: 0;
	top: 500px;
	z-index: 33;
	overflow: hidden;
	background-color: #670000;
	border: solid 1px #670000;
	flex-direction: column;
	padding:0.5rem 0.2rem;

}

.prenota_vagante .btn-light {
	border-radius: 0;
	font-size: 1.3rem;
	color: #fff;
	background-color: #670000;
	border:none;
}

.prenota_vagante .btn-light:hover{
	color: #e9e5e5;
} 

.prenota_vagante .btn-light:focus{
	color: #e9e5e5;
} 

#famigliachiapella{
	padding:7rem 0;
	background-color: #fff;
	color:#000;
}

.pannello_razza{
	background-color: #ffffffb4;
	color:#000;
	padding:4rem;
	display:flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	position:absolute;
	top:50%;
	left:50%;
	transform: translate(-50%,-50%);
	width:1320px;
}


#territorio{
	background-image: url("/images/territorio.jpg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	color:#fff;
	height: 720px;
	position: relative;
}


#filiera{
	background-color: #820000;
	color:#fff;
	padding: 7rem 0;
}


#filiera figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 400px;
  height: 400px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}
#filiera figure:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}
#filiera figure:hover h5 {
  opacity: 0;
  transform: scale(0.7);
}

#filiera figure:hover figcaption {
  bottom: 0;
  top:0;
}
#filiera figure h5 {
  position: absolute;
  top: 50%;
  transform: translateX(-50%);
  transform: translateY(-50%);
  margin: 0;
  padding: 0;
  color: white;
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
  opacity: 1;
  transition: 0.15s ease;
  z-index: 999;
}
#filiera figure img {
  height: 100%;
  transition: 0.25s;
}
#filiera figure figcaption {
  position: absolute;
  bottom: -52%;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 30px;
  background-color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  color: #000;
  line-height: 1;
  transition: 0.45s;
}
#filiera figure figcaption h3 {
  margin: 0 0 20px;
  font-size: 1.4rem;
  padding: 0;
  text-transform: uppercase;
}
#filiera figure figcaption p {
  font-size: 17px;
  line-height: 1.7rem;
}

#filiera .number{
	display: none;
}

#filiera .number_hover{
	display: flex;
	font-family: 'Bebas Neue', cursive !important;
	font-size: 3rem;
}
#fassona h2{
	color:#820000
}
#fassona{
	padding: 7rem 0;
}


#prodotti{
	color:#fff;
	background-color: #000;
	padding: 7rem 0 4rem 0;
}

#prodotti p{
	line-height: 1.9rem;
}
.prodotti_info{
	padding-bottom: 7rem;
	background-color: #000;
	color:#fff;
}



.prodotti_info h5{
	color:rgb(175,132,60);
	font-size: 1.5rem;
}



.center_chiapella{
	position: relative;
	left:50%;
	transform: translateX(-50%);
}



.mipaaf{
	color:#04492a;
	font-size: 0.9rem;
}
footer{
	background-color: #820000;
	padding:1rem 0;
}

footer p{
	color:#fff;
	font-size: 0.9rem;
}

footer a{
	color: #fff;
	text-decoration: none;
}

footer a:hover{
	color:#000;
}

footer .social ul li {
	padding: 0rem 0.5rem;
	font-size: 2.5rem;
}

  
  


@keyframes animate {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}


@media (max-width: 1399.98px) {
	#filiera figure {
		width: 350px;
		height: 350px;
	}

	#filiera figure figcaption {
		bottom:-54%;

	}

	#filiera figure figcaption p {
		font-size: 15px;
		line-height: 1.5rem;
	}

	.prodotti_info p{
		line-height: 1.7rem;
	}

	.pannello_razza{
		width:1140px;
	}


}

@media (max-width: 1200px) {
	#filiera figure {
		width: 300px;
		height: 300px;
	}

	#filiera figure figcaption {
		padding: 20px;
		bottom:-52%;

	}
	#filiera figure figcaption h3 {
		font-size: 1.3rem;
	}

	#filiera figure figcaption p {
		font-size: 14px;
		line-height: 1.2rem;
	}
	#prodotti{
		padding: 7rem 0 3rem 0;
	}

	.prodotti_info p{
		line-height: 1.7rem;
	}

	.intro {
		left:10%;
	}

	.pannello_razza{
		width: 960px;
	}

}



@media (max-width: 991.98px) {
    .nav-item {
		padding: 0.5rem 0;
	}

	.nav-link {
		font-size: 1.5rem;
		text-align: center;
	}

	.navbar-collapse .navbar-nav {
		margin-top: 2rem;
	}

	.sticky .navbar-brand img {
		width: 160px;
	}

	.intro{
		left: 10%;
		width: 90%;
		
	}

	.intro h3{
		font-size: 5rem;
	}
	
	.intro p{
		font-size:2.5rem;
	}

	.arrow{
		top:85vh;
	}

	.mobile-filiera h5{
		font-size: 4rem;
		color:#fff;
		margin-bottom: 1rem;
	}

	.mobile-filiera h3{
		margin-top: 2rem;
		font-size: 1.7rem;
		text-transform: uppercase;
	}
	.mobile-filiera p{
		
		margin-bottom: 4rem;
	}

	.pannello_razza{
		padding:2rem;
		width: 90%;
		
	}



}

@media (max-width: 767.98px) { 

	.intro{
		left:5%;
		top:57%;
	}

	.intro h3{
		font-size: 4rem;
	}
	
	.intro p{
		font-size:2rem;
	}

	h2{
		font-size: 4rem;
	}

	h3{
		font-size: 2rem;
	}

	h4{
		font-size: 1.5rem;
	}

	#famigliachiapella{
		padding:5rem 0;
	}

	#territorio{
		padding: 5rem 0;
	}

	#filiera{
		padding-top: 5rem;
	}
	#fassona{
		padding: 5rem 0;
	}
	

	#prodotti{
		padding: 5rem 0;
	}
	.prodotti_info{
		padding-bottom: 5rem;
	}

	.prodotti_info.padding{
		padding:5rem 0; 
	}
	.pannello_razza{
		padding:2rem 1rem;
		width:95%;
	}
}
