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


/* ! Title System */
/* ----------------------------------------------------------------------------------- */
.text-0{font-size: 5rem;}
h1, .text-1{font-size: 3rem; color: #022d5c}
h2, .text-2{font-size: 1.9rem;font-weight: normal; color: #022d5c}
.tit-home {font-size: 3.3rem;font-weight: bold!important;}
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;}

@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;}
}


/* 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;}
}



/* ! Button system */
/* ----------------------------------------------------------------------------------- */
.button,
.wp-block-button__link{font-size: 1.2rem;
  background: linear-gradient(85deg, #fe7400, #feb900);
  color:#fff!important; padding: 14px 25px;border-radius: 55px; font-weight: bold;}

  .button_blue .wp-block-button__link {font-size: 1.2rem;
  background: linear-gradient(85deg, #009bb3, #023256)!important;
  color:#fff!important; padding: 14px 25px;border-radius: 55px; font-weight: bold;}


.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;}
}



/*  HOME PAGE V3  */


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


.cover__bgv3 {
  content: "";
  background-image: 
    linear-gradient(to right, 
      rgba(42, 123, 155, 1) 0%, 
      rgba(42, 123, 155, 0.85) 15%, 
      rgba(42, 123, 155, 0.6) 30%, 
      rgba(42, 123, 155, 0.2) 45%, 
      rgba(42, 123, 155, 0) 50%, 
      rgba(42, 123, 155, 0.2) 55%, 
      rgba(42, 123, 155, 0.6) 70%, 
      rgba(42, 123, 155, 0.85) 85%, 
      rgba(42, 123, 155, 1) 100%),
    url('../custom/img/adolescenti.jpg')!important;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition: inherit;
  /*pointer-events: none;*/
}




.cover-text{
  font-weight: bold!important; color: #fff!important;
}

.cover__contentv3{max-width: 690px; margin: 0 auto; position:relative; z-index: 1;  width: 100%; padding-top:10px;}

@media (max-width: 768px) {
  .cover__contentv3 {max-width: 690px; margin: 0 auto; position:relative; z-index: 1;  width: 100%; padding-top:1px!important;}
}

.onda{margin-top: -4px;}

/* 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;
}
.cover__bg{position: absolute;top: 0;left: 0;width: 100%;height: 100%;background:url(bridge.jpg) center center;background-size:cover;z-index:0;border: 1px solid #000}
.cover__bg:after{ content: ' ';position: absolute;top: 0;left: 0;width: 100%;height: 100%;background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(0,0,0,0.7) 100%);;background-size:cover;}

.cover__content{max-width: 600px; margin: 0 auto; position:relative; z-index: 1;width: 100%;}

.color-title{
  background: #fff;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background-image: linear-gradient(129deg,#6fa412,#a4e82b);
}

.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;
}

.col-num{
  background: rgb(223, 255, 201);
  background: linear-gradient(180deg, rgb(229, 255, 182) 0%, rgb(131, 175, 52) 16%);
  padding: 30px;border-radius: 30px;
  border: 3px solid white;
}
.col-num h2{
color: #fff!important;
}

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

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



  /* Box Educatori */
  .box-edu{
  
    height: 120px;
    width: 100%;
    background: #ffe9ad;
    border-radius: 200px;
    position: relative;
    padding-left: 130px!important;
    margin-bottom: 40px;
	border: 0.5px solid #fe7400;  
  }

.box-edu h4{font-size: 1rem!important;}
@media (max-width: 768px) {
  .box-edu h4{font-size: 0.9rem!important;}
}
 
  .edu img {
    position: absolute;
    top: 0;
    left: 0;
    height: 120px;
    width: 120px;
    border-radius: 200px;
    border: 6px solid #fe7400;
  }


/* ! Tre articoli home page */
/* --------------------------------------------------------- */

.wp-post-image{
  display: inline-block;
  position: relative;
  margin-bottom: 20px;
  border-radius: 30px;
  overflow: hidden;
  }
  
  .wp-block-latest-posts__post-title{ color:#83af34; font-weight: 700; font-size: 1.5rem;}
  
  .wp-block-latest-posts__post-excerpt{color:#000;}

/* ! 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);}
