/*

Written BY  Vortx ..... Enjoy :)

😁 Don't forget to give the credit 😁

*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  
body{
  margin: 0;
  display: flex;
  background-color: black;
  padding: 0 10px;
  min-height: 90vh;
  align-items: center;
  justify-content: center;  

}

::selection{
    color: #fff;
    background: #3498DB;
  }

.wrapper{
    position: relative;
    margin: 10% auto 0;
    background: linear-gradient(0deg,black,rgb(44, 43, 43));
    height: 345px;
    max-width: 410px;
    background: #fff;
    border-radius: 10px;
    padding: 20px 25px 0;
    transition: height 0.5s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    
}
.wrapper.active{
  height: 585px;
}

.glow::before, .glow::after{
 border-radius: 10px;
 content: '';
 position: absolute;
 left: -2px;
 top: -2px;
 background: linear-gradient(45deg,#e6fb04, #ff6600, #00ff66,#00ffff,#ff00ff,#ff0099,#6e0dd0,#ff3300,#099fff);
 background-size: 400%;
 width: calc(100% + 5px);
 height: calc(100% + 5px);
 z-index: -1;
 animation: animate 28s linear infinite;
}

@keyframes animate{
    0%{
        background-position: 0 0;
    }
    50%{
        background-position: 400% 0;

    }
    100%{

        background-position: 0 0;
    }
}
.glow::after{
    filter: blur(40px);
}

header h1{
    font-size: 21px;
    font-weight: 500;
    text-align: center;
  }
  header p{
    text-align: center;
    margin-top: 5px;
    color: #575757;
    font-size: 16px;
  }
  .wrapper .form{
    margin: 20px 0 25px;
  }
  .form :where(input, button){
    width: 100%;
    height: 55px;
    border: none;
    outline: none;
    border-radius: 30px;
    transition: 0.03s ease;
  }
  .form input{
    font-size: 18px;
    padding: 0 17px;
    border: 1px solid #999;
    cursor: pointer;
  }
  .form input:focus{
    box-shadow: 0 3px 6px rgba(0,0,0,0.13);
  }
  .form input::placeholder{
    color: #999;
  }
  .form button{
    color: #fff;
    cursor: pointer;
    margin-top: 20px;
    font-size: 17px;
    position: relative;
    display: inline-block;
    padding: 12px 36px;
    letter-spacing: 2px;
    border-radius: 30px;
    background: linear-gradient(90deg,#2C3E50,#FD746C);
  }
  .qr-code{
    opacity: 0;
    display: flex;
    padding: 33px 0;
    border-radius: 5px;
    align-items: center;
    pointer-events: none;
    justify-content: center;
    border: 1px solid #ccc;
  }
  .wrapper.active .qr-code{
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.5s 0.42s ease;
    border-radius: 30px;
  }
  .qr-code img{
    width: 160px;
    
  }
  @media (max-width: 430px){
    .wrapper{
      height: 350px;
      padding: 16px 20px;
    }
    .wrapper.active{
      height: 584px;
    }
    header p{
      color: #696969;
    }
    .form :where(input, button){
      height: 52px;
    }
    .form button{
        font-size: 15px;
       overflow: hidden;
       padding: 1%;
    }
    .qr-code img{
      width: 150px;
    }  
  } 

.footer{
  text-align: center;

}
  .footer .subhankar {

    color: #000;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 6%;
  }
  
  .footer .subhankar a {
    text-decoration: none;
    background: linear-gradient(to right, #833AB4, #FD1D1D, #F77737, #FCAF45);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .center {
    width: 10%;
    cursor: pointer;
    color: black;
    padding-bottom: 10px;
  }