:root {
  --pink: #f14e95;
  --bg: #00f2ff;
}
/*
Theme Name: shah
Theme URI: 
Author: shah
Author URI: http://shah.gq
Description: Wordpress Theme
Version: 1.0
*/



body {
    background-image: url(6407847.jpg);
  background-size: cover;
  min-height: 100vh;
  background-repeat: no-repeat;
  font-size: 0.9rem;
  font-family: 'Work Sans', sans-serif;
  margin: 0px;

}

.hero2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  z-index: -1;
  filter: brightness(0.5);
  opacity: 0.15;
}

.hero2 {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 50px;
}

.hero2 h1,
.hero2 h2,
.hero2 h4,
.hero2 p {
  margin-top: 0;
  font-family: cursive;

}

.hero2 h1 {
  font-family: 'Sacramento', cursive;
  font-size: 1%;
  animation-fill-mode: all;
}

.hero2 h4 {
  font-size: 0.1rem;
}

.hero2 h2 {
  font-size: 0.8rem;
  font-style: bold;
}

.hero2 p {
  font-size: 0.7rem;
}

.hero2 a {
  color: var(--pink);
  background-color: white;
  box-shadow: var(--shadow);
}

#hero2 > main {
  flex: 1; /* mengisi ruang tersisa */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* pisahkan bagian atas dan bawah */
  margin-bottom: 50px;
  padding-bottom: 200px;
}

#hero2 .card {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: black !important;
  border: 1px solid #999;
  margin-top: auto; /* otomatis dorong ke bawah */
  margin-bottom: 1px; /* jarak dari bawah layar */
  text-align: center; /* pastikan teks di tengah */
}

.hero2 .card-header {
  border-bottom: 1px solid #999;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-size: 0.5rem;
}

.hero2 .card-body {
  font-size: 1rem;
  font-weight: bold;
}

.hero2 .card-footer {
  border-top: 1px solid #999;
  font-size: 1rem;
  font-weight: 300;
}

.hero2 a:hover {
  background-color: var(--blue);
  color: black;
}

.photo-container {
  display: flex;
  justify-content: center; /* Tengah secara horizontal */
  margin-top: 20px; /* Jarak dari elemen atas */
}

/* Gaya gambar dengan bingkai elegan */
.elegant-border {
  max-width: 200px; /* Sesuaikan ukuran gambar */
  width: 100%;
  border: 4px solid #ccc; /* Warna dan ketebalan bingkai */
  border-radius: 10px; /* Sudut membulat */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Efek bayangan */
  transition: all 0.3s ease; /* Efek transisi saat hover */
}

/* Efek hover untuk tampilan lebih menarik */
.elegant-border:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transform: scale(1.02);
}

.mynavbar {
  background-color: rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(4px);
  height: 50px;
  width: 10vh;
  text-align: center;
}

.mynavbar .offcanvas {
  height: 50vh;
}

.mynavbar .navbar-brand,
.mynavbar .offcanvas-title {
  font-family: 'Sacramento', cursive;
  font-size: 3.2rem;
  font-weight: bold;
}

.mynavbar .nav-link {
  text-transform: uppercase;
  display: block;
}

.nav-item {
  size: 25%;
}

.home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  z-index: -1;
  filter: brightness(0.5);
}

.home {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 50px;
}

.home h1,
.home h2,
.home h4,
.home p {
  margin-top: 0;
  font-family: cursive;

}

.home h1 {
  font-family: 'Sacramento', cursive;
  font-size: 1%;
  animation-fill-mode: all;
}

.home h4 {
  font-size: 0.8rem;
}

.home h2 {
  font-size: 0.8rem;
  font-style: bold;
}

.home p {
  font-size: rem;
}

.home a {
  color: var(--pink);
  background-color: white;
  box-shadow: var(--shadow);
}

.home .couple {
  margin-top: 100px;
  padding-right: 1px;
}

.home .couple h3 {
  font-family: 'Sacramento';
  font-size: 1.6rem;
  color: white;
}

.home .couple img {
  width: 90px;
  height: 150px;
  display: flex;
  flex-direction: 
}

.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;
  transform: translateX(-50%) translateY(65px);
}

.home .heart i {
  margin: auto;
  color: var(--pink);
}



.info .alamat {
  font-size: 0.5rem;
}

.info .description {
  font-size: 0.5rem;
  font-weight: 300;
}

.info .card {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: black !important;
  border: 1px solid #999;
}

.info .card-header {
  border-bottom: 1px solid #999;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-size: 0.6rem;
}

.info .card-body {
  font-size: 0.6rem;
  font-weight: bold;
}

.info .card-footer {
  border-top: 1px solid #999;
  font-size: 0.6rem;
  font-weight: 300;
}

.info a {
  font-size: 0.6rem;
}

.story
.gallery
.rsvp


.gifts {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  font-size: 1rem;
  padding-left: 50px;
}

.gifts img {
  align-items: center;
}

.gifts h2 {
  font-family: sacramento,cursive;
}

.story span,
.gallery span,


.story p,
.gallery p,{
  font-size: 1rem;
  font-weight: 300;}
.rsvp p,

.#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

.modal {
  display: none;
  position: fixed; 
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); 
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: poin
}

.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: 80%;
  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;
  top: 80px;
  right: -15px;
}

.timeline li .timeline-panel::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 {
  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;
}

.rsvp {
  background-color: ;
}

.rsvp h2 {
  font-size: 3rem;
}

.rsvp p {
  color: black;
}

.rsvp form label {
  color: black;
}

.rsvp button {
  background-color: var(--pink);
  color: black;
  border: 1px solid var(--pink);
}

.rsvp button:hover {
  background-color: black;
  color: var(--blue);
  border: 1px solid black;
}

.button {
  background-color: #4d55a8;
}

footer {
  padding: 3rem;
  background-color: #2c6e8a;
  color: white;
}

.footer h2 {
	font-family: 'Sacramento', cursive;
}

footer a {
  color: var(--bg);
  font-weight: bold;
  text-decoration: none;
}

footer a:hover {
  color: #ffe073;
}

footer li {
  list-style: none;
  display: inline;
  margin: 0.5rem;
}

audio, canvas, video {
  display: inline-block;
*display: inline;
*zoom: 1;
}
audio:not([controls]) {
  display: none;
}

.audio-icon-wrapper {
  width: 2rem;
  height: 2rem;
  font-size: 2rem;
  position: fixed;
  bottom: 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);
  }
}

/* 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: 100px;
  }

  .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: 5px;
  }



  .timeline li .timeline-image {
    width: 140px;
    height: 140px;
  }
}

/* mobile phone */
@media (max-width: 576px) {
  html {
    font-size: 60%;
  }

  .simply-countdown > .simply-section {
    padding: 4px;
    margin: 5px;
  }

  .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: 30px;
  }
}
