@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');


#loader {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    background: rgb(8, 11, 22);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: background 0.3s;
}

#loader img {
    width: 100px;
    animation: opacitychange 2s linear infinite;
}

@keyframes opacitychange {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}



#logo {
    width: 60px;
    top: 20px;
    left: 20px;
    position: absolute;
}
#probability {
    position: absolute;
    bottom: 0;
    width: 0%;
    height: 20px;
    background: rgba(49, 42, 33, 0.615);
    left: 0;
    transition: 0.3s;

}
#input-box input {
    width: 400px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    outline: none;
    border-radius: 10px;
    padding: 0 20px;
    box-sizing: border-box;
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
    font-size: 20px;
    margin-bottom: 20px;
}


#input-box button{
    width: 200px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    outline: none;
    border-radius: 10px;
    padding: 0 20px;
    box-sizing: border-box;
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
    font-size: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: 0.5s;
    opacity: 0.5;
    cursor: not-allowed;
}
#input-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
    text-align: center;
    transition: background 0.2s;
}
    @keyframes animate {
    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }
    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

.background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    background:     rgb(8, 11, 22);

    overflow: hidden;
    transition: background 0.3s;
}
.background li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: animate 42s linear infinite;
}




.background li:nth-child(0) {
    left: 56%;
    width: 234px;
    height: 234px;
    bottom: -234px;
    animation-delay: 1s;
}
.background li:nth-child(1) {
    left: 43%;
    width: 149px;
    height: 149px;
    bottom: 49px;
    animation-delay: 0s;
}
.background li:nth-child(2) {
    left: 64%;
    width: 120px;
    height: 120px;
    bottom: 120px;
    animation-delay: 0s;
}
.background li:nth-child(3) {
    left: 4%;
    width: 185px;
    height: 185px;
    bottom: -185px;
    animation-delay: 14s;
}
.background li:nth-child(4) {
    left: 85%;
    width: 160px;
    height: 160px;
    bottom: -160px;
    animation-delay: 9s;
}
.background li:nth-child(5) {
    left: 29%;
    width: 191px;
    height: 191px;
    bottom: -191px;
    animation-delay: 19s;
}
.background li:nth-child(6) {
    left: 39%;
    width: 168px;
    height: 168px;
    bottom: -168px;
    animation-delay: 19s;
}
.background li:nth-child(7) {
    left: 42%;
    width: 128px;
    height: 128px;
    bottom: -128px;
    animation-delay: 8s;
}
.background li:nth-child(8) {
    left: 46%;
    width: 121px;
    height: 121px;
    bottom: -121px;
    animation-delay: 15s;
}




#loading {
  margin: 20px;
  width: 100px;
  height: 100px;
  position: absolute;
  left: 47%;
  top: 45%;
  z-index: 2;
  display: none;
  transform: translate(-50%, -50%);
  -webkit-animation-name: spin;
  -webkit-animation-duration: 2000ms;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  -moz-animation-name: spin;
  -moz-animation-duration: 2000ms;
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: linear;
  -ms-animation-name: spin;
  -ms-animation-duration: 2000ms;
  -ms-animation-iteration-count: infinite;
  -ms-animation-timing-function: linear;
  animation-name: spin;
  animation-duration: 2000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}


#loading:hover path {
  fill: red;
}


@-ms-keyframes spin {
  from {
    -ms-transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
  }
}

@-moz-keyframes spin {
  from {
    -moz-transform: rotate(0deg);
  }
  to {
    -moz-transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}