* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* font */

.titolo1 {
  font-family: titoli1, Helvetica Neue, Helvetica, Arial, sans-serif;
}

.titolo2 {
  font-family: titoli2, Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 50px;
}

.titolo3 {
  font-family: titoli2, Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 40px;
}

.testi {
  font-family: testi, Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 30px;
}

.testi1 {
  font-family: testi, Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 20px;
  text-align: justify;
}

.testi2 {
  font-family: testi, Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 15px;
  text-align: justify;
}

.font-bold {
  font-weight: bold;
}

body {
  position: relative;
  height: 100%;
  background: #eee;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #000;
  margin: 0;
  padding: 0;
}

/* navbar */

.container-menu {
  background-color: #b2967d;
  position: sticky;
  top: 0;
  z-index: 1000; /* Assicurati che la navbar rimanga sopra gli altri contenuti */
}

.offcanvas {
  background-color: #b2967d!important;
}

.fa-classic,
.fa-regular,
.fa-solid,
.far,
.fas {
  font-family: "Font Awesome 6 Free";
  color: #e6dbd2;
  padding-right: 17px;
}

.navbar-toggler {
  padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);
  font-size: var(--bs-navbar-toggler-font-size);
  line-height: 1;
  color: transparent;
  background-color: transparent;
  border: 0px;
}

.titolo2-nav {
  font-family: titoli2, Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 20px;
}


/* swiper*/

.swiper-container {
  height: 100vh;
}

.swiper {
  width: 100%;
  height: 100%;
  background: #000;
}

.swiper-slide {
  height: 100vh !important;
  font-size: 18px;
  color: #fff;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 60px;

}

.parallax-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
}

.parallax-bg-4 {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
}

.parallax-bg-8 {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
}


.swiper-slide .title {
  font-size: 100px;
  font-weight: bold;
  line-height: 200px;
}

.swiper-slide .subtitle {
  font-size: 50px;
  font-weight: bold;
}

.swiper-slide .text {
  font-size: 14px;
  max-width: 400px;
  line-height: 1.3;
}

/* countdown */

.animated-element {
  opacity: 0;
  animation: backInUpAnimation 1s ease forwards;
}

@keyframes backInUpAnimation {
  0% {
    opacity: 0;
    transform: translateY(2000px) scaleY(0.7);
  }
  80% {
    transform: translateY(-20px) scaleY(0.7);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.container-background {
  background-image: url(../img/floral.webp);
  background-position: center;
  background-size: cover;
}

.countdown-header {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
}

.countdown-container {
  text-align: center;
}

.countdown-container h1 {
  font-size: 70px;
}

.countdown {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.countdown-item {
  text-align: center;
}

.countdown-number {
  font-size: 40px;
  font-weight: bold;
  color: #333;
}

.countdown-label {
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
  margin-top: 5px;
}

.testo-countdown h2 {
  font-size: 50px;
}

.testo-countdown p {
  font-size: 30px;
}

.fa-classic, .fa-regular, .fa-solid, .far, .fas, .benvenuto {
  padding-left: 5px;
  padding-right: 5px;
}

.text-beige {
  color: #947961;
}


/* claudio e lidia */

.containerpresentazione {
  background: rgb(230, 219, 210);
  background: linear-gradient(180deg, rgba(230, 219, 210, 1) 46%, rgba(178, 150, 125, 0.9781162464985994) 100%);
}

.sezioneclaudioelidia {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sezioneclaudioelidia img {
  filter: grayscale(0%); /* Imposta le immagini a colori di default */
  transition: filter 0.5s; /* Aggiungi una transizione per un effetto fluido */
}

.sezioneclaudioelidia img:hover {
  filter: grayscale(100%); /* Al passaggio del mouse, converti l'immagine in bianco e nero */
}


.claudioelidia img {
  height: 420px;
}

.claudioelidia h3 {
  font-size: 70px;
}

/* testimoni e damigelli */

.img-hover-zoom {
  transition: transform 0.5s ease;
}

.img-hover-zoom:hover {
  transform: scale(1.1);
}

#testimoniedamigelli {
  height: 100%;
  transition: none!important;
}

.titolosezione {
  color: #947961;
  border-radius: 15px;
  background-color: #947961;
}

.testimonicontainer {
  display: flex !important;
  justify-content: center;
}

.testimonisposo {
  display: flex;
  align-items: center;
}

.bordocontainer {
  padding-left: 15px;
  padding-right: 15px;
}

.testimonisposa {
  display: flex;
  align-items: center;
}

.sposo {
  margin-right: 5px;
  width: 50%;
}

.sposo .titolo1 {
  font-size: 50px;
}

.sposa .titolo1 {
  font-size: 50px;
}

.sposa {
  margin-left: 5px;
  width: 50%;
}

.sposo img {
  height: 250px;
}

.sposa img {
  height: 250px;
}

.cornice img {
  width: 50%;
  height: 50%;
}

.damigellicontainer {
  width: 25%;
}

.damigelli img {
  height: 250px;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background-color: #947961!important;
  color: #000!important;
  font-size: x-large;
}

.nav-pills .nav-link {
  font-size: x-large;
}

.nav-link {
  color: #000000!important;
}

.nav {
  --bs-nav-link-hover-color: #000000;
}

.damigellitab {
  display: flex;
  justify-content: space-between;
}

.fade {
  transition: none!important;
}

.fade:not(.show) {
  opacity: 0;
  display: none !important;
}

.tondo {
  padding-bottom: 140px;
}

.testimoni {
  font-weight: bold;
  font-size: 40px!important;
}

/* timeline */

#timeline {
  height: 100%;
}


.main-timeline .circle .img {
  vertical-align: initial;
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.main-timeline{ position: relative; }
.main-timeline:before,
.main-timeline:after{
    content: "";
    display: block;
    width: 100%;
    clear: both;
}
.main-timeline:before{
    content: "";
    width: 3px;
    height: 100%;
    background: #947961;
    position: absolute;
    top: 0;
    left: 50%;
}
.main-timeline .timeline{
    width: 50%;
    float: left;
    position: relative;
    z-index: 1;
}
.main-timeline .timeline:before,
.main-timeline .timeline:after{
    content: "";
    display: block;
    width: 100%;
    clear: both;
}
.main-timeline .timeline:first-child:before,
.main-timeline .timeline:last-child:before{
    content: "";
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #947961;
    position: absolute;
    top: 0;
    right: -14px;
    z-index: 1;
}
.main-timeline .timeline:last-child:before{
    top: auto;
    bottom: 0;
}
.main-timeline .timeline:last-child:nth-child(even):before{
    right: auto;
    left: -12px;
    bottom: -2px;
}
.main-timeline .timeline-content{
    text-align: center;
    margin-top: 8px;
    position: relative;
    transition: all 0.3s ease 0s;
}
.main-timeline .timeline-content:before{
    content: "";
    width: 100%;
    height: 5px;
    background: #947961;
    position: absolute;
    top: 88px;
    left: 0;
    z-index: -1;
}
.main-timeline .circle{
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #fff;
    border: 8px solid #947961;
    float: left;
    margin-right: 25px;
    position: relative;
}
.main-timeline .circle:before{
    content: "";
    width: 26px;
    height: 30px;
    margin: auto;
    position: absolute;
    top: 0;
    right: -33px;
    bottom: 0;
    z-index: -1;

}
.main-timeline .circle span{
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    line-height: 268px;
    font-size: 73px;

}
.main-timeline .circle span:before,
.main-timeline .circle span:after{
    content: "";
    width: 28px;
    height: 50px;
   
    border-radius: 0 0 0 21px;
    margin: auto;
    position: absolute;
    top: -54px;
    right: -33px;
    bottom: 0;
    z-index: -1;
}
.main-timeline .circle span:after{
    border-radius: 21px 0 0 0;
    top: 0;
    bottom: -56px;
}
.main-timeline .circle .img{
    vertical-align: initial;
    border-radius: 50%;
}
.main-timeline .content{
    display: table;
    padding-right: 40px;
    position: relative;
}
.main-timeline .year{
    display: block;
    padding: 5px;
    margin: 10px 0 50px 0;
    background: #947961;
    border-radius: 7px;
    font-size: 30px;
    color: #fff;
}
.main-timeline .title{
    font-size: 35px;
    font-weight: bold;
    color: #947961;
    margin-top: 0;
}
.main-timeline .description{
    font-size: 14px;
    color: #333;
    text-align: justify;
}
.main-timeline .icon{
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #947961;
    position: absolute;
    top: 78px;
    right: -14px;
}
.main-timeline .icon:before{
    content: "";
    width: 15px;
    height: 25px;
    margin: auto;
    position: absolute;
    top: -1px;
    left: -15px;
    bottom: 0;
    z-index: -1;
}
.main-timeline .icon span:before,
.main-timeline .icon span:after{
    content: "";
    width: 21px;
    height: 25px;
    border-radius: 0 0 21px 0;
    margin: auto;
    position: absolute;
    top: -30px;
    left: -15px;
    bottom: 0;
    z-index: -1;
}
.main-timeline .icon span:after{
    border-radius: 0 21px 0 0;
    top: 0;
    left: -15px;
    bottom: -30px;
}
.main-timeline .timeline:nth-child(2n) .timeline-content,
.main-timeline .timeline:nth-child(2n) .circle{
    float: right;
}
.main-timeline .timeline:nth-child(2n) .circle{
    margin: 0 0 0 25px;
}
.main-timeline .timeline:nth-child(2n) .circle:before{
    right: auto;
    left: -33px;

}
.main-timeline .timeline:nth-child(2n) .circle span:before,
.main-timeline .timeline:nth-child(2n) .circle span:after{
    right: auto;
    left: -33px;
    border-radius: 0 0 21px 0;
}
.main-timeline .timeline:nth-child(2n) .circle span:after{
    border-radius: 0 21px 0 0;
}
.main-timeline .timeline:nth-child(2n) .content{
    padding: 0 0 0 40px;
    margin-left: 2px;
}
.main-timeline .timeline:nth-child(2n) .icon{
    right: auto;
    left: -14px;
}
.main-timeline .timeline:nth-child(2n) .icon:before,
.main-timeline .timeline:nth-child(2n) .icon span:before,
.main-timeline .timeline:nth-child(2n) .icon span:after{
    left: auto;
    right: -15px;
}
.main-timeline .timeline:nth-child(2n) .icon span:before{
    border-radius: 0 0 0 21px;
}
.main-timeline .timeline:nth-child(2n) .icon span:after{
    border-radius: 21px 0 0 0;
}
.main-timeline .timeline:nth-child(2){
    margin-top: 180px;
}
.main-timeline .timeline:nth-child(odd){
    margin: -175px 0 0 0;
}
.main-timeline .timeline:nth-child(even){
    margin-bottom: 180px;
}
.main-timeline .timeline:first-child,
.main-timeline .timeline:last-child:nth-child(even){
    margin: 0;
}

/* sezione location */

.mappa {
  width: 50%;
}

.containerlocation {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

iframe {
  width: 100%;
  height: 100%;
  padding-right: 8px;
}

.carosello {
  width: 50%;
  padding-left: 8px;
}

/* madagascar */

#madagascar {
  height: 100%;
  background-image: url(../img/madagascar.webp);
  background-size: cover;
  background-repeat: no-repeat;
}


.titolomadagascar {
  font-family: titoli2, Helvetica Neue, Helvetica, Arial, sans-serif;
  color: #947961;
  font-weight: bolder;
  font-size: 70px;
  line-height: 70px;
  padding: 26px;
}

/* frase sull'amore conclusiva */

.fraseconclusiva .titolo1 {
  font-size: 50px;
}

/* footer */

footer {
  background-color: #e6dbd2;
}

.linkedin {
  width: 30%;
}

.containerlinkedin {
  text-align: right;
}

/* responsive */

@media (max-width: 1400px) {



}

@media (max-width: 1200px) {

  /* navbar */

  .titolo2-nav {
    font-size: 15px;
  }

  /* testimoni e damigelli */

  .testimonicontainer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .testimonisposo {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .testimonisposa {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .bordocontainer {
    padding-left: 0px;
    padding-right: 0px;
  }

  .damigellitab {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
  }

  .damigellicontainer {
    width: 100%;
  }

  .sposa {
    margin-left: 0px;
    padding-top: 20px;
    width: 100%;
  }

  .sposo {
    margin-right: 0px;
    width: 100%;
  }
  

  /* lidia e claudio */

  .claudioelidia img {
    height: 260px;
  }

  .claudioelidia h3 {
    font-size: 45px;
  }

  /* footer */

  footer .testi2 {
    font-size: 18px;
  }


}

@media only screen and (max-width: 990px){

  /* timeline */

  .main-timeline:before{ left: 100%; }
  .main-timeline .timeline{
      width: 100%;
      float: none;
      margin-bottom: 20px !important;
  }
  .main-timeline .timeline:first-child:before,
  .main-timeline .timeline:last-child:before{
      left: auto !important;
      right: -13px !important;
  }
  .main-timeline .timeline:nth-child(2n) .circle{
      float: left;
      margin: 0 25px 0 0;
  }
  .main-timeline .timeline:nth-child(2n) .circle:before{
      right: -33px;
      left: auto;
  }
  .main-timeline .timeline:nth-child(2n) .circle span:before,
  .main-timeline .timeline:nth-child(2n) .circle span:after{
      right: -33px;
      left: auto;
      border-radius: 0 0 0 21px;
  }
  .main-timeline .timeline:nth-child(2n) .circle span:after{
      border-radius: 21px 0 0 0;
  }
  .main-timeline .timeline:nth-child(2n) .content{
      padding: 0 40px 0 0;
      margin-left: 0;
  }
  .main-timeline .timeline:nth-child(2n) .icon{
      right: -14px;
      left: auto;
  }
  .main-timeline .timeline:nth-child(2n) .icon:before,
  .main-timeline .timeline:nth-child(2n) .icon span:before,
  .main-timeline .timeline:nth-child(2n) .icon span:after{
      left: -15px;
      right: auto;
  }
  .main-timeline .timeline:nth-child(2n) .icon span:before{
      border-radius: 0 0 21px 0;
  }
  .main-timeline .timeline:nth-child(2n) .icon span:after{
      border-radius: 0 21px 0 0;
  }
  .main-timeline .timeline:nth-child(2),
  .main-timeline .timeline:nth-child(odd),
  .main-timeline .timeline:nth-child(even){
      margin: 0;
  }

  .main-timeline .timeline:first-child:before, .main-timeline .timeline:last-child:before {
  left: auto !important;
  right: -14px !important;
  bottom: -23px;
  }

  /* lidia e claudio */

  .tondo {
    padding-bottom: 230px;
  }

  /* footer */

  footer .testi2 {
    font-size: 11px;
  }

  .linkedin {
    width: 50%;
  }

}

@media (max-width: 800px) {

  /* lidia e claudio */

  .claudioelidia img {
    height: 300px;
  }

  .sezioneclaudioelidia {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .tondo {
    padding-top: 30px;
  }

  .tondo {
    padding-bottom: 0px;
  }

  /* madagascar */

  .titolomadagascar {
    font-size: 40px;
    line-height: 35px;
    padding: 14px;
}

  /* frase sull'amore conclusiva */

  .fraseconclusiva .titolo1 {
    font-size: 30px;
  }

  .fraseconclusiva .titolo3 {
      font-size: 23px;
  }

}

@media (max-width: 768px) {

  /* font */

  .titolo2 {
    font-size: 30px;
  }
  
  .testi {
    font-size: 20px;
  }

 
  /* carosello */

  .swiper-slide .title {
    font-size: 50px;
    font-weight: bold;
    line-height: 200px;
  }
  
  .swiper-slide .subtitle {
    font-size: 25px;
    font-weight: bold;
  }

  .countdown-container h1 {
    font-size: 50px;
  }

  .countdown-container {
    width: 100%;
  }

  .testo-countdown h2 {
    font-size: 30px;
  }

  .testo-countdown p {
    font-size: 15px;
  }

  .titolo3mobile {
    font-size: 28px;
  }


}

@media (max-width: 510px) {

  .parallax-bg-4 {
    width: 120%;
  }

  .parallax-bg-8 {
    position: absolute;
    left: 0;
    top: 68px;
    width: 107%;
    height: 93%;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center;
}
  

}

@media only screen and (max-width: 480px){

  /* timeline */

  .main-timeline:before{ left: 0; }
  .main-timeline .timeline:first-child:before,
  .main-timeline .timeline:last-child:before{
      left: -12px !important;
      right: auto !important;
  }
  .main-timeline .circle,
  .main-timeline .timeline:nth-child(2n) .circle{
      width: 130px;
      height: 130px;
      float: none;
      margin: 0 auto;
  }
  .main-timeline .timeline-content:before{
      width: 99.5%;
      top: 68px;
      left: 0.5%;
  }
  .main-timeline .circle span{
      line-height: 115px;
      font-size: 60px;
  }
  .main-timeline .circle:before,
  .main-timeline .circle span:before,
  .main-timeline .circle span:after,
  .main-timeline .icon{
      display: none;
  }
  .main-timeline .content,
  .main-timeline .timeline:nth-child(2n) .content{
      padding: 0 10px;
  }
  .main-timeline .year{
      margin-bottom: 15px;
  }
  .main-timeline .description{
      text-align: justify;
  }
}

@media (max-width: 440px) {

  /* countdown */

  .countdown-header {
    height: 100%;
  }


  /* sezione location */

  .mappa {
    width: 100%;
  }

  .containerlocation {
    display: flex;
    flex-direction: column;
  }

  iframe {
    width: 100%;
    height: 310px;
    padding-right: 0px;
  }

  .carosello {
    padding-left: 0px;
    width: 100%;
  }

  /* footer */

  footer .testi2 {
    font-size: 8px;
  }

  .linkedin {
    width: 72%;
  }

}


@media (max-width: 384px) {

  /* countdown */

  .countdown-container h1 {
    font-size: 35px;
  }

}