@import url("https://fonts.googleapis.com/css2?family=Gowun+Batang:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap");

:root {
  --primary: #ff69b4;
}
* {
  padding: 0;
  margin: 0;
  text-align: center;
  box-sizing: border-box;
}
.gowunbatang-reg {
  font-family: "Gowun Batang", serif;
  font-weight: 400;
}
.gowunbatang-bold {
  font-family: "Gowun Batang", serif;
  font-weight: 700;
}
body {
  background-color: #fff0f5;
  display: flex;
  justify-content: center;
}
section {
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-image: url(../images/bg-ultah.jpg); */
  background-size: cover;
  background-position: center;
  width: 100vw;
  /* height: 100vh; */
  transition: all 1s ease-in-out;
}
#sectionKecil{
  height : 100vh!important;
}
.pengantin {
  width: 220px;
  height: 220px;
  margin-bottom: 15px;
  border: 4px solid var(--primary);
  border-radius: 50px 0;
  object-fit: cover;
}
.cover {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 90vw;
  max-width: 400px;
  padding: 20px;
  transition: all 1s ease-in-out;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.4);
}
.cover p {
  color: var(--primary);
  font-size: 22px;
  margin-top: 10px;
}
.cover h1 {
  color: var(--primary);
  font-size: 48px;
  font-family: "Dancing Script", cursive;
  margin: 20px 0;
}
.cover div {
  margin-bottom: 20px;
  font-size: 16px;
  color: #333;
}
.open {
  cursor: pointer;
  padding: 12px 24px;
  background-color: var(--primary);
  border: none;
  font-size: 18px;
  border-radius: 12px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: background 0.3s ease;
}
.open:hover {
  background-color: #ff85c1;
}
.fade-out {
  opacity: 0;
  transition: opacity 1s ease;
}
@media (min-width: 768px) {
  /* section {
    width: 30vw;
  } */
  .cover p {
    font-size: 20px;
  }
  .cover h1 {
    font-size: 42px;
  }
  .cover div {
    font-size: 14px;
  }
  .open {
    font-size: 16px;
  }
  .slide-out {
    transform: translateX(35vw);
  }
}