@font-face {
  font-family: Header;
  src: url(../font/Fontspring-DEMO-theseasons-reg.otf);
}

@font-face {
  font-family: reguler;
  src: url(../font/Calliga-Regular.otf);
}
.container {
  font-family: "reguler";
}

.header {
  background-image: url("../img/bg2.png");
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-position: center center;
  background-color: rgba(0, 0, 0, 0.5);
  background-attachment: scroll;
  background-repeat: no-repeat;
  height: 100vh;
}

.icon {
  color: #755035;
}

.rsvp {
  background-color: white;
  background-attachment: fixed;
  font-family: "poppins";
}

.wish {
  font-family: "poppins";
  background-color: #ffb6c1;
}

.amplop {
  display: grid;
  justify-content: center;
}

.main {
  background-position: center;
  padding-top: 10%;
  padding-bottom: 5%;

  text-align: center;
  color: #000;
  font-family: "poppins";
  border-radius: 50px;
}

#clock > div {
  border-radius: 50%;
  padding: 20px 20px 10px 20px;
  color: #000;
  display: inline-block;
}
#clock > div > p {
  font-size: 17px;
  font-family: "poppins";
}
#days,
#hours,
#minutes,
#seconds {
  border-radius: 50%;
  font-size: 37px;
  font-family: "reguler";
  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";
  font-size: 40px;
  position: absolute;
  left: 0%;
  right: 0%;
  bottom: 29%;
  color: #fff;
}

.opening h4 {
  font-size: 20px;
  position: absolute;
  left: 0%;
  right: 0%;
  bottom: 37%;
  color: #fff;
}
.opening h5 {
  position: absolute;
  left: 0%;
  right: 0%;
  top: 23%;
  color: #fff;
}

.opening h6 {
  font-size: 23px;
  color: #fff;
  position: absolute;
  left: 0%;
  right: 0%;
  top: 18%;
}

.btn-opening1 {
  color: #000;
  font-size: 23px;
  position: absolute;
  left: 50%;
  bottom: 25%;
  transform: translate(-50%, 50%);
  font-family: "poppins";
  background-color: #fff;
}

.opening img {
  width: 80%;
  position: absolute;
  bottom: 40%;
}

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/bg.png");
  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: 100vh;
  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.8);
  position: relative;
  width: 100vw;
  height: 100vh;
}

.thanks {
  text-align: center;
  color: #30436c;
}

.thanks h1 {
  font-family: "header";
}

.thanks h2 {
  font-family: "header";
}

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: #fff;
  color: #000;
}
.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;
}

.my-custom-scrollbar {
  position: relative;
  height: 500px;
  overflow: auto;
}
.table-wrapper-scroll-y {
  display: block;
}

.t10 {
  margin-top: 10%;
}

.b10 {
  margin-bottom: 10%;
}

input.line {
  border: none;
  color: #fff;
  border-bottom: 2px solid #fff;
  background: transparent;
  margin-bottom: 10px;
  display: block;

  width: 100%;
}

.line::-webkit-input-placeholder {
  color: #fff;
}
