.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    background-color: white;
    transform: translate(-50%, -50%) scale(0);
    transition: 150ms ease-in-out;
    border: 2px solid purple;
    border-radius: .5em;
    z-index: 10;
}
.modal header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1em;
    border-bottom: 2px solid purple;
    color: purple;
}
.modal header button {
    background-color: white;
    color: black;
    border: none;
    font-size: xx-large;
}
.modal form {
    display: flex;
    padding: 1em;
    flex-direction: column;
    align-items: center;
    min-width: 300px;
}
.modal form button {
    border: 1px gray solid;
    outline: none;
    border-radius: 100px;
    font-size: medium;
    cursor: pointer;
}
.modal form button:hover {
    box-shadow: 3px 5px 5px 2px ;
}
.feild {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    margin: .5em;
}
.feild input {
    border-radius: 5px; 
    background-color: white;
    border: 1px solid grey;
    padding: 10px;
    margin-left: 20px;
}
.modal.show {
    transform: translate(-50%, -50%) scale(1);
}
#login {
    padding-left: 115px;
    padding-right: 115px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 5px;
    align-self: center;
    margin-top: .5em;
    margin-bottom: .5em;
}
#reset {
    text-align: center;
    font-size: medium;
    color: purple;
    cursor: pointer;
}
#overlay {
    pointer-events: none;
    opacity: 0;
    top: 75px;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    background-color: rgba(0.0, 0.0, 0.0, 0.4);
    transition: 150ms ease-in-out;
    width: 100%;
}
#overlay.show{
    opacity: 1;
    pointer-events: all;
    width: 100%;
    height: 100%;
}

@media (max-width: 600px) {
    .modal.active {
        transform: translate(-60%, -50%) scale(1);
    }
}