:root {
  --background: #000000;
  --text: #ffffff;
}

@font-face {
  font-family: "FeelingPassionate";
  src: url("../font/FeelingPassionateRegular-gxp34.ttf");
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: var(--background);
  color: var(--text);
}

h1,
h3,
h2 {
  font-family: "FeelingPassionate", sans-serif;
}

main {
  /* max-width: 1800px; */
  margin: auto;
  overflow-x: hidden;
}

.first,
.thanks {
  height: 100vh;
}

.first {
  position: relative;
  /* overflow: hidden; */
}

.first .object-1 {
  position: absolute;
  bottom: -200px;
  left: 0;
  width: 350px;
  z-index: 3;
}

.first h1 {
  font-size: 7rem;
  transform: rotate(-15deg);
}

.dan {
  font-family: "Comforter Brush", cursive;
}

.secound {
  height: 100vh;
  position: relative;
  /* background-color: aqua; */
}

.secound img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.three {
  position: relative;
}

.three .object-2 {
  position: absolute;
  top: -400px;
  right: 0;
  width: 300px;
  object-fit: cover;
}

.three .pembuka {
  /* max-width: 989px; */
  text-align: center;
  font-size: 1.2rem;
  margin: 6rem auto;
}

.three .pembuka img {
  width: 32%;
}

.three .mempelai {
  margin: 6rem 10%;
  /* background-color: #ffffff; */
}

.three .mempelai img:nth-child(1) {
  margin-bottom: 2rem;
}

.three .mempelai h3 {
  font-size: 1.8rem;
}

.three .mempelai p {
  font-size: 1rem;
  font-weight: 300;
  margin: 0.8rem 0;
  width: 377px;
  line-height: 2rem;
}

.three .mempelai .desc {
  margin: 2rem 0;
}

.four {
  /* margin: 0 20% 6rem; */
  position: relative;
}

.four .object-1 {
  position: absolute;
  top: -100px;
  right: 0;
  transform: rotate(180deg) scaleY(-1);
  width: 350px;
  z-index: 2;
}

.four .object-2 {
  position: absolute;
  top: 600px;
  left: 0;
  transform: rotate(180deg) scaleY(-1);
  width: 350px;
  z-index: 2;
}

.four .resepsi img {
  width: 70%;
}

.h2_beda,
.four .dilaksanakan,
.four p {
  font-family: "Belleza", sans-serif;
  /* text-transform: capitalize; */
}

.four h2 {
  font-size: 2.5rem;
}

.four .h2_beda {
  margin: 1.5rem;
}

.four .text-center p {
  margin: 1rem 0 7rem;
  font-size: 2rem;
  font-weight: lighter;
}

.four .text-center p.p-resepsi,
.four .text-center p.p-akad {
  gap: 1.5rem;
}

.four .text-center p:nth-child(3) {
  margin-bottom: 1rem;
}

.four .resepsi p {
  margin-bottom: 0;
}

.four .resepsi p .decc {
  font-size: 1rem;
}

.four .akad_resepsi {
  gap: 3rem;
  margin-top: -15rem;
}

.four .dilaksanakan {
  margin: 8rem 0 0;
}

.four .h2_beda {
  margin: 2rem 0;
}

.four .qr-code {
  margin-right: 0.5rem;
}

.four .qr .p {
  /* width: 519px; */
  font-size: 1rem;
  font-weight: lighter;
}

.four .qr .lokasii{
  font-weight: bolder;
}

.four .qr .lokasii:link {
  text-decoration: none;
}

/* #sub-section-2 {
  position: relative;
}

.arrow-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

.prev-content-img {
  left: 0;
}

.next-content-img {
  right: 0;
} */

.inputan {
  /* width: 65%; */
  margin: auto;
  position: relative;
}

.inputan .object {
  position: absolute;
  width: 300px;
}

.inputan .object-1 {
  top: 0;
  left: 0;
}

.inputan .object-2 {
  right: 0;
  bottom: 0;
}

.inputan h2,
.kehadiran .h2_beda {
  font-size: 2.5rem;
}

.kehadiran option {
  background-color: black;
  color: white;
}

.input-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.input-group input,
.input-group select,
.input-group textarea,
.pesan {
  width: 30%;
  margin: 1rem 0;
  font-size: 1rem;
  border: 1px solid white;
}

.btn-kirim {
  padding: 0.8rem 4rem;
  font-weight: 500;
  font-size: 1rem;
}

.input-group textarea {
  height: 129px;
  border-radius: 1.5rem;
}

.pesan {
  /* max-width: 8rem; */
  background-color: #ffffff10;
  /* display: none; */
  padding: 2rem;
  border: none;
  margin: auto;
  border-radius: 1.5rem;
  margin-top: 2rem;
}

.pesan .content {
  max-height: 481px;
  overflow-y: scroll;
  padding-right: 2rem;
}

.pesan .content::-webkit-scrollbar {
  width: 2px;
}

.pesan .content::-webkit-scrollbar-track {
  background-color: #ffffff50;
  border-radius: 10px;
}

.pesan .content::-webkit-scrollbar-thumb {
  background: white;
  width: 10px;
  border-radius: 10px;
}

.pesan .list {
  margin: 2rem 0;
}

.pesan .list:nth-child(1) {
  margin-top: 0;
}

.pesan h4 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: capitalize;
}

.pesan p {
  font-size: 0.8rem;
  margin-bottom: 2px;
}

.pesan small {
  font-size: 0.7rem;
  color: #ffffff50;
  margin-top: -1rem;
}

.six {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-bottom: 9rem;
}

.six .object-2 {
  position: absolute;
  width: 300px;
  left: 0;
  bottom: -100px;
  transform: rotate(180deg) scaleY(-1);
}

.six p {
  max-width: max-content;
  text-align: center;
  font-size: 1.1rem;
}

.six .img {
  width: 100%;
  padding: 13rem 20% 4rem;
}

.six .img img {
  width: 100%;
  object-fit: cover;
}

.six .card-bca {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 3rem 0;
  gap: 2rem;
}

.six .card-bca .card {
  width: 300px;
  background-color: transparent;
}

.six .card-bca .bca {
  position: relative;
  z-index: 1;
}

.six .card-bca .bca .copy {
  position: absolute;
  width: 15px;
  top: 90px;
  right: 30px;
  opacity: 70%;
}

.six .alamat,
.six .nama {
  max-width: 550px;
  line-height: 30px;
}

.six p.nama .span,
.six p.alamat .span {
  line-height: 3rem;
}

.six .copy-address {
  width: 20px;
}

.thanks h1 {
  font-size: 3rem;
}

.thanks p {
  font-size: 1.1rem;
}

.br_ {
  display: none;
}

.four .qr ul{
  margin-top: 1rem;
}

/* Media Query, (Responsive)__________________________________ */

/* Ukuran Mobile */
@media (max-width: 426px) {
  .open-invitation-title {
    font-size: 1.3rem;
  }

  .kepada,
  .btn-play {
    font-size: 0.8rem;
  }

  .first h1 {
    font-size: 3rem;
    transform: rotate(-15deg);
  }

  .first .object-1 {
    bottom: -50px;
    width: 150px;
  }

  .three .object-2 {
    top: -200px;
    width: 150px;
  }

  .br {
    display: none;
  }

  .three .pembuka img {
    width: 200px;
  }

  .three .pembuka {
    font-size: 0.9rem;
    margin: 4rem 1.8rem;
  }

  .three .mempelai {
    margin: 6rem 1rem;
  }

  .three .mempelai h3 {
    font-size: 1.2rem;
  }

  .three .mempelai p {
    font-size: 0.7rem;
    margin: 0;
    width: max-content;
    line-height: normal;
    /* display: none; */
  }

  .three .mempelai h3.adimas {
    width: 250px;
  }

  .four .object-1 {
    top: 0px;
    right: 0;
    width: 180px;
  }

  .four .object-2 {
    top: 600px;
    left: 0;
    width: 180px;
  }

  .four .resepsi img {
    width: 80%;
  }

  .four h2,
  .inputan .kehadiran .h2_beda,
  .inputan .wishes .h2_beda {
    font-size: 1.5rem;
  }

  .four .akad_resepsi h2{
    font-size: 1.2rem;
  }

  .inputan .wishes {
    margin-top: 6rem;
  }

  .four .text-center p {
    font-size: 1.3rem;
  }

  .four .akad p,
  .four .resepsi p{
    margin-top: 0;
  }

  .four .akad_resepsi p .decc {
    font-size: .5rem;
    margin-top: -5px;
  }

  .four .akad_resepsi {
    gap: 2rem;
    margin-top: -9rem;
  }

  .four .dilaksanakan {
    margin: 4rem 0 -1rem;
    z-index: 3;
  }

  .four .text-center p {
    margin-bottom: 4rem;
  }

  .four .text-center p.p-resepsi,
  .four .text-center p.p-akad {
    margin-bottom: 1rem;
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  .four .h2_beda {
    margin: 1rem 0;
  }

  .four .h2_beda.cianjur {
    margin-top: 4rem;
  }

  .four .qr-code {
    margin-right: 0;
    width: 70px;
  }

  .four .qr .p {
    font-size: 0.6rem;
    font-weight: lighter;
  }

  .four .qr ul{
    font-size: .6rem;
    margin-top: .5rem;
    margin-left: -.5rem;
  }

  .four .qr {
    margin: 0 1rem;
  }

  .br_ {
    display: block;
  }

  .inputan .object {
    width: 180px;
  }

  .input-group input,
  .input-group select,
  .input-group textarea,
  .pesan {
    width: 70%;
    font-size: 0.8rem;
  }

  .inputan .wishes {
    margin-top: 4rem;
  }

  .btn-kirim {
    padding: 0.5rem 4rem;
    font-size: 0.9rem;
  }

  .pesan {
    /* max-width: 8rem; */
    background-color: #ffffff30;
  }

  .pesan h4 {
    font-size: 0.9rem;
  }

  .pesan p {
    font-size: 0.7rem;
  }

  .pesan small {
    font-size: 0.5rem;
  }

  .six {
    margin-top: 8rem;
  }

  .six .object-2 {
    width: 150px;
  }

  .six .img {
    width: 100%;
    padding: 0;
  }

  .six p {
    margin: 3rem 1.8rem;
    font-size: 0.9rem;
  }

  .six p.kasih-visible {
    margin: 3rem 1.9rem 1rem;
  }

  .six p.alamat {
    margin: 1.5rem 1.9rem 3rem;
  }

  .six p.nama .span,
  .six p.alamat .span {
    line-height: 1.5rem;
  }

  .six .card-bca {
    margin: 0;
  }

  .six .card-bca .card {
    width: 200px;
  }

  .six .card-bca .bca .copy {
    width: 10px;
    top: 60px;
    right: 15px;
  }

  .six .alamat,
  .six .nama {
    max-width: 550px;
    line-height: 24px;
  }

  .six .nama {
    margin: 0;
  }

  .six .copy-address {
    width: 15px;
    margin-top: -35px;
  }

  .thanks h1 {
    font-size: 1.8rem;
  }

  .thanks p {
    font-size: 0.9rem;
  }

  /* .ul {
    display: none;
  } */
}

@media (max-width: 375px) {
  .three .mempelai h3.adimas {
    width: 200px;
  }

  .four .qr .p {
    margin: 0 -0.5rem;
  }

  .four .qr ul {
    margin-left: -1rem;
  }

  .thanks h1 {
    font-size: 1.5rem;
  }

  .four .dilaksanakan {
    width: 200px;
  }

  .thanks p {
    font-size: 0.8rem;
    margin: 0 3rem;
  }
}

@media (max-width: 320px) {
  .three .mempelai h3.adimas {
    width: 150px;
    line-height: 1.5;
  }

  /* .three .mempelai p.ariyadi {
    margin-top: 3.7rem;
  } */
}
