@font-face {
    font-family: DINPro-Regular;
    src: url(../fonts/DINPro-Regular.otf);
}

@font-face {
    font-family: DINPro-Bold;
    src: url(../fonts/DINPro-Bold.otf);
}

body {
    margin: 0;
    overflow: hidden;
    font-family: 'DINPro-Regular';
}

#content {
    height: 100vh;
    margin: 0;

    background-image: url('/images/P1000105.JPG');
    background-repeat: no-repeat;
    background-position: 0 40%;
    background-size: cover;

    position: relative;
}

#fade1 {
    height: 100%;
    width: 25%;
    float: right;
    background-image: linear-gradient(to left, #47124a, rgba(71, 18, 74, 0.88));
}

#fade2 {
    height: 100%;
    width: 40%;
    float: right;
    background-image: linear-gradient(to left, rgba(71, 18, 74, 0.88), rgba(71, 18, 74, 0));
}

#login-form, #password-reset-form {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    right: 5%;
    width: 450px;
    background: #ffffff;
    border-radius: 25px;

    padding: 30px 50px;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
}

#login-form {
    height: 500px;
}

#password-reset-form {
    height: 500px;
}

#login-form > *, #password-reset-form > * {
    width: 100%;
    box-sizing: border-box;
}

#login-form h1, #password-reset-form h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 70px;
    color: #47124A;
}

#login-form input, #password-reset-form input {
    height: 40px;
    background-color: #f1f1f1;
    border-width: 0;
    border-radius: 5px;
    width: 100%;
    padding-left: 50px;
}

.login-form-input, .password-reset-form-input {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.login-form-input img, .password-reset-form-input img {
    height: 50%;
    width: auto;
    position: absolute;
    left: 0;
    padding-left: 15px;
}
.login-form-input input::placeholder, .password-reset-form-input input::placeholder {
    color: #a4a4a4;
}

#login-form-options, #password-reset-form-options {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

#forgot-password-link, #back-to-login {
    display: flex;
    align-items: center;
    width: 60%;
}
#forgot-password-link a, #back-to-login a {
    color: #66b3ea;
    font-size: 14px;
}

#login-button, #password-reset-button {
    width: 40%;
    height: 50px;
    background: #faaf19;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    border-width: 0;
}

#back {
    display: inline-block;
}

#login-button:hover, #password-reset-button:hover{
    transform: scale(1.05);
}

#login-form-error, #password-reset-form-error, #password-reset-form-success {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
}

#password-reset-form-error, #login-form-error {
    color: #eb4622;
}

#password-reset-form-success {
    color: #22c0f1;
}

#login-form-logo, #password-reset-form-logo {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
#login-form-logo img, #password-reset-form-logo img {
    height: auto;
    width: 50px;
}
