@charset "UTF-8";
/* CSS Document */

html {
  scroll-behavior: smooth;
}
body,
h1,
h2,
h3,
h4,
h5,
p {
  font-family: "Montserrat", sans-serif;
}


.bodoni-moda-<uniquifier> {
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.montserrat-<uniquifier> {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
::-moz-selection {
  /* Code for Firefox */
  color: #F4F2E8;
  background: #383838;
}

::selection {
  color: #F4F2E8;
  background: #383838;
}

.wa {
    position: fixed;
    max-width: 120px;
    right: 1rem;
    bottom: 1rem;
    z-index: 100000;
}
.noise {
  pointer-events: none;
  z-index: calc(infinity);
  opacity: .06;
  background-image: url(../img/noise.gif);
  background-position: 0 0;
  background-size: 250px;
  background-attachment: fixed;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.wa {
  position: fixed;
  max-width: 80px;
  right: 1rem;
  bottom: 1rem;
  z-index: 1002;
}
.navbar-toggler {
  border:0px solid transparent;
}
.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 transparent;
}
.logo-nav {
  max-width: 120px;
  min-width: 120px;

}
.bg-light{
  background-color: #f2efe6!important;
}

.link-nav{
    color:#7e7e7c;
}
.link-nav:hover{
    color:#8ea391;
}
.navbar {
  background-color: #f2efe6!important;
  padding-left: 2%;
  padding-right: 0.5rem;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  z-index: 1000;
  margin-left: 1.5%;
  margin-right: 1.5%;
  margin-top:0.5%;
  border-radius:0.6rem;
  box-shadow: 0.1rem 0.1rem 2rem #2524240c;
  color:#7e7e7c;


}

.nav-link {
  display: block;
  padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
  font-size: calc(16px + (20 - 16)*((100vw - 300px) /(1920 - 300)));
  font-weight:500;
  color:#7e7e7c!important;
  text-decoration: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
  letter-spacing: 0.05em;
  margin-left: 2.4rem;
  margin-right: 2.4rem;
}


.navbar .megamenu {
    padding: 4rem;
    padding-left: 2%;
    padding-right: 2%;
    padding-bottom: 1.5%;
    padding-top: 1.5%;
    background-color: #f2efe6;
    background-position: right;
    background-size: cover;
    border-radius: 0px;
    border: 0px;
    margin-top: 0.5rem;
    border-radius:0.6rem;
    
  }

.has-megamenu > .dropdown-toggle::after {
  width: 0.5rem;
  height: 0.5rem;
  margin-left: 0.6rem;
  vertical-align: 0.2rem;
  border: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.has-megamenu > .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(225deg);
}

.mega-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  font-size: 1.8rem;
  line-height: 1;
  color: #7e7e7c;
  background: #f2efe6;
  border: 1px solid #8ea391;
  border-radius: 50%;
  box-shadow: 0 0.2rem 0.8rem #25242426;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.mega-menu-close:hover,
.mega-menu-close:focus-visible {
  color: #f2efe6;
  background-color: #8ea391;
  outline: none;
}

  /* ============ desktop view ============ */
@media all and (min-width: 992px) {

    .navbar .has-megamenu {
      position: static !important;
    }
  
    .navbar .megamenu {
      left: 0;
      right: 0;
      width: 100%;
       margin-top: 0.5rem;
    }

    .has-megamenu > .dropdown-toggle:hover,
    .has-megamenu > .dropdown-toggle[aria-expanded="true"] {
      color: #8ea391 !important;
    }
  
  }

@media all and (max-width: 991px) {
  .navbar .megamenu {
    position: relative;
  }
}



.box-img-nav{
  padding: 0.5rem;
}
.g1{
  background-image: url(../img/navbar/g1.jpg);
  background-size:cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: calc(0.8);
  height: 70vh;
  animation-delay: 0s;
  animation-name: an-g1;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

@keyframes an-g1 {
  0% {
    width: 0%;   
  }
  100% {
    width: 100%;
  }
}
.g2{
background-image: url(../img/navbar/g2.jpg); 
  background-size:cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity:calc(0);
  height: 70vh;
  animation-delay: 0.5s;
  animation-name: an-g2;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  width: 0%;   
}

@keyframes an-g2 {
  0% {
    width: 0%;  
    opacity:calc(0);
  }
  1% {
    width: 0%;  
    opacity:calc(0.8);
  }
  100% {
    width: 100%;
opacity:calc(0.8);
  }
}

.btn-nav{
  background-color: #8ea391;
  padding: 0.3rem 0.8rem;
  border-radius:0.4rem;
  color:#e9e5da;
}
.sp-cont-nav{
  margin-left: 0.2rem;
  margin-right: 0.2rem;
}
.txt-menu{
  font-size: calc(16px + (50 - 16)*((100vw - 300px) /(1920 - 300)));
  color:#7e7e7c;
  font-weight: 500;
  margin-bottom:0px;
  border-bottom:2px solid #d9d9d9ae;
  margin-right: 2rem;
  padding-left:1rem;
  transition-duration: 1s;
}
.pos-txt-nav{
  position:absolute;
  bottom:1%;
}
.txt-menu:hover {
  padding-left: 3rem;
  transition-duration: 1s;
}

.scroll-color-text {
  white-space: normal;
  
}

.animazione span {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  filter: blur(0px);
  transition: all 0.8s ease;
}

.animazione span.show {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.scroll-color-text span {
  color: #88a38870;
  transition: color 1s ease;
  font-size: calc(16px + (46 - 16)*((100vw - 300px) /(1920 - 300)));
  line-height: calc(16px + (56 - 16)*((100vw - 300px) /(1920 - 300)));
  text-align: center;
}

.scroll-color-text span.colored {
  color: #667269;
  text-align: center;
}
.scroll-color-text {
  font-size: calc(16px + (46 - 16)*((100vw - 300px) /(1920 - 300)));
  text-align: center;
  font-weight: 500;
}

.scroll-color-text span {
  color: #e9e5da;
  transition: color 1s ease;
}

.scroll-color-text span.colored {
  color: #8ea391;
}
/*--------------------------------hover-line-------------------------------*/
/*------------------------------------------------scroll-video-------------------------------------------*/
/* ── Sezione scroll ── */
 .scroll-section {
    position: relative;
    height: 300vh;
  }
 
  .sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
 
  /* ── Testo: parte invisibile, appare durante lo scroll ── */
  .scroll-text {
    text-align: center;
    margin-bottom: 2.5rem;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
  }
 
  .scroll-text .label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
  }
 

 
  /* ── Video container: parte fullscreen ── */
  .video-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 0%;
    overflow: hidden;
    will-change: width, height, border-radius;
    z-index: 1;
  }
 
  .video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
 
  
 
  /* ── Scroll indicator ── */
  .scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 3;
  }
 
  .scroll-hint::after {
    content: '';
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    animation: scrollLine 1.6s ease-in-out infinite;
  }
 
  @keyframes scrollLine {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
  }
/*-----------------------------------fine-scroll-video----------------------------------------------*/
/*-----------------------------------Video Back----------------------------------------------*/

.video-background-holder {
  position: relative;
  height: 80vh;
  min-height: 0rem;
  width: 100%;
  overflow: hidden;
}

.img-manifesto,
.img-manifesto:hover {
  transition-duration: .3s
}

.video-background-holder video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%)
}

.video-background-content {
  position: relative;
  z-index: 2
}

.video-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  margin-top: 20vh;
  height: 55vh;
  width: 100%;
  background-color: #fff;
  opacity: 0;
  z-index: 1
}


/*-----------------------------------Fine Video Back----------------------------------------------*/
.back-uccelli{ 
  background-image: url(../img/back-uccelli.svg);
  background-position:  center;
  background-size: 100%;
  background-repeat: no-repeat;
}
.back-uccelli2{ 
  background-image: url(../img/back-uccelli2.svg);
  background-position:  center;
  background-size: 100%;
  background-repeat: no-repeat;
}


.title-h1{
  font-family: "Bodoni Moda", serif;
  font-size: calc(44px + (100 - 44)*((100vw - 300px) /(1920 - 300)));
  font-weight: 600;
  text-transform: uppercase;
  color: #68786b;
}
.title-h2-head{
  font-size: calc(24px + (40 - 24)*((100vw - 300px) /(1920 - 300)));
  font-weight: 300;
  text-transform: uppercase;
  color: #68786b;
}
.title-h2-head-bot{
  font-size: calc(22px + (20 - 22)*((100vw - 300px) /(1920 - 300)));
  font-weight: 300;
  text-transform: uppercase;
  color: #68786b;
}
.logo-head{
  width: 100%;
}
.grad{
  width: 100%;
}
.sp-famiglia{
  padding-left: 7%;
  padding-right: 7%;
  padding-top: 7%;
  padding-bottom: 7%;
  background-color: #8ea391;
}
.sez-foto{ 
  position:relative;
}

.ph-1{

  width: 80%;
  z-index: 10;
  box-shadow: 1px 1px 10px #2524246b;


}



.sp-testo-famiglia{
  padding-left: 4%;
}
.title-h2{
  font-family: "Bodoni Moda", serif;
  font-size: calc(24px + (56 - 24)*((100vw - 300px) /(1920 - 300)));
  font-weight: 600;
  text-transform: uppercase;
  color:#f2efe6
}
.title-h3{
  font-family: "Bodoni Moda", serif;
  font-size: calc(22px + (36 - 22)*((100vw - 300px) /(1920 - 300)));
  font-weight: 600;
  text-transform: uppercase;
  color:#8ea391;
  text-align:center;
}
.txt-famiglia{
  font-size: calc(16px + (24 - 16) * ((100vw - 300px) / (1920 - 300)));
  color:#f2efe6;
  font-weight: 400;
    margin-bottom: 0px;
    margin-right: 2rem;
    padding-left: 1rem;
    transition-duration: 1s;
}


.box-sx-serv{
  padding:2rem;
  padding-right: 1.5rem;
}
.box-dx-serv{
  padding:2rem;
  padding-left: 1.5rem;
}

.title-h2-gr{
  font-family: "Bodoni Moda", serif;
  font-size: calc(24px + (56 - 24)*((100vw - 300px) /(1920 - 300)));
  font-weight: 600;
  text-transform: uppercase;
  color:#8ea391;
  text-align: center;
}

.sp-sede{
  padding-top: 10%;
  padding-bottom:8rem;
}

.back-green{
  background-color: #8ea391;
}



.sp-punti{
  padding-top: 4rem;
  padding-left: 4rem;
  padding-right: 4rem;
}

.back-nuvole{ 
  background-image: url(../img/nuvole.png);
  background-size:cover;
  background-position: center;
  background-repeat: no-repeat;
}
.sp-txt-necrologi{
  padding-top: 7%;
  padding-left: 4%;
  padding-right: 4%;
}





.title-necrologi{
  font-family: "Bodoni Moda", serif;
  font-size: calc(24px + (44 - 24)*((100vw - 300px) /(1920 - 300)));
  font-weight: 600;
  text-transform: uppercase;
  color:#f2efe6;
}

.txt-necrologi{
   font-size: calc(16px + (22 - 16) * ((100vw - 300px) / (1920 - 300)));
   line-height: calc(16px + (24 - 16) * ((100vw - 300px) / (1920 - 300)));
  color:#f2efe6;
  font-weight: 300;
  padding-top: 2rem;
}

.sp-btn{
  padding-top: 2rem;
}
.btn-w{
  background-color:#f2efe6;
  padding: 0.8rem 1.5rem;
  border-radius:0.2rem;
  color: #8ea391;
}
.btn-w:hover{
  background-color:#e6e2da;
  padding: 0.8rem 1.5rem;
  border-radius:0.2rem;
  color: #8ea391;
}
.box-annunci{
  height:50vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.nome{
  font-size: calc(16px + (38 - 16)*((100vw - 300px) /(1920 - 300)));
  font-weight: 600;
  text-transform: uppercase;
  color:#f2efe6;
  text-align:center;
}
.date{
  font-size: calc(16px + (24 - 16)*((100vw - 300px) /(1920 - 300)));
  font-weight: 400;
  text-transform: uppercase;
  color:#f2efe6;
  text-align:center;
}
.box-nome{
  padding-top: 40%;
  padding-left: 4%;
  padding-right: 4%;
  
}
.back-necrologi{
background-color: #8ea3919c;
height:100%;

}

.box-annunci>.back-necrologi{
opacity: calc(0);
transition-duration: 1s;
}

.box-annunci:hover>.back-necrologi{
opacity: calc(1);
transition-duration: 1s;
}


.sp-funerali{
  padding-top: 12%;
  padding-bottom:12%;
  padding-left: 8%;
  padding-right: 8%;
}



.txt{
    font-size: calc(16px + (24 - 16)*((100vw - 300px) /(1920 - 300)));
  color:#5c5c5b;
  font-weight: 400;
  margin-bottom:0px;
  transition-duration: 1s;
}

.head-casa{
  width: 100%;  
}


.pos-casa{
  position: absolute;
  right:2rem;
  bottom:18%;
}
.h1-casa{
  font-family: "Bodoni Moda", serif;
  font-size: calc(44px + (200 - 44)*((100vw - 300px) /(1920 - 300)));
  line-height: calc(44px + (180 - 44)*((100vw - 300px) /(1920 - 300)));
  font-weight: 600;
  text-transform: uppercase;
  color: #68786b;
  text-align: right;
}

.h2-casa{
  font-size: calc(16px + (40 - 16)*((100vw - 300px) /(1920 - 300)));
  line-height: calc(16px + (40 - 16)*((100vw - 300px) /(1920 - 300)));
  font-weight: 400;
  color: #68786b;
  text-align: right;
}


.text-casa {
font-size: calc(16px + (24 - 16)*((100vw - 300px) /(1920 - 300)));
  line-height: calc(18px + (28 - 18)*((100vw - 300px) /(1920 - 300)));
  font-weight: 400;
  color: #353535;
}

.h-sez-casa{
  padding-top: 6rem;
}
.sp-sez-casa{
  padding-left: 5%;
  padding-right: 5%;
}
.sp-sez-casa{
  padding: 40px;
  background-color: #e8e5db;
}
.sp-sez-casa-green{
  padding: 40px;
  background-color: #68786b;
}
.box-sez-casa{
  background-color: #f7f6f1;
}

.title-sez-casa{
  font-family: "Bodoni Moda", serif;
  font-size: calc(34px + (70 - 34)*((100vw - 300px) /(1920 - 300)));
  line-height: calc(34px + (70 - 34)*((100vw - 300px) /(1920 - 300)));
  font-weight: 600;
  text-transform: uppercase;
  color: #68786b;
  padding-top:20%;
}
.white{
  color: #f7f6f1;
}
.sez-point{
  padding-right: 20%;
}
.box-point-casa{
  border-bottom:1px solid #919090;
  padding-top: 2rem;
}
.point-casa{
  font-family: "Bodoni Moda", serif;
  font-size: calc(30px + (34 - 30)*((100vw - 300px) /(1920 - 300)));
  line-height: calc(30px + (34 - 30)*((100vw - 300px) /(1920 - 300)));
  font-weight: 600;
  text-transform: uppercase;
  color: #68786b;
}

.img-servizi{
  padding:0.5rem;
  padding-right: 0.25rem;
  margin:0;
}
.img-servizi2{
  padding:0.5rem;
  padding-left: 0.25rem;
}

.sp-foto-servizi{
  padding-top:6rem;
}

.box-cremazioni{
  padding:2rem;
  border-right:1px solid #919090;
  text-align: end;
}

.box-fiori{
  padding:2rem;

}

.title-h3-serv{
  font-family: "Bodoni Moda", serif;
  font-size: calc(22px + (36 - 22)*((100vw - 300px) /(1920 - 300)));
  font-weight: 600;
  text-transform: uppercase;
  color:#8ea391;
}



.box-necrologi{
  padding-top:2rem;
  padding-bottom:2rem;;
  background-color: #8ea3911a;
  border:6px solid #f2efe6;
  box-shadow: 0px 0px 10px #4b4b4b0e;
}
.box-necrologi-form{
  padding-top:2rem;
  padding-bottom:2rem;;
  background-color: #8ea391;
  border:6px solid #f2efe6;
  box-shadow: 0px 0px 10px #4b4b4b0e;
  padding-left:2rem;
  padding-right:2rem;
}


.nome-n{
  font-size: calc(16px + (28 - 16)*((100vw - 300px) /(1920 - 300)));
  font-weight: 600;
  margin-bottom:0rem;
  text-transform: uppercase;
  color:#8ea391;
  text-align:center;
}
.date-n{
  font-size: calc(16px + (24 - 16)*((100vw - 300px) /(1920 - 300)));
  font-weight: 400;
  text-transform: uppercase;
  color:#8ea391;
  text-align:center;
}

.foto-n{
  max-width: 80%;
  margin:1rem;
  border:2px solid #f2efe6;
}

.btn-n{
  font-size: calc(16px + (18 - 16)*((100vw - 300px) /(1920 - 300)));
  font-weight: 500;
  background-color:#8ea391;
  padding: 0.4rem 1rem;
  border-radius:0.2rem;
  color: #f2efe6;
}

.box-telegramma{
  padding-bottom:4rem;
}
.sp-necrologi{
  padding-top: 10rem;
  padding-bottom: 4rem;
}

.sp-foot{
  padding-top: 8%;
  padding-bottom: 2%;
}
.txt-foot{
  font-size: calc(16px + (22 - 16)*((100vw - 300px) /(1920 - 300)));
  color:#f5f4f1;
  font-weight: 300;
  margin-bottom:0px;
  transition-duration: 1s;
  padding-left: 2rem;
}
.txt-dati{
  font-size: calc(14px + (16 - 14)*((100vw - 300px) /(1920 - 300)));
  color:#f5f4f1;
  font-weight: 300;
  margin-bottom:0px;
  transition-duration: 1s;
  padding-top: 3rem;
}
.sede-foot{
    font-size: calc(16px + (24 - 16)*((100vw - 300px) /(1920 - 300)));
  color:#f5f4f1;
  font-weight: 600;
  margin-bottom:0px;
  margin-right: 2rem;
  padding-left:1rem;
  transition-duration: 1s;
  padding-top: 0.5rem;

}

.scritta-foot{
  max-width: 100%;
}
.lg-foot{
  padding-right: 10%;
  padding-left: 10%;
}
.sp-sez-foot{
  padding-left: 4%;
  padding-right: 4%;
}
.form-control {
  background-color: transparent;
  border: 0px solid transparent;
  border-bottom:3px solid #f5f4f1;
  border-radius:0rem;
  font-size: calc(16px + (22 - 16)*((100vw - 300px) /(1920 - 300)));
  color: #f5f4f1;
}
::placeholder{
  color: #f5f4f1!important;
  font-weight: 300;
}

.btn-foot{
  background-color: #f5f4f1;
  color: #3f7e7f;
  padding:0.5rem 2rem;
  border:0px;
  border-radius:5px;
}

.form-check-label{
  font-size: calc(12px + (16 - 12)*((100vw - 300px) /(1920 - 300)));
  font-weight: 400;
}



a {
  color: #f5f4f1;
  text-decoration: none;
}

a:hover {
  color: #f5f4f1;
  text-decoration: none;
}
.white{
  color:#f5f4f1;
}


@media only screen and (max-width: 1500px) {
  .text-casa {
font-size: calc(16px + (20 - 16)*((100vw - 300px) /(1920 - 300)));
  line-height: calc(18px + (24 - 18)*((100vw - 300px) /(1920 - 300)));
}

.point-casa{
  font-size: calc(30px + (30 - 30)*((100vw - 300px) /(1920 - 300)));
  line-height: calc(30px + (30 - 30)*((100vw - 300px) /(1920 - 300)));
}
.title-sez-casa {

  font-size: calc(28px + (60 - 28)*((100vw - 300px) /(1920 - 300)));
  line-height: calc(28px + (70 - 28)*((100vw - 300px) /(1920 - 300)));
}
}
@media only screen and (max-width: 1200px) {
  .sez-foto{
    height:60vh;
  }
  .sez-foto {
    position: relative;
}
.box-annunci{
  height:30vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.box-annunci>.back-necrologi{
opacity: calc(1);
transition-duration: 1s;
}
.box-nome {
    padding-top: 30%;
    padding-left: 4%;
    padding-right: 4%;
}
.sp-punti {
    padding-top: 4rem;
    padding-left: 1rem;
    padding-right: 1rem;
}
.lg-foot {
    padding-right: 3%;
    padding-left: 3%;
}
.g1 {
    height: 30vh;
}
.g2 {
   height: 30vh;
}
.nav-link {
  margin-left:0rem;
}
.txt-menu {
    font-size: calc(16px + (30 - 16) * ((100vw - 300px) / (1920 - 300)));
    color: #7e7e7c;
    font-weight: 500;
    margin-bottom: 0px;
    border-bottom: 2px solid #d9d9d9ae;
    margin-right: 2rem;
    padding-left: 1rem;
    transition-duration: 1s;
}
}

@media only screen and (max-width: 850px) {
  .back-uccelli{ 
  background-image: url(../img/back-uccelli-mobile.svg);
  background-size: 120%;
  }
.back-uccelli2 {
    background-image: url(../img/back-uccelli-mobile2.svg);
    background-position: bottom;
    background-size: 120%;
    background-repeat: no-repeat;
}
  .sez-foto{
    height:50vh;
  }
  .txt-famiglia {
    margin-right:0rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .sp-famiglia {
    padding-left: 3%;
    padding-right: 3%;
    padding-top: 7%;
    padding-bottom: 7%;
    background-color: #8ea391;
}
.video-background-holder {
    position: relative;
    height: 40vh;
    min-height: 0rem;
    width: 100%;
    overflow: hidden;
}
.box-sx-serv {
    padding: 0.8rem;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}
.txt-necrologi{
  padding-top: 0.5rem;
}
.sp-btn {
    padding-top: 0.5rem;
}
.sp-txt-necrologi {
    padding-top: 7%;
    padding-left: 8%;
    padding-right: 8%;
    padding-bottom: 7%;
}
.sp-funerali {
    padding-top: 12%;
    padding-bottom: 12%;
    padding-left: 7%;
    padding-right: 7%;
}
.sp-sede {
    padding-top: 10%;
    padding-bottom: 2rem;
    padding-left:7%;   
    padding-right: 7%;
}
.back-nuvole {
    background-image: url(../img/nuvole-mobile.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.box-annunci{
  height:18vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.box-annunci>.back-necrologi{
opacity: calc(1);
transition-duration: 1s;
}
.back-necrologi {
    background-color: #8ea3915d;
    height: 100%;
}
.box-nome {
    padding-top: 10%;
    padding-left: 4%;
    padding-right: 4%;
}
.sp-punti {
    padding-top: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}
.h-punti{
  padding-top:2rem;
}
.sez-cont{
  padding-bottom:2rem;
}
.lg-foot {
    padding-right: 5%;
    padding-left: 5%;
}
.txt-foot{
  padding-left: 0.5rem;
}
.scroll-text {
  padding-left: 5%;
  padding-right: 5%;
}
.pos-txt-nav {
    position: relative;
    bottom: 1%;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
}
.g1 {
    height: 20vh;
}
.g2 {
   height: 20vh;
}
.nav-link{
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}
.pos-casa{
  position: absolute;
  right:1rem;
  bottom:1%;
}
.sez-point {
  padding-right: 5%;
  padding-left: 5%;
  padding-bottom: 2rem;
}
.sp-1txt{
  padding-right: 3%;
  padding-left: 3%;
}
.sp-sez-casa {
  padding: 10px;
}
.sp-sez-casa-green{
  padding: 10px;
}
.title-sez-casa{
  padding-top: 3%;
}
.sp-title-sez-casa{
  padding-left:10%;
  padding-right:10%;
}
.box-cremazioni {
  padding: 0.5rem;
  border-right: 0px solid #919090;
  text-align: start;
}
.img-servizi {
  padding: 0.25rem;
  padding-right: 0.25rem;
}
.img-servizi2 {
  padding: 0.25rem;
  padding-right: 0.25rem;
}
.box-fiori {
  padding: 0.5rem;
}

}

/*-----------------------------------Skeleton loading----------------------------------------------*/
.skeleton,
.box-annunci.is-skeleton,
.foto-n.is-loading {
  --sk-base: rgba(142, 163, 145, 0.18);
  --sk-highlight: rgba(142, 163, 145, 0.38);
  background-image: linear-gradient(90deg, var(--sk-base) 25%, var(--sk-highlight) 37%, var(--sk-base) 63%) !important;
  background-size: 400% 100% !important;
  animation: skeleton-shimmer 1.4s ease infinite;
}

@keyframes skeleton-shimmer {
  from { background-position: 100% 50%; }
  to { background-position: 0 50%; }
}

.skeleton {
  border-radius: 0.2rem;
}

/* Home: card necrologi in attesa dei dati */
.box-annunci.is-skeleton {
  --sk-base: rgba(242, 239, 230, 0.15);
  --sk-highlight: rgba(242, 239, 230, 0.32);
  pointer-events: none;
}
.box-annunci.is-skeleton > .back-necrologi {
  opacity: 1;
  background-color: transparent;
}
.box-annunci.is-skeleton .nome {
  width: 60%;
  height: 1.2em;
  margin: 0 auto;
  border-radius: 0.2rem;
  background-color: rgba(242, 239, 230, 0.35);
}

/* Pagina necrologi: card placeholder */
.necrologio-skeleton .skeleton-foto {
  width: 80%;
  aspect-ratio: 4 / 3;
  margin: 1rem auto;
}
.necrologio-skeleton .skeleton-title {
  width: 65%;
  height: 1.6rem;
  margin: 0 auto;
}
.necrologio-skeleton .skeleton-btn {
  width: 50%;
  height: 2.2rem;
  margin: 1rem auto 0;
}

/* Immagine manifesto in caricamento */
.foto-n.is-loading {
  width: 80%;
  aspect-ratio: 4 / 3;
  color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .skeleton,
  .box-annunci.is-skeleton,
  .foto-n.is-loading {
    animation: none;
  }
}
/*-----------------------------------Fine Skeleton loading----------------------------------------------*/
