@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* Reset */
body, html{overflow-x:hidden!important; font-family: "Montserrat", sans-serif;
 line-height: 1; font-size: 16px; box-sizing: border-box;margin: 0;padding: 0;}*,*:before,*:after{ box-sizing: border-box; }h1,h2,h3,h4,h5,h6, p, ol, ul{margin: 0 0 1rem 0;padding: 0;}ol,ul{padding-left: 20px;line-height: 1.5;}img{height: auto;}h1{font-size: 4rem;} h2{font-size: 3rem;} h3{font-size: 2rem;} h4{font-size: 1rem;} h5{font-size: 0.8rem;} h6{font-size: 0.6rem;}a{text-decoration:none}

/* ---------------------------------
   ► Overrides feed Instagram
   --------------------------------- */
#instagram-gallery-feed-0 .instagram-gallery-item__media-mask{
    background-color: transparent !important;   /* scegli tu il colore */
}

/* In alternativa (più specifico, se il plugin venisse caricato dopo) */
body #instagram-gallery-feed-0 .instagram-gallery-item__media-mask{
    background-color: transparent !important;
}


*,*:before,*:after{ box-sizing: border-box; }

h1,h2,h3,h4,h5,h6, p, ol, ul{margin: 0 0 1rem 0;padding: 0;}ol,ul{padding-left: 20px;line-height: 1.5;}img{height: auto;}h1{font-size: 4rem;}
h2{font-size: 3rem;}
h3{font-size: 2rem;}
h4{font-size: 1rem;}
h5{font-size: 0.8rem;}
h6{font-size: 0.6rem;}

a{text-decoration:none;}

/* ! Grid System */
.grid { margin: 0 auto; padding: 0 15px; display: flex; flex-flow: row; flex-wrap: wrap; z-index: 2;}
.grid-swiper { margin: 0 auto; padding: 0 15px; width: 100%; display: flex; flex-flow: row; flex-wrap: wrap;}
.grid--center{justify-content: center;}
.col{ flex: 1;}

[class*='col-'] { position: relative;padding: 0 15px;}

.col-20{ width: 20%; }
.col-25{ width: 25%; }
.col-30{ width: 30%; }
.col-33{ width: 33.33%; }
.col-40{ width: 40%; }
.col-50{ width: 50%; }
.col-60{ width: 60%; }
.col-70{ width: 70%; }
.col-80{ width: 80%; }
.col-100{ width: 100%; }

@media (max-width: 991px) {
  .tab-20 { width: 20%; }
  .tab-25 { width: 25%; }
  .tab-33 { width: 33.33%; }
  .tab-50 { width: 50%; }
  .tab-100 { width: 100%; }
}

@media (max-width: 768px) {
  [class*='col-'] { width: 100%;}
  .sma-20 { width: 20%; }
  .sma-25 { width: 25%; }
  .sma-33 { width: 33.33%; }
  .sma-50 { width: 50%; }
  .sma-100 { width: 100%; }
}

/* ! Helpers  */
.mt-0{margin-top: 0 }
.mt-1{margin-top: 10px}
.mt-2{margin-top: 20px}
.mt-3{margin-top: 40px}
.mt-4{margin-top: 100px }
.mt-5{margin-top: 200px }

.mb-0{margin-bottom: 0}
.mb-1{margin-bottom: 10px}
.mb-2{margin-bottom: 20px}
.mb-3{margin-bottom: 40px}
.mb-4{margin-bottom: 100px}

.p-0{padding: 0}
.p-1{padding: 10px}
.p-2{padding: 20px}
.p-3{padding: 40px}
.p-4{padding: 100px}

.pt-1{padding-top: 10px;}
.pt-3{padding-top: 20px;}
.pt-3{padding-top: 40px;}
.pt-4{padding-top: 15vh;}

.pb-1{padding-bottom: 10px;}
.pb-2{padding-bottom: 20px;}
.pb-3{padding-bottom: 40px;}
.pb-4{padding-bottom: 15vh;}

:where(.wp-block-columns) {
    margin-bottom: 15px!important;
}

.z-index {position: relative;
    z-index: 9999;}

.container-block-nop {
	width: 100%;
	border: 15px solid white;
	padding: 0;
}

.container-block-p {
	width: 100%;
	border: 15px solid white;
	padding: 40px;
}

.rounded-block {
	border-radius: 0 70px;
}

.alignwide {
  margin: auto;
  max-width: 1200px;
  width: 100%;
}

.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  position: relative;
}


.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.img-res { width: 100%; height: auto; margin-bottom: 20px;vertical-align: middle;}
.img-round { border-radius:50%; }

h1 {
    color: #fff;
    font-size: 60px;
    font-weight: 500;
    letter-spacing: -0.025em;
    transition: 0.5s;
  }

h2 {
    font-size: 30px;
	font-weight: 400;
}

h3 {
    font-size: 20px;
}

p {
    font-size: 18px;
}


/* ! Navigation menu  */

#nav-container {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    background: #fffdf1;
    color: fff;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    z-index: 4;
  }
  
  .nav {
    width: 70%;
    display: flex;
    justify-content: space-between;
  }
  
  .flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
  }

.lang-menu {
	position: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
    top: 35px;
    right: 100px;
    /* border: 1px solid red; */
    width: 50px;
    height: 50px;
	list-style-type: none;
	z-index: 999;
}

.lang-menu a {
	color: white;
	list-style-type: none;
}
  
  .nav-logo {
    font-weight: 300;
    color: #8e91ff;
    margin-top: -0.2em;
	padding-bottom: 50px;
    text-transform: uppercase;
    font-size: 40px;
  }
  
  .nav-azienda {
    display: flex;
    flex-direction: column;
	line-height: 1.5;
  }
  
  .nav-azienda a {
    font-weight: 400;
    text-decoration: none;
    color: #24a4ad;
    font-size: 18px;
  }

.nav-azienda li {
    list-style-type: none;
  }
  
  .nav-servizi {
    position: relative;
  }
  
  .nav-servizi a {
    position: relative;
    top: 60px;
    text-decoration: none;
    color: #24a4ad;
    font-size: 55px;
    font-weight: normal;
  }

  .nav-servizi a:before {
	border: 1px solid lightslategray;
  }
  
  .nav-item-wrapper:after {
    content: "";
    position: absolute;
    top: 60px;
    left: 0;
    width: 500px;
	  
    height: 60px;
    background: #fffdf1;
    margin: 0 auto;
    transition: 1s;
  }
  
  .nav-footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 2em 1em;
    display: flex;
    justify-content: space-between;
  }
  
  .nav-footer a {
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    padding: 0 1em;
  }
  
  @media (max-width: 900px) {
    .nav {
      flex-direction: column-reverse;
      width: 70%;
      display: flex;
      justify-content: space-between; 
    }
    
  
    .nav-logo {
      display: none;
    }
  
    .nav-azienda {
      flex-direction: column;
      margin-top: 10em;
    }
  
    .nav-azienda a {
      padding: 0 0.4em;
    }

    .nav-servizi a {
      font-size: 28px;
	  line-height: 1.7;
    }
  
    .nav-footer {
      display: none;
    }

    .incipit {
      width: 60%;
    }

  }

  #menu-toggle-btn {
    margin-top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 50px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    background: #24a4ad;
    border-radius: 50px;
    z-index: 10000;
  }
  
  .nav-span {
    height: 2px;
    background: #fff;
    width: 34px;
    display: inline-block;
    position: absolute;
    top: 50%;
    transition: all 0.3s;
  }
  
  .nav-span::before {
    content: " ";
    position: absolute;
    display: inline-block;
    height: 2px;
    background: #fff;
    transform: translateY(-4px);
    width: 34px;
    transition: all 0.3s;
  }
  
  .nav-span::before {
    top: -2px;
  }
  
  .active .nav-span {
    transform: rotate(45deg);
    background: #fff;
  }
  
  .active .nav-span::before {
    top: unset;
    transform: rotate(-90deg);
    background: #fff;
    z-index: 5;
  }
  
  .active:hover .nav-span::before {
    top: unset;
  }


/* ! Hero section  */

.logo {
    position: fixed;
    top: 40px;
    left: 50px;
    color: white;
    width: 150px;
    z-index: 9;
}

.logo img {
	width: 150px;
}

.slogan {
    position: fixed;
    top: 40%;
    right: 50px;
    color: #24a4ad;
    z-index: 9;
    transform: rotate(-90deg);
    transform-origin: top right;
}

.menu {
    position: fixed;
    top: 30px;
    right: 40px;
    color: white;
    z-index: 5;
}

 
.gradient-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  border: 15px solid white;
}

.incipit {
  position: relative;
  top: 45%;
  left: 35px;
  width: 65%;
}

.incipit h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 600;
}

.gradient-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

mark {background: none!important;}


/* ! About section  */

.about {
    position: relative;
    display: block;
    width: 100%;
    background-color: #fffdf1;
    color: rgb(59, 59, 59);
    border: 15px solid white;
    padding: 100px 0 100px 0;
    box-sizing: border-box; /* Include padding and border in the element's dimensions */
}

.section-about-vid {
  position: relative;
  display: block;
  height: 50vh;
  background-color: #00bcd4;
  color: #d4d4d4;
  border: 15px solid white;
}

.header-page {
  position: relative;
  width: 100%;
  background-color: #535353;
  color: rgb(255, 255, 255);
  height: 100vh;
  border: 15px solid white;
  padding-top: 50px;
}

/* ! Scroll text section  */

.wrapper {
	display: flex;
	align-items: center;
  width: 100%;
  height: 50vh;
  background: #000;
  overflow: hidden;
}

.textItem {
  display: inline-block;
  padding-left: 20%;
  font-size: 7.5vw;
  color: white;
  white-space: nowrap
}


/* ! Servizi section  */

.work {
  position: relative;
  width: 100%;
  height: auto;
  background: #9b9efd;
  padding: 6em 4em;
  transition: background-color 0.5s ease;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0%;
  left: 13.25%;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10em;
  transition: 1s;
  opacity: 0.5;
}

.prev {
  position: relative;
  width: 500px;
  height: 600px;
  transform: rotate(10deg) scale(1);
  transition: transform 0.5s ease;
}

.prev.active {
  transform: rotate(12.5deg) scale(1);
}

#prev-1 {
  top: -500px;
}

#prev-2 {
  top: 0;
}

#prev-3 {
  top: 500px;
}

#prev-4 {
  top: 1000px; /* Posiziona il quarto video sotto al terzo */
}

.work p {
  position: relative;
  color: #fff;
  font-size: 30px;
  margin-bottom: 1em;
  transition: 0.5s;
  z-index: 2;
}

.work-item-name h1 {
  color: #fff;
  opacity: 0.5;
  font-size: 80px;
  font-weight: 500;
  letter-spacing: -0.025em;
  transition: 0.5s;
}

.work-item {
  position: relative;
  width: 100%;
  padding: 2em 0;
  display: flex;
  align-items: center;
  gap: 2em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: 0.5s;
  z-index: 2;
}

.work-item#w-3 {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5); /* Rimuoviamo l'impostazione specifica */
}

.work-item#w-4 {
  border-bottom: none; /* Rimuove il bordo solo dall'ultimo elemento */
}

.work-item-icon {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 100%;
  background: #0b1925;
  color: #fff;
  overflow: hidden;
  left: -20px;
  opacity: 0;
  transition: 0.2s;
}

.icon-holder {
  text-decoration: none; /* Rimuove la sottolineatura del link */
  color: inherit; /* Mantiene il colore dell'icona */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.i-1 {
  transition-delay: 0.2s;
  left: -70px;
}

.i-2 {
  left: 0px;
}

.service-button {
  position: relative;
  background: #fff;
  color: #0b1925;
  transition: 0.5s;
  border: none;
  padding: 1em 2em;
  margin: 2em 0;
  font-size: 15px;
  border-radius: 100px;
  font-weight: 500;
  z-index: 2;
}


/* ──────────────────────────────────────────────────────────────────────────
       PSL – Prefixed Styles (.psl-*)
       Tutto è incapsulato sotto .psl-root e classi con prefisso .psl-
       Nessuna regola globale su body/a/etc.
    ────────────────────────────────────────────────────────────────────────── */
    .psl-root{
      --psl-bg:#0b1220; --psl-panel:rgba(255,255,255,.06); --psl-panel-b:#ffffff1f;
      --psl-text:#fff; --psl-muted:#fff; --psl-brand:#fff;
      --psl-shadow:0 12px 32px rgba(56,189,248,.15); --psl-radius:22px; --psl-container:1100px;
      color: var(--psl-text);
    }
    .psl-root *{ box-sizing: border-box }

    .psl-container{ max-width:var(--psl-container); margin:0 auto; padding:0 16px }
    .psl-header{ position:sticky; top:0; z-index:10; backdrop-filter: blur(8px); background:#0b12208c; border-bottom:1px solid var(--psl-panel-b) }
    .psl-bar{ display:flex; align-items:center; justify-content:space-between; padding:12px 0 }
    .psl-brand{ font-weight:600; font-size:14px; letter-spacing:.2px; color:var(--psl-text) }

    .psl-title{ font-size:clamp(22px,3vw,32px); margin:18px 0 8px }
    .psl-lead{ color:var(--psl-muted); margin:0 0 18px }

    /* ─── CAROUSEL ────────────────────────────────────────────────────────── */
    .psl-carousel{ position:relative }
    .psl-viewport{ position:relative; overflow:hidden; border-radius:var(--psl-radius) }
    .psl-track{ display:flex; gap:16px; touch-action:pan-y; will-change:transform }
    .psl-slide{ flex:0 0 100%; padding:10px }
    .psl-card{ position:relative; height:420px; border:1px solid var(--psl-panel-b); background:var(--psl-panel); border-radius:18px; overflow:hidden; box-shadow:none }
    @media (min-width:900px){ .psl-card{ height:480px } }

    /* image + parallax layer */
    .psl-media{ position:absolute; inset:0; overflow:hidden }
    .psl-img{ position:absolute; inset:-10% -6%; width:112%; height:120%; background:linear-gradient(135deg,#6366f1,#22d3ee,#34d399); transform:scale(1.02) }
    .psl-overlay{ position:absolute; inset:0; background:linear-gradient(to top,rgba(6,12,24,.85),transparent 100%) }

    /* content */
    .psl-content{ position:absolute; inset:auto 0 0 0; padding:18px }
    .psl-h3{ margin:0 0 25px; font-size:30px; color: white;; }
    .psl-desc{ margin:0 0 15px; font-size: 15px; color:var(--psl-muted) }
    .psl-tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px }
    .psl-tag{ font-size:12px; padding:6px 10px; border-radius:999px; background: white; color:#000 }
    .psl-visit{ display:inline-flex; align-items:center; gap:6px; margin-top:25px; color:var(--psl-brand); font-weight:500 }

    /* arrows */
    .psl-arrow{ position:absolute; top:50%; transform:translateY(-50%); display:grid; place-items:center; width:42px; height:42px; border-radius:50%; border:1px solid var(--psl-panel-b); background:white; backdrop-filter:blur(6px); cursor:pointer }
    .psl-arrow:hover{ background:rgba(255,255,255,.12) }
    .psl-prev{ left:8px } .psl-next{ right:8px }

    /* dots */
    .psl-dots{ display:flex; gap:8px; justify-content:center; margin-top:14px }
    .psl-dot{ width:8px; height:8px; border-radius:999px; background:#7b8aa6; border:0 }
    .psl-dot[aria-current="true"], .psl-dot.psl-active{ background:#e6edf5; width:20px; border-radius:6px }

    /* sr-only */
    .psl-sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0 }

    /* reduced motion */
    @media (prefers-reduced-motion:reduce){ .psl-arrow,.psl-dot{ transition:none!important } }

.work.hovered.service-button {
  background: #0b1925;
  color: #fff;
}

.work.hovered h1 {
  color: #0b1925;
  opacity: 1;
}

.work.hovered p {
  color: #0b1925;
}

.work.hovered .work-item {
  border-bottom: 1px solid #0b1925;
}

.work.hovered .work-item#w-3 {
  border-bottom: none;
}

.work-item:hover .work-item-icon {
  opacity: 1;
  left: 0px;
}

.work-item:hover .icon-holder.i-1 {
  left: 0;
}

.work-item:hover .icon-holder.i-2 {
  left: 70px;
}

.bg-color-blue {
  background-color: rgb(164, 250, 249); /* Azzurro */
}

.bg-color-yellow {
  background-color: rgb(246, 250, 164); /* Giallo */
}

.bg-color-red {
  background-color: rgb(250, 164, 164); /* Rosso */
}

.bg-color-green {
  background-color: rgb(164, 250, 164); /* Verde */
}


@media (max-width: 900px) {
  .work {
    padding: 4em 1em;
  }

  .work-item {
    gap: 1em;
  }

  p {
    font-size: 16px;
  }

  h1 {
    font-size: 30px;
  }

  .work-item-icon {
    transform: scale(0.75);
  }

  button {
    padding: 1em 2em;
  }
}

  /* ! Lavori  */

  .lavori {
    position: relative;
    width: 100%;
    height: 100%;
    border: 15px solid white;
  }

  .outer {
    overflow: hidden;
  }
  
  .scroll {
    display: flex;
    width: 300%;
    overflow-x: hidden;
  }

  .title-section-lavori {
    position: absolute;
    top: 50px;
    left: 40px;
    color: white;
    font-size: 30px;
    z-index: 3;
  }
  
  section {
  height: 100vh!important;
  width: 100%;
  display: grid;
  place-content: center;
  position: relative; /* Assicura che section sia il contenitore di riferimento per posizionamento assoluto */
  overflow: hidden; /* Previene fuoriuscite di contenuto */
  border-right: 15px solid white;
}

.background-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1; /* Posiziona il contenuto sopra l'immagine */
}

.background-overlay img.lavori-image-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Assicura che l'immagine copra l'intera area senza deformarsi */
  z-index: -1; /* Posiziona l'immagine sotto il contenuto */
}

.background-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Sfondo semitrasparente sopra l'immagine */
  z-index: 0; /* Posiziona lo sfondo sopra l'immagine ma sotto il contenuto testuale */
}

.lavori-title {
    color: #d4d4d4;
    font-size: 45px;
}

.p-lavori {
    color: #d4d4d4;
}

.lavori-title, .p-lavori, .button {
  z-index: 2; /* Assicura che il testo e i bottoni siano sopra lo sfondo semitrasparente */
}

.lavori-button {
  display: inline-flex; /* Mantiene il testo e l'icona su una singola riga */
  align-items: center; /* Allinea verticalmente il testo e l'icona */
  padding: 10px 20px;
  font-size: 16px;
  color: #000;
  background-color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap; /* Impedisce al testo di andare a capo */
}

.lavori-button svg {
  margin-left: 8px;
  width: 20px;
  height: 20px;
}

.lavori-button:hover {
  background-color: #f2f2f2;
}


  /* ! Recensioni */

	        .carousel-container {
            width: 80%;
            max-width: 600px;
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            position: relative;
        }
        .review {
            padding: 20px;
            text-align: center;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            position: absolute;
            width: 100%;
            top: 0;
            left: 0;
        }
        .review.active {
            opacity: 1;
            position: relative;
        }
        .review p {
            font-size: 1.2em;
            margin: 15px 0;
        }
        .review .author {
            font-weight: bold;
            color: #555;
        }
        .carousel-buttons {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
        }
        .carousel-buttons button {
            background-color: #007bff;
            color: #fff;
            border: none;
            padding: 10px;
            cursor: pointer;
            border-radius: 50%;
            transition: background-color 0.3s;
        }
        .carousel-buttons button:hover {
            background-color: #0056b3;
        }

/* Titolo centrato in alto */
.protected-page-header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50vh;
  text-align: center;
  padding: 2rem 0;
  background: black;
}

/* Contenitore per centrare il form */
.protected-form-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40vh;     /* facoltativo, per vertical-center */
}

.protected-form-wrapper form {
  max-width: 400px;     /* larghezza massima del form */
  width: 100%;
}

.entry-content {
	max-width: 1300px;
	margin: auto;
}

  /* ! Footer  */

  footer {
    background: #fff;
      color: rgb(35, 35, 35);
      padding-top: 25px;
      border: 15px solid white;
	  border-top: 1px solid lightgray;
  }
  
  .footer__menu{padding: 0;margin: 0; display: block; align-items: center;}
  .footer__menu li{display: block;}
  .footer__menu li a{color: black; opacity: 0.8;display: block;padding: 5px;font-size: 11px; font-weight: 400; text-transform: uppercase;
  }
  
  .footer-title {
    font-size: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid white;
  }
  
  .footer-p {
    font-size: 11px;
  }
  
  .social-links a {
    color: white;
    padding-right: 20px;
  }
  
  .copy {
    margin-top: 25px;
    padding-top: 25px;
      padding-bottom: 25px;
      border-top: 1px solid white;
    font-size: 11px;
  }
  
  .copy a {
    color: white;
  }

.whatsapp-button {
  display: flex;
  position: fixed;
  left: 30px;
  bottom: 20px;
  align-items: center;
  padding: 10px;
  background-color: #24a4ad; /* Colore di WhatsApp */
  color: #fff; /* Colore del testo */
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  z-index: 999;
}

.whatsapp-button:hover {
  background-color: #128C7E; /* Cambia colore al passaggio del mouse */
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
}

#topBtn {
  position: fixed;
  bottom: 60px;
  right: 20px;
  z-index: 9999;
  display: block;
  background-color: #24a4ad;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#topBtn.show {
  opacity: 1;
  pointer-events: auto;
}

#topBtn:hover {
  background-color: #555;
}

#topBtn svg {
  vertical-align: middle;
}


/* Desktop */
@media only screen and (min-width: 992px) {
  /* Inserisci qui le tue regole CSS per desktop */
}

/* Tablet in modalità landscape */
@media only screen and (min-width: 768px) and (max-width: 991px) and (orientation: landscape) {
  /* Inserisci qui le tue regole CSS per tablet in modalità landscape */
}

/* Tablet in modalità portrait */
@media only screen and (min-width: 768px) and (max-width: 991px) and (orientation: portrait) {
  /* Inserisci qui le tue regole CSS per tablet in modalità portrait */
}

/* Smartphone in modalità landscape */
@media only screen and (max-width: 767px) and (orientation: landscape) {
  /* Inserisci qui le tue regole CSS per smartphone in modalità landscape */
	
	h2 {
		font-size: 30px!important;
	}
	
	h3 {
		font-size: 30px!important;
	}
	
	.work-item-name h1 {
    font-size: 28px;
}
	
	.slogan {
    display: none;
}
	
}

/* Smartphone in modalità portrait */
@media only screen and (max-width: 767px) and (orientation: portrait) {
  /* Inserisci qui le tue regole CSS per smartphone in modalità portrait */
	
	.slogan {
    display: none;
}
	
	.work-item-name h1 {
    font-size: 28px;
}
	    .incipit h1 {
        font-size: 25px!important;
    }
	
	h2 {
		font-size: 28px!important;
	}
	
	.incipit h2 {
        font-size: 20px!important;
    }
	
	h3 {
		font-size: 26px!important;
	}
	
	.title-section-lavori {
    position: absolute;
    top: 25px;
    left: 21px;
    color: white;
    font-size: 21px;
    z-index: 3;
}
	
	/* arrows */
	.psl-slide {padding: 10px 10px 50px 10px;}
    .psl-arrow { top: 95%; padding: 0; }
	.psl-dot {padding: 5px;}
	
}
