:root {
  --pink: #f14e95;
  --bg: #0a0a0a;
  --elektrik: #1A05A2;
  --shadow: 0 2px 2px rgb(0 0 0 / 0.5);
}

body {
  font-size: 1.2rem;
  font-family: "Work Sans", sans-serif;
  min-height: 4000px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(img/bg.jpg);
  background-size: cover;
  background-position: center;
  z-index: -1;
  filter: grayscale();
}

.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 p {
  font-size: 1.4rem;
}

.hero a {
  color: var(--elektrik);
  background-color: white;
  box-shadow: var(--shadow);
}

.hero a:hover {
  background-color: var(--elektrik);
  color: 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;

}

.home {

  background-image: url(img/homefix.jpg);
  background-size: cover;
  min-height: 100vh;
  margin-top: -6rem;
  padding-top: 15rem;
  padding-bottom: 5rem;
  background-position: center;
  background-repeat: no-repeat;

}

.home h2 {

  color: var(--elektrik);
  font-family: 'Sacramento';
  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';
  font-size: 2.4rem;
  color: var(--elektrik);

}

.home .couple img {

  width: 100%;

}

.home .heart {

  width: 50px;
  height: 50px;
  background-color: white;
  display: flex;
  border-radius: 50%;
  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);*/
  background-image: url(img/coba9.jpg);
  color: #444;
  padding-top: 10rem;
  padding-bottom: 8rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}

.info h2 {

  color: var(--elektrik);
  font-family: 'Sacramento';
  font-size: 5rem;
  font-weight: bold;

}

.info .alamat {

  font-size: 1.1rem;
  margin-bottom: 2rem;
  margin-top: 2rem;

}

.info .description {

  font-size: 1rem;
  font-weight: 300;
  margin-top: 1.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  color: #444;

}

.info .card {

  background-color: rgba(50, 50, 50, 0.650) !important;
  color: white !important;
  border: 1px solid #000000;

}

.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;

}

/* MAP WRAPPER */
.info .map-wrapper {
  max-width: 800px;
  margin: auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  border: 3px solid rgba(255,255,255,0.2);
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.info .map-wrapper iframe {
  width: 100%;
  height: 350px;
  border: none;
}

/* BUTTON CUSTOM */
.btn-map {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--elektrik);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: 0.3s ease;
  margin-top: 20px;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.btn-map:hover {
  background-color: white;
  color: var(--elektrik);
  transform: translateY(-3px);
}

.story h2 {

  color: var(--elektrik);
  font-family: 'Sacramento';
  font-size: 5rem;
  font-weight: bold;

}

.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: 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;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  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;
  background-color: #fff;

}

.timeline li .timeline-panel::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;
  /* width: 30px;
  height: 30px;
  background-color: #444;
  border: 1px solid #ccc; */
  right: -15px;
  top: 80px;
  /* transform: rotate(45deg);
  z-index: -1; */

}

.timeline li .timeline-panel::after {

  content: '';
  display: inline-block;
  position: absolute;
  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 {

  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 h2 {

  color: var(--elektrik);
  font-family: 'Sacramento';
  font-size: 5rem;
  font-weight: bold;

}

.gallery {

  background-color: #f5f5f5;
  padding-top: 10rem;
  padding-bottom: 8rem;

}

.gallery p {

  font-size: 1rem;
  font-weight: 300;

}

.rsvp {

  padding-top: 10rem;
  padding-bottom: 8rem;
  background-color: var(--bg);

}

.rsvp h2 {

  font-size: 4.5rem;
  color: var(--elektrik);
  font-family: 'Sacramento';
  font-weight: bold;

}

.rsvp p {

  color: white;
  font-size: 1rem;
  font-weight: 300;

}

.rsvp form label {

  color: white;

}

.rsvp button {

  background-color: var(--elektrik);
  color: white;
  border: 1px solid var(--elektrik);

}

.rsvp button:hover {

  background-color: white;
  color: var(--elektrik);
  border: 1px solid white;

}

.gifts {

  padding-top: 10rem;
  padding-bottom: 8rem;

}

.gifts h2 {

  font-size: 5rem;
  color: var(--elektrik);
  font-family: 'Sacramento';
  font-weight: bold;

}

.gifts span {

  text-transform: uppercase;
  color: #666;
  font-size: 0.9rem;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 1rem;

}

.gifts p {

  font-size: 1rem;
  font-weight: 300;

}


footer {

  padding: 3rem;
  background-color: var(--elektrik);
  color: white;

}

footer a {

  color: #fff;
  font-weight: bold;
  text-decoration: none;

}

footer a:hover {

  color: white;

}

footer li {

  list-style: none;
  display: inline;
  margin: 0.5rem;

}

.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;

}

@keyframes rotating {

  from {

    transform: rotate(0);

  }

  to {

    transform: rotate(360deg);

  }
  
}

.custom-alert {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.custom-alert.show {
  opacity: 1;
  visibility: visible;
}

/* Box */
.alert-box {
  background: #fff;
  padding: 25px 30px;
  border-radius: 16px;
  width: 320px;
  text-align: center;
  transform: scale(0.7);
  opacity: 0;
  transition: all 0.3s ease;
}

.custom-alert.show .alert-box {
  animation: zoomIn 0.4s ease forwards;
}

@keyframes zoomIn {
  0% { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Icon */
.icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
}

.success svg {
  stroke: #4CAF50;
  fill: none;
  stroke-width: 3;
  animation: popSuccess 0.5s ease forwards;
}

.error svg {
  stroke: #F44336;
  fill: none;
  stroke-width: 3;
  animation: popError 0.5s ease forwards;
}

@keyframes popSuccess {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes popError {
  0% { transform: rotate(0) scale(0.5); opacity: 0; }
  100% { transform: rotate(0) scale(1); opacity: 1; }
}

/* Text */
.alert-text {
  font-size: 16px;
  margin-bottom: 20px;
}

/* Button */
.alert-btn {
  background: #4CAF50;
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.alert-btn:hover {
  background: #45a049;
  transform: scale(1.05);
}



/* 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: 62.5%;
  }

  .simply-countdown > .simply-section {
    padding: 60px;
    margin: 5px;
  }

  .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: 55%;
  }

  .simply-countdown > .simply-section {
    padding: 45px;
    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: 30px;

}

.timeline li .timeline-panel:after {

  top: 31px;
  
}

}
