* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Roboto;
}

body {
    background-color: black;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none
}

span {
    width: 100%;
    display: flex;
    justify-content: center;
    height: 100vh;
    align-items: center;
    background: url(/assets/img/bgImage.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.login-box {
    width: 420px;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 50px cyan;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

h2 {
    font-size: 3em;
    font-weight: 900;
    text-align: center;
    margin-bottom: 25px;
    color: #fff;
}

.input {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    font-size: 1em;
    margin: 10px 0 20px;
    border-bottom: 2px solid black;
    font-size: 1.1em;

}

.input label {
    display: flex;
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    pointer-events: none;
    transition: .2s;
    font-size: 1.1em;
}


input:hover~label,
.input input:not(:placeholder-shown)~label {
    top: -5px
}

.input input {
    width: 400px;
    height: 50px;
    background-color: transparent;
    border: none;
    font-size: 1em;
    outline: none;
    color: #fff;

}

.remember {
    display: flex;
    justify-content: space-between;
    color: #fff;
    margin: 10px 0 20px;
}

.remember input {
    margin-right: 5px;
}

.remember a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.remember a:hover {
    text-decoration: none;
}

.submit button {
    width: 100%;
    height: 40px;
    /* color: #fff; */
    font-size: 1.1em;
    font-weight: 600;
    border: none;
    outline: none;
    border-radius: 30px;
    margin: 10px 0 20px;
}

.submit button:hover {
    cursor : pointer;
}

.Register {
    display: flex;
    justify-content: center;
    color: #fff;
}

.Register a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.Register a:hover {
    text-decoration: none;
}

@media (max-width: 400px) {
    .login-box {
        width: 100%;
        height: 100vh;
        border: none;
        border-radius: none;
        box-shadow: none;

    }

    form {
        width: 85%;
    }

    .input input {
        width: 95%;
    }
}

.error {
    color: #ff004c;
    text-align: center;
    height: 20px;
    opacity: 0;
    transition: 0.3s;
    font-size: 14px;
}

.error.show {
    opacity: 1;
}

.shake {
    animation: shake 0.3s;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

.glitch {
    animation: glitch 0.2s infinite;
}

@keyframes glitch {
    0% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(90deg);
    }

    100% {
        filter: hue-rotate(0deg);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.blink {
    animation: blink 0.8s;
}