* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Product Sans, Helvetica, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #464646;
}

header {
    position: fixed;
    background-color: #FDF8FF;
    text-align: center;
    font-weight:lighter;
    padding: 1rem 0;
    width: 100%;
    border-bottom: 1px solid #cecece;
    z-index: 2;
}

h1 {
    font-family: Montserrat, serif;
    font-size: 1.5rem;
    color: #22005D;
    letter-spacing: 2px;
}

h2 {
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 2.5rem;
    display: flex;
    justify-content: center;
}

form {
    width: 20%;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

form div {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

form div:nth-child(2) {
    padding-top: 2rem;
}

form div label {
    font-size: 1.3rem;
    font-weight: bold;
    margin-left: 2rem;
}

form div input {
    margin-right: 2rem;

}

input {
    width: 200px;
}

form button {
    margin-top: 2rem;
    border: none;
    padding: 0.5rem 3rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    background-color: #AD9FFF;
    color: black;
}

form button:hover {
    background-color: #8672FF;
    cursor: pointer;
}

a {
    margin-top: 3rem;
}

form p {
    margin-top: 1rem;
    padding-bottom: 1rem;
}

.form-container {
    width: 450px;
    height: 450px;
    margin: 1rem auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 25px;
    background-color: #ffffff;
    opacity: 0.985;
}


.bg-image {
    position: relative;
    background-image: url("static/images/bg.jpg");
    background-size: cover;
    background-position: center;
    height: 100vh;
    overflow: hidden;
}

.login-form {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.alert-danger {
    position: absolute;
    z-index: 2;
    bottom: 0;
    width: 100%;
    height: 50px;
    background-color: #ffffff;
    color: #e00920;
    padding: 15px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    vertical-align: center;
}

.alert-info {
    position: absolute;
    z-index: 2;
    bottom: 0;
    width: 100%;
    height: 50px;
    background-color: #ffffff;
    color: #26af3c;
    padding: 15px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    vertical-align: center;
}

/* logo image */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.logo-container img {
    margin: 0.25% 0 0.25% 0;
    width: 15%;
}