* {
    margin: 0;
    padding: 0;
}

body {
    height: 100vh;
    font-family: "Outfit", sans-serif;
    background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
    
}
h1 {
    text-align: center;
    margin-top: 7%;
    font-size: 2.5rem;
    margin-bottom: 4%;
    color: transparent;
    background: linear-gradient(to right, #e6e6e6, #1d1c1c, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 300% 100%; /* Adjust the size to make the animation more visible */
    animation: flick 3s infinite linear;
}

@keyframes flick {
    0% {
        background-position: 0% 0;
    }
    100% {
        background-position: 100% 0;
    }
}
form {
    margin-left: 37%;
    width: 420px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 5px solid black;
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    border: 1px solid rgba(209, 213, 219, 0.3);
    margin-bottom: 2%;
    position: absolute;
    z-index: 1;
    
}

span {
    margin-top: 4px;
    margin-bottom: 6px;
    font-size: 1.4rem;
}

input {
    margin-top: 5px;
    margin-bottom: 10px;
    border: none;
    background: transparent;
    border-bottom: 2px solid black;
    width: 80%;
}

input:focus {
    outline: none;
}

button {
    cursor: pointer;
    margin-top: 8px;
    width: 100px;
    font-size: 1rem;
    border-radius: 10px;
}

button:hover {
    background-color: #50E3C2;
}

.resultbox{
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    border: 1px solid rgba(209, 213, 219, 0.3);
    width: 420px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 37%;
    visibility: hidden;
    position: absolute;
    z-index: -2;
    margin-top: 17%;

}

#result-container {
    margin-top: 5px;
    font-size: 1.5rem;
    color: black;

}
.area{
    background-color: #4158D0;
    background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
    width: 100%;
  }
  
  .circles{
      position: absolute;
      z-index: -1;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
  }
  
  .circles li{
      position: absolute;
      display: block;
      list-style: none;
      width: 20px;
      height: 20px;
      background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 80px;
    border: 1px solid rgba(255, 255, 255, 0.18);
      animation: animate 25s linear infinite;
      bottom: -150px;
      
  }
  
  .circles li:nth-child(1){
      left: 25%;
      width: 80px;
      height: 80px;
      animation-delay: 0s;
  }
  
  
  .circles li:nth-child(2){
      left: 10%;
      width: 20px;
      height: 20px;
      animation-delay: 2s;
      animation-duration: 12s;
  }
  
  .circles li:nth-child(3){
      left: 70%;
      width: 20px;
      height: 20px;
      animation-delay: 4s;
  }
  
  .circles li:nth-child(4){
      left: 40%;
      width: 60px;
      height: 60px;
      animation-delay: 0s;
      animation-duration: 18s;
  }
  
  .circles li:nth-child(5){
      left: 65%;
      width: 20px;
      height: 20px;
      animation-delay: 0s;
  }
  
  .circles li:nth-child(6){
      left: 75%;
      width: 110px;
      height: 110px;
      animation-delay: 3s;
  }
  
  .circles li:nth-child(7){
      left: 35%;
      width: 150px;
      height: 150px;
      animation-delay: 7s;
  }
  
  .circles li:nth-child(8){
      left: 50%;
      width: 25px;
      height: 25px;
      animation-delay: 15s;
      animation-duration: 45s;
  }
  
  .circles li:nth-child(9){
      left: 20%;
      width: 15px;
      height: 15px;
      animation-delay: 2s;
      animation-duration: 35s;
  }
  
  .circles li:nth-child(10){
      left: 85%;
      width: 150px;
      height: 150px;
      animation-delay: 0s;
      animation-duration: 11s;
  }
  
  
  
  @keyframes animate {
  
      0%{
          transform: translateY(0) rotate(0deg);
          opacity: 1;
          border-radius: 0;
      }
  
      100%{
          transform: translateY(-1000px) rotate(720deg);
          opacity: 0;
          border-radius: 50%;
      }
  
  }


@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
        margin-top: 15%;
        margin-bottom: 15%;
    }

    form {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
        height: auto;
    }

    span {
        font-size: 1.5rem;
    }

    input {
        width: 90%;
    }

    button {
        width: 40%;
        font-size: 1.3rem;
        margin-bottom: 5px;
    }
    .resultbox{
        width: 90%;
        margin-top: 40%;
        margin-left: 5%;
        margin-right: 5%;
    }
}