@font-face {
  font-family: Header;
  src: url(../font/Satisfy-Regular.ttf);
}


.container {
  
    font-family: 'poppins';
}

.header {
  background-image: url('../img/bg5.png');
  background-position: center;
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.5);
  background-attachment: scroll;
  background-repeat: no-repeat;
  height: 100vh;

}



.header h1 {
    font-size: 23px;
    position: absolute;
    right: 0%;
    left: 0%;
    bottom: 46%;
    color: #916350;
    text-align: center;
    font-family:'header';
}

.header h6 {
  font-size: 25px;
    position: absolute;
    right: 0%;
    left: 0%;
    bottom: 40%;
    color: #fff;
    text-align: center;
    font-family: 'poppins';
    
}

.header p {
    font-size: 13px;
    position: absolute;
    top: 8%;
    left: 0%;
    right: 0%;
    color:#fff;
    text-align: center;
    font-family: 'poppins';
    
}

.header img {
  width: 80%;
  position: absolute;
  bottom: 40%;
  left: 0%;
  justify-content: center;
}





.footer {
  height: 100px;
  font-family:'Lobster Two', cursive;
}

.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 {
  
  text-align: center;
  color: #fff;
  font-family: 'poppins';
 
}

#clock > div {
  border-radius: 15px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px 20px 10px 20px;
  color: #fff;
  display: inline-block;
}
#clock > div > p {
  font-size: 27px;
  font-family: 'poppins';
}
#days, #hours, #minutes, #seconds {
 
  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';
  font-size: 28px;
  position: absolute;
  left: 0%;
  right: 0%;
  bottom: 34%;
  color:#916350;
}

.opening h5 {
font-family: 'poppins';
font-size: 25px;
position: absolute;
left: 0%;
right: 0%;
bottom: 105%;
color: #fff;
  
}

.opening p {
  color: #fff;
  position: absolute;
  left: 0%;
  right: 0%;
  bottom: 28%;
  font-family: 'poppins';
}
.opening h6 {
  font-size: 25px;
  color: #fff;
  position: absolute;
  left: 0%;
  right: 0%;
  bottom: 23%;
}

.btn-opening1 {
  color: #fff;
  font-size: 18px;
  position: absolute;
  left: 18%;
  right: 20%;
  bottom: 10%;
  font-family: 'poppins';
  background-color: #30436c;
}


.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;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  transition: all .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%;
}

.thanks {
  text-align: center;
  color: #30436c;
  

}

.thanks h1  {
  font-family: 'poppins';
}

.thanks h2  {
  font-family:'header';
  font-size: 28px;
  
}

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 .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,.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: #30436c;
}
.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;
}

