:root {
  --pink:#C94A67;
  --light-pink: #FF7C7C;
  --black: #000000;
  --white: #ffffff;
  --transparent-black: #0009;
  --gradation: #ff7c7c96;
  --text-color: #212529;
}

body{
  max-width: 500px;
  margin: 0 auto;
  font-size: 0.8125rem;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: normal;
  scroll-behavior: smooth;
  transition: all 0.5s;
  overflow-x: hidden;
  position: relative;
}

.loading-page {
  width: 100%;
  height: 100%;
  background: #C94A67;
  overflow: hidden;
  position: fixed;
  top: 0;
  z-index: 9999;
  max-width: 500px;
}
.cssload-box-loading {
  width: 49px;
  height: 49px;
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
.cssload-box-loading:before {
  content: '';
  width: 49px;
  height: 5px;
  background: #000000;
  opacity: 0.1;
  position: absolute;
  top: 58px;
  left: 0;
  border-radius: 50%;
  animation: shadow 0.58s linear infinite;
  -o-animation: shadow 0.58s linear infinite;
  -ms-animation: shadow 0.58s linear infinite;
  -webkit-animation: shadow 0.58s linear infinite;
  -moz-animation: shadow 0.58s linear infinite;
}
.cssload-box-loading:after {
  content: '';
  width: 49px;
  height: 49px;
  background: #e1e1e1;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 3px;
  animation: cssload-animate 0.58s linear infinite;
  -o-animation: cssload-animate 0.58s linear infinite;
  -ms-animation: cssload-animate 0.58s linear infinite;
  -webkit-animation: cssload-animate 0.58s linear infinite;
  -moz-animation: cssload-animate 0.58s linear infinite;
}
@keyframes cssload-animate {
  17% {
    border-bottom-right-radius: 3px;
  }
  25% {
    transform: translateY(9px) rotate(22.5deg);
  }
  50% {
    transform: translateY(18px) scale(1, 0.9) rotate(45deg);
    border-bottom-right-radius: 39px;
  }
  75% {
    transform: translateY(9px) rotate(67.5deg);
  }
  100% {
    transform: translateY(0) rotate(90deg);
  }
}
@-o-keyframes cssload-animate {
  17% {
    border-bottom-right-radius: 3px;
  }
  25% {
    -o-transform: translateY(9px) rotate(22.5deg);
  }
  50% {
    -o-transform: translateY(18px) scale(1, 0.9) rotate(45deg);
    border-bottom-right-radius: 39px;
  }
  75% {
    -o-transform: translateY(9px) rotate(67.5deg);
  }
  100% {
    -o-transform: translateY(0) rotate(90deg);
  }
}
@-ms-keyframes cssload-animate {
  17% {
    border-bottom-right-radius: 3px;
  }
  25% {
    -ms-transform: translateY(9px) rotate(22.5deg);
  }
  50% {
    -ms-transform: translateY(18px) scale(1, 0.9) rotate(45deg);
    border-bottom-right-radius: 39px;
  }
  75% {
    -ms-transform: translateY(9px) rotate(67.5deg);
  }
  100% {
    -ms-transform: translateY(0) rotate(90deg);
  }
}
@-webkit-keyframes cssload-animate {
  17% {
    border-bottom-right-radius: 3px;
  }
  25% {
    -webkit-transform: translateY(9px) rotate(22.5deg);
  }
  50% {
    -webkit-transform: translateY(18px) scale(1, 0.9) rotate(45deg);
    border-bottom-right-radius: 39px;
  }
  75% {
    -webkit-transform: translateY(9px) rotate(67.5deg);
  }
  100% {
    -webkit-transform: translateY(0) rotate(90deg);
  }
}
@-moz-keyframes cssload-animate {
  17% {
    border-bottom-right-radius: 3px;
  }
  25% {
    -moz-transform: translateY(9px) rotate(22.5deg);
  }
  50% {
    -moz-transform: translateY(18px) scale(1, 0.9) rotate(45deg);
    border-bottom-right-radius: 39px;
  }
  75% {
    -moz-transform: translateY(9px) rotate(67.5deg);
  }
  100% {
    -moz-transform: translateY(0) rotate(90deg);
  }
}
@keyframes shadow {
  0%,
  100% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.2, 1);
  }
}
@-o-keyframes shadow {
  0%,
  100% {
    -o-transform: scale(1, 1);
  }
  50% {
    -o-transform: scale(1.2, 1);
  }
}
@-ms-keyframes shadow {
  0%,
  100% {
    -ms-transform: scale(1, 1);
  }
  50% {
    -ms-transform: scale(1.2, 1);
  }
}
@-webkit-keyframes shadow {
  0%,
  100% {
    -webkit-transform: scale(1, 1);
  }
  50% {
    -webkit-transform: scale(1.2, 1);
  }
}
@-moz-keyframes shadow {
  0%,
  100% {
    -moz-transform: scale(1, 1);
  }
  50% {
    -moz-transform: scale(1.2, 1);
  }
}

@font-face {
    font-family: "Beyond Infinity";
    src: url("font/beyond_infinity.ttf");
    font-display: swap;
  }

.beyond{
    font-family: "Beyond Infinity";

}

/* 86px */
h1 {
    font-size: 5.375rem;
    font-family: "Beyond Infinity";
}
/* 43px */
h2 {
    font-size: 2.6875rem;
}

/* 36px */
h3 {
    font-size: 2.25rem;
}

/* 27px */
h4 {
    font-size: 1.6875rem;
}

/* 22px */
h5 {
    font-size: 1.375rem;
}

/* 18px */
h6 {
    font-size: 1.125rem;
}

.small-text{
    font-size: 1rem;
}

.brand-color{
    color: var(--pink);
}

ul,li{
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.btn-default {
    background: #D1D5DB;
    font-size: 0.8125rem;
    text-transform: capitalize;
    border: 0;
    color: var(--text-color);
}

.btn-default:hover {
    background: #c1c3c7;
}

section.couple, .countdown {
    padding: 3rem 0 6rem;
}

section.notes {
    padding: 6rem 0 0;
}

section.galery {
    padding: 6rem 0;
}

#audio-container{
  max-width: 500px;
  position: fixed;
  bottom: 90px;
  left: 50%;
  z-index: 99;
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: flex-end;
  transform: translateX(-50%);
}

.audio-icon-wrapper {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 2.5rem;
  cursor: pointer;
  color: var(--pink);
  opacity: 0.8;
  mix-blend-mode: difference;
  animation: rotating 4s linear infinite;
  transform-origin: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 12px;
}

@keyframes rotating {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@-moz-keyframes rotating {
  from {
    -moz-transform: rotate(0deg);
  }
  to {
    -moz-transform: rotate(360deg);
  }
}

@-webkit-keyframes rotating {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}

.paused {
  animation: none;
}

.fixed-menu ul {
  position: fixed;
  bottom: 12px;
  left: 50%;
  z-index: 99;
  background: var(--white);
  max-width: 476px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 12px 16px 9px 12px;
  border-radius: 18px;
  box-shadow: 1px 3px 10px -1px rgba(173,173,173,0.75);
  -webkit-box-shadow: 1px 3px 10px -1px rgba(173,173,173,0.75);
  -moz-box-shadow: 1px 3px 10px -1px rgba(173,173,173,0.75);
  animation: anim-menu 1.5s ease-in 0s 1 normal forwards;
}

@keyframes anim-menu {
	0% {
		opacity: 0;
		transform: translateX(-50%) translateY(50px);
	}

	100% {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

@-moz-keyframes anim-menu {
  0% {
		opacity: 0;
		-moz-transform: translateX(-50%) translateY(50px);
	}

	100% {
		opacity: 1;
		-moz-transform: translateX(-50%) translateY(0);
	}
}

@-webkit-keyframes anim-menu {
  0% {
		opacity: 0;
		-webkit-transform: translateX(-50%) translateY(50px);
	}

	100% {
		opacity: 1;
		-webkit-transform: translateX(-50%) translateY(0);
	}
}

.fixed-menu ul li .icon img {
  width: 25px;
}

.fixed-menu ul li .icon {
    text-align: center;
    padding-bottom: .2rem;
}

.fixed-menu ul li a {
    color: var(--pink);
    text-decoration: none;
}

.hero{
    /* background-image: url('images/galery.png'); */
    background-size: cover;
    position: relative;
    transition: background-image 2s ease-in-out infinite;
}

.hero:after{
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--transparent-black);
}

.heroimage{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    z-index: 3;
}

.hero-content .icon img {
    width: 40%;
    padding-bottom: 2rem;
}

.fontPage1{
  position: relative;
  z-index: 99;
}

.title-section{
    color: var(--pink);
    font-family: "Beyond Infinity";
    padding-bottom: 2rem;
}

.notes p.underline {
    font-size: 1rem;
    border-bottom: 1px solid #212529;
    display: inline-block;
    padding-bottom: .1rem;
    margin-bottom: 1rem;
}

.notes ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.notes ul li {
    width: 35%;
    padding: 1rem;
}

.note-wrap .icon img {
    width: 70px;
}

.note-wrap .icon {
    padding-bottom: 1rem;
}

.detail-couple>ul {
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-couple>ul>li {
  width: 100%;
}

.detail-couple>ul {
  flex-direction: column;
}

.detail-couple>ul li {
  padding-top: 2rem;
}

.title-wrapper img.ribbon {
    width: 20%;
    margin-top: -1rem;
    margin-bottom: 1rem;
}

.couple h2.title-section {
    padding: 0;
    margin: 0;
}

.detail-couple>ul li img {
    width: 100%;
    border-radius: 24px;
    text-align: center;
}

.card-couple .images {
    padding: 2rem;
}

.card-couple .details .socials {
    display: flex;
    justify-content: center;
}

.card-couple .details .socials li {
    padding: 0 1rem;
}

.card-couple .details .socials a {
    color: #7f7f7f;
    font-size: 1rem;
}

.card-couple .details .socials a:hover {
    color: #a89f9f;
}

.card-couple h3, .card-couple .address {
    color: var(--pink);
}

section#event {
  width: 100%;
}

section#event > img {
    position: absolute;
    z-index: 10;
    width: 100%;
    bottom: -2px;
}

section#event .mask-top {
    top: -5px;
    transform: scaleY(-1);
    bottom: inherit;
}
.event ul li {
  /* width: 100%; */
  border: 1px solid #fff;
  text-align: center;
  padding: 2rem 1rem;
  margin: 0 .5rem;
  position: relative;
  z-index: 9;
  color: var(--white);
}
.card-event h3:after {
  height: 2px;
  width: 15%;
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  background: #fff;
  margin: auto;
  top: 100%;
}
section.event {
  padding: 2rem 0;
  background-size: cover;
  background-position: center;
  position: relative;
}

section.event:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: var(--gradation);
}

.btn-wrapper {
    position: relative;
    z-index: 9;
    text-align: center;
    padding-top: 3rem;
}

.btn-wrapper .btn-default {
    margin: 0 1rem;
}

.quote-list .images img {
    width: 100%;
    border-radius: 24px;
}

.quote-list .images {
    width: 30%;
}

.quote-list {
    display: flex;
    padding-top: 2rem;
}

.quote-list .text {
    width: 70%;
    padding-left: 2rem;
}

.quote-list .text ul {
    display: flex;
    align-items: center;
}

.quote-list .text ul li {
    padding-right: 2rem;
    display: flex;
}

.quote-list .text ul li .icon {
    width: 20px;
    height: 20px;
}

.quote-list .text ul li img {
    width: 1.125rem;
}

.quote-list .text ul li svg {
    width: 1.125rem;
}

.quote-list .text ul li p {
    margin: 0;
    padding-left: .5rem;
}

.gift ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gift ul li {
    width: 45%;
    border: 1px solid #f6f6f6;
    padding: 1rem;
    margin: 1rem;
    border-radius: 8px;
    text-align: left;
}

.gift .ewallet-layout{
  max-width: 500px;
  width: 100%;
  border: 1px solid #f6f6f6;
  padding: 1rem;
  margin: 1rem;
  border-radius: 8px;
  text-align: left;
}

.gift ul li .images img {
  width: 65px;
  height: 22px;
}

.gift .ewallet-layout .images img {
  width: 65px;
  height: 22px;
}

.gift ul li .images {
  width: 65px;
  height: 22px;
    text-align: center;
}

.gift ul li .text p {
    margin: 0;
}

.gift ul li p.address {
    border-top: 1px solid #f6f6f6;
    padding-top: .7rem;
    margin-top: .7rem;
}

.gift ul li .text {width: 75%;}

.gift ul li:last-child .images img {
    width: 65%;
}

.gift ul li:last-child .text {
    display: flex;
    align-items: center;
}

.form-wrapper ul {
    display: flex;
    flex-wrap: wrap;
}

.form-wrapper ul li {
    width: 100%;
    padding: .5rem 1rem;
    color: var(--white);
}

.form-wrapper ul li:nth-child(2), .form-wrapper ul li:nth-child(3) {
    width: 50%;
}

.form-wrapper {
    background: var(--light-pink);
    border-radius: 8px;
    padding: 1rem;
}

.command-list, .comment-list {
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #EEEEF0;
    margin: 2rem 0;
    background: var(--white);
}

.command-list .card-command {
    display: flex;
}

.command-list .card-command .ava {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #bbb4b4;
}

.command-list .card-command .text {
    padding-left: 1rem;
}

.command-list .card-command .text p {
    margin: 0;
}

.comment-list li {
    padding: 0.5rem 1rem;
    background: #f3f4f6;
    border-radius: 5px;
    /* font-size: 1.1rem; */
    margin: 1rem 0;
}

.command-list .card-command .text .bg-grey {
    background: #F3F4F6;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
}

.command-list ul li, .comment-list ul li {
    padding: .5rem 0;
}

.command-list .card-command .text .time {
    padding-top: .5rem;
    font-size: 0.5625rem;
}

.container-countdown{
  max-width: 500px;
  width: 100%;
}

.simply-countdown {
    max-width: 500px;
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

  .simply-countdown .simply-amount {
    font-size: 1.6875rem;
    display: block;
    color: var(--pink);
  }

  .simply-countdown .simply-word {
    background: var(--pink);
    /* padding: .2rem; */
    font-size: 0.875rem;
    border-radius: 8px;
    display: block;
    color: #fff;
  }

  .simply-countdown .simply-section {
    max-width: 500px;
    width: 100%;
    margin: 1rem;
    border: 2px solid var(--pink);
    padding: .2rem;
    border-radius: 8px;
  }

  section.guest-book {position: relative;padding: 6rem 0;}

section.guest-book:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: url(./images/bg.webp);
    background-position: center;
    background-size: cover;
    opacity: .1;
}

section.guest-book .container {
    position: relative;
    z-index: 9;
}

section.guest-book {position: relative;padding: 6rem 0;}

section.guest-book:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: url(./images/bg.webp);
    background-position: center;
    background-size: cover;
    opacity: .1;
    background-attachment: fixed;
}
.left-form {
  max-width: 500px;
  width: 100%;
}

.left-form input, .left-form textarea {
    width: 100%;
    font-size: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border: none;
    padding: 0.5rem 1rem;
    background-color: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    color: #333;
}

.left-form {
    padding: 2rem;
    background: var(--light-pink);
    border-radius: 20px;
}

section.guest-book .container {
    position: relative;
    z-index: 9;
}

.command-list .card-command .text .label {
    padding-left: .5rem;
}

.video .button-wrapper {
    padding-top: 1rem;
}

section.video {
    padding: 0 0 3rem;
}

.video .video-wrapper {
    padding-bottom: 56.5%;
    position: relative;
}

.video .video-wrapper iframe {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
    width: 100%;
    height: 100%;
}

section.turut-mengundang {
    padding: 2rem 0 6rem;
    background-size: cover;
    background-position: bottom;
    position: relative;
}

section.turut-mengundang .text-center {
    color: #fff;
}

section.turut-mengundang .text-center h3.title-section {
    color: #fff;
}

section.turut-mengundang:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--gradation);
}

section.turut-mengundang .container {
    position: relative;
    z-index: 1;
}

section.story {
    padding: 6rem 0;
}


.gift .card-detail {
  background: #ff7c7c;
  padding: 2rem;
  border-radius: 10px;
  color: #fff;
}
.gift .col-md-8{
  width: 100%;
}
.gift ul li{
    width: 100%;
}
.gift {
  padding: 6rem 0 12rem;
}

section.thanks {
  padding: 6rem 0 8rem;
}

.gift .images {
  max-width: 250px;
}

section.thanks .images img {
    width: 100%;
    border-radius: 20px;
}

section.thanks .images {
    padding-bottom: 3rem;
}

.thanks .text .title-section {
    padding-bottom: 1rem;
}

.invited h3.title-section.beyond {
    padding-bottom: 1rem;
    margin: 0;
    padding-top: 3rem;
}

#hero > img {
    position: absolute;
    bottom: -2px;
    z-index: 9;
    width: 100%;
}

section img.ribbon {
    width: 20%;
    margin: -1rem auto 1rem;
    display: block;
}

h3.title-section {
    margin-bottom: 0;
    padding-bottom: 0;
}

.galery-wrapper .col {
  width: 50%;
}

.galery-wrapper .col {
  width: 50%;
}

/* Responsive */

@media (max-width: 1024px){
    section{
        overflow: hidden;
    }
    .gift .col-md-8{
      width: 100%;
    }
    .gift ul li {
        width: 100%;
    }

    section#gift {
        padding-bottom: 6rem;
    }
}


@media (max-width: 992px) {
    .col-md-8 {
        width: 100%;
    }

    .gift ul li {
        width: 100%;
    }

    section#gift {
        padding-bottom: 6rem;
    }
}

@media (max-width: 580px){
    section{
        overflow: hidden;
    }

    .fixed-menu ul li {
      text-align: center;
    }

    .fixed-menu ul li a {
        font-size: 0.5625rem;
    }

    .fixed-menu ul li .icon img {
        width: 20px;
    }
    .hero-content h1 {
        font-size: 3.5rem;
        padding: 1rem;
    }

    .fixed-menu ul {
        max-width: 94%;
    }
    .notes ul li {
        width: 50%;
    }

    section.galery {
        padding: 3rem 0;
    }

    .card-wrapper .quote-list {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .card-wrapper .quote-list .images {
        width: 100%;
        padding: 1rem;
    }

    .quote-list .text {
        width: 100%;
        padding: 0 1rem;
    }

    .quote-list .text ul {
        justify-content: center;
    }

    section.story {
        padding-bottom: 3rem;
    }

    .gift ul li {
        width: 100%;
    }

    section#gift {
        padding-bottom: 6rem;
    }
}
