body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #fdfaf6;
  color: #5c4f45;
  position: relative;
  max-width:500px;
  margin:auto !important;
}
 
/* body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #fdfaf6;
  color: #5c4f45;
 
      max-width: 350px;
 
    margin: auto;
} */
 

.decorazione1 img {
  width: 150%;
  position: relative;
  left: -50%; /* Sposta l'immagine verso sinistra */
}
 
p, .event-schedule li {
  font-size:16px;
}
 
.event-schedule li p{
  text-align: center;
  
}
.cntnr {
 /*  max-width: 1200px; */
 max-width: 500px;
  margin: 125px auto 50px;
 
}

 
.central-content {
  width: 70%;
  position: relative; /* Necessario per il contesto di stacking */
  z-index: 10; /* Sopra la decorazione */
 /*  background: white; */
 background: #E1CBB5;
  box-shadow: 3px 10px 19px gray;
  border-radius: 8px;
  margin: 0 auto; /* Centra orizzontalmente */
}


.banner {
  margin: auto;
  text-align: center;
 /*  height: 800px; */
  overflow: hidden;
  position: relative; /* Necessario per il contesto di stacking */
}

.banner-frame {
  background-image: url("../images/header_final.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 5;
}

img.grooms {
  max-width: 40%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
}


.top-decoration{
  z-index: 9 
;
}
.top-decoration img{
  max-width:100%;
  position:absolute;
  top:-122px;
  /* top:-135px; */
  z-index:1;
}
.event-schedule{
  list-style: none; padding: 0;  
}
.section {
  text-align: center;
  padding: 20px;
}
 

.section li{
  font-size:20px;
}
.rsvp-button {
  background-color: #c89f7d;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  
  .banner h1 {
    font-size: 2.5rem;
  }

  .section h2 {
    font-size:2rem;
  }
  .left-decoration{
    width: 10%;
    bottom: 0;
      position: absolute;
    left: -146px; /* Adatta la posizione per schermi piccoli */
    bottom: 0;
  }
  
  .right-decoration {
    top: 3%;
    right: -7%;
    width: 30%;
    z-index: 1;
  }
   .cntnr {
    position: relative;
 
    flex-direction: column; /* Mantiene il layout leggibile */
  }
  .central-content {
    width: 80%;
    margin: 0 auto;
    z-index: 999;
  }
 
}
@media screen and (min-width: 700px) {
  .left-decoration{
    z-index: 9999;
  /*   bottom: -300px; */
  bottom: 0;
  }
}
 /* multilingua */
   /*  */
  .locale-dropdown {
    position: relative;
    display: inline-block;
    right: -70%;
    top: 5px;
  }

  .locale-btn {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 7px 12px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 5px;
  }

  .locale-btn img {
    width: 20px;
    height: auto;
  }

  .locale-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    min-width: 150px;
  }

  .locale-menu a {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    gap: 8px;
  }

  .locale-menu a:hover {
    background-color: #f0f0f0;
  }

  .locale-menu img {
    width: 20px;
    height: auto;
  }

  .locale-dropdown:hover .locale-menu {
    display: block;
  }

  /* AAAAAAAAAAAAAAAA */
  /* Stile generale */
.timeline {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 50px auto;
  width: 90%;
}

/* Linea centrale */
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 100%;
  background: #5c4f45; /* Marrone tenue */
  transform: translateX(-50%);
}

/* Ogni evento */
.timeline li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 50%;
  padding: 20px 0;
}

/* Alternanza eventi sinistra/destra */
.timeline li:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: left;
  left: 50%;
}

.timeline li:nth-child(even) {
  text-align: right;
  left: 0;
}

/* Stile per l'orario */
.time {
  font-weight: bold;
  font-size: 18px;
  background: #c89f7d; /* Beige scuro */
  color: white;
  padding: 8px 15px;
  border-radius: 25px;
  position: relative;
}

/* Stile per l'evento */
.event {
  font-size: 16px;
  background: #E1CBB5; /* Beige chiaro */
  padding: 10px 15px;
  border-radius: 10px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
  width: 350px;
  color: #5c4f45; /* Marrone testo */
}

/* Pallino decorativo neutro */
 
 
  .font-parisienne {
    font-family: Parisienne;
  }

  .fw-200 {
    font-weight: 200;
  }

  .fw-600 {
    font-weight: 400;
  }

  .fs-19px {
    font-size: 19px
  }

  .font-poppins {
    font-family: Poppins;
  }

  .big-decoration img {
    width: 100%;

    position: absolute;
    bottom: 52%;
    /* top: -135px; */
    z-index: 1;
  }

  .big-decoration-bottom img {
    width: 100%;

    position: absolute;
    bottom: 15%;

    z-index: 1;
  }