.header {
    background: #F7F7F7;
    padding: 20px;
    display: flex;
    align-items: center;
}
.head {
    margin: 0;
    font-size: 26px;
}
.main-page {
    text-decoration: none;
    font-size: 20px;
    color: #000000;
    margin-left: 40px;
    font-size: 400;
}
.main-page:hover,
.main-page:active {
    text-decoration: none;
    color: #000000;
}

#loginPage {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translate(-50%, -10%);
    border-radius: 4px;
    border: 2px solid #dddddd;
    max-width: 400px;
    width: 100%;
    height: 100%;
    max-height: 250px;
}
.form-head {
    margin: 0;
    padding: 0;
    font-size: 16px;
    background: #F7F4FD;
    padding: 10px;
    border-bottom: 2px solid #dddddd;
}
.form-container {
    padding: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.login-wrapper {
    display: flex;
    flex-direction: column;
}
.passLbl {
    margin: 0;
    font-weight: 500;
}
#passField {
    padding: 5px;
}
#login-submit {
    background: #1F78D8;
    color: #ffffff;
    border-radius: 4px;
    padding: 5px;
    border: none;
    margin-top: 5px;
    width: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: space-around;
}
#login-submit::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background: url(../images/login-icon.png) center / 70% 70% no-repeat;
}
.messages {
    list-style-type: none;
    padding: 0;
    margin: 5px 0;
    color: red;
}