.usersadd {
    width: 100%;
    height: calc(100vh - 80px);
    padding-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(45deg, rgba(235, 52, 52, 0.432), rgba(57, 37, 233, 0.562));
    font-family: "Noto Serif", serif;
    position: relative;
    overflow: hidden;
}

.alert {
    position: absolute;
    top: 20px;
    width: 75%;
    height: 50px;
    left: 50%;
    transform: translate(-50%, -100px);
    text-align: center;
    align-content: center;
    font-size: large;
    border-radius: 15px;
    transition: all .5s ease;
}

.alert.success {
    background-color: #0afe0a70;
    transform: translate(-50%, 0);

}

.alert.error {
    background-color: #fc1b1b70;
    transform: translate(-50%, 0);
}

.formbody {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 2px black;
    width: 500px;
    height: 500px;
    justify-content: space-around;
    transition: all 1s ease;
    opacity: 0;
    visibility: hidden;
}

.active {
    opacity: 1;
    visibility: visible;
}


.exit {
    animation: cikis 1s forwards;
}



.enter {
    animation: giris 1s forwards;
}

@keyframes giris {
    0% {
        transform: translate(-150%, -50%) scale(0.8);
        filter: blur(5px);
        opacity: 1;
        visibility: visible;
    }

    50% {
        transform: translate(-50%, -50%) scale(0.8);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }

}

@keyframes cikis {
    0% {
        filter: blur(5px);
    }

    50% {
        transform: translate(-50%, -50%) scale(0.8);
    }

    100% {
        transform: translate(150%, -50%) scale(0.8);
        opacity: 0;
        visibility: hidden;
    }
}

.formbody form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    width: 500px;

}

.formbody form input {
    padding: 5px 8px;
    color: black;
    margin-bottom: 25px;
    border: none;
    outline: none;
    border-bottom: solid 3px rgba(0, 0, 0, 0.466);
    background-color: transparent;
}

.formbody form input::placeholder {
    color: black;
}


.formbody form input:focus {
    background: transparent !important;
    background-color: transparent !important;
    color: black !important;
    outline: none;
}





.formbody form input[type='submit'] {
    background: linear-gradient(45deg, rgba(235, 52, 52, 0.26), rgba(57, 37, 233, 0.336));
    border: solid 1px black;
    border-radius: 5px;
    padding: 10px;
    font-size: 15px;
    cursor: pointer;
}

.formbody .formFooter {
    width: 300px;
    display: flex;
    justify-content: space-between;
}

.inputalani {
    position: relative;
    margin-bottom: 10px;
    background-color: transparent;

}

.inputalani label {
    position: absolute;
    top: 0;
    left: 10px;
    transition: .3s;
    z-index: -2;
}


@media (max-width:500px) {
    .usersadd {
        padding-top: 15px;
    }

    .formbody {

        width: 95%;
        height: 90%;
        overflow: hidden;
    }

    .formbody .form {
        width: 100%;
    }

    .formbody h1 {
        font-size: 20px;
    }
}


@media (max-width:400px) {
    .usersadd {
        padding-top: 15px;
    }

    .formbody {
        width: 95%;
        height: 70%;
        overflow: hidden;

    }

    .formbody .form {
        width: 100%;
    }

    .formbody h1 {
        font-size: 20px;
    }
}