html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}
.wp{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.wp-inner,
.page {
  width: 100%;
  height: 100vh;
}
.page{
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.img-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
}
.img-wrap img {
  max-width: 100%;
}
.page {
  background-color: #e2ecf5;
}
/* 箭头 */
@-webkit-keyframes start {
  0%,30% {
    opacity: 0;
    -webkit-transform: translate(0,10px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translate(0,0);
  }
  100% {
    opacity: 0;
    -webkit-transform: translate(0, -5px);
  }
}
@keyframes start {
  0%,30% {
    opacity: 0;
    transform: translate(0,10px);
  }
  60% {
    opacity: 1;
    transform: translate(0,0);
  }
  100% {
    opacity: 0;
    transform: translate(0, -5px);
  }
}
.start{
  position: fixed;
  left: 50%;
  margin-left: -17px;
  top: 95%;
  margin-top: -34px;
  width: 34px;
  height: 34px;
}
.start i{
  position: absolute;
  left: 50%;
  top: 10px;
  margin-left: -9px;
  width: 19px;
  height: 12px;
  background-size: 100% 100%;
  -webkit-animation: start 2s infinite ease-in-out;
  animation: start 2s infinite ease-in-out;
}



@font-face {
  font-family: 'iconfont';  /* project id 934283 */
  src: url('http://at.alicdn.com/t/font_934283_rjwklbuzkg.eot');
  src: url('http://at.alicdn.com/t/font_934283_rjwklbuzkg.eot?#iefix') format('embedded-opentype'),
  url('http://at.alicdn.com/t/font_934283_rjwklbuzkg.woff') format('woff'),
  url('http://at.alicdn.com/t/font_934283_rjwklbuzkg.ttf') format('truetype'),
  url('http://at.alicdn.com/t/font_934283_rjwklbuzkg.svg#iconfont') format('svg');
}
@-webkit-keyframes rotate { 
  from {
    -webkit-transform: rotate(0deg)
  }
  to {
    -webkit-transform: rotate(360deg)
  }
}
@keyframes rotate{
  from {
    transform: rotate(0deg)
  }
  to {
    transform: rotate(359deg)
  }
}
.animation-100 {
  animation-duration: 0.1s;
}
.animation-200 {
  animation-duration: 0.2s;
}
.animation-300 {
  animation-duration: 0.3s;
}
.animation-400 {
  animation-duration: 0.4s;
}
.animation-500 {
  animation-duration: 0.5s;
}
.animation-600 {
  animation-duration: 0.6s;
}
.animation-700 {
  animation-duration: 0.7s;
}
.animation-800 {
  animation-duration: 0.8s;
}
.animation-900 {
  animation-duration: 0.9s;
}
.animation-1500 {
  animation-duration: 1.5s;
}
.animation-2000 {
  animation-duration: 2s;
}
.animation-3000 {
  animation-duration: 3s;
}
.animation-4000 {
  animation-duration: 4s;
}
.animation-5000 {
  animation-duration: 5s;
}
.animation-6000 {
  animation-duration: 6s;
}
.animation-7000 {
  animation-duration: 7s;
}
.animation-8000 {
  animation-duration: 8s;
}
.animation-9000 {
  animation-duration: 9s;
}
.animation-10000 {
  animation-duration: 10s;
}
.flashing {
  animation: fadeIn 0.7s ease 0s infinite alternate;
}
.pulseing {
  animation: pulse 0.7s ease 0s infinite alternate;
}
.bounceing {
  animation: bounce 1s ease 0s infinite alternate;
}
#play-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 30;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  line-height: 33px;
  padding-right: 2px;
  border: 2px solid #efefef;
  text-align: center;
  -webkit-transition-duration: 1s;
  transition-duration: 1s;
  -webkit-animation: rotate 3s linear infinite;
  animation: rotate 3s linear infinite;
  animation-play-state: paused;
  color: #efefef;
  box-shadow: 1px 2px 2px #777;
}
/*.playing {
  -webkit-transition-duration: 1s;
  -webkit-animation: rotate 3s linear infinite;
  animation: rotate 3s linear infinite;
}*/
.iconfont {
  font-family:"iconfont" !important;
  font-size:16px;font-style:normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
}
.hide {
  display: none;
}

.full-bg, .photo-box {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.photo-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}
.ele-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}
.radius-box {
  width: 76%;
  border: 1px solid #3a3f58;
  height: 26px;
  border-radius: 13px;
  box-shadow: 0 0 2px #3a3f58;
  left: 12%;
  line-height: 26px;
  color: #3a3f58;
  font-size: 14px;
  font-weight: 600;
}
.circle-box {
  width: 40px;
  height: 40px;
  position: absolute;
  top: -22px;
  border-radius: 50%;
  border: 2px solid #3a3f58;
  left: 50%;
  margin-left: -20px;
  line-height: 44px;
  text-align: center;
  background-color: #ecf1f7;
}
.circle-box img {
  max-width: 70%;
  vertical-align: middle;
}
.page1, .page2, .page3, .page4 {
  color: #333;
}
.page3 .ele-wrap h4,
.page4 .ele-wrap h4 {
  font-size: 20px;
}
.text-frame {
  z-index: 2;
  width: 84%;
  height: 84%;
  position: absolute;
  top: 8%;
  left: 8%;
  background-color: rgba(255, 255, 255, .4);
  border: 2px solid #fff;
  border-radius: 12px;
  overflow: hidden;
}
.page5 .text-frame{
  background-color: inherit;
  z-index: 20;
}
.page6 .text-frame {
  background-color: inherit;
  z-index: 30 !important;
}
.page7 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.rsvp-panel {
  width: 92%;
  max-width: 420px;
  background-color: rgba(255, 255, 255, .85);
  border-radius: 12px;
  padding: 18px 16px;
  color: #3a3f58;
  box-sizing: border-box;
}
.rsvp-panel h3 {
  text-align: center;
  margin: 0 0 12px;
}
.rsvp-panel p {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.6;
}
.rsvp-stats {
  display: flex;
  justify-content: space-between;
  margin: 12px 0;
  font-size: 13px;
}
#guest-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
#guest-form input {
  height: 38px;
  border: 1px solid #d5dae3;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 14px;
  box-sizing: border-box;
}
#guest-form button {
  height: 38px;
  border: none;
  border-radius: 6px;
  background-color: #3a3f58;
  color: #fff;
  font-size: 14px;
}
#guest-form button:disabled {
  opacity: .65;
}
#guest-tip {
  min-height: 20px;
  color: #a74949;
  text-align: center;
  margin-top: 8px;
}
.couple-footer {
  position: absolute;
  left: 12%;
  bottom: 4%;
  width: 76%;
  height: 30px;
  border: 1px solid #3a3f58;
  border-radius: 15px;
  box-shadow: 0 0 2px #3a3f58;
  background-color: rgba(255, 255, 255, .72);
  display: block;
  padding: 0;
  box-sizing: border-box;
  color: #3a3f58;
  font-size: 13px;
  z-index: 12;
}
.couple-footer span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
}
.couple-footer span:first-child {
  left: 15%;
}
.couple-footer span:nth-child(2) {
  right: 15%;
}
.couple-diamond {
  width: 36px;
  height: 36px;
  position: absolute;
  left: 50%;
  top: -20px;
  margin-left: -18px;
  border-radius: 50%;
  border: 2px solid #3a3f58;
  background-color: #ecf1f7;
  text-align: center;
  line-height: 38px;
}
.couple-diamond img {
  max-width: 68%;
  vertical-align: middle;
}
.radius {
  border-radius: 8px;
  overflow: hidden;
}