
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgb(0, 0, 0);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    user-select: none;
  }
  .container{
    position: absolute;
    height: 265px;
    max-width: 410px;
    background: transparent;
    border-radius: 7px;
    padding: 20px 25px 0;
    transition: height 0.2s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1000;
     background: linear-gradient(rgba(225, 225, 225, 0.1), rgba(225, 225, 225, 0));
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  }
  .container .form{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

  }
  .container.active{
    height: 530px;
  }
  .container .form input{
    color: white;
    background-color: transparent;
    outline: none;
    border: 2px white solid;
    border-radius: 30px;
    font-size: 18px;
    width: 86%;
    padding: 6px 17px;

  }
  .container .form input::placeholder{
    color: white;
  }
  .container .form input:focus::placeholder{
    color: #4F468C;
  }
  .container .form input:focus{
    border: 2px #4F468C solid;
    color: #4F468C;
  }

  .container .form button{
    background-color: transparent;
    outline: none;
    margin-top: 20px;
    border: 2px white solid;
    padding: 6px 17px;
    border-radius: 30px;
    font-size: 18px;
    width: 100%;
    color: white;
    font-weight: 600;
  }
  .container .form button:hover{
    border: 2px #4F468C solid;
    background-color: #4F468C;
  }
  .qr-code{
      margin-top: 20px;
    opacity: 0;
    display: flex;
    padding: 33px 0;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    border: 1px solid #ccc;
  }
  .container.active .qr-code{
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.5s 0.5s ease;
  }
  .qr-code img{
    width: 170px;
  }
  @media (max-width: 430px){
    .container{
      height: 255px;
      padding: 16px 20px;
    }
    .container.active{
      height: 510px;
    }
    header p{
      color: white;
    }
    .form :where(input, button){
      height: 52px;
    }
    .qr-code img{
      width: 160px;
    }  
  }
  section {
    position: absolute;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
    overflow: hidden;
      margin: 0;
  }
  
  section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(#000, #4F468C, #000);
    animation: animate 5s linear infinite;
  }
  
  @keyframes animate {
    0% {
        transform: translateY(100%);
    }
  
    100% {
        transform: translateY(-100%);
    }
  }
  
  section span{
    position: relative;
    display: block;
    width: calc(6.25vw - 2px);
    height: calc(6.25vw - 2px);
    background: #181818;
    z-index: 2;
    transition: 1.5s;
  }
  section span:hover{
    background: #4F468C;
    transition: 0s;
  }
  @media(max-width: 900px){
    section span{
        width: calc(10vw-2px);
        height: calc(10vw-2px);
    }
  }
  @media(max-width: 600px){
    .container{
      width: 80vw;
    }
    #message{
        font-size: 14px;
    }
    section span{
        width: calc(10vw-2px);
        height: calc(10vw-2px);
    }
  }
  @media(max-width: 600px){
    .container{
      width: 80vw;
    }
    #message{
        font-size: 14px;
    }
    section span{
        width: calc(10vw-2px);
        height: calc(10vw-2px);
    }
  }