*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Poppins',sans-serif;
  min-height:100vh;
  overflow-x: hidden;
  overflow-y: auto;
  /*overflow:hidden;*/
  background:
  linear-gradient(
    135deg,
    #fff1f5,
    #ffe4ec,
    #ffd6e0
  );
}



.page{
  display:none;
  min-height:100vh;
  padding:30px;
  justify-content:center;
  align-items:center;
}

.page.active{
  display:flex;
  animation:fade .8s ease;
}

@keyframes fade{
  from{
    opacity:0;
    transform:translateY(20px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* Card */

.card{
  width: min(95%, 520px);

  background:rgba(255,255,255,0.55);

  backdrop-filter:blur(20px);

  border:1px solid rgba(255,255,255,0.6);

  border-radius:30px;

  padding:45px 28px;

  text-align:center;

  box-shadow:
  0 20px 50px rgba(0,0,0,.08);
}

.heart{
  font-size:30px;
  margin-bottom:10px;
}

h1{
  font-family:'Cormorant Garamond',serif;
  font-size:3rem;
  color:#3d3142;
  margin-bottom:15px;
}

p{
  color:#6b7280;
  line-height:1.8;
  margin-bottom:25px;
}

/* Input */

input{
  width:100%;
  padding:15px;

  border:none;
  outline:none;

  background:#fff;

  border-radius:15px;

  font-size:16px;

  margin-bottom:18px;
}

/* Button */

button{
  width:100%;
  padding:15px;

  border:none;
  border-radius:15px;

  background:#ff5c8a;
  color:white;

  font-size:16px;
  cursor:pointer;

  transition:.3s;
}

button:hover{
  transform:translateY(-3px);
  box-shadow:
  0 12px 25px rgba(255,92,138,.25);
}

#error{
  display:block;
  margin-top:15px;
  color:#e11d48;
}

/* Video */

/*.video-container{*/
/*  width:100%;*/
/*  max-width:380px;*/
/*  margin:auto;*/
/*}*/

/*.video-container {*/
    
/*  width: min(80vw, 280px);*/
/*  aspect-ratio: 9 / 16;*/
/*  margin: 25px auto;*/
/*  background: #000;*/
/*  border-radius: 28px;*/
/*  overflow: hidden;*/

/*  box-shadow:*/
/*    0 20px 45px rgba(0, 0, 0, 0.18),*/
/*    0 0 0 8px rgba(255, 255, 255, 0.35);*/
/*}*/

/*.video-container iframe {*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  border: none;*/
/*  display: block;*/
/*}*/


.video-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-container {
  width: min(80vw, 280px);
  aspect-ratio: 9 / 16;

  position: relative;
  margin: 25px auto;
  overflow: hidden;
  border-radius: 28px;
  background: #000;

  flex-shrink: 0;
}

.video-container iframe {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 100%;
  height: 100%;
  border: 0;
  display: block;

  transform: translate(-50%, -50%);
}


.message{
  margin-bottom:30px;
}

.footer{
  margin-top:25px;
  margin-bottom:0;
  font-size:14px;
}

/* Mobile */

@media(max-width:500px){

  h1{
    font-size:2.4rem;
  }

  .card{
    padding:35px 22px;
  }
}




.heart{
  font-size:32px;
  color:#ff5c8a;
  margin-bottom:12px;
  animation:heartbeat 1.6s infinite;
}

@keyframes heartbeat{
  0%,100%{
    transform:scale(1);
  }

  25%{
    transform:scale(1.15);
  }

  40%{
    transform:scale(1.3);
  }

  60%{
    transform:scale(1.1);
  }
}



.hearts{
  position:fixed;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  z-index:-1;
}

.hearts span{
  position:absolute;
  bottom:-60px;
  color:rgba(255,92,138,0.25);
  animation:
    floatUp linear infinite,
    pulse 3s ease-in-out infinite;
}

/* Different sizes and positions */

.hearts span:nth-child(1){
  left:8%;
  font-size:20px;
  animation-duration:14s;
}

.hearts span:nth-child(2){
  left:18%;
  font-size:32px;
  animation-duration:18s;
  animation-delay:2s;
}

.hearts span:nth-child(3){
  left:30%;
  font-size:24px;
  animation-duration:16s;
  animation-delay:5s;
}

.hearts span:nth-child(4){
  left:42%;
  font-size:40px;
  animation-duration:20s;
  animation-delay:1s;
}

.hearts span:nth-child(5){
  left:55%;
  font-size:22px;
  animation-duration:15s;
  animation-delay:4s;
}

.hearts span:nth-child(6){
  left:65%;
  font-size:30px;
  animation-duration:19s;
  animation-delay:7s;
}

.hearts span:nth-child(7){
  left:75%;
  font-size:26px;
  animation-duration:17s;
  animation-delay:3s;
}

.hearts span:nth-child(8){
  left:84%;
  font-size:36px;
  animation-duration:22s;
  animation-delay:6s;
}

.hearts span:nth-child(9){
  left:92%;
  font-size:20px;
  animation-duration:15s;
  animation-delay:8s;
}

.hearts span:nth-child(10){
  left:50%;
  font-size:18px;
  animation-duration:24s;
  animation-delay:10s;
}

@keyframes floatUp{
  from{
    transform:
      translateY(0)
      rotate(0deg);
    opacity:0;
  }

  10%{
    opacity:1;
  }

  50%{
    transform:
      translateY(-50vh)
      translateX(20px)
      rotate(15deg);
  }

  to{
    transform:
      translateY(-120vh)
      translateX(-20px)
      rotate(-15deg);
    opacity:0;
  }
}

@keyframes pulse{
  0%,100%{
    scale:1;
  }

  50%{
    scale:1.2;
  }
}





