/* ! Base Style */
/* ----------------------------------------------------------------------------------- */
body{ font-size: 16px; color:#3A3532; font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;}
a{text-decoration: none;color: #3A3532;}
p{line-height: 1.3}


/* ! Title System */
/* ----------------------------------------------------------------------------------- */
.text-0{font-size: 5rem;}
h1, .text-1{font-size: 3rem;}
h2, .text-2{font-size: 1.9rem;font-weight: normal;}
.tit-home {font-size: 3.3rem;  color: #fff; font-weight: bold!important; font-family: Garamond; text-shadow: 3px 3px 4px #000000; z-index:999;}
h3, .text-3{font-size: 1.5rem;}
h4, p, .text-4, ol,ul{font-size: 1.2rem;}

h1, h2, h3, h4, p, ol, ul{margin-bottom: 1rem;line-height: 1.3;}

.garamond{font-family: Garamond;}

@media (max-width: 768px) {
  .text-0{font-size: 4rem}
  h1, .text-1{font-size: 1.5rem;}
  h2, .text-2{font-size: 1.4rem;font-weight: normal;}
  .tit-home {font-size: 1.9rem!important;}
}

.contorno strong{
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 1px 4px;
  border-radius: 4px;
}

/* Spazio cover per tablet */

/* Tablet piccoli verticali */
@media (min-width: 768px) and (max-width: 991px) and (orientation: portrait) {
  .tit-home {     font-size: 1.9rem;}
}

/* Tablet piccoli orizzontali */
@media (min-width: 768px) and (max-width: 991px) and (orientation: landscape) {
  .tit-home {     font-size: 1.9rem;}
}

/* Tablet variante responsive */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .tit-home {     font-size: 1.9rem;}
}


/* Tablet grandi verticali */
@media (min-width: 992px) and (max-width: 1199px) and (orientation: portrait) {
  .tit-home {     font-size: 1.9rem;}
}

/* Tablet grandi orizzontali */
@media (min-width: 992px) and (max-width: 1199px) and (orientation: landscape) {
  .tit-home {     font-size: 1.9rem;}
}

/* per lo scrool uniforme */
html {
  scroll-behavior: smooth;
}


/* ! Button system */
/* ----------------------------------------------------------------------------------- */

.btn-cta {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #3a3532;
  color: #FFF!important;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.btn-cta:hover,
.btn-cta:focus {
  background: rgb(240 192 110)!important;
  color: #3a3532!important;
  outline: none;
}



.call{padding: 8px 8px!important; font-size: 15px; border-radius: 55px!important;}


.bg-obliquo{min-height: 100vh;background: url(img/img-4.png) no-repeat center bottom ; }
.bg-obliquo .button{margin-right: 20px;}

@media (max-width: 768px) {
  .bg-obliquo .grid{ flex-direction: column-reverse;}
}




.casa a {
  background: #3a3532!important;
  color: #f5f1ee!important;
  border-radius: 6px;
  font-weight: bold;
  padding: 4px 16px!important;
  margin-top: 8px;
  margin-left: 10px;
  transition: all 1s cubic-bezier(.215,.61,.355,1);
}

.casa a:hover {
  background: rgb(240 192 110)!important;
  color: #3a3532!important;
  transition: all 1s cubic-bezier(.215,.61,.355,1);
}

@media (max-width: 768px) {
.casa a {
 background: #3a3532!important;
  color: #f5f1ee!important;
  font-weight: bold!important;
  padding: 16px 16px!important;
  margin-top: 8px;
  margin-left: 0px;
  transition: all 1s cubic-bezier(.215,.61,.355,1);
}
}






.evi a {
  background: #0C8A00!important;
  color: #fff!important;
  border-radius: 6px;
  font-weight: bold;
  padding: 4px 16px!important;
  margin-top: 8px;
  margin-left: 10px;
  transition: all 1s cubic-bezier(.215,.61,.355,1);
}

.evi a:hover {
  background: rgb(11 117 0)!important;
  transition: all 1s cubic-bezier(.215,.61,.355,1);
}

@media (max-width: 768px) {
.evi a {
 background: #0a5903!important;
  color: #ffffff!important;
  font-weight: bold!important;
  padding: 16px 16px!important;
  margin-top: 8px;
  margin-left: 0px;
  transition: all 1s cubic-bezier(.215,.61,.355,1);
}
}


.evi a {
  align-items: center;
}

.evi a::before {
  content: "";
  display: inline-block;
  width: 23px;
  height: 23px;
  margin-right: 8px; /* Spazio tra la cornetta e il numero */
  
  /* Percorso assoluto verso il file nel tuo tema */
  background-image: url('/wp-content/themes/forcella/icons/logo-telefono.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  filter: invert(1);	
}
/*  HOME PAGE V3  */


.cover{
  padding: 20px;min-height: 100vh;
  display: flex; flex-flow: column;
  justify-content: flex-end;
  position:relative;
}

@media (max-width: 768px) {
  .cel-mod{margin-top: -177px;}
}

.cover__content {
  max-width: 1200px;
  margin: 0 auto;
  position: absolute; /* Cambia a absolute */
  top: 50%; /* Posiziona al 50% dell'altezza */
  left: 50%; /* Posiziona al 50% della larghezza */
  transform: translate(-50%, -50%); /* Centra sia verticalmente che orizzontalmente */
  z-index: 1;
  width: 100%;
  text-align: center;
}

/* Fine Home Page V3 */


/* ! Blocks */
/* ----------------------------------------------------------------------------------- */

.cover{
  background: #000;padding: 20px;min-height: 100vh;
  display: flex; flex-flow: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position:relative;
}

.box-img img{border-radius: 50px; box-shadow: 0 5px 30px rgba(0,0,0,33%); margin-bottom: 2rem;}

/* ! Title Custom */

.title-custom{
  padding: 8% 18%;
  position: relative;
}

.video-overlay-b {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  z-index: 2;
}

.video-overlay-b svg {
  width: 100%;
  height: 100%;
  display: block;
}


/*
.video-overlay {
  position: absolute;
  bottom: 0; /* Posiziona la sfumatura in basso 
  left: 0;
  width: 100%;
  height: 50%; /* Regola l'altezza della sfumatura 
  z-index: 2; /* L'overlay deve stare sopra il video 
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 1) 0%, /* Inizia con bianco pieno in basso 
    rgba(255, 255, 255, 0) 100% /* Sfuma fino alla trasparenza in alto 
  );
}
*/

/* ! Pagina Blog */
/* --------------------------------------------------------- */

.img-blog{
display: inline-block;
position: relative;
margin-bottom: 20px;
border-radius: 30px;
overflow: hidden;
}



/* ! Animation */
/* --------------------------------------------------------- */

.fade-in{opacity: 0; transform: translateY(1rem);}
.text-reveal{transform: translateY(1rem);clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);}
.fade-up{opacity: 0; transform: translateY(5rem);}
