@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins',sans-serif;
    color: #fff;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #161623;
    overflow: hidden;
}
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#f00,#f0f);
    clip-path: circle(30% at right 70%);

}
body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#2196f3,#e91e63);
    clip-path: circle(30% at 10% 10%);

}

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
    display: none;
    margin: 0;
}
input:focus {
    outline: transparent;
}
input[type='number'] {
    -moz-appearance: textfield;
    background-color: transparent;
    border: none;
    border-radius: 8px;
    box-shadow: 5px 5px 25px rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    margin: 0 10px 20px 0;
    height: 2.5em;
    line-height: 90%;
    padding-left: 10px;

}

.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    flex-wrap: wrap;
    z-index: 1;
}
.container .card {
    position: relative;
    width: 425px;
    height: 270px;
    margin: 30px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);

}
.container .card .content {
    padding: 20px;
    text-align: center;
    transition: .5s;
}
h2 {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 1.8em;
    color: rgba(255, 255, 255, 0.5);
    z-index: 1;
}
.valid {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex: 50% 50%;
}
.valid-cont {

    display: flex;

}
.scode input {
    width: 150px;
}
.valid input {
    width: 50px;
}
.m-r {
    margin-right: 10px;

}
.w {
    font-size: 1.5em;
}
.conf {
    position: absolute;
    bottom: 1vh;
    left: 50%;
    transform: translate(-50%, 0);
    width: 150px;
    height: 30px;
    background: linear-gradient(#f00, #f0f);
    border: none;
    border-radius: 15px;
    transition: .5s;
    letter-spacing: 4px;
}
h3 {
    margin-bottom: 10px;
}
.rain {
    position: absolute;
    top: -10vh;
    left: 0;
    width: 100%;
    height: 10px;
    display: flex;
    justify-content: space-around;

    
}
span {
    position: relative;
    width: calc(var(--i)*2px);
    height: calc(var(--i)*2px);
    border-radius: 50%;
    background-color: #fff;
    z-index: 1;
    animation: animate linear infinite;
    animation-duration: calc(15s / var(--i));
}
@keyframes animate {
    0% {
        transform: translateY(0) scale(1);
    }
    70% {
        transform: translateY(1000px) scale(1);
    }
    100% {
        transform: translateY(1000px) scale(0);
    }
}