/* General */

/* .elementor-icon {
    display: flex;
    line-height: 1;
} */
b{
    font-weight: 700;
}
.primary{
    color: var(--e-global-color-primary) 
}
.accent{
   color: var(--e-global-color-accent) 
}

.elementor-button{
    vertical-align: middle;
}
.icon-flex .elementor-icon-wrapper{
    display: flex;
}

/* -------------------------------
   BASE ROOT VARIABLES (DESKTOP)
-------------------------------- */
:root {
  /* Font Sizes */
    --font-size-xs: 30px; /* h4 */
    --font-size-s: 36px; /* h3 */
    --font-size-m: 54px;  /* h2 */
    --font-size-l: 62px;  /* h1 */

  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
}

/* -------------------------------
   TABLET
-------------------------------- */
@media screen and (max-width: 1024px) {
  :root {
    --font-size-xs: 24px;
    --font-size-s: 28px;
    --font-size-m: 40px;
    --font-size-l: 54px;
  }
}

/* -------------------------------
   MOBILE
-------------------------------- */
@media screen and (max-width: 768px) {
  :root {
    --font-size-xs: 22px;
    --font-size-s: 26px;
    --font-size-m: 34px;
    --font-size-l: 38px;
  }
}

/* -------------------------------
   FONT SIZE CLASSES
-------------------------------- */
.f-xs  { font-size: var(--font-size-xs); line-height: 1.2;}
.f-s   { font-size: var(--font-size-s); line-height: 1.2;}
.f-m   { font-size: var(--font-size-m); line-height: 1.2;}
.f-l   { font-size: var(--font-size-l); line-height: 1.2;}
/* .f-xxl { font-size: var(--font-size-xxl); line-height: 1.1;} */

/* -------------------------------
   FONT WEIGHT CLASSES
-------------------------------- */
.wl     { font-weight: var(--font-weight-light); }
.wr   { font-weight: var(--font-weight-regular); }
.wm   { font-weight: var(--font-weight-medium); }
.wsd  { font-weight: var(--font-weight-semibold); }
.wb    { font-weight: var(--font-weight-bold); }






.upper{
    text-transform: uppercase!important;

}

.MyQuestions h3{
        display: flex;
        gap: 12px;
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
        flex-direction: row-reverse;
  
}

.MyQuestions i{
    font-size: clamp(18px, 4vw, 20px)!important
}


/* Header */
  .e-con.elementor-sticky .boxlogohdr-wt{
      opacity: 1;
  }
  
  .e-con.elementor-sticky .boxlogohdr-bk{
      opacity: 0
  }

  .boxlogohdr-bk, .boxlogohdr-wt{
      transition: .3s ease ;
  }
  
.e-con.elementor-sticky--active{
    background-color: rgb(255, 255, 255)!important;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5)!important; 
    animation: header 0.3s ease-out forwards;

    .header-logo{
        animation: widthlogo 0.3s ease-out forwards;
    }
}

  .e-con.elementor-sticky--active .boxlogohdr-wt{
    opacity: 0;
  }
    
  .e-con.elementor-sticky--active .boxlogohdr-bk{
    opacity: 1;
  }
    
    
@keyframes header {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes widthlogo {
    0% {
        width: 0;
    }
    100% {
        width: 80px;
    }
}

.e-con.elementor-sticky--active .elementor-nav-menu--main .elementor-item:not(.elementor-item-active).elementor-item:not(.elementor-item:hover) {
    color: var(--e-global-color-primary) !important;
    fill: var(--e-global-color-primary) !important;

}
.e-con.elementor-sticky--active .burger-line{
   background-color: var(--e-global-color-primary)!important;


}

/* Tutto ciò che ha header-dark */
.header-dark .header-logo{
  filter: brightness(10); /* logo chiaro */
}



/* TopButton */

#gotopbutton{
    transition: 0.3s ease;
}

.on{
    animation: su 0.6s ease;
    animation-fill-mode: forwards; 
    opacity: 0.6;
}
    @keyframes su {
    0%    {bottom:-100px;}
    100%  {bottom:20px;}
}
.on:hover{
    transform: translateY(2px);
    opacity: 1;

}
.back{
    animation: giu 0.6s ease;
    animation-fill-mode: forwards; 
}
    @keyframes giu {
    0%    {bottom:20px;}
    100%  {bottom:-100px;}
}

