/* font */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Arima:wght@100..700&display=swap');
@font-face {
  font-family: wedding;
  src: url(font/Olive\ Oil.otf);
  font-weight: 100;
}
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-size: 1rem;
  font-family: "Arima",serif;
}
.container {
  max-width: 520px;
  overflow: hidden;
  /* background-color: rgba(253, 253, 253, 0.97); */
  margin: auto;
}
body::-webkit-scrollbar {
  width: 0px; /* Ubah lebar scrollbar sesuai kebutuhan */
}

body {
  background:linear-gradient(rgba(255, 255, 255, 0.676),rgba(0, 0, 0, 0.53));
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* tutup overlay */
#tutup {
  width: 100%;
  height: 100vh;
  z-index: 999;
  position: fixed;
  transition: .8s ease;
  background: url('img/bgtutup.jpg') no-repeat center / cover;
}

#tutup .text-tutup{
  position: absolute;
  top: 45%;
  text-align: center;
  color: white;
  width:100%;
  padding: 0 10px;
  left: 50%;
  transform: translateX(-50%);
}
#tutup .text-tutup h1{
  font-size: 3.5rem;
  margin-bottom: 10px;
  font-family: 'lobster';
  font-weight: 100;
}
#tutup .text-tutup p:nth-child(2){
  font-size:.9rem;
}
#tutup .text-tutup p:nth-child(4){
  font-size:.8rem;
  margin-bottom: 7px;
}
#tutup .text-tutup h2{
  font-size: 1.4rem;
  margin: 10px 0;
}
#tutup .text-tutup a {
  text-decoration: none;
  display: inline-block;
  background-color: rgba(30, 41, 59, 0.7);
  padding: 8px 25px;
  color: white;
  transition: .8s ease-in-out;
  margin-top: 10px;
  border-radius: 5px;
 transform: scale(.9);
}
#tutup .text-tutup a:hover{
  transform: scale(1.1);
}
.move{
  transform: translateX(-100%);
  opacity: 0;
}
/* content */
/* home */
.slider {
  position: relative;
}
.swiper {
  width: 100%;
  height: 100vh;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  /* display: block; */
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info {
  background-color: rgba(0, 0, 0, 0.527);
  position: absolute;
  color: white;
  bottom: 10px;
  right: 0;
  left: 0;
  margin: 10px;
  padding: 15px 40px 35px 10px;
  z-index: 5;
  border-radius: 0 50px 0 0;
}
.info h2 {
  font-size: 0.8rem;
}
.info h1 {
  font-size: 2.9rem;
  font-family: "Lobster", sans-serif;
  font-weight: 100;
}
.box-info {
  margin: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
}
.sv-date {
  width: 100%;
  display: grid;
  grid-template-rows: repeat(2, 40px);
  place-items: center;
  padding: 10px;
}
.sv-date p {
  font-size: 18px;
  font-family: Georgia, "Times New Roman", Times, serif;
}
.countdown {
  width: 100%;
  padding: 10px;
  border-left: 1px solid white;
}

/* caption */
#caption .box-caption {
  padding: 70px 20px;
  height: 80vh;
  background-color: #fff;
  background-image: url("img/bg.png");
}
#caption .nama-singkatan {
  display: flex;
  justify-content: center;
}
#caption .isi-caption {
  margin-top: 30px;
  text-align: center;
}
#caption .isi-caption h1 {
  margin: 30px;
  font-size: 1.5rem;
  font-family: cursive;
}
#caption .isi-caption p {
  margin: 10px;
  font-size: 1rem;
  font-weight: 600;
}
#caption .nama-singkatan {
  display: flex;
  justify-content: center;
}
#caption .nama-singkatan div {
  font-size: 3.5rem;
  /* margin: 0 10px; */
  padding: 0 10px;
  color: rgb(0, 0, 0);
  font-family: "Lobster", sans-serif;
}
#caption .nama-singkatan div:nth-child(1) {
  border-right: 2px solid grey;
}

/* about */
#about .box-about {
  padding: 50px 30px;
  background-color: rgba(253, 253, 253, 0.97);
}
#about .cowo,
.cewe {
  padding: 50px 0px;
}
#about .box-cowo {
  display: flex;
}
#about .box-cewe {
  display: flex;
  justify-content: end;
}
#about .box-img {
  width: 250px;
  height: 300px;
  border-radius: 5px;
  overflow: hidden;
}
#about .box-img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
#about .title {
  padding: 0 20px;
}
#about .title h2 {
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 20px;
  color: rgba(30, 41, 59, 0.7);
  font-family: "Open Sans", sans-serif;
  writing-mode: vertical-rl;
}
#about .cewe .title h2{
  transform: rotate(180deg);
}
#about .nama-cowo {
  margin-top: 10px;
  text-align: start;
}
#about .nama-cowo a,
.nama-cewe a {
  text-decoration: none;
  display: inline-block;
  background-color: rgba(30, 41, 59, 0.7);
  padding: 8px 25px;
  color: white;
  transition: .8s ease-in-out;
  margin-top: 10px;
  border-radius: 5px;
 transform: scale(.9);
}
#about .nama-cowo a:hover,
.nama-cewe a:hover {
  transform: scale(1.1);
}
#about .nama-cewe {
  margin-top: 10px;
  text-align: end;
}
#about .nama-cowo h1,
.nama-cewe h1 {
  font-size: 2rem;
  font-weight: 100;
  color: rgba(30, 41, 59, 0.7);
  margin-bottom: 4px;
  font-family: "Lobster", sans-serif;
}
#about .nama-cowo h2,
.nama-cewe h2 {
  margin: 8px 0;
  color: rgb(118, 118, 118);
  font-size: 0.9rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}
#about .nama-cowo p,
.nama-cewe p {
  font-size: 0.9rem;
  font-family: Arial, Helvetica, sans-serif;
  color: black;
}

/* story */
#story .box-story {
  padding: 40px 20px;
  background-color: #1e293b;
}
#story .heading-title h2 {
  font-size: 2rem;
  text-align: center;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  font-family: wedding;
}
#story .heading-title p{
  font-size: 1.2rem;
  text-align: center;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  font-family: serif;
  text-align: center;
}
#story .heading-title h2::before {
  content: '';
  display: inline-block;
  margin: 0 10px;
  width: 80px;
  position: relative;
  top: -7px;
  height: 1px;
background-color: rgb(255, 255, 255);
}
#story .heading-title h2::after {
  content: '';
  display: inline-block;
  margin: 0 10px;
  width: 80px;
  position: relative;
  top: -7px;
  height: 1px;
background-color: rgb(255, 255, 255);
}
#story .timeline {
  margin-top: 30px;
  padding: 1.3rem;
  list-style: none;
  position: relative;
}
#story .timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background-color: white;
}
#story .timeline li:before {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  left: 13px;
  border-radius: 50%;
  border: 3px solid white;
  background-color: rgb(30, 41, 59);
}
#story .timeline .panel {
  margin: 20px 15px;
  padding: 10px;
  border-radius: 0 20px 20px 20px;
  background-color: white;
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.425);
}
#story .timeline .panel h2{
    font-size: 1.1rem;
    margin-top: 5px;
    color: rgba(30, 41, 59, 0.7);
    margin-bottom: 8px;
}
#story .timeline .panel p{
    font-size: .9em;
    font-weight: 600;
   
}
#story .timeline li::before,
#story .timeline li::after {
  content: "";
  display: table;
}
#story .timeline li::after {
  clear: both;
}

/* galeri */
#galeri .box-galeri{  
padding: 55px 15px;
background-color: rgba(253, 253, 253, 0.97);
}

#galeri .heading-title h2 {
  font-size: 1.7rem;
  text-align: center;
  font-weight: 500;
  position: relative;
  font-family: wedding;
}
#galeri .heading-title p{
  font-size: 1.4rem;
  text-align: center;
  font-weight: 500;
  font-family: serif;
  text-align: center;
}
#galeri .heading-title h2::before {
  content: '';
  display: inline-block;
  margin: 0 10px;
  width: 80px;
  position: relative;
  top: -7px;
  height: 1px;
background-color: black;
}
#galeri .heading-title h2::after {
  content: '';
  display: inline-block;
  margin: 0 10px;
  width: 80px;
  position: relative;
  top: -7px;
  height: 1px;
background-color: black;
}
#galeri .box-galeri .video{
  width: 100%;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  margin: 10px 0;
}
#galeri .box-galeri .video iframe{
  width: 100%;
  height: 100%;
}
#galeri .box-galeri .kumpulan-foto{
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(2,1fr);
}
#galeri .box-galeri .kumpulan-foto div{
  width: 100%;
  height: 150px;
  overflow: hidden;
  border-radius: 10px;
}
#galeri .box-galeri .kumpulan-foto img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .8s ease-in-out;
  cursor: pointer;
}
#galeri .box-galeri .kumpulan-foto img:hover{
  transform: scale(1.2);
}

/* event */
#event .box-event{
  height: 100%;
  padding: 50px 15px 30px 15px;
  position: relative;
  overflow: hidden;
  z-index: 222;
}
#event .box-event::before{
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
  animation: sliderbg 50s linear infinite;
}
#event .heading-title h2 {
  font-size: 2.5rem;
  text-align: center;
  font-weight: 500;
  color: rgba(30, 41, 59, 0.7);
  position: relative;
  font-family: wedding;
}
#event .heading-title p{
  font-size: 1.2rem;
  text-align: center;
  font-weight: 500;
  color: rgba(30, 41, 59, 0.7);
  font-family: serif;
  text-align: center;
}
#event .heading-title h2::before {
  content: '';
  display: inline-block;
  margin: 0 10px;
  width: 80px;
  position: relative;
  top: -7px;
  height: 1px;
background-color: black;
}
#event .heading-title h2::after {
  content: '';
  display: inline-block;
  margin: 0 10px;
  width: 80px;
  position: relative;
  top: -7px;
  height: 1px;
background-color: black;
}
#event .card-container {
  width: 100%;
  background: rgba(255, 255, 255, 0.742);
  margin: 50px 0;
  display: flex;
}
#event .card-side{
  display: flex;
  align-items: center;
  padding: 50px 30px;
  background-color: rgba(30, 41, 59, 0.7);
}
#event .card-side h2{
  color: white;
  writing-mode: vertical-rl;
  font-size: 2rem;
  font-family:'lobster',arial,serif;
  font-weight: 100;
  word-spacing: 7px;
  transform: rotate(180deg);
}
#event .card-side .reverse{
  color: white;
  writing-mode: vertical-rl;
  font-size: 2rem;
  font-family:'lobster',arial,serif;
  font-weight: 100;
  word-spacing: 7px;
  transform: rotate(0deg);
}
#event .card-info{
  padding: 10px;
  width: 100%;
  overflow: hidden;
  margin-top: 30px;
}
#event .info-tanggal{
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}
#event .info-tanggal .tanggal,#event .info-tanggal .tanggal-full{
  padding: 20px 25px;
}
#event .info-tanggal .tanggal{
  text-align: center;
  width: 80%;
  border-left:1px solid black ;
}
#event .info-tanggal .tanggal h1,#event .info-tanggal .tanggal-full h1{
  font-family: "Arima",serif;
  font-weight: 700;
}
#event .info-tanggal .tanggal h1{
  font-size: 2.4rem;
  color: rgba(30, 41, 59, 0.7);
}
#event .info-tanggal .tanggal-full{
  width: 100%;
  text-align: right;
}
#event .info-tanggal .tanggal-full h1{
  font-size: 1rem;
  line-height: 20px;
  color: rgba(30, 41, 59, 0.7);
}
#event .info-detail{
  margin-top: 20px;
  margin-bottom: 20px;
  color: rgba(30, 41, 59, 0.7);
  text-align: center;
}
#event .info-detail h2{
  font-size: 1.1rem;
  margin-bottom: 3px;
}
#event .info-detail h3{
  font-size: 1rem;
  margin-bottom: 5px;
  font-weight: 500;
}
#event .info-detail p{
  font-size: .8rem;
  margin-bottom: 10px;
}
#event .info-detail a i{
  margin-right: 5px;
}
#event .info-detail a{
  text-decoration: none;
  display: inline-block;
  background-color: rgba(30, 41, 59, 0.7);
  padding: 8px 25px;
  color: white;
  transition: .8s ease-in-out;
  margin-top: 10px;
  border-radius: 5px;
 transform: scale(.9);
}
#event .info-detail a:hover{
 background-color: white;
 color: rgba(30, 41, 59, 0.7);
 border: 1px solid rgba(30, 41, 59, 0.7);
 transform: scale(1);
}

/* RSVP */
#rsvp .box-rsvp{  
  padding: 55px 15px 10px 15px;
  background-color: rgba(253, 253, 253, 0.97);
  }
#rsvp .heading-title h2 {
  font-size: 2rem;
  text-align: center;
  font-weight: 500;
  color: rgba(30, 41, 59, 0.7);
  position: relative;
  font-family: wedding;
}
#rsvp .heading-title p{
  font-size: 1.2rem;
  text-align: center;
  font-weight: 500;
  color: rgba(30, 41, 59, 0.7);
  font-family: serif;
  text-align: center;
}
#rsvp .heading-title h2::before {
  content: '';
  display: inline-block;
  margin: 0 10px;
  width: 80px;
  position: relative;
  top: -7px;
  height: 1px;
background-color: black;
}
#rsvp .heading-title h2::after {
  content: '';
  display: inline-block;
  margin: 0 10px;
  width: 80px;
  position: relative;
  top: -7px;
  height: 1px;
background-color: black;
}
#rsvp form{
  padding: 10px 20px;
}
#rsvp form label{
  font-size: 1.1;
  color: rgba(30, 41, 59, 0.559);
  font-weight: 600;
}
#rsvp form #nama,#jumlah,textarea,button{
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 20px;
  width: 100%;
  background-color:rgb(214, 214, 214);
  padding: 12px 10px;
  border-radius: 10px;
  border: none;
}
#rsvp form #nama:focus,#jumlah:focus,textarea:focus,button{
  outline: none;
  border: none;
}
#rsvp form button{
  width: 100px;
  font-weight: 600;
  background-color: #1e293b;
  color: white;
  transition: .4s;
  cursor: pointer;
}
#rsvp form button:hover{
  width: 100px;
  font-weight: 600;
  background-color: #444e5c;
  color: white;
  cursor: pointer;
}
#rsvp form .box-konfir{
  display: flex;
  gap: 10px;
  flex-direction: column;
}
#rsvp form #pesan{
  display: block;
  margin-top: 20px;
}
#rsvp form textarea{
  height: 150px;
}

/* footer */
footer .box-footer{
  background-color: #1e293b;
  padding: 10px;
  color: white;
  text-align: center;
}
footer .box-footer a{
  text-decoration: none;
  color: skyblue;
}


/* musik */
#sound .box-sound{
  position: relative;
}
#sound .box-sound .musik{
  position:fixed;
  cursor: poi;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #444e5c;
  /* mix-blend-mode:difference; */
  bottom: 20px;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 888;
  transform-origin: center;
  
}
#sound .box-sound .musik i{
  font-size:2rem;
  color: white;
}
.muter{
  animation: musikPutar 2s linear infinite;
}







/* media responsive */
@media screen and (min-width: 550px) {
  .tutup h1 {
    font-size: 3.5rem;
  }
  #caption .box-caption {
    height: 9 0vh;
  }
  #story .heading-title h2::before,#story .heading-title h2::after {
    width: 150px;
    font-size: 2.5rem;
  }
  #event .heading-title h2::before,#event .heading-title h2::after {
    width: 150px;
    font-size: 2.5rem;
  }
  #rsvp .heading-title h2::before,#rsvp .heading-title h2::after {
    width: 150px;
    font-size: 2.5rem;
  }

  #event .info-tanggal .tanggal h1{
    font-size: 3rem;
    color: rgba(30, 41, 59, 0.7);
  }
  #event .info-tanggal .tanggal-full h1{
    font-size: 1.3rem;
    line-height: 27px;
    color: rgba(30, 41, 59, 0.7);
  }
  #event .info-detail h2{
    font-size: 1.3rem;
  }
  #event .info-detail h3{
    font-size: 1.1rem;
    font-weight: 500;
  }
  #event .info-detail p{
    font-size: .9rem;
  }
}



/* animation */
@keyframes sliderbg {
    0%,100%{
      transform: scale(1);
      background-image:
      url('img/2.jpg');
    }
    25%{
      transform: scale(1.2);
      background-image:
      url('img/5.jpg');
    }
    50%{
      transform: scale(1);
      background-image:
      url('img/3.jpg');
    }
    75%{
      transform: scale(1.2);
      background-image:
      url('img/1.jpg');
    }
}

@keyframes musikPutar {
    0%{
      transform: rotate(0deg);
    }
    100%{
      transform: rotate(360deg);
    }
}

