*{
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
    margin: 0;
    padding: 0;
}

body{
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #252432;
    display: flex;
}

@property --a{
    inherits: false;
    syntax: '<angle>';
    initial-value: 0deg;
}

.box{
    height: 200px;
    width: 400px;
    background: repeating-conic-gradient(from var(--a), #ff2778 0%, #ff2770 5%, transparent 5%, transparent 40%, #ff2770 50%);
    filter: drop-shadow(0 15px 50px #000);
    animation:  roatating 4s linear infinite;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    position: relative;
    display: flex;
}

.box:hover{
    height: 500px;
    width: 450px;
}

@keyframes roatating {
    0%{
        --a: 0deg;
    }
    100%{
        --a: 360deg;
    }
}

.box::before{
    content: '';
    width: 100%;
    height: 100%;
    background: repeating-conic-gradient(from var(--a), #45f3ff 0%, #45f3ff 5%, transparent 5%, transparent 40%, #45f3ff 50%);
    position: absolute;
    filter: drop-shadow(0 15px 50px);
    border-radius: 20px;
    animation: roatating 4s linear infinite;
    animation-delay: -1s;
}

.box::after{
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 15px;
    border: solid #25252b;
    background: #2b2b39;
}

.login{
    position: absolute;
    inset: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    flex-direction: column;
    background: rgba(0,0,0,0,0.2);
    z-index: 1000;
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.5);
    color: #fff;
    overflow: hidden;
}

.box:hover .login{
    inset: 40px;
}

.loginbx{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transform: translateY(126px);
    gap: 20px;
    width: 70%;
    transition: 0.5s;
}

.box:hover .loginbx{
    transform: translateY(0px);
}

.loginbx h2{
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 00;
}

.loginbx h2 i{
    color: #ff2770;
    text-shadow: 0 0 5px, 0 0 30px #ff2770;
} 
.loginbx input{
    width: 100%;
    padding: 10px 20px;
    outline: none;
    font-size: 1em;
    color: #000000;
    background: rgba(0,0,0,0,0.1);
    border-radius: 30px;
}

.loginbx input::placeholder{
    color: #999;
}

.loginbx input[type='submit']{
    background: #45f3ff;
    border: none;
    font-weight: 500;
    color: #111;
    cursor: pointer;
    transition: 0.5;
}
.loginbx input[type='submit']:hover{
    box-shadow: 0 0 10px #45f3ff,0 0 60px #45f3ff;
}

.group{
    display: flex;
    width: 100%;
    justify-content: space-between;
    
}

.group a{
    color: #fff;
    text-decoration: none;
}
.group a:nth-child(2){
    color: #ff2770;
    font-weight: 600;
}