@font-face {
  font-family: "header";
  src: url(../font/kawoszeh.otf);
}
.container {
  font-family: "poppins";
}

.top-header {
  position: absolute;
  bottom: -5%;
  right: 0%;
  left: 0%;
}

.header {
  background-image: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 46%,
      rgba(10, 10, 10, 0.24) 100%
    ),
    url(../img/header.jpg);
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-position: center center;
  background-color: #7a9577;
  background-attachment: scroll;
  background-repeat: no-repeat;
  height: 100vh;
  border-radius: 0px 0px 180px 180px;
}

.header h1 {
  font-size: 40px;
  position: absolute;
  right: 0%;
  left: 0%;
  bottom: 23%;
  color: white;
  text-align: center;
  font-family: "header";
}

.header p {
  font-size: 20px;
  position: absolute;
  bottom: 30%;
  left: 0%;
  right: 0%;
  color: white;
  text-align: center;
  font-family: "poppins";
}

.header span {
  font-size: 20px;
  position: absolute;
  bottom: 5%;
  left: 0%;
  right: 0%;
  color: white;
  text-align: center;
  font-family: "poppins";
}

.header h6 {
  position: absolute;
  left: 0%;
  right: 0%;
  bottom: 18%;
  color: white;
  text-align: center;
  font-family: "poppins";
}

.footer {
  background-image: url(../img/1.jpg);

  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

.rsvp {
  font-family: "poppins";
}

.wish {
  font-family: "poppins";
  background-color: #ffb6c1;
}

.main {
  background-color: white;
  background-position: center;
  padding-top: 5%;
  padding-bottom: 5%;
  text-align: center;
  color: rgb(0, 0, 0);
  font-family: "poppins";
}

#clock > div {
  border-radius: 10%;

  padding: 8px 8px 8px 8px;
  color: #fff;
  display: inline-block;
}
#clock > div > p {
  font-size: 16px;
  font-family: "poppins";
}
#days,
#hours,
#minutes,
#seconds {
  border-radius: 10%;

  font-size: 20px;

  display: inline-block;
  width: 40px;
}
span.turn {
  animation: turn 0.7s ease;
}
@keyframes turn {
  0% {
    transform: rotateX(0deg);
  }
  100% {
    transform: rotateX(360deg);
  }
}

.opening h1 {
  font-family: "header";
  position: absolute;
  left: 0%;
  right: 0%;
  bottom: 55%;
  color: white;
  font-size: 40px;
}

.opening h5 {
  position: absolute;
  left: 0%;
  right: 0%;
  bottom: 65%;
  color: white;
}

.opening h6 {
  font-size: 20px;
  color: white;
  position: absolute;
  left: 0%;
  right: 0%;
  bottom: 40%;
}

.opening h4 {
  color: white;
  position: absolute;
  left: 0%;
  right: 0%;
  bottom: 47%;
}

.opening p {
  color: white;
  position: absolute;
  left: 0%;
  right: 0%;
  bottom: 23%;
  font-size: 13px;
  font-family: "poppins";
}

.btn .btn-opening1 {
  font-family: "poppins";
}

.btn {
  border: 2px solid #fdfdfd;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 1px;
  font-size: 20px;
  cursor: pointer;
  font-family: "poppins";
}

.center-button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0%;
  right: 0%;
  bottom: 12%;
}

.opening img {
  display: flex;
  display: block;
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  top: -15%;
}

body#index.opening-show {
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}

body#index.opening-hide {
  min-height: 100vh;
  max-height: unset;
}

body#index.opening-hide section#opening {
  animation: opening-hide 2s ease-in-out forwards;
}

body#index section#opening {
  padding: 8rem 0 0;
  position: fixed;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 9999;
  background-image: url("../img/1.jpg");
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-position: center center;
  background-attachment: scroll;
  background-repeat: no-repeat;
  min-height: 92vh;
  overflow-x: hidden;
  overflow-y: auto;
  transition: all 0.3s ease-in;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.transparant {
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  width: 100%;
  height: 100%;
}

.transparant1 {
  background-color: rgba(0, 0, 0, 0.3);
  position: unset;
  width: 100%;
  height: 100%;
}

.transparant2 {
  background-color: rgba(0, 0, 0, 0.1);
  position: unset;
  width: 100%;
  height: 100%;
}

.countdown {
  background-color: rgba(100, 76, 76, 0.829);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

.thanks {
  text-align: center;
  color: #755035;
}

.thanks h2 {
  font-family: "poppins";
}

.thanks h3 {
  font-family: "header";
  font-size: 35px;
}

body#index section#opening .container {
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 8rem;
}

body#index section#opening .decoration {
  position: absolute;
  font-size: 5px;
  z-index: 1;
}

@keyframes opening-hide {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(0.5rem);
  }

  100% {
    transform: translateY(-100%);
    opacity: 1;
  }
}

.btn#btn-play {
  position: fixed;
  bottom: 1rem;
  left: 0.5rem;
}

.btn#btn-to-top {
  position: fixed;
  bottom: 5rem;
  left: 2rem;
  display: none;
  animation: pop-out 0.3s linear forwards;
}

.btn.btn-light {
  border: unset;
  width: 2.5rem !important;
  height: 2.5rem !important;
  padding: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 999;
  box-shadow: unset !important;
  background-color: rgba(0, 0, 0, 0.8);
}

.btn.btn-light.active i {
  color: #7a9577;
}

.btn.btn-light:focus {
  box-shadow: unset;
}

.btn.btn-light i {
  color: #fdfdfd;
}

.btn.btn-dark {
  background-color: #000;
  color: #fff;
}
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999999;
  background-color: rgba(0, 0, 0, 0.5);
}
.preloader .loading {
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%);
  font: 14px arial;
}

.text-bordered {
  border-top: 2px solid #c4c4c4;
  border-bottom: 2px solid #c4c4c4;
  padding: 0.8rem 2rem;
}

.font-light {
  font-weight: 300;
}

section#galeri .container {
  padding-top: 80px;
  padding-bottom: 100px;
}

section#galeri .container h1 {
  font-family: "Domine";
  font-size: 37px;
  font-weight: 700;
  margin-bottom: 32px;
}

section#galeri .container p {
  font-size: 18px;
  margin-bottom: 75px;
}

section#galeri .container .img-placeholder {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
}

section#galeri .container .img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section#galeri .container .row-first [class^="col"] {
  height: 450px;
}

section#galeri .container .row-first [class^="col"]:nth-child(2) {
  display: flex;
  flex-direction: column;
}

section#galeri .container .row-first [class^="col"]:nth-child(2) a {
  flex-grow: 1;
  overflow: hidden;
}

section#galeri .container .row-first [class^="col"]:nth-child(2) a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section#galeri .container .row-second [class^="col"] {
  height: 550px;
}

section#galeri .container .row-third [class^="col"] {
  height: 450px;
}

@media (max-width: 1200px) {
  section#galeri .row-first [class^="col"] {
    height: 350px !important;
  }

  section#galeri .row-second [class^="col"] {
    height: 400px !important;
  }

  section#galeri .row-third [class^="col"] {
    height: 300px !important;
  }
}

@media (max-width: 577px) {
  section#galeri .container {
    padding-bottom: 10px;
  }

  section#galeri .container .row-first [class^="col"]:nth-child(1) {
    height: 200px !important;
  }

  section#galeri .container .row-first [class^="col"]:nth-child(2) {
    height: 100px !important;
    flex-direction: row !important;
    gap: 5px;
  }

  section#galeri .container .row-second [class^="col"] {
    height: 170px !important;
  }

  section#galeri .container .row-third [class^="col"] {
    height: 140px !important;
  }
}

.lightboxOverlay {
  width: 100vw !important;
  height: 100vh !important;
}

.lightbox,
.lightboxOverlay {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate3d(-50%, -50%, 0);
}

.video-wrapper {
  float: none;
  clear: both;
  width: 100%;
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 25px;
  height: 0;
  margin-bottom: 30px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

body#index section#section-2 {
  padding: 2rem 0;
  min-height: 68rem;
}

body#index section#section-2 .card.card-story {
  font-size: 6px;
}

@media screen and (min-width: 768px) {
  body#index section#section-2 .card.card-story {
    font-size: 10px;
  }
}

.card {
  border: 0;
}

.card.card-story {
  position: relative;
  border-radius: 1rem;
  font-size: 10px;
  width: 34em;
  height: 45em;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: visible;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  padding: 0;
  z-index: 1;
}

.card.card-story::before {
  content: "";
  display: block;
  width: 16em;
  height: 23em;
  position: absolute;
  z-index: -1;
  background-size: contain;
  background-repeat: no-repeat;
}

.card.card-story::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 3;
  background-size: contain;
  background-repeat: no-repeat;
}

.card.card-story.card-story-left {
  transform: rotate(4deg);
}

.card.card-story.card-story-left::before {
  left: -12em;
  background-image: url("../img/flower-left.png");
}

.card.card-story.card-story-left::after {
  align-self: center;
  width: 24em;
  height: 6.4em;
  top: -2.5em;
  left: 7em;
  background-image: url("../img/card-story-left.png");
}

.card.card-story.card-story-right {
  transform: rotate(-4deg);
}

.card.card-story.card-story-right::before {
  right: -12em;
  background-image: url("../img/flower-right.png");
}

.card.card-story.card-story-right::after {
  align-self: center;
  width: 21em;
  height: 5.4em;
  transform: rotate(3deg);
  top: -2.5em;
  right: 4em;
  background-image: url("../img/card-story-right.png");
}

.card.card-story .card-body {
  position: relative;
  background-color: #545454;
  z-index: 2;
  padding: 2rem 2rem;
  flex-grow: 1;
}

.card.card-story .card-body img {
  width: 100%;
}
