.popup .popupOverlay {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 7);
    z-index: 1;
    display: none;
}

.popup .content {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #fff;
    width: 450px;
    height: fit-content;
    z-index: 2;
    padding: 20px;
    box-sizing: border-box;
    transition: all ease;
}

.popup .closebtn {
    position: absolute;
    right: -10px;
    top: -10px;
    height: 30px;
    width: 30px;
    background: #222;
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
}

.closebtn:hover {
    background: red;
    color: black;
}


/* After Existance of active class */

.popup.active .popupOverlay {
    display: block;
    backdrop-filter: blur(5px);
    background: transparent;
}

.popup.active .content {
    transition: all .2s;
    transform: translate(-50%, -50%) scale(1);
}

.content {
    border-radius: 18px;
    margin-top: 20%;
    box-shadow: -4px -4px 25px 5px rgba(0, 0, 0, 0.644), 4px 4px 25px 5px rgba(0, 0, 0, 0.644);
}

.popDiv {
    position: relative;
    /* margin-top: 10px; */
    margin-bottom: 20px;
}

.frm h2 {
    text-align: center;
    font-size: 40px;
    font-weight: bolder;
    text-shadow: 3px 3px 5px gray;
}

.frm hr {
    background: black;
    border-radius: 50%;
    width: 100%;
    height: 3px;
}

.username {
    margin-top: 30px;
    margin-bottom: 10%;
    text-align: center;
    font-size: 20px;
    font-weight: 550;
    position: relative;
    font-family: sans-serif;
}

.username label,
.pass label {
    position: absolute;
    font-size: 18px;
    left: 15%;
    /* top: 33%; */
    color: rgb(92, 92, 92);
    /* margin-top: 2px; */
    margin-left: 5px;
    transition: .5s ease;
    display: inline;
    cursor: text;
    appearance: none;
    transform: translate(10px, 20px);
    transition: all ease;
    z-index: 1;
}

.username input:focus~label,
.pass input:focus~label,
.username input:not(:placeholder-shown)~label,
.pass input:not(:placeholder-shown)~label {
    color: navy;
    font-size: 16px;
    transform: translate(5px, -5px);
    text-transform: uppercase;
}

.username input:focus,
.pass input:focus {
    border-bottom: 2px solid blue;
}

.username input:focus~img,
.pass input:focus~img,
.username input:not(:placeholder-shown)~img,
.pass input:not(:placeholder-shown)~img {
    opacity: 1;
}

.pass {
    text-align: center;
    font-size: 20px;
    font-weight: 550;
    position: relative;
    margin-bottom: 10px;
    font-family: sans-serif;
}

.pass>img,
.username>img {
    position: absolute;
    width: 20px;
    height: 20px;
    margin-top: 20px;
    margin-left: -300px;
    opacity: 0;
}

.inpt {
    position: relative;
    margin-top: 20px;
    padding: 10px;
    padding-left: 40px;
    outline: 0px;
    border: none;
    border-bottom: 1.7px solid;
    width: 300px;
    height: 35px;
    font-size: 18px;
    font-weight: bold;
    background: transparent;
    z-index: 2;
}

.btnLog {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    border-radius: 5px;
    border: none;
    width: fit-content;
    padding: 10px;
    padding-left: 30px;
    padding-right: 30px;
    height: fit-content;
    text-align: center;
    font-size: 18px;
    color: white;
    background-color: rgba(0, 0, 255, 0.829);
    font-weight: bolder;
    cursor: pointer;
    transition: all .1s;
    box-shadow: 2px 2px 4px gray;
}

.btnLog:hover {
    background-color: rgba(32, 32, 255, 0.815);
    box-shadow: 2px 2px 8px gray;
}

.btnLog:focus {
    color: blue;
    background-color: whitesmoke;
    box-shadow: 2px 2px 8px gray;
}

#err {
    margin-top: 10px;
    color: red;
}