body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", serif;
  color: #333;
  background-color: white;
}


.background {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  background: #f9f9f9;
  padding-top: 0px; 
  margin-bottom: 7%;
}

.content {
  text-align: center;
}

.image-container {
  position: relative;
}

.hero-image {
  max-width: 100%;
  height: auto;
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  text-align: center; 
  color: white;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center; 
}

.text-overlay h1 {
  font-size: 6em;
  margin: 0;
  font-family: "Lavishly Yours", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 100%;
}

.text-overlay h2 {
  font-size: 1.5em;
  margin: 10px 0 0;
}

.countdown-wrapper {
  position: absolute;
  bottom: -50px; 
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  background: #89a7c2;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.save-the-date {
  background: #606060;
  color: white;
  padding: 5px 10px;
  border-radius: 8px 8px 8px 8px;
  font-weight: bold;
  font-size: 1.2em;
  text-align: center;
}

.countdown {
  display: flex;
  gap: 20px;
  padding-left: 20px;
  color: white;
}

.timer {
  text-align: center;
  color: white;
}

.timer span {
  display: block;
  font-size: 1.2em;
}

.timer span:first-child {
  font-weight: bold;
  font-size: 2em;
  color: #ffffff;
}

@media (max-width: 1024px) {
  .text-overlay h1 {
    font-size: 5em; 
  }

  .text-overlay h2 {
    font-size: 1.2em; 
  }

  .countdown-wrapper {
    bottom: -40px; 
    padding: 8px 15px;
  }

  .save-the-date {
    font-size: 1em; 
  }

  .countdown {
    gap: 15px; 
    padding-left: 15px;
  }

  .timer span {
    font-size: 1em; 
  }

  #imgs{
    width: 90% !important;
  }
}



@media (max-width: 480px) {
  .text-overlay h1 {
    font-size: 3.5em;
  }

  .text-overlay h2 {
    font-size: 1em;
  }

  .countdown-wrapper {
    bottom: -20px; 
    padding: 5px 8px;
  }

  .save-the-date {
    font-size: 0.9em; 
  }

  .countdown {
    gap: 5px; 
    padding-left: 5px;
  }

  .timer span {
    font-size: 0.9em;
  }
}

.music-bg {
  position: relative;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: auto;
  background: none; 
}

.music-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('letter.jpg') no-repeat center center;
  background-size: cover;
  opacity: 0.8; 
  z-index: -1; 
}
.music-player {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  width: 90%;
  max-width: 300px;
  margin: 10px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 0 4px 15px rgba(255, 255, 255, 0.3);
}

@media (max-width: 480px) {
  .music-player {
    width: 95%;
    max-width: 280px;
    padding: 10px;
  }

  .music-player h2 {
    font-size: 16px;
  }
}


.controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.controls button {
  background-color: #89a7c2;
  color: white;
  border: none;
  padding: 10px 15px; 
  border-radius: 5px;
  cursor: pointer;
  font-size:  px;
  transition: background-color 0.3s;
}

.controls button:hover {
  background-color: #606060;
}

.progress-container {
  margin-top: 20px;
  width: 100%;
}

.progress {
  background-color: #ddd;
  border-radius: 5px;
  position: relative;
  height: 10px;
  width: 100%;
  overflow: hidden;
}

.progress-bar {
  background-color: #89a7c2;
  height: 10px;
  width: 0%;
  transition: width 0.1s linear;
}

#song-title{
  color: white;
}

#thank-you-content {
  text-align: left; 
  width: 50%;
  margin: auto;
  font-family: "Montserrat", serif;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
  width: 80%;
}

.column {
  width: 48%; 
  margin-bottom: 20px;
}

.map-container {
  margin-top: 10px; 
}

h2 {
  margin-top: 20px;
}

iframe {
  border-radius: 10px;
  width: 100%;
  height: 300px;
}



.container {
  background-color: #89a7c2;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 50%;
  margin: auto;
  max-width: 400px;
  text-align: center;
  margin-top: 5%;
}

h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

label {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.5rem;
  display: block;
}

input[type="text"] {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  box-sizing: border-box;
}

input[type="submit"] {
  background-color: #606060;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
}


@media (max-width: 600px) {
  input[type="submit"] {
    font-size: 0.9rem; 
    padding: 10px 20px;
  }
}

@media (max-width: 400px) {
  input[type="submit"] {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}

input[type="submit"]:hover {
  background-color: #3f3f3f;
}

#responseMessage {
  font-size: 0.9rem;
  color: #fff;
  margin-top: 1rem;
  display: none;
} 

.container-img {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  background-image: url('image.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Change background for small screens */
@media (max-width: 767px) {
  .container-img {
      background-image: url('bg-mobile.jpg');
  }
}

/* Change background for medium screens */
@media (min-width: 768px) and (max-width: 1200px) {
  .container-img {
      background-image: url('bg-tablet.jpg');
      height: 40vh;
  }

  .background-img {
    content: url('foto-tablet.jpg');
}

  .container-img-foto{
    height: 40vh;

    }

}

/* Change background for large screens */
@media (min-width: 1201px) {
  .container-img {
      background-image: url('image.jpg');
  }
}



.container-img-foto {
  position: relative;
  height: 50vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.background-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  z-index: -1; 
}

@media (max-width: 768px) {
  .background-img {
      content: url('foto-mobile.jpg');
  }
  .container-img{
    height: 40vh;
  }

  .container{
    width: 75%;
  }

  .text-overlay{

    left: 23%;
    top: 30%;
  }

  #thank-you-content {
    flex-direction: column;
    text-align: center;
  }

  .column {
    width: 100%; 
  }

  iframe {
    height: 250px; 
  }
}




#imgs {
  width: 50%;
}

.image-container {
  position: relative;
  background-image: url('image.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh; 
  z-index: 0;
}

.background-img-hero-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  z-index: 0; 
}

.bride-name{
  margin-top: 10% !important;

}


.carousel {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-inner {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.carousel-item {
  flex: 0 0 100%;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
  box-sizing: border-box;
}

.carousel-item img {
  width: 98%;
  height: 100%;
  object-fit: cover;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px 15px;
  font-size: 24px;
  border-radius: 5px;
  transition: 0.3s;
}

.prev:hover, .next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.prev { left: 10px; }
.next { right: 10px; }


@media (max-width: 480px), (min-width: 481px) {
  .text-overlay{
    left: 23%;
  }

.music-player{
  max-width: 500px;
}
  .carousel-inner {
    gap: 0;
  }
  
  .carousel-item {
    flex: 0 0 100%;
    width: 100%;
    height: 400px;
  }
}
