:root {
  /* light colors */
  --light-green-color: #72bf78;
  --light-green1-color: #a0d683;
  --light-yellow-color: #d3ee98;
  --light-yellow1-color: #feff9f;

  /* dark colors */
  --dark-pink-color: #f4abc4;
  --dark-pink1-color: #595b83;
  --dark-navy-color: #333456;
  --dark-navy1-color: #060930;
  --dark-navy1-color-opacity: #060930cf;
  --dark-navy-color-opacity: #333456ae;

  /* shadow */
  --shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
}

.noselect {
  user-select: none; /* Untuk browser modern */
  -webkit-user-select: none; /* Untuk Safari */
  -moz-user-select: none; /* Untuk Firefox */
  -ms-user-select: none; /* Untuk Internet Explorer/Edge */
}

body {
  font-size: 1.2rem;
  font-family: "Work Sans", sans-serif;
}

/* Hero Section */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(img/bg-weding.jpg) no-repeat center/cover;
  z-index: -1;
}

.hero {
  position: relative;
  min-height: 100vh;
  background-color: var(--dark-navy1-color-opacity);
}

.hero h1,
.hero h4,
.hero p {
  text-shadow: var(--shadow);
}

.hero h1 {
  font-family: "Sacramento", serif;
  font-weight: 400;
  font-size: 5rem;
  color: var(--dark-pink-color);
}

.hero h4 {
  font-size: 1.5rem;
}

.hero p {
  font-size: 1.4rem;
}

.hero a,
.info a {
  color: var(--dark-pink1-color);
  background-color: var(--light-yellow1-color);
  font-weight: 500;
  box-shadow: var(--shadow);
}

.hero a:hover,
.info a:hover {
  background-color: var(--dark-pink1-color);
}

/* Navbar Section */
.my-navbar {
  background-color: rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(4px);
  overflow: hidden;
}

.my-navbar .offcanvas {
  height: 100vh;
}

.my-navbar .navbar-brand,
.my-navbar .offcanvas-title {
  font-family: "Sacramento", cursive;
  font-size: 3rem;
  font-weight: bold;
  color: var(--dark-pink-color);
}

.my-navbar .nav-link {
  text-transform: uppercase;
}

/* Home Section */
.home {
  background: url(img/bg-petern.png) center/cover;
  min-height: 100vh;
  margin-top: -6rem;
  padding: 15rem 0 5rem;
}

.home h2,
.info h2,
.story h2,
.gallery h2,
.rsvp h2,
.gifts h2 {
  color: var(--dark-pink-color);
  font-family: "Sacramento", cursive;
  font-size: 5rem;
  font-weight: bold;
}

.home h3 {
  color: var(--dark-navy1-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.home p,
.story p,
.rsvp p {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--dark-navy1-color);
}

.home .couple {
  margin-top: 100px;
}

.home .couple h3 {
  font-family: "Sacramento", cursive;
  font-size: 2.4rem;
  color: var(--dark-pink-color);
}

.home .heart {
  width: 30px;
  height: 30px;
  font-size: 30px;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30%;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 255%);
  text-shadow: 0 0 4px var(--dark-pink1-color);
}

.home .heart i {
  color: var(--dark-pink-color);
}

/* Info Section */
.info {
  background-color: var(--dark-navy1-color);
  padding: 10rem 0 8rem;
}

.info p,
.gallery p,
.gifts p {
  font-size: 1rem;
  color: white;
  font-weight: 300;
}

.info .alamat {
  font-size: 1.1rem;
}

.info .description {
  font-size: 1rem;
  font-weight: 300;
}

.info .card {
  background-color: var(--dark-navy-color-opacity) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.466);
}

.info .card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.466);
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.info .card-body {
  font-size: 0.9rem;
}

.info .card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.466);
  font-size: 1rem;
  font-weight: 100;
}

/* Story Section */
.story {
  background: url(img/bg-petern.png) center/cover;
  padding: 10rem 0 8rem;
}

.story span,
.gifts span {
  text-transform: uppercase;
  color: var(--dark-navy-color);
  font-size: 0.9rem;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 1rem;
}

.story p,
.rsvp p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--dark-navy-color);
}

.timeline {
  list-style: none;
  padding: 1.4rem 0;
  margin-top: 1rem;
  position: relative;
}

.timeline::before {
  content: "";
  top: 0;
  bottom: 0;
  position: absolute;
  width: 4px;
  background-color: var(--dark-navy1-color);
  left: 50%;
}

.timeline li {
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline li::after,
.timeline li::before {
  content: "";
  display: table;
}

.timeline li::after {
  clear: both;
}

.timeline li .timeline-img {
  width: 160px;
  height: 160px;
  background-color: var(--dark-navy1-color);
  position: absolute;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, 20%);
  background-position: center;
  background-size: cover;
}

.timeline li .timeline-panel {
  width: 40%;
  float: left;
  border: 3px solid var(--dark-navy1-color);
  background-color: var(--dark-pink1-color);
  padding: 2rem;
  position: relative;
  border-radius: 5px;
}

.timeline-panel p,
.timeline-panel h3,
.timeline-panel span {
  color: white;
}

.timeline li .timeline-panel::before {
  content: "";
  position: absolute;
  top: 91px;
  right: -30px;
  border-width: 15px;
  border-style: solid;
  border-color: transparent transparent transparent var(--dark-navy1-color);
}

.timeline-inverted .timeline-panel {
  float: right !important;
}

.timeline-inverted .timeline-panel::after {
  content: "";
  position: absolute;
  top: 115px;
  left: -30px;
  transform: translateY(-70%);
  border-width: 15px;
  border-style: solid;
  border-color: transparent var(--dark-navy1-color) transparent transparent;
}

.timeline-inverted .timeline-panel::before {
  display: none;
}

/* Gallery Section */
.gallery {
  background-color: var(--dark-navy1-color);
  padding: 10rem 0 8rem;
}

/* RSVP Section */
.rsvp {
  background: url(img/bg-petern.png) center/cover;
  padding: 10rem 0 8rem;
}

.rsvp .theme {
  background-color: var(--dark-navy-color);
  border: 5px solid var(--dark-navy1-color);
}
.card form label {
  color: white;
}

.rsvp button {
  color: var(--dark-pink1-color);
  background-color: var(--light-yellow1-color);
  font-weight: 500;
  box-shadow: var(--shadow);
  margin-top: 20px;
}
.rsvp button:hover {
  color: white;
  background-color: var(--dark-pink1-color);
}

/* Gifts Section */
.gifts {
  background-color: var(--dark-navy1-color);
  padding: 10rem 0 8rem;
}

.gifts span {
  color: white;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.gifts ul li {
  background-color: var(--dark-navy-color-opacity);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.466);
}

/* Footer Section */
footer {
  padding: 2rem;
  background-color: var(--dark-pink1-color);
  color: white;
}

footer li {
  display: inline;
  list-style: none;
  margin-inline: 10px;
}

footer img:hover {
  transform: scale(1.3);
  transition: 0.3s ease-in-out;
}

footer a{
  text-decoration: none;
}

/* Audio Section */
.audio-icon-wrapper {
  position: fixed;
  width: 4rem;
  height: 4rem;
  font-size: 4rem;
  line-height: 0;
  bottom: 0.7rem;
  right: 1.5rem;
  cursor: pointer;
  color: white;
  opacity: 0.5;
  mix-blend-mode: difference;
  animation: rotate 4s linear infinite;
  transform-origin: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes rotate {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Media Queries */
/* Extra Large */
@media screen and (max-width: 1200px) {
  .home .heart {
    transform: translate(-50%, 180%);
  }
  .local {
    right: 20px;
  }
  .local1 {
    left: 20px;
  }
}

/* Laptop */
@media screen and (max-width: 992px) {
  html {
    font-size: 75%;
  }
  .simply-countdown > .simply-section {
    padding: 70px;
  }
  .home .heart {
    transform: translate(-50%, 680%) scale(2);
  }
  .timeline::before {
    left: 60px;
  }
  .timeline li .timeline-img {
    left: 8.5%;
  }
  .timeline li .timeline-panel {
    width: calc(100% - 170px);
    float: right;
  }
  .timeline-panel::after {
    left: -30px;
    border-color: transparent var(--dark-navy1-color) transparent transparent;
  }
  .timeline-panel::after {
    content: "";
    position: absolute;
    top: 115px;
    left: -30px; /* Jarak segitiga dari panel */
    transform: translateY(-70%);
    border-width: 15px;
    border-style: solid;
    border-color: transparent var(--dark-navy1-color) transparent transparent;
  }
  .timeline-panel::before {
    display: none;
  }
  .local {
    right: 0px;
  }
  .local1 {
    left: 0px;
  }
  .rsvp button {
    margin-top: 0px;
  }
}

/* Tablet */
@media screen and (max-width: 767px) {
  html {
    font-size: 65%;
  }
  .simply-countdown > .simply-section {
    padding: 60px;
    margin: 5px;
  }
  .my-navbar .nav-link {
    font-size: 2rem;
  }
  .timeline li .timeline-img {
    width: 140px;
    height: 140px;
  }
  .timeline-panel::after {
    transform: translateY(-124%);
  }
  .timeline-inverted .timeline-panel::after {
    transform: translateY(-124%);
  }
  .timeline li .timeline-img {
    left: 10.7%;
  }
  .home .heart {
    transform: translate(-50%, 560%) scale(2);
  }
  .rsvp button {
    margin-top: 0px;
  }
}

/* Phone */
@media screen and (max-width: 576px) {
  html {
    font-size: 50%;
  }
  .simply-countdown > .simply-section {
    padding: 45px;
    margin: 3px;
  }
  .timeline li .timeline-img {
    width: 100px;
    height: 100px;
  }
  .timeline-panel::after {
    transform: translateY(-238%);
  }
  .timeline-inverted .timeline-panel::after {
    transform: translateY(-221%);
  }
  .timeline li .timeline-img {
    left: 60px;
  }
  .timeline li .timeline-panel {
    width: calc(100% - 140px);
  }
  .home .heart {
    transform: translate(-50%, 450%) scale(1);
  }
}
