:root {
  --pink: #f14e95;
  --bg: #0a0a0a;
  --shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
}

body {
  width: 100%;
  font-size: 1.2rem;
  font-family: "Work Sans", sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.sosmed {
  display: inline;
}

.sosmed-right {
  float: right;
}

.sosmed-left {
  float: left;
}

.sosmed a {
  text-decoration: none;
  color: var(--pink);
  margin: 0 3px 0 3px;
}

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-image: url(/img/bg-prewed.jpg);
  background-size: cover;
  background-position: center;
}

.hero {
  position: relative;
  min-height: 100vh;
}

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

.hero h1 {
  font-family: "Sacramento", cursive;
  font-size: 6rem;
}

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

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

.hero a {
  color: var(--pink);
  background-color: #eaeaea;
  box-shadow: var(--shadow);
}

.hero a:hover {
  background-color: var(--pink);
  color: #eaeaea;
}

/* Navbar */
.mynavbar {
  background-color: rgba(255, 255, 255, 0.4) !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;
}

.home {
  background-image: url(/img/bg.png);
  background-size: cover;
  min-height: 100vh;
  /* margin-top: -6rem; */
  padding-top: 15rem;
  padding-bottom: 5rem;
}

.home h2,
.info h2,
.story h2,
.gallery h2,
.rsvp h2 {
  color: var(--pink);
  font-family: "Sacramento", cursive;
  font-size: 5rem;
  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: 100px;
}

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

.home .couple img {
  width: 100%;
}

.home .heart {
  width: 40px;
  height: 40px;
  background-color: white;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--pink);
  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;
}

.info {
  background-color: var(--bg);
  color: #eaeaea;
  padding-top: 10rem;
  padding-bottom: 8rem;
}

.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;
}

.info .card-header {
  border-bottom: 1px solid #999;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

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

.info .card-footer {
  border-top: 1px solid #999;
  font-size: 0.9rem;
  font-weight: 400;
}

.story {
  padding-top: 10rem;
  padding-bottom: 8rem;
}

.story span {
  text-transform: uppercase;
  color: #666;
  font-size: 0.9rem;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 1rem;
}

.story p {
  font-size: 1rem;
  font-weight: 400;
}

.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: 100px;
  height: 100px;
  background-color: #ccc;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.timeline li .timeline-panel {
  width: 40%;
  float: left;
  border: 1px solid #ccc;
  padding: 2rem;
  position: relative;
  border-radius: 8px;
  background-color: #fff;
}

.timeline li.timeline-inverted .timeline-panel {
  float: right;
}

.timeline li.timeline-inverted .timeline-panel::before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}

.timeline li.timeline-inverted .timeline-panel::after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -13px;
  right: auto;
}

.gallery {
  padding-top: 10rem;
  padding-bottom: 8rem;
  background-color: #dbdada;
}

.rsvp {
  padding-top: 10rem;
  padding-bottom: 8rem;
  background-color: var(--bg);
}


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

.rsvp .card {
  background: transparent;
  border: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rsvp .card-body {
  display: flex;
  margin: 0 auto;
  width: 100%;
  padding: 2.5rem;
}

.rsvp .card .card-body .form-control {
  width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ff66b3;
    border-radius: 5px;
    font-size: 16px;
}

.rsvp label {
  color: #fff;
}

.rsvp .form-group {
  border-radius: 3px;
  display: flex;
  margin: auto;
  justify-content: center;
}

.rsvp .form-group button {
  background-color: #ff3385;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 10px;
  font-size: 14px;
  transition: background-color 0.2s ease;
}



.gifts {
  padding-top: 10rem;
  padding-bottom: 8rem;
}

.gifts img {
  width: 220px;
}

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

.gifts h3 {
  font-family: "Work Sans", sans-serif;
  font-weight: bold;
  margin-top: 1rem;
  font-size: 1.6rem;
}

.gifts h4 {
  font-family: "Work Sans", sans-serif;
  font-weight: bold;
  margin-top: 1rem;
  font-size: 1.6rem;
}

.gifts .label {
  padding-top: 5px;
  font-weight: bold;
}

.thankyou {
  margin: 8rem 0 1rem 0;
  font-family: "Sacramento", cursive;
  font-size: 3rem;
}

.copy-text {
  margin: auto;
  position: relative;
  padding: 6px;
  display: block;
}

.copy-text input.text {
  padding: 5px;
  font-size: 1.2rem;
  border: none;
  outline: none;
  border-radius: 5px;
  box-shadow: var(--shadow);
}

.copy-text button {
  padding: 5px 8px;
  box-shadow: var(--shadow);
  background-color: var(--pink);
  color: white;
  border: none;
  outline: none;
  border-radius: 5px;
}

.copy-text button:active {
  background-color: #444;
}

.copy-text button::before {
  content: "";
  position: absolute;
  top: -45px;
  right: -50%px;
  display: none;
}

.copy-text button::after {
  content: "";
  position: absolute;
  top: -20px;
  right: 0px;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  display: none;
}

.copy-text.active button::before,
.copy-text.active button::after {
  display: block;
}

.footer {
  background-color: #dbdada;
}

.footer h6 {
  font-size: 1.2rem;
}

/* Media Queries */
/* Extra Large */
@media screen and (max-width: 1200px) {
  .home .heart {
    transform: translateX(-50%) translateY(45px);
  }
}

/* Laptop */
@media screen and (max-width: 992px) {
  html {
    font-size: 75%;
  }

  .simply-countdown,
  .simply-section {
    padding: 50px;
  }

  .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;
  }
  .sosmed-inverted {
    display: block;
    float: right;
  }
}

/* Tablet */
@media screen and (max-width: 768px) {
  
  html {
    font-size: 62%;
  }

  .simply-countdown,
  .simply-section {
    padding: 45px !important;
  }

  .navbar {
    display: none;
  }

  .mynavbar .nav-link {
    font-size: 2rem;
    text-align: center;
    border-bottom: 1px;
  }

  .sticky-top {
    overflow: hidden;
  }

  .timeline li .timeline-image {
    width: 140px;
    height: 140px;
  }

  .gifts img {
    width: 135px;
  }

  .footer {
    background-color: #dbdada;
    padding-bottom: 70px;
  }
}

/* Mobile Phone */
@media screen and (max-width: 576px) {
  html {
    font-size: 50%;
  }
  body {
    width: 100%;
  }

  .sosmed {
    margin: 0 0 5px 0;
    padding: 2px 0;
  }

  .hide {
    display: none;
  }

  .simply-countdown,
  .simply-section {
    padding: 10px !important;
    margin: 3px;
  }

  .timeline li .timeline-image {
    width: 100px;
    height: 100px;
  }

  .timeline li .timeline-panel {
    width: 50%;
    transform: translateX(-20px);
    margin-top: 10px;
  }  

  .gifts {
    margin-top: 14rem;

  }

  .gifts img {
    width: 150px;
  }

  #player-container #play-pause {
    height: 30px;
    width: 30px;
    padding: 15px;
  }
}
