*{
    margin: 0;
    padding: 0;
}
.btn-login{
    padding: 10px 15px;
    background-color: black;
    color: white;
    cursor: pointer;
}
.overlay{
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    top: 0%;
    position: fixed;
    z-index: -1;
    opacity: 0;
    transition: 1s;
}
.loginform{
    width: 300px;
    padding: 30px 20px;
    background-color: white;
    position: absolute;
    left: 50%;
    top: -50%;
    z-index: 9;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 10px 3px gray;
    transition: 2s;
}
.loginform input{
    width: 100%;
    height: 25px;
    margin-bottom: 15px;
    
}
.loginform button{
    background-color: black;
    color: white;
    padding: 10px 15px;
}
.showoverlay { opacity: 1 ; z-index: 1;}
.showloginform{ top: 50%;}
.loginform span{
    position:absolute; color: white; right: 0px; top: 0px; width: 30px; height: 30px; background-color:green;
    text-align: center; line-height: 30px; cursor: pointer;
}