/* merriweather-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/merriweather-v33-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* merriweather-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: italic;
  font-weight: 400;
  src: url('./fonts/merriweather-v33-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* merriweather-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/merriweather-v33-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* merriweather-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Merriweather';
  font-style: italic;
  font-weight: 700;
  src: url('./fonts/merriweather-v33-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



:root {
  --hero-bg: url("../assets/header_01.webp");
}


/* Fallback: se AOS non si inizializza, il contenuto resta visibile */
[data-aos]:not(.aos-init) {
  opacity: 1 !important;
  transform: none !important;
}


body{
	background-image: url(../assets/bg.svg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 140% auto;
	font-family: 'Merriweather';
	
	font-size: 18px;
}

h1, h2{
	
	font-family: 'Merriweather';
}


h1{
	font-size: 3.5rem;
}

h2{
	font-size: 2.8rem;
}	

header{
	height: 0;
}


.btn.btn-primary{
	background-color: #C71A41;
	border-color: #C71A41;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus{
	background-color: #DD3B57;
}

/* Assicura che il contenuto della hero stia sopra l'overlay */
.hero > .container {
  z-index: 1;
}




/* HERO */
.hero {
  position: relative;
  min-height: 105vh;
  padding: 7rem 0 4rem;
  background: var(--hero-bg) center / cover no-repeat;
}


.hero-img { transform: rotate(-2deg); transition: transform .4s ease; }
.hero-img:hover { transform: rotate(0) scale(1.02); }

/* MARKETING */
.feature-icon {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 2.5rem;
  color: var(--bs-primary);
  background: var(--bs-primary-bg-subtle);
}

/* FEATURETTES */
.featurette-divider { margin: 4rem 0; }
.featurette-heading { letter-spacing: -.05rem; font-size: 2rem; }
@media (min-width: 992px) {
  .featurette-heading { font-size: 3rem; }
}

/* FOOTER */
.footer-link { color: rgba(255, 255, 255, .6); text-decoration: none; }
.footer-link:hover { color: #fff; }

/* Mobile */

@media (max-width: 1600px) {
	.navbar-brand img{
		height: 80px;
		width: auto;
	}	
}


@media (max-width: 1200.98px) {
	.navbar-brand img{
		height: 60px;
		width: auto;
	}	
}


@media (max-width: 767.98px) {
	
	.navbar-brand img{
		height: 50px;
		width: auto;
	}


  .hero { 
	min-height: 40rem; padding-top: 6rem; 
	background: var(--hero-bg) 60% bottom / cover no-repeat;
  }
  .hero-img { transform: none; }
  
	#hero_text{
		margin-top: 12rem;
		text-shadow: 2px 2px 2px #000000;
	}

}

@media (max-width: 400px) {
	header{
	height: auto;
	}
	
    .hero {
        min-height: 40rem;
        padding-top: 0rem;
		background: var(--hero-bg) 60% bottom / cover no-repeat;
    }	
}