*{
    margin: 0;
    padding: 0;
}
body{
    background: linear-gradient(to top, rgb(2, 178, 248),rgb(155, 184, 196),rgb(225, 0, 255));
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.form{
    width: 300px;
    min-height: 200px;
    height: auto;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 5px 5PX ;
}
.form h1{
    text-align: center;
}
.form label{
    display: flex;
    flex-direction: column;
    padding:8px 10PX;
    font-size: 20px;
    font-weight: bold;
}
.form input{
    padding:10px;
    border-top: none;
    border-right: none;
    border-left: none;
    cursor: pointer;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.form input:focus{
    outline: 0;
}
.form div{
    font-family: Arial, sans-serif;
    color: red;
    font-size: 12px;
}
.success div{
    text-align: right;
    position: relative;
    bottom: 30px;
    right: 10px;
    font-size: 18px;
    font-weight: bold;
    font-style: oblique;
    color: rgb(0, 255, 0);
}
.form button{
    width: 100%;
    background-color: blueviolet;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px;
}
.form button:hover{
    box-shadow: 2px 5px 8px black;
    transition: 1s;
}
.errormsg input{
    border-color: red;
}
.success input{
    border-color: rgb(0, 255, 0);
}