:root {
  --pink: #f14e95;
  --bg: #0b0b0b;
  --bg1: #8d4905;
  --text1: #fff;
  --text2: #e3d4cf;
  --shadow: 0 2px 2px rgb(0 0 0 / 0.5);
}

body {
  font-size: 1.2rem;
  font-family: "work Sans", sans-serif;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-position: center;
  background-size: cover;
  z-index: -1;
  height: 100%;
  background-image: url(../img/hero.jpg);
}
.hero {
  position: relative;
  min-height: 100vh;
  max-width: 100vw;
  padding: 3;
  margin: auto;
  color: var(--text2);
  align-items: center;
  justify-content: center;
  display: flex;
  text-align: center;
}
.hero h1,
.hero h4,
.hero p {
  text-shadow: var(--shadow);
  mix-blend-mode: difference;
}
.hero h1 {
  font-family: "Sacramento", cursive;
  font-size: 5rem;
}
.hero p {
  font-size: 1.5rem;
}
.hero h4 {
  font-size: 1.7rem;
}
.hero a {
  font-size: 1.4rem;
  margin-top: 2rem;
  color: #e3d4cf;
  background: var(--pink);
  transition: 0.5s ease;
}
.hero a:hover {
  color: var(--bg);
  background: var(--pink);
  box-shadow: 0 0 1rem var(--pink);
}
/* Navbar */
.mynavbar {
  background-color: rgb(255 192 203 / 0.7) !important;
}
.mynavbar .navbar-brand,
.mynavbar .offcanvas-title {
  font-family: "Sacramento", cursive;
  font-weight: 600;
  font-size: 3rem;
}
.mynavbar .nav-link {
  font-weight: 600;
}
.mynavbar .offcanvas {
  height: 100vh;
}
/* Home */
.home {
  background-image: url(../img/home.jpg);
  background-size: cover;
  min-height: 100vh;
  margin-top: -6rem;
  padding: 10rem 0 5rem;
}
.home h2,
.info h2,
.story h2,
.gallery h2,
.rsvp h2,
.gift h2 {
  font-family: "Sacramento", cursive;
  font-size: 5rem;
  color: var(--pink);
  font-weight: bold;
}
.home h3 {
  color: #444;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.home p {
  font-size: 1.1rem;
  color: #666;
}
.home .couple {
  margin-top: 5rem;
}
.home .couple h3 {
  font-family: "Sacramento", cursive;
  font-size: 2.4rem;
  color: var(--pink);
}
.home .couple img {
  width: 100%;
}
.home .heart {
  height: 50px;
  width: 50px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(65px);
}
.home .heart i {
  margin: auto;
  font-size: 1.5rem;
  color: var(--pink);
}
/* Info */
.info {
  background-color: var(--bg);
  color: #fff;
  padding: 8rem 0 6rem;
}
.info .alamat {
  font-size: 1.1rem;
}
.info .description {
  font-size: 1rem;
  font-weight: 300;
}
.info .card {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: #e3d4cf !important;
  border: 1px solid #999;
}
.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;
}
/* Story */
.story,
.gallery,
.rsvp,
.gift {
  padding-top: 8rem;
  padding-bottom: 6rem;
}
.story span,
.gallery span,
.gift span {
  text-transform: uppercase;
  color: #666;
  font-size: 0.9rem;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 1rem;
}
.story p,
.gallery p,
.rsvp p,
.gift p {
  font-size: 1rem;
  font-weight: 300;
}
.timeline {
  list-style: none;
  padding: 1.4rem 0;
  margin-top: 1rem;
  position: relative;
}
.timeline::before {
  content: "";
  top: 0;
  bottom: 0;
  position: absolute;
  width: 1px;
  background-color: #ccc;
  left: 50%;
}
.timeline li {
  margin-bottom: 1.5rem;
  position: relative;
}
.timeline li::before,
.timeline li::after {
  content: "";
  display: table;
}
.timeline li::after {
  clear: both;
}
.timeline li .timeline-image {
  width: 160px;
  height: 160px;
  background-color: #ccc;
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.timeline li .timeline-panel {
  width: 40%;
  float: left;
  border: 1px solid #ccc;
  padding: 2rem;
  position: relative;
  border-radius: 8px;
}
.timeline li .timeline-panel::before {
  content: "";
  display: inline-block;
  position: absolute;
  border-bottom: 16px solid transparent;
  border-top: 16px solid transparent;
  border-right: 0 solid #ccc;
  border-left: 16px solid #ccc;
  top: 80px;
  right: -15px;
}
.timeline li .timeline-panel::after {
  content: "";
  display: inline-block;
  position: absolute;
  border-bottom: 15px solid transparent;
  border-top: 15px solid transparent;
  border-right: 0 solid #fff;
  border-left: 15px solid #fff;
  top: 81px;
  right: -13px;
}
.timeline li.timeline-inverted .timeline-panel {
  float: right;
}
.timeline li.timeline-inverted .timeline-panel::before {
  border-left-width: 0;
  border-right-width: 16px;
  left: -15px;
  right: auto;
}
.timeline li.timeline-inverted .timeline-panel::after {
  border-left-width: 0;
  border-right-width: 15px;
  left: -13px;
  right: auto;
}
/* Gallery */
.gallery {
  background-color: #f5f5f5;
}
/* RSVP */
.rsvp {
  background-color: var(--bg);
}
.rsvp h2 {
  font-size: 4.5rem;
}
.rsvp p {
  color: #fff;
}
.rsvp form label {
  color: #fff;
}
.rsvp button {
  background-color: var(--pink);
  color: #fff;
  border: 1px solid var(--pink);
}
.rsvp button:hover {
  background-color: #fff;
  color: var(--pink);
  border: 1px solid #fff;
}
/* footer */
footer {
  padding: 2rem 0 1rem;
  background-color: var(--pink);
  color: #fff;
}
footer a {
  color: var(--bg);
  text-decoration: none;
  font-weight: bold;
}
footer a:hover {
  color: #fff;
}
footer li {
  list-style: none;
  display: inline-block;
  margin: 0 0.5rem;
  font-size: 1.5rem;
}
.audio-icon {
  width: 4rem;
  height: 4rem;
  font-size: 4rem;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  mix-blend-mode: difference;
  color: #f5f5f5;
  opacity: 0.5;
  animation: rotasi 4s linear infinite;
  transform-origin: center;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
  cursor: pointer;
}
@keyframes rotasi {
  form {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
/* Media Queries */
@media (max-width: 1200px) {
  .home .heart {
    transform: translateX(-50%) translateY(50px);
  }
}
@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 {
    margin-left: 45px;
    left: 15px;
    top: 5px;
  }
  .timeline li .timeline-panel {
    width: calc((100% - 200px));
    float: right;
  }
  .timeline li .timeline-panel::before {
    border-left-width: 0;
    border-right-width: 16px;
    left: -15px;
    right: auto;
  }
  .timeline li .timeline-panel::after {
    border-left-width: 0;
    border-right-width: 15px;
    left: -13px;
    right: auto;
  }
  .timeline li .timeline-panel::before {
    top: 60px;
  }
  .timeline li .timeline-panel::after {
    top: 61px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 65%;
  }
  .simply-countdown > .simply-section {
    padding: 60px;
    margin: 5px;
  }
  .mynavbar .nav-link {
    font-size: 2rem;
    text-align: center;
  }
  .timeline li .timeline-image {
    width: 130px;
    height: 130px;
  }
  .timeline li .timeline-panel::before {
    top: 50px;
  }
  .timeline li .timeline-panel::after {
    top: 51px;
  }
}
@media (max-width: 576px) {
  html {
    font-size: 60%;
  }
  .simply-countdown > .simply-section {
    padding: 50px;
    margin: 3px;
  }
  .timeline li .timeline-image {
    width: 80px;
    height: 80px;
  }
  .timeline li .timeline-panel {
    width: 65%;
    transform: translateX(-20px);
  }
  .timeline li .timeline-panel::before {
    top: 60px;
  }
  .timeline li .timeline-panel::after {
    top: 61px;
  }
}
