:root {
  --white: #FFF9CA;
  --bg: #FFEBB2;
  --shadow: 0 2px 2px rgb(0 0 0 / 0.5);
  --bg-ungu-tua: #2A0F32;
  --bg-cream: #EFE7DC;
}

html {
  overflow-x: hidden !important;
}

body {
  font-size: 1.2rem;
  font-family: 'Work Sans', sans-serif;
  min-height: 4000px;
  overflow-x: hidden !important;
}

.hero h1,
.hero h4,
.hero p {
  text-shadow: var(--shadow);
}

.hero p {
  font-size: 1.4rem;
}

.carousel-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
  filter: grayscale(30%);
}

.main-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
}

.main-text-overlay h1 {
  font-size: 1.6rem;
}

.main-text-overlay h1 {
  font-family: 'Sacramento', cursive;
  font-size: 6rem;
  margin-top: 35px;
}

.main-text-overlay a {
  color: var(--white);
  text-decoration: none;
}


.main-text-overlay div {
  background-color: #8644A2;
  box-shadow: var(--shadow);
  max-width: fit-content;
}

.main-text-overlay div:hover {
  color: var(--white);
  background-color: #a668c0;
}

.material-symbols-outlined {
  color: var(--white);
}

.mynavbar {
  background-color: rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(4px);
}

.mynavbar .offcanvas {
  height: 100vh;
}

.mynavbar .navbar-brand,
.mynavbar .offcanvas-title {
  font-family: 'Sacramento', cursive;
  font-size: 3.2rem;
  font-weight: bold;
}

.mynavbar .nav-link {
  text-transform: uppercase;
}

/* carousel */
.frame-image-carousel {
  max-height: 610px;
  overflow: hidden;
}

.carousel-container {
  position: relative;
}

.carousel {
  display: block;
  width: 100%;
  max-height: 50vh;
  /* Tinggi maksimum sesuai tinggi viewport */
  height: auto;
}

.text-overlay {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
}

.text-overlay h4 {
  font-size: 24px;
  margin-bottom: 30px !important;
}

.text-overlay h2 {
  font-family: 'Sacramento';
  font-size: 5rem;
  font-weight: bold;
  line-height: 75px;
}

.bouquet-icon {
  max-height: 90px;
  margin-bottom: 25px;
}

.with-love {
  background-color: var(--bg-cream);
  min-height: 100vh;
  margin-top: 7rem;
  padding-top: 15rem;
  padding-bottom: 5rem;
}

.with-love h2 {
  color: var(--pink);
  font-family: 'Sacramento';
  font-size: 4rem;
  font-weight: bold;
}

.with-love p {
  font-size: 1rem;
  color: #666;
}

.container-main-img {
  position: relative;
  margin-top: 1rem;
  margin-bottom: 15px;
}

.main-img {
  max-height: 800px;
}

.home {
  background-color: var(--bg-ungu-tua);
  background-repeat: repeat;
  min-height: 100vh;
  padding-top: 2rem;
  padding-bottom: 5rem;
  color: var(--white);
}

.frame-img-pengantin {
  max-height: 500px;
  overflow: hidden;
}

.frame-img-pengantin img {
  max-width: 70%;
}

.info h2,
.gallery h2,
.rsvp h2,
.gifts h2 {
  color: var(--pink);
  font-family: 'Sacramento';
  font-size: 5rem;
  font-weight: bold;
}

.story h2 {
  color: white;
  font-family: 'Sacramento';
  font-size: 4rem;
  font-weight: bold;
}

.home h2 {
  font-family: "PT Serif", serif;
  font-weight: 400;
}

.home h3 {
  font-size: 1.5rem;
}

.home p {
  font-size: 1.1rem;
}

.home .couple {
  margin-top: 10px;
}

.home .couple h3 {
  font-family: "STIX Two Text", serif;
  font-size: 2.4rem;
  color: var(--pink);
}

.home .couple img {
  width: 160%;
}

.btn-save-the-date {
  background-color: #A57F3D;
  max-width: 230px;

}

.btn-save-the-date:hover {
  background-color: #d4a85a;
  max-width: 230px;

}

.btn-save-the-date button {
  background-color: transparent;
  color: var(--white);
  border: none;
}

.maps {
  border: 3px solid #A57F3D;
}

.btn-maps a {
  background-color: #8644A2;
  box-shadow: var(--shadow);
  max-width: fit-content;
  border: none;
  color: var(--white);
  padding: 9px 13px;
}

.info {

  background-color: var(--bg-cream);
  min-height: 100vh;
  padding-top: 3rem;
  padding-bottom: 8rem;
}

.info .alamat {
  font-size: 1.1rem;
}

.info .description {
  font-size: 1rem;
  font-weight: 300;
}

.info .card {
  border: 2px solid #A67F39;
  background-position: center;
}

.info .card-header {
  border-bottom: 1px solid #999;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.info .card-body {
  font-size: 1rem;
}

.info .card-footer {
  border-top: 1px solid #999;
  font-size: 0.9rem;
  font-weight: 300;
}

.card-title {
  font-weight: 500;
  border-bottom: 1px solid #A67F39;
  padding-bottom: 5px;
  margin-bottom: 15px;
  font-family: "STIX Two Text", serif;
}

.story {
  padding-top: 5rem;
  padding-bottom: 20rem;
  background-color: var(--bg-ungu-tua);
}

.story span,
.gallery span,
.gifts span {
  text-transform: uppercase;
  color: #666;
  font-size: 0.9rem;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 1rem;
}

.story p,
.gallery p,
.rsvp p,
.gifts p {
  font-size: 1rem;
  font-weight: 300;
}

.gifts {
  background-color: var(--bg-cream);
  padding-top: 5rem;
  padding-bottom: 8rem;
}

.btn-kirim-amplop {
  color: white;
  background-color: #A57F3D;
  max-width: 230px;
}

.btn-kirim-amplop:hover {
  color: white;
  background-color: #d4a85a;
  max-width: fit-content;
}

.card-address {
  max-width: 500px;
  max-height: 200px;
  margin: auto;
  border: 1px solid #15051a;
}

.card-address img {
  max-width: 100px;
  margin: auto;
}


.btn-salin-alamat {
  color: white;
  background-color: #A57F3D;
  max-width: fit-content;
  margin: auto;
  padding-bottom: 1px;
}

.btn-salin-alamat:hover {
  color: white;
  background-color: #c29547;
}

.btn-salin-rekening {
  color: white;
  background-color: #A57F3D;
  max-width: fit-content;
  margin: auto;
  padding-bottom: 1px;
  margin-top: -10px;
  margin-bottom: -15px;
}

.btn-salin-rekening:hover {
  color: white;
  background-color: #c29547
}

.kado-alamat {
  font-family: 'Work Sans', sans-serif;
  color: #15051a;
  font-size: 1.2rem !important;
  margin-bottom: -10px;
  font-weight: 500 !important;
}

.line-gifts {
  background-color: #15051a;
  max-width: 400px;
  height: 1.5px;
  margin: auto;
}

.timeline {
  list-style: none;
  padding: 1.4rem 0;
  margin-top: 1rem;
  position: relative;
}

.timeline li {
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline li::before,
.timeline li::after {
  content: '';
  display: table;
}

.timeline li::after {
  clear: both;
}

/* aul section */
.aul-section {
  margin-top: 350px;
}

.timeline li .timeline-image-aul img {
  max-width: 450px;
  position: absolute;
}

.timeline li .timeline-panel-aul {
  width: 40%;
  float: left;
  border: 1px solid #ccc;
  padding: 2rem;
  position: relative;
  border-radius: 8px;
  background-color: #fff;
}

.timeline li .timeline-panel-aul::before {
  content: '';
  display: inline-block;
  position: absolute;
  border-top: 15px solid transparent;
  border-left: 15px solid #ccc;
  border-right: 0 solid #ccc;
  border-bottom: 15px solid transparent;
  top: 80px;
  right: -15px;
}

.timeline li .timeline-panel-aul::after {
  content: '';
  position: absolute;
  display: inline-block;
  border-top: 14px solid transparent;
  border-left: 14px solid #fff;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  top: 81px;
  right: -13px;
}

.timeline li.timeline-inverted .timeline-panel-aul {
  float: right;
}

.timeline li.timeline-inverted .timeline-panel-aul::before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}

.timeline li.timeline-inverted .timeline-panel-aul::after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -13px;
  right: auto;
}

/* putra section */
.timeline li .timeline-image-putra img {
  max-width: 450px;
  position: absolute;
}

.timeline li .timeline-panel-putra {
  width: 40%;
  /* float: left; */
  border: 1px solid #ccc;
  padding: 2rem;
  position: relative;
  border-radius: 8px;
  background-color: #fff;
}

.timeline li .timeline-panel-putra::before {
  content: '';
  display: inline-block;
  position: absolute;
  border-top: 15px solid transparent;
  border-left: 15px solid #ccc;
  border-right: 0 solid #ccc;
  border-bottom: 15px solid transparent;
  top: 80px;
  right: -15px;
}

.timeline li .timeline-panel-putra::after {
  content: '';
  position: absolute;
  display: inline-block;
  border-top: 14px solid transparent;
  border-left: 14px solid #fff;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  top: 81px;
  right: -13px;
}

.timeline li.timeline-inverted .timeline-panel-putra::before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}

.timeline li.timeline-inverted .timeline-panel-putra::after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -13px;
  right: auto;
}

.gallery {
  background-color: #f5f5f5;
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.rsvp {
  background-color: var(--bg-ungu-tua);
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.rsvp h2 {
  color: rgb(240, 240, 240);
  font-size: 4.5rem;
  margin-bottom: 15px;
}

.ucapan {
  color: rgb(240, 240, 240);
  font-size: 1.4rem;
}

.confirm-hadir,
.confirm-tdk-hadir,
.confirm-ragu {
  height: 60px;
  width: 110px;
  border-radius: 6px;
}

.confirm-hadir p,
.confirm-tdk-hadir p,
.confirm-ragu p {
  font-size: 14px;
  text-align: center;
  font-weight: 500;
  margin-bottom: 5px;
  margin-top: 5px;
  color: #ffffff;
}

.confirm-hadir p:nth-child(1),
.confirm-tdk-hadir p:nth-child(1),
.confirm-ragu p:nth-child(1) {
  font-weight: 600;
  font-size: 16px;
}

.confirm-hadir {
  background-color: #3D9A62;
}

.confirm-tdk-hadir {
  background-color: #D90A11;
}

.confirm-ragu {
  background-color: #D7A916;
}

.form-input-rsvp {
  max-width: 40%;
  border: 2px solid #A67F39;
  border-radius: 10px;
  padding: 12px;
}

.form-control,
.form-select {
  background-color: #f5f5f5;
}

.form-control:focus,
.form-select:focus {
  border: rgba(0, 0, 0, 0.5);
  box-shadow: none;
}

.btn-kirim-rspv {
  background-color: #A57F3D !important;
  color: var(--white);
  max-width: 150px;
}

.audio-icon-wrapper {
  width: 4rem;
  height: 4rem;
  font-size: 4rem;
  position: fixed;
  bottom: 2.5rem;
  right: 2rem;
  cursor: pointer;
  color: white;
  opacity: 0.5;
  mix-blend-mode: difference;
  animation: rotating 4s linear infinite;
  transform-origin: center;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
}

.container-komentar {
  max-height: 200px;
  padding-top: 3px;
  overflow: scroll;
  overflow-x: hidden;
  /* Untuk scrollbar */
  scrollbar-width: thin;
  scrollbar-color: #A57F3D #f1f1f1;
  scrollbar-arrow-color: transparent;
}

.komentar {
  margin-bottom: 13px;
}

.avatar {
  background-color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
}

.isi-komentar {
  background-color: #F5F3EE;
  border-radius: 10px;
  margin-top: -3px;
  padding: 10px;
  padding-bottom: 0px;
}

.isi-komentar h3 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: -0.3px;
  margin-top: -5px;
  color: #130d01 !important;
}

.isi-komentar p {
  font-weight: 500 !important;
}

@keyframes rotating {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Media Query */
/* Extra large */
@media (max-width: 1200px) {
  .home .heart {
    transform: translateX(-50%) translateY(45px);
  }
}

/* laptop */
@media (max-width: 992px) {
  html {
    font-size: 75%;
  }

  .simply-countdown>.simply-section {
    padding: 70px;
  }

  .home .heart {
    display: none;
  }

  .timeline::before {
    left: 60px;
  }

  .timeline li .timeline-image {
    left: 15px;
    margin-left: 45px;
    top: 16px;
  }

  .timeline li .timeline-panel {
    width: calc((100% - 200px));
    float: right;
  }

  .timeline li .timeline-panel::before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
  }

  .timeline li .timeline-panel::after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -13px;
    right: auto;
  }
}

/* tablet */
@media (max-width: 768px) {
  html {
    font-size: 65%;
  }

  .simply-countdown>.simply-section {
    padding: 60px;
    margin: 4px !important;
  }

  .mynavbar .nav-link {
    font-size: 2rem;
    text-align: center;
  }

  .sticky-top {
    overflow: hidden;
  }

  .timeline li .timeline-image {
    width: 140px;
    height: 140px;
  }
}

/* mobile phone */
@media (max-width: 576px) {
  html {
    font-size: 70%;
  }

  .frame-image-carousel {
    max-height: 850px !important;
    /* overflow: hidden; */
  }

  .the-wedding-of {
    max-height: 800px;
    min-height: 670px;
  }

  .text-overlay {
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .main-text-overlay {
    top: 40%;
    transform: translate(-50%, -50%);
  }

  .text-overlay h4 {
    font-size: 26px;
    margin-bottom: 50px !important;
  }

  .text-overlay h2 {
    font-family: 'Sacramento';
    font-size: 4.5rem;
    font-weight: bold;
    line-height: 55px;
  }

  .with-love {
    min-height: 550px;
    max-height: 800px;
    margin-top: 180px;
    padding-bottom: 50px;
    padding-top: 20px;
  }

  .with-love p {
    font-size: 1.28rem;
  }

  .with-love h2 {
    font-size: 3rem;
  }

  .main-img {
    max-height: 475px;
  }

  .home {
    margin-top: 0px;
  }

  .home h2 {
    font-size: 1.9rem;
  }

  .home h3 {
    font-size: 1.7rem;
    margin-bottom: 10px;
  }

  .home p {
    font-size: 1.3rem !important;
  }

  .home .couple h3 {
    font-family: "STIX Two Text", serif;
    font-size: 2.7rem;
    color: var(--pink);
    margin-bottom: 5px;
  }

  .hero::before {

    background-image: url(img/cover-purple-mobile.jpg);
  }

  .bouquet-icon {
    max-height: 50px;
    margin-bottom: 10px;
  }

  .simply-countdown>.simply-section {
    padding: 40px;
    margin: 3px !important;
  }

  .card-title {
    font-size: 2.2rem;
  }

  .card-text {
    font-size: 1.3rem;
  }

  .btn-maps a {
    font-size: 1.3rem;
  }

  .timeline li .timeline-image-putra img {
    max-width: 150px;
  }

  .timeline-heading h3 {
    font-size: 90%;
  }

  .timeline-body p {
    font-size: 80%;
  }

  .timeline li .timeline-panel-putra {
    width: 60%;
    transform: translateX(-20px);
    padding: 1rem;
  }

  .timeline li .timeline-panel-putra::before {
    top: 30px;
  }

  .timeline li .timeline-panel-putra::after {
    top: 31px;
  }

  .timeline li .timeline-image-aul img {
    max-width: 150px;
  }

  .timeline li .timeline-panel-aul {
    width: 30%;
    transform: translateX(10px);
    padding: 1rem;
  }

  .timeline li .timeline-panel-aul::before {
    top: 30px;
  }

  .timeline li .timeline-panel-aul::after {
    top: 31px;
  }

  .aul-section {
    margin-top: 80px;
  }

  .story {
    padding-bottom: 10rem;
  }

  .form-input-rsvp {
    max-width: 70%;
    border: 2px solid #A67F39;
    border-radius: 10px;
    padding: 12px;
  }

  .isi-komentar {
    border-radius: 5px;
    margin-left: 10px;
  }
}