/**
 * General variables
 */
/**
 * General configs
 */
* {
    -moz-box-sizing: border-box;
         box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    line-height: 1em;
}

button {
    background-color: transparent;
    padding: 0;
    border: 0;
    outline: 0;
    cursor: pointer;
}

input {
    background-color: transparent;
    padding: 0;
    border: 0;
    outline: 0;
}

input[type="submit"] {
    cursor: pointer;
}

input::-webkit-input-placeholder {
    font-size: .85rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    letter-spacing: .1rem;
    color: #ccc;
}

input:-moz-placeholder {
    font-size: .85rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    letter-spacing: .1rem;
    color: #ccc;
}

input::placeholder {
    font-size: .85rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    letter-spacing: .1rem;
    color: #ccc;
}

/**
 * Bounce to the left side
 */
@-webkit-keyframes bounceLeft {
    0% {
        -webkit-transform: translate3d(100%, -50%, 0);
                transform: translate3d(100%, -50%, 0);
    }
    50% {
        -webkit-transform: translate3d(-30px, -50%, 0);
                transform: translate3d(-30px, -50%, 0);
    }
    100% {
        -webkit-transform: translate3d(0, -50%, 0);
                transform: translate3d(0, -50%, 0);
    }
}
@-moz-keyframes bounceLeft {
    0% {
        -moz-transform: translate3d(100%, -50%, 0);
             transform: translate3d(100%, -50%, 0);
    }
    50% {
        -moz-transform: translate3d(-30px, -50%, 0);
             transform: translate3d(-30px, -50%, 0);
    }
    100% {
        -moz-transform: translate3d(0, -50%, 0);
             transform: translate3d(0, -50%, 0);
    }
}
@-o-keyframes bounceLeft {
    0% {
        transform: translate3d(100%, -50%, 0);
    }
    50% {
        transform: translate3d(-30px, -50%, 0);
    }
    100% {
        transform: translate3d(0, -50%, 0);
    }
}
@keyframes bounceLeft {
    0% {
        -webkit-transform: translate3d(100%, -50%, 0);
           -moz-transform: translate3d(100%, -50%, 0);
                transform: translate3d(100%, -50%, 0);
    }
    50% {
        -webkit-transform: translate3d(-30px, -50%, 0);
           -moz-transform: translate3d(-30px, -50%, 0);
                transform: translate3d(-30px, -50%, 0);
    }
    100% {
        -webkit-transform: translate3d(0, -50%, 0);
           -moz-transform: translate3d(0, -50%, 0);
                transform: translate3d(0, -50%, 0);
    }
}

/**
 * Bounce to the left side
 */
@-webkit-keyframes bounceRight {
    0% {
        -webkit-transform: translate3d(0, -50%, 0);
                transform: translate3d(0, -50%, 0);
    }
    50% {
        -webkit-transform: translate3d(-webkit-calc(100% + 30px), -50%, 0);
                transform: translate3d(calc(100% + 30px), -50%, 0);
    }
    100% {
        -webkit-transform: translate3d(100%, -50%, 0);
                transform: translate3d(100%, -50%, 0);
    }
}
@-moz-keyframes bounceRight {
    0% {
        -moz-transform: translate3d(0, -50%, 0);
             transform: translate3d(0, -50%, 0);
    }
    50% {
        -moz-transform: translate3d(-moz-calc(100% + 30px), -50%, 0);
             transform: translate3d(calc(100% + 30px), -50%, 0);
    }
    100% {
        -moz-transform: translate3d(100%, -50%, 0);
             transform: translate3d(100%, -50%, 0);
    }
}
@-o-keyframes bounceRight {
    0% {
        transform: translate3d(0, -50%, 0);
    }
    50% {
        transform: translate3d(calc(100% + 30px), -50%, 0);
    }
    100% {
        transform: translate3d(100%, -50%, 0);
    }
}
@keyframes bounceRight {
    0% {
        -webkit-transform: translate3d(0, -50%, 0);
           -moz-transform: translate3d(0, -50%, 0);
                transform: translate3d(0, -50%, 0);
    }
    50% {
        -webkit-transform: translate3d(-webkit-calc(100% + 30px), -50%, 0);
           -moz-transform: translate3d(-moz-calc(100% + 30px), -50%, 0);
                transform: translate3d(calc(100% + 30px), -50%, 0);
    }
    100% {
        -webkit-transform: translate3d(100%, -50%, 0);
           -moz-transform: translate3d(100%, -50%, 0);
                transform: translate3d(100%, -50%, 0);
    }
}

/**
 * Show Sign Up form
 */
@-webkit-keyframes showSignUp {
    100% {
        opacity: 1;
        visibility: visible;
        -webkit-transform: translate3d(0, 0, 0);
                transform: translate3d(0, 0, 0);
    }
}
@-moz-keyframes showSignUp {
    100% {
        opacity: 1;
        visibility: visible;
        -moz-transform: translate3d(0, 0, 0);
             transform: translate3d(0, 0, 0);
    }
}
@-o-keyframes showSignUp {
    100% {
        opacity: 1;
        visibility: visible;
        transform: translate3d(0, 0, 0);
    }
}
@keyframes showSignUp {
    100% {
        opacity: 1;
        visibility: visible;
        -webkit-transform: translate3d(0, 0, 0);
           -moz-transform: translate3d(0, 0, 0);
                transform: translate3d(0, 0, 0);
    }
}

/**
 * Page background
 */
.user {
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-justify-content: center;
       -moz-box-pack: center;
            justify-content: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    width: 100%;
    height: 100vh;
    background: url("/images/login.jpg") no-repeat center;
    background-size: cover;
}

.user_options-container {
    position: relative;
    width: 80%;
}

.user_options-text {
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
    width: 100%;
    background-color: #a14176;
    border-radius: 3px;
}

/**
 * Registered and Unregistered user box and text
 */
.user_options-registered,
.user_options-unregistered {
    width: 50%;
    padding: 75px 45px;
    color: #fff;
    font-weight: 300;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user_registered-title,
.user_unregistered-title {
    margin-bottom: 15px;
    font-size: 1.66rem;
    line-height: 1em;
}

.user_unregistered-text,
.user_registered-text {
    font-size: .83rem;
    line-height: 1.4em;
}

.user_registered-login,
.user_unregistered-signup {
    margin-top: 30px;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 10px 30px;
    color: #fff;
    text-transform: uppercase;
    line-height: 1em;
    letter-spacing: .2rem;
    -webkit-transition: background-color .2s ease-in-out, color .2s ease-in-out;
    -o-transition: background-color .2s ease-in-out, color .2s ease-in-out;
    -moz-transition: background-color .2s ease-in-out, color .2s ease-in-out;
    transition: background-color .2s ease-in-out, color .2s ease-in-out;
}

.user_registered-login:hover,
.user_unregistered-signup:hover {
    color: rgba(34, 34, 34, 0.85);
    background-color: #ccc;
}

/**
 * Login and signup forms
 */
.user_options-forms {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35%;
    min-height: 270px;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: translate(-50%,-50%) !important;
    -webkit-transition: -webkit-transform .4s ease-in-out;
    transition: -webkit-transform .4s ease-in-out;
    -o-transition: -o-transform .4s ease-in-out;
    -moz-transition: transform .4s ease-in-out, -moz-transform .4s ease-in-out;
    transition: transform .4s ease-in-out;
    transition: transform .4s ease-in-out, -webkit-transform .4s ease-in-out, -moz-transform .4s ease-in-out, -o-transform .4s ease-in-out;
}

.user_options-forms .user_forms-login {
    -webkit-transition: opacity .4s ease-in-out, visibility .4s ease-in-out;
    -o-transition: opacity .4s ease-in-out, visibility .4s ease-in-out;
    -moz-transition: opacity .4s ease-in-out, visibility .4s ease-in-out;
    transition: opacity .4s ease-in-out, visibility .4s ease-in-out;
}

.user_options-forms .forms_title {
    margin-bottom: 45px;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1em;
    text-transform: uppercase;
    color: #e8716d;
    letter-spacing: .1rem;
}

.user_options-forms .forms_field:not(:last-of-type) {
    margin-bottom: 20px;
}

.user_options-forms .forms_field-input {
    width: 100%;
    border-bottom: 1px solid #ccc;
    padding: 6px 20px 6px 0;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: gray;
    letter-spacing: .1rem;
    -webkit-transition: border-color .2s ease-in-out;
    -o-transition: border-color .2s ease-in-out;
    -moz-transition: border-color .2s ease-in-out;
    transition: border-color .2s ease-in-out;
}

.user_options-forms .forms_field-input:focus {
    border-color: gray;
}

.user_options-forms .forms_buttons {
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
    margin-top: 35px;
}

.user_options-forms .forms_buttons-forgot {
    font-family: "Montserrat", sans-serif;
    letter-spacing: .1rem;
    color: #ccc;
    text-decoration: underline;
    -webkit-transition: color .2s ease-in-out;
    -o-transition: color .2s ease-in-out;
    -moz-transition: color .2s ease-in-out;
    transition: color .2s ease-in-out;
}

.user_options-forms .forms_buttons-forgot:hover {
    color: #b3b3b3;
}

.user_options-forms .forms_buttons-action {
    background-color: #000000;
    border-radius: 3px;
    padding: 10px 35px;
    font-size: 1rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .1rem;
    -webkit-transition: background-color .2s ease-in-out;
    -o-transition: background-color .2s ease-in-out;
    -moz-transition: background-color .2s ease-in-out;
    transition: background-color .2s ease-in-out;
    width: 100%;
}


.user_options-forms .user_forms-signup,
.user_options-forms .user_forms-login {
    position: absolute;
    top: 70px;
    left: 40px;
    width: -webkit-calc(100% - 80px);
    width: -moz-calc(100% - 80px);
    width: calc(100% - 80px);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .4s ease-in-out, visibility .4s ease-in-out, -webkit-transform .5s ease-in-out;
    transition: opacity .4s ease-in-out, visibility .4s ease-in-out, -webkit-transform .5s ease-in-out;
    -o-transition: opacity .4s ease-in-out, visibility .4s ease-in-out, -o-transform .5s ease-in-out;
    -moz-transition: opacity .4s ease-in-out, visibility .4s ease-in-out, transform .5s ease-in-out, -moz-transform .5s ease-in-out;
    transition: opacity .4s ease-in-out, visibility .4s ease-in-out, transform .5s ease-in-out;
    transition: opacity .4s ease-in-out, visibility .4s ease-in-out, transform .5s ease-in-out, -webkit-transform .5s ease-in-out, -moz-transform .5s ease-in-out, -o-transform .5s ease-in-out;
}

.user_options-forms .user_forms-signup {
    -webkit-transform: translate3d(120px, 0, 0);
       -moz-transform: translate3d(120px, 0, 0);
            transform: translate3d(120px, 0, 0);
}

.user_options-forms .user_forms-signup .forms_buttons {
    -webkit-justify-content: flex-end;
       -moz-box-pack: end;
            justify-content: flex-end;
}

.user_options-forms .user_forms-login {
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
}

/**
 * Triggers
 */
.user_options-forms.bounceLeft {
    -webkit-animation: bounceLeft 1s forwards;
       -moz-animation: bounceLeft 1s forwards;
         -o-animation: bounceLeft 1s forwards;
            animation: bounceLeft 1s forwards;
}

.user_options-forms.bounceLeft .user_forms-signup {
    -webkit-animation: showSignUp 1s forwards;
       -moz-animation: showSignUp 1s forwards;
         -o-animation: showSignUp 1s forwards;
            animation: showSignUp 1s forwards;
}

.user_options-forms.bounceLeft .user_forms-login {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translate3d(-120px, 0, 0);
       -moz-transform: translate3d(-120px, 0, 0);
            transform: translate3d(-120px, 0, 0);
}

.user_options-forms.bounceRight {
    -webkit-animation: bounceRight 1s forwards;
       -moz-animation: bounceRight 1s forwards;
         -o-animation: bounceRight 1s forwards;
            animation: bounceRight 1s forwards;
}

/**
 * Responsive 990px
 */
@media screen and (max-width: 990px) {
    .user_options-forms {
        min-height: 350px;
    }
    .user_options-forms .forms_buttons {
        -webkit-flex-direction: column;
           -moz-box-orient: vertical;
           -moz-box-direction: normal;
                flex-direction: column;
    }
    .user_options-forms .user_forms-login .forms_buttons-action {
        margin-top: 30px;
    }
    .user_options-forms .user_forms-signup,
    .user_options-forms .user_forms-login {
        top: 40px;
    }
    .user_options-registered,
    .user_options-unregistered {
        padding: 50px 45px;
    }
}
