body {
    margin: 5%;
    padding: 0;
    font-family: Montserrat, sans-serif;
    /* background: linear-gradient(120deg, #2980b9, #8e44ad); */
    /* overflow: hidden; */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.center {
    display: flex;
    flex-direction: column;
    width: auto;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.center h2 {
    text-align: center;
    padding: 0 0 20px 0;
    border-bottom: 1px solid silver;
    color: white;
}

.center form {
    padding: 0 40px;
    box-sizing: border-box;
}

.txt_field {
    position: relative;
    border-bottom: 2px solid #adadad;
    margin: 30px 0;
    background: linear-gradient(0deg, #000, #272727);
}

.txt_field input {
    width: 98%;
    padding: 0 5px;
    height: 40px;
    font-size: 16px;
    border: none;
    background: linear-gradient(0deg, #000, #272727);
    outline: none;
    color: white;
}

.txt_field label {
    position: absolute;
    top: 0%;
    left: 5px;
    color: #adadad;
    transform: translateY(-100%);
    font-size: 16px;
    pointer-events: none;
    transition: 0.3s;
}

.txt_field span::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(0deg, #000, #272727);
    transition: 0.3s;
}

.txt_field input:focus~label,
.txt_field input:valid~label {
    top: -5px;
    color: #2691d9;
    background: linear-gradient(0deg, #000, #272727);
}

.txt_field input:focus~span::before,
.txt_field input:valid~span::before {
    width: 100%;
    background: linear-gradient(0deg, #000, #272727);
}

input[type="submit"] {
    width: 100%;
    height: 50px;
    border: 1px solid #2691d9;
    background: #2691d9;
    font-size: 18px;
    border-radius: 25px;
    font-weight: 700;
    color: #e9f4fb;
    outline: none;
    cursor: pointer;
    transition: 0.5s;
    background: linear-gradient(0deg, #000, #272727);
}

input[type="submit"]:hover {
    border-color: #1e79c1;
    background: linear-gradient(0deg, #000, #272727);
}

.signup_link {
    margin: 30px 0;
    text-align: center;
    font-size: 16px;
    color: #666666;
}

.signup_link a {
    color: #2691d9;
    text-decoration: none;
}

.signup_link a:hover {
    text-decoration: underline;
}

.block {
    position: relative;
    width: auto;
    height: auto;
    background: linear-gradient(0deg, #000, #272727);
    border-radius: 10px;
}

.block:before,
.block:after {
    content: '';
    position: absolute;
    left: -2px;
    top: -2px;
    background: linear-gradient(45deg, #fb0094, #0000ff, #00ff00, #ffff00, #ff0000, #fb0094, #0000ff, #00ff00, #ffff00, #ff0000);
    background-size: 400%;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    z-index: -1;
    animation: steam 20s linear infinite;
    border-radius: 10px;
}

@keyframes steam {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}

.block:after {
    filter: blur(50px);
}