* {
    margin: 0;
    padding: 0;
}

body {
    background: #ffc185;
}

.container{
    position:absolute;
    width: auto;
    height:auto;
    top: calc(50% - 240px);
    left: calc(50% - 160px);
}

form {
    position: absolute;
    text-align: center;
    background: #fff;
    width: 280px;
    height: 400px;
    border-radius: 5px;
    padding: 30px 20px 0 20px;
    margin: 4px !important;
    box-shadow: 0 10px 50px 0 rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

p {
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    text-transform: uppercase;
    font-size: 12px;
    color: #87613d;
    margin-bottom: 40px;
}

p > span {
    padding-top: 3px;
    display: block;
    font-weight: 400;
    font-size: 9px;
}

h3 {
    font-family: 'Dosis';
    font-size: 35px;
    text-transform: uppercase;
    color: #87613d;
    margin-bottom: 30px;
}

input,
button{
    outline: none !important;
}

button.fb {
    border: none;
    background: #3b5998;
    width: 160px;
    height: 25px;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #fff;
    text-transform: uppercase;
    border-radius: 4px;
    border: 1px solid #29487d;
    cursor: pointer;
    margin-bottom: 20px;
    transition:all 0.3s linear;
}
button.fb:hover {
    background: #fff;
    color: #3b5998;
}

button.form-btn {
    position: absolute;
    width: 50%;
    height: 60px;
    bottom: 0;
    border: 0;
    font-family: 'Dosis';
    font-size: 24px;
    text-transform: uppercase;
    cursor: pointer;
}

button.form-btn.sx {
    left: 0;
    border-radius: 0 0 0 0px;
    color: #fff;
    transition:all 0.3s linear;
}

button.form-btn.sx:hover {
    color: #fff;
}

button.form-btn.sx.back {
    background-color: rgba(0, 0, 0, 0.15);
    transition:all 0.3s linear;
}

button.form-btn.sx.back:hover {
    background-color: rgba(0, 0, 0, 0.35);
}

button.form-btn.dx {
    right: 0;
    border-radius: 0 0 5px 0;
    color: #fff;
}

input {
    border: none;
    border-bottom: 1px solid #ffc185;
    width: 85%;
    font-family: 'Roboto';
    color: #ff7d00;
    text-align: center;
    font-size: 21px;
    font-weight:100;
    margin-bottom:25px;
    background-color: rgb(232, 240, 254) !important;
}

::-webkit-input-placeholder {
    color: #ffc185;
    font-family: 'Roboto';
    font-weight:100;
}

:-moz-placeholder {
    color: #ffc185;
    font-family: 'Roboto';
    font-weight:100;
}

::-moz-placeholder {
    color: #ffc185;
    font-family: 'Roboto';
    font-weight:100;
}

:-ms-input-placeholder {
    color: #ffc185;
    font-family: 'Roboto';
    font-weight:100;
}

.signIn input,
.signUp .w100 {
    width: 100%;
}

.signIn{
    position: absolute;

    z-index: 1;
    transform: perspective(100px) translate3d(100px, 0px, -30px);
    opacity: 0.5;
}

.signUp {
    position: absolute;

    z-index: 2;
}

.active-dx{
    animation-name: foregrounding-dx;
    animation-duration: 0.9s;
    animation-fill-mode: forwards;
}

.active-sx{
    animation-name: foregrounding-sx;
    animation-duration: 0.9s;
    animation-fill-mode: forwards;
}

.inactive-dx{
    animation-name: overshadowing-dx;
    animation-duration: 0.9s;
    animation-fill-mode: forwards;
}

.inactive-sx{
    animation-name: overshadowing-sx;
    animation-duration: 0.9s;
    animation-fill-mode: forwards;
}

@keyframes overshadowing-dx {
    0%{
        z-index:2;
        transform: perspective(100px) translate3d(0px, 0px, 0px);
        opacity: 1;
        box-shadow: 0 10px 50px 0 rgba(0, 0, 0, 0.25);
    }
    100%{
        z-index: 1;
        transform: perspective(100px) translate3d(100px, 0px, -30px);
        opacity: 0.5;
        box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.25);
    }
}

@keyframes overshadowing-sx {
    0%{
        z-index:2;
        transform: perspective(100px) translate3d(0px, 0px, 0px);
        opacity: 1;
        box-shadow: 0 10px 50px 0 rgba(0, 0, 0, 0.25);
    }
    100%{
        z-index: 1;
        transform: perspective(100px) translate3d(-100px, 0px, -30px);
        opacity: 0.5;
        box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.25);
    }
}

@keyframes foregrounding-dx {
    0%{
        z-index:1;
        transform: perspective(100px) translate3d(100px, 0px, -30px);
        opacity: 0.5;
    }
    50%{
        z-index:2;
        transform: perspective(100px) translate3d(400px, 0px, -30px);
    }
    100%{
        z-index:2;
        transform: perspective(100px) translate3d(0px, 0px, 0px);
        opacity: 1;
    }
}

@keyframes foregrounding-sx {
    0%{
        z-index:1;
        transform: perspective(100px) translate3d(-100px, 0px, -30px);
        opacity: 0.5;
    }
    50%{
        z-index:2;
        transform: perspective(100px) translate3d(-400px, 0px, -30px);
    }
    100%{
        z-index:2;
        transform: perspective(100px) translate3d(0px, 0px, 0px);
        opacity: 1;
    }
}

.loginLabel {
    font-size: 15px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.loginLabel .message {
    margin: 0px;
}





@-webkit-keyframes shake {
    0% {
        transform: translateX(0);
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    30% {
        transform: translateX(-1rem);
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    40% {
        transform: translateX(1rem);
        -webkit-animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
        animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
    }
    55% {
        transform: translateX(-1rem);
        -webkit-animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
        animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
    }
    70% {
        transform: translateX(0.7rem);
        -webkit-animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
        animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
    }
    85% {
        transform: translateX(-0.7rem);
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    100% {
        transform: translateX(0);
    }
}
@keyframes shake {
    0% {
        transform: translateX(0);
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    30% {
        transform: translateX(-1rem);
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    40% {
        transform: translateX(1rem);
        -webkit-animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
        animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
    }
    55% {
        transform: translateX(-1rem);
        -webkit-animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
        animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
    }
    70% {
        transform: translateX(0.7rem);
        -webkit-animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
        animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
    }
    85% {
        transform: translateX(-0.7rem);
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    100% {
        transform: translateX(0);
    }
}
input[type=text].shake, input[type=password].shake {
    filter: blur(0.6px);
    color: transparent;
    -webkit-animation: shake 440ms infinite;
    animation: shake 440ms infinite;
    transform: translateX(-1rem);
}

input[type=password] {
    letter-spacing: 4px;
}

input[type=submit] {
    padding: 1rem 2rem;
    color: #da0b62;
    background: #da0b62;
    cursor: pointer;
    transition: box-shadow 220ms cubic-bezier(0.645, 0.045, 0.355, 1), transform 220ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transform-origin: 50% 50%;
    transform: scale(1);
    box-shadow: 0.05rem 0.05rem 0.1rem rgba(143, 61, 136, 0.2), inset 0.15rem 0.25rem 0.5rem rgba(252, 254, 231, 0.4), inset -0.15rem -0.25rem 0.5rem rgba(143, 61, 136, 0.4), -0.2rem -0.3rem 0.6rem rgba(252, 254, 231, 0.1), 0.2rem 0.3rem 0.6rem rgba(218, 11, 98, 0.1);
}
input[type=submit]:hover:not(:active):not([disabled]), input[type=submit]:focus:not(:active):not([disabled]) {
    transform: scale(1.05);
    box-shadow: 0.05rem 0.25rem 0.3rem rgba(143, 61, 136, 0.2), inset 0.15rem 0.25rem 0.5rem rgba(252, 254, 231, 0.4), inset -0.15rem -0.25rem 0.5rem rgba(143, 61, 136, 0.4), -0.2rem -0.3rem 0.6rem rgba(252, 254, 231, 0.1), 0.2rem 0.3rem 0.6rem rgba(218, 11, 98, 0.1);
}


#btnSubmit .dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    line-height: 1rem;
    padding: 0;
    pointer-events: none;
    transform: translateY(-30%);
    opacity: 0;
    transition: transform 220ms cubic-bezier(0.645, 0.045, 0.355, 1), opacity 220ms cubic-bezier(0.645, 0.045, 0.355, 1);
}
#btnSubmit .dots .dot {
    position: absolute;
    top: calc(50% - 0.5rem);
    width: 1rem;
    height: 1rem;
    border-radius: 1rem;
    background: white;
    display: block;
    -webkit-animation: bounce 800ms infinite;
    animation: bounce 800ms infinite;
}
@-webkit-keyframes bounce {
    0% {
        transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    15% {
        transform: translateY(-50%);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    30% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(0);
    }
}
@keyframes bounce {
    0% {
        transform: translateY(0);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
    15% {
        transform: translateY(-50%);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
    30% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(0);
    }
}
#btnSubmit .dots .dot:nth-child(1) {
    left: calc(30% - 0.5rem);
    -webkit-animation-delay: 200ms;
    animation-delay: 200ms;
}
#btnSubmit .dots .dot:nth-child(2) {
    left: calc(50% - 0.5rem);
    -webkit-animation-delay: 400ms;
    animation-delay: 400ms;
}
#btnSubmit .dots .dot:nth-child(3) {
    left: calc(70% - 0.5rem);
    -webkit-animation-delay: 600ms;
    animation-delay: 600ms;
}
#btnSubmit.checking .labelLogin {
    transform: translateY(30%);
    opacity: 0;
}
#btnSubmit.checking .dots {
    transform: translateY(0%);
    opacity: 1;
}

