* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body, html {
    width: 100%;
    height: 100%;
    font-family: 'Arial', sans-serif;
    display: flex;
  }
  
  .full-page {
    width: 27%;
    height: 100%;
    background-image: url('img/photo2.png'); /* Ganti dengan nama file gambar Anda */
    background-size: cover; /* Membuat gambar memenuhi seluruh layar */
    background-position: center; /* Fokus di tengah gambar */
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    /* justify-content: flex-end; Posisi teks di bagian bawah */
    transition: transform 1s ease-out; /* Transisi halus */
    z-index: 1;
    position: absolute;
    margin-left: 73%;
  }
  
  /* Ketika disembunyikan */
  .full-page.hidden {
    transform: translateY(-100%); /* Pindah ke atas */
  }

  .bottom-overlay {
    width: 100%;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    top: 300px;
  }
  
  .bottom-overlay h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: bold;
    font-family: 'Dancing Script', cursive; /* atau ganti dengan font lain */
  }
  
  .bottom-overlay h2 {
    margin-bottom: 20px; 
    font-family: 'Glacial Indifference', sans-serif;
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
  }

  .bottom-overlay p {
    font-size: 12px;
    margin-bottom: 20px;
    font-family: 'Glacial Indifference', sans-serif;
    letter-spacing: 2px;
  }
  
  .bottom-overlay button {
    background-color: white;
    color: black;
    padding: 10px 20px;
    font-size: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease; 
    font-family: 'Glacial Indifference', sans-serif;
    letter-spacing: 2px;
  }
  
  .bottom-overlay button:hover {
    background-color: #ddd;
  }

  .slider {
    width: 100%;
    height: 300px;
    display: flex;
    object-fit: cover;   
    overflow: hidden;
    position: relative;
  }
  
  .slider-wrapper {
    display: flex;
    transition: transform 2s ease-in-out;
  }
  
  .slide {
    flex: 0 0 100px;
    box-sizing: border-box;
  }
  
  .slide img {  
    width: 420px;
    height: 300px;
    object-fit: cover;
    object-position: top;
  }

.page1 {
  height: 770px;
}


.page1 .photo {
  width: 100%;
  height: 300px;
  display: flex;
  flex-direction: column;
  object-fit: cover; 
  /* justify-content: flex-end; Posisi teks di bagian bawah */
}


.page1 .content {
  height: 470px;
  text-align: center;
  background: url("img/bgpage1.png");
  padding: 40px 0 0 0; 
  background-size: cover; /* Membuat gambar memenuhi seluruh layar */
  background-position: center; /* Fokus di tengah gambar */
  background-repeat: no-repeat;
}

.page1 .content h1{
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: normal;
  font-family: 'Dancing Script', cursive; /* atau ganti dengan font lain */
  color: #666161;
}

.page1 .content h2 {
  margin-bottom: 20px; 
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 18px;
  font-weight: normal;
  color: #666161;
  text-transform: uppercase;
}

.page1 .content p {
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 12px;
  margin-left: 30px;
  margin-right: 30px;
}

#leftcover{
    height: 100%;
    width: 73%;
    background: url('img/photo2.png');
    background-size: auto;
}

#invitation {
  /* display: none; */
  overflow: hidden;
  height: 100%;
  width: 27%;
}

.page2 {
  height: 770px;
}

.page2 .content {
  padding: 100px 0 0 0;
  text-align: center;
}

.page2 .content h1 {
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 30px;
  color: #666161;
  font-weight: normal;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
  position: relative;
  margin-bottom: 30px;
}

.page2 .content .and {
  font-family: 'Dancing Script', cursive; 
  font-weight: bold;
  font-size: 50px;
  text-shadow: none;
}

.page2 .content .box {
  margin-left: 10px;
  margin-right: 10px;
  height: 200px;
  background: linear-gradient(to bottom, #808080, #d3d3d3, #fff);
  padding: 20px 0 0 0;
}

.page2 .content .box h1 {
  color: #fff;
  font-family: 'Dancing Script', cursive; 
  font-size: 50px;
}

.page2 .content .box .nickname {
  margin-bottom: 10px;
}

.page2 .content .box .name {
  font-weight: bold;
  font-family: 'Glacial Indifference', sans-serif;
  letter-spacing: 1px;
  font-size: 14px;
  margin-bottom: 10px;

}

.page2 .content .box p {
  font-weight: normal;
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 12px;
}

.page3 {
  height: 800px;
}

.page3 .content {
  padding: 70px 0 0 0;
}

.page3 .content .box {
  height: 700px;
  width: 100%;
  background-color: #ebebeb;
  border-radius: 0 150px 0 150px;
}

.page3 .content .box .photo {
  width: 100%;
  height: 300px;
  display: flex;
  transition: transform 2s ease-in-out;
  border-radius: 0 150px 0 0;  
}

.page3 .content .box .photo img {
  border-radius: 0 150px 0 0;  
  width: 100%;
}

.page3 .content .box .inner  {
  position: relative;
  display: flex;
}

.page3 .content .box .inner .text {
  font-family: 'Bebas Neue', sans-serif; /* Gunakan font */
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  height: 300px;
  background: linear-gradient(to top, #ebebeb, #808080, #ebebeb);
  box-shadow: inset 0 30px 100px #ebebeb;
  width: 20%;
  text-align: center;
  font-size: 50px;      
  clip-path: polygon(0% 0%, 100% 10%, 100% 90%, 0% 100%, 0% 0%);
  letter-spacing: 2px;
}

.page3 .content .box .inner .desc {
  font-family: 'Glacial Indifference', sans-serif;
  width: 80%;
  border-left: 2px solid black;
}
.page3 .content .box .inner .desc .first {
  height: 33%;
  padding: 0 0 0 30px;
  display: flex;
  border-bottom: 2px solid black;
}

.page3 .content .box .inner .desc .first h1{
  font-weight: normal;
  font-size: 75px;
  margin-top: 0px;
}

.page3 .content .box .inner .desc .first p{
  margin: 0px 0 0 30px;
}

.page3 .content .box .inner .desc .second {
  height: 70%;
  text-transform: uppercase;
  text-align: center;
  padding: 20px 0 0 0;
}

.page3 .content .box .inner .desc .second a {
  background-color: white;
  color: black;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease; 
  letter-spacing: 2px;
  margin-top: 20px;
}

.page3 .content .box .inner .desc .second a:hover {
  background-color: #ddd;
}

.sliderp3 {
  width: 100%;
  height: 300px;
  display: flex;
  object-fit: cover;   
  overflow: hidden;
  position: relative;
  border-radius: 0 150px 0 0;  
}

.slider-wrapperp3 {
  display: flex;
  transition: transform 2s ease-in-out;
}

.slidep3 {
  flex: 0 0 100px;
  box-sizing: border-box;
}

.slidep3 img {  
  width: 420px;
  height: 300px;
  object-fit: cover;
  object-position: top;
}


.sliderp4 {
  width: 100%;
  height: 300px;
  display: flex;
  object-fit: cover;   
  overflow: hidden;
  position: relative;
  border-radius: 0 150px 0 0;  
}

.slider-wrapperp4 {
  display: flex;
  transition: transform 2s ease-in-out;
}

.slidep4 {
  flex: 0 0 100px;
  box-sizing: border-box;
}

.slidep4 img {  
  width: 420px;
  height: 300px;
  object-fit: cover;
  object-position: top;
}

.page4 {
  height: 800px;
}

.page4 .content {
  padding: 70px 0 0 0;
}

.page4 .content .box {
  height: 700px;
  width: 100%;
  background-color: #ebebeb;
  border-radius: 0 150px 0 150px;
}

.page4 .content .box .photo {
  width: 100%;
  height: 300px;
  display: flex;
  flex-direction: column;
  background-image: url('img/photo2.png'); /* Ganti dengan nama file gambar Anda */
  background-size: cover; /* Membuat gambar memenuhi seluruh layar */
  background-repeat: no-repeat;
  border-radius: 0 150px 0 0;
}

.page4 .content .box .inner  {
  position: relative;
  display: flex;
}

.page4 .content .box .inner .text {
  font-family: 'Bebas Neue', sans-serif; /* Gunakan font */
  writing-mode: vertical-lr;
  transform: rotate(0deg);
  height: 300px;
  background: linear-gradient(to top, #ebebeb, #808080, #ebebeb);
  box-shadow: inset 0 30px 100px #ebebeb;
  width: 20%;
  text-align: center;
  font-size: 50px;      
  clip-path: polygon(0% 0%, 100% 10%, 100% 90%, 0% 100%, 0% 0%);
  letter-spacing: 2px;
}

.page4 .content .box .inner .desc {
  font-family: 'Glacial Indifference', sans-serif;
  width: 80%;
  border-right: 2px solid black;
}
.page4 .content .box .inner .desc .first {
  height: 33%;
  padding: 0 0 0 30px;
  display: flex;
  border-bottom: 2px solid black;
}

.page4 .content .box .inner .desc .first h1{
  font-weight: normal;
  font-size: 75px;
  margin-top: 0px;
}

.page4 .content .box .inner .desc .first p{
  margin: 0px 0 0 30px;
}

.page4 .content .box .inner .desc .second {
  height: 70%;
  text-transform: uppercase;
  text-align: center;
  padding: 20px 0 0 0;
}

.page4 .content .box .inner .desc .second a {
  background-color: white;
  color: black;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease; 
  letter-spacing: 2px;
  margin-top: 20px;
}

.page4 .content .box .inner .desc .second a:hover {
  background-color: #ddd;
}


.page5 {
  height: 720px;
}

.page5 .photo {
  width: 100%;
  height: 300px;
  display: flex;
  flex-direction: column;
  background-image: url('img/photo2.png'); /* Ganti dengan nama file gambar Anda */
  background-size: cover; /* Membuat gambar memenuhi seluruh layar */
  background-repeat: no-repeat;
  /* justify-content: flex-end; Posisi teks di bagian bawah */
}

.page5 .content {
  height: 420px;
  text-align: center;
  background: url("img/bgpage1.png");
  padding: 85px 0 0 0; 
  background-size: cover; /* Membuat gambar memenuhi seluruh layar */
  background-position: center; /* Fokus di tengah gambar */
  background-repeat: no-repeat;
}

.page5 .content h1{
  font-size: 30px;
  font-weight: normal;
  font-family: 'Dancing Script', cursive; /* atau ganti dengan font lain */
  color: #666161;
  margin-bottom: 20px;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
}

.page5 .content h2 {
  margin-bottom: 20px; 
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 18px;
  font-weight: normal;
  color: #666161;
}

.page5 .content .counting {
  display: flex;
  gap: 10px; 
  padding: 0 0 10px 0;
  justify-content: center;
  align-items: center;
}

.page5 .content .counting .count {
  background-color: #fff;
  width: 100px;
  background: rgba(305, 305, 305, 0.2); /* Transparansi kaca */
  border: 1px solid rgba(305, 305, 305, 0.4); /* Border halus */
  border-radius: 15px; /* Sudut melengkung */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); /* Bayangan lembut */
  backdrop-filter: blur(10px); /* Efek buram kaca */
  -webkit-backdrop-filter: blur(10px); /* Dukungan untuk Safari */
  color: white;  
}

.page5 .content .counting .count h1 {
  margin-bottom: 0px;
  margin-top: 15px;
  text-shadow: none;
}

.page5 .content p {
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 12px;
  margin-left: 30px;
  margin-right: 30px;
}

.page6 {
  background: linear-gradient(to bottom, #808080 10%, #d3d3d3);
  /* background-color: #ddd; */
  position: relative;
}

.page6 .content {
  padding: 70px 0 0 0; 
}

.page6 .content h1 {
  font-family: 'Bebas Neue', sans-serif; /* Gunakan font */
  color: #fff;
  font-weight: normal;
  letter-spacing: 3px;
  font-size: 30px;
  margin-bottom: 70px;
  margin-left: 20px;
}

.page6 .content .gallery {
  width: 100%;
  display: flex;
  gap: 10px;
  padding: 0 0 10px 0;
  justify-content: center;
  align-items: center;
}

.page6 .content .gallery .photo {
  width: 170px;
  height: 300px;
  background-color: #fff;
  object-fit: cover; 
}

.page7 {
  height: 862px;
  background: linear-gradient(to bottom, #808080 10%, #d3d3d3);
  /* background-color: #ddd; */
  position: relative;
}

.page7 .content {
  padding: 70px 0 0 0; 
}

.containercard {
    display: grid;
    justify-content: center;
    align-items: center;  
}

.page7 .content h1 {
  font-family: 'Bebas Neue', sans-serif; /* Gunakan font */
  color: #fff;
  font-weight: normal;
  letter-spacing: 3px;
  font-size: 30px;
  margin-bottom: 70px;
  margin-left: 20px;
}

.atm-card {
    font-family: 'Glacial Indifference', sans-serif;
  width: 300px;
  height: 200px;
  background: linear-gradient(130deg, #808080, #d3d3d3, #808080);
  border-radius: 16px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  color: white;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 20px;
}

.logo-bca img {
  width: 80px;
  position: absolute;
  top: 16px;
  right: 16px;
}

.card-chip {
  width: 50px;
  height: 30px;
  background: gold;
  border-radius: 6px;
  margin-bottom: 16px;
}

.card-number {
  font-size: 21px;
  letter-spacing: 5px;
  margin-bottom: 16px;
  color: #000;
  display: flex;
}

.card-number span {    
  display: block;
  font-size: 16px;
  letter-spacing: 0px;
  height: 30px;
  width: 70px;
  border-radius: 10px;
  padding: 5px;
  font-family: 'Glacial Indifference', sans-serif;
}

.card-holder,
.valid-thru {
  font-size: 0.8rem;
  color: #666161;
  font-weight: bold;
}

.valid-thru span {
  display: block;
  font-size: 0.7rem;
  color: rgba(305, 305, 305, 0.8);
}

.chip {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, #f7e7b7, #f7e7b7 5px, #d6c182 5px, #d6c182 10px);
  border-radius: 6px;
}


.page8 {
  height: 720px;
}

.page8 .photo {
  width: 100%;
  height: 300px;
  display: flex;
  flex-direction: column;
  background-image: url('img/photo3.png'); /* Ganti dengan nama file gambar Anda */
  background-size: cover; /* Membuat gambar memenuhi seluruh layar */
  background-repeat: no-repeat;
  /* justify-content: flex-end; Posisi teks di bagian bawah */
}

.page8 .content {
  height: 420px;
  text-align: center;
  background: url("img/bgpage1.png");
  padding: 30px 0 0 0; 
  background-size: cover; /* Membuat gambar memenuhi seluruh layar */
  background-position: center; /* Fokus di tengah gambar */
  background-repeat: no-repeat;
}

.page8 .content h1{
  font-size: 30px;
  font-weight: normal;
  font-family: 'Bebas Neue', sans-serif; /* Gunakan font */
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page8 .content h2 {
  margin-bottom: 20px; 
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 18px;
  font-weight: normal;
  color: #666161;
}

.page8 .content p {
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 16px;
  margin-left: 30px; 
  margin-right: 30px;
}

.form-container {
  padding: 20px;
  width: 100%;
}
.form-container h2 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 15px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #555;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px;
  font-size: 14px;
}
.form-group textarea {
  resize: none;
  height: 100px;
}
.form-group button {
  width: 100%;
  padding: 10px;
  background: #fff;
  color: #333;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}
.form-group button:hover {
  background: #fff;
}

.page8ucapan {
    min-height: 788px;
    background: linear-gradient(to bottom, #808080 10%, #d3d3d3);
    /* background-color: #ddd; */
}
  
.page8ucapan .content {
    padding: 70px 10px 0 10px;
}

.page9 {
  height: 770px;
}

.page9 .photo {
  width: 100%;
  height: 300px;
  display: flex;
  flex-direction: column;
  background-image: url('img/potrait2.png'); /* Ganti dengan nama file gambar Anda */
  background-size: cover; /* Membuat gambar memenuhi seluruh layar */
  background-repeat: no-repeat;
  /* justify-content: flex-end; Posisi teks di bagian bawah */
}

.page9 .content {
  height: 470px;
  text-align: center;
  background: url("img/bgpage1.png");
  padding: 132px 0 0 0; 
  background-size: cover; /* Membuat gambar memenuhi seluruh layar */
  background-position: center; /* Fokus di tengah gambar */
  background-repeat: no-repeat;
}

.page9 .content h1{
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: normal;
  font-family: 'Dancing Script', cursive; /* atau ganti dengan font lain */
  color: #666161;
}

.page9 .content h2 {
  margin-bottom: 20px; 
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 18px;
  font-weight: normal;
  color: #666161;
  text-transform: uppercase;
}

.page9 .content p {
  margin-bottom: 30px;
  font-family: 'Glacial Indifference', sans-serif;
  font-size: 16px;
  margin-left: 30px;
  margin-right: 30px;
  color: #666161;
}

.bg1 {
  position: absolute;
  right: 0px;
  height: 200px;
  margin-left: 20px; /* Jarak antara gambar dan teks */
  display: none;
}

.bg2 {
  position: absolute;
  height: 200px;
  margin-left: 20px;
  z-index: 9;
  margin-top: 559px;
  transform: rotateZ(-89deg);
  filter: grayscale(100%) brightness(67%);
}

.bg3 {
    position: absolute;
    left: 0;
    height: 200px;
    z-index: 9;
    margin-top: -130px;
    transform: rotateZ(-89deg);
    filter: grayscale(100%) brightness(67%);
    margin-left: 73%;
    display: none;
  }

.shadowcircle {
  margin-top: 694px;
  position: absolute;
  width: 100%;
  height: 26px;
  background: linear-gradient(to right, #d3d3d3, #555, #d3d3d3);
}

.copyright {
    font-family: 'Glacial Indifference', sans-serif;
    position: absolute;
    height: 26px;
    width: 27%;
    padding-left: 10px;
    background: linear-gradient(to right, #ccc, #d3d3d3, #ccc);
    text-align: center;
    display: none;
}

.copyright a {
    font-weight: normal;
}
/* transition */
.photo {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.photo.visible {
  opacity: 1;
  transform: translateX(0);
}

.slider {
  opacity: 0;
  transform: translateY(-100px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.slider.visible {
  opacity: 1;
  transform: translateX(0);
}

.sliderp3 {
  opacity: 0;
  transform: translateY(-100px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.sliderp3.visible {
  opacity: 1;
  transform: translateX(0);
}

.sliderp4 {
  opacity: 0;
  transform: translateY(-100px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.sliderp4.visible {
  opacity: 1;
  transform: translateX(0);
}

h1 span {
  display: inline-block;
  opacity: 0; /* Awalnya tidak terlihat */
  transform: translateY(20px); /* Awalnya bergeser ke bawah */
  transition: opacity 0.5s ease, transform 0.5s ease; /* Efek transisi */
}
h1 span.visible {
  opacity: 1; /* Muncul */
  transform: translateY(0); /* Kembali ke posisi normal */
}

p span {
  display: inline-block;
  opacity: 0; /* Awalnya tidak terlihat */
  transform: translateY(20px); /* Awalnya bergeser ke bawah */
  transition: opacity 0.5s ease, transform 0.5s ease; /* Efek transisi */
}
p span.visible {
  opacity: 1; /* Muncul */
  transform: translateY(0); /* Kembali ke posisi normal */
}

ul {
    list-style-type: none;
    padding: 0;
}
li {
    background-color: #f9f9f9;
    margin-bottom: 10px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
li h3 {
    margin: 0 0 5px;
    color: #333;
}

li h3 b {
    font-size: 12px;
}

li p {
    margin: 5px 0;
}
li em {
    font-size: 0.9rem;
    color: gray;
}


.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.pagination button {
    padding: 5px 10px;
    border: none;
    background-color: #fff;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 10px;
}
.pagination button[disabled] {
    background-color: #ccc;
    cursor: not-allowed;
}

a {
    text-decoration: none;
    color: #666161;
}


.music-player {
    position: fixed;
    bottom: 5px;
    left: 5px;
    padding: 15px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 99;
}

.cd-icon {
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    animation-play-state: paused; /* Animasi default tidak berjalan */
}

/* Efek berputar */
.cd-icon.playing {
    animation-play-state: running; /* Animasi berjalan */
}

#cd-icon {
    display: none;
}

/* Animasi berputar */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


@media (max-width: 768px) {
    #leftcover{
        display: none;
    }

    .full-page {
        width: 100%;
        z-index: 1;
        position: absolute;
        margin-left: 0;
    }
    
    #invitation {
        width: 100%;
    }

    .bg3 {
        margin-left: 0;
    }

    .copyright {
        width: 100%;
    }
    
    .cd-icon {
        width: 30px;
        height: 30px;
    }
}