@import url(https://fonts.googleapis.com/css?family=Roboto:300);

.login-page {
    width: 360px;
    padding: 13% 0 0;
    margin: auto;
    margin-bottom: 10%;
}

.register-page {
    width: 450px;
    padding: 5% 0 0;
    margin: auto;
    margin-bottom: 5%;
}

.reset-page {
    width: 360px;
    padding: 11% 0 0;
    margin: auto;
    margin-bottom: 15%;
}

.form {
    position: relative;
    z-index: 1;
    background: #FFFFFF;

    margin: 0 auto 100px;
    padding: 45px;
    text-align: center;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

.forRegularWidth {
    max-width: 360px;
}

.formRegister {
    max-width: 450px;
}

.form input {
    font-family: "Roboto", sans-serif;
    outline: 0;
    background: #f2f2f2;
    width: 100%;
    border: 0;
    margin: 0 0 15px;
    padding: 15px;
    box-sizing: border-box;
    font-size: 14px;
}

.form button {
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    outline: 0;
    background: #4CAF50;
    width: 100%;
    border: 0;
    padding: 15px;
    color: #FFFFFF;
    font-size: 14px;
    -webkit-transition: all 0.3 ease;
    transition: all 0.3 ease;
    cursor: pointer;
}

.form button:hover, .form button:active, .form button:focus {
    background: #43A047;
}

.form .guideMessage {
    margin: 15px 0 0;
    color: #b3b3b3;
    font-size: 16px;
}

.form .message {
    margin: 15px 0 0;
    color: #b3b3b3;
    font-size: 12px;
}

.form .message a {
    color: #4CAF50;
    text-decoration: none;
}

.form .register-form {
    display: none;
}

body {
    /*background: #ebf5e6; !* fallback for old browsers *!
    background: -webkit-linear-gradient(right, #cfe5c2, #cfe5c2);
    background: -moz-linear-gradient(right, #cfe5c2, #cfe5c2);
    background: -o-linear-gradient(right, #cfe5c2, #cfe5c2);
    background: linear-gradient(to left, #cfe5c2, #cfe5c2);
    font-family: "Roboto", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;*/

    background: linear-gradient(51deg, #000000, #385451, #050505, #263c2d);
    background-size: 800% 800%;

    -webkit-animation: AnimationName 30s ease infinite;
    -moz-animation: AnimationName 30s ease infinite;
    animation: AnimationName 30s ease infinite;
}

@-webkit-keyframes AnimationName {
    0%{background-position:0% 91%}
    50%{background-position:100% 10%}
    100%{background-position:0% 91%}
}
@-moz-keyframes AnimationName {
    0%{background-position:0% 91%}
    50%{background-position:100% 10%}
    100%{background-position:0% 91%}
}
@keyframes AnimationName {
    0%{background-position:0% 91%}
    50%{background-position:100% 10%}
    100%{background-position:0% 91%}
}

@media (max-width: 400px) {
    .login-page {
        width: 280px;
        padding: 8% 0 0;
        margin: auto;
    }

    .form {
        position: relative;
        z-index: 1;
        background: #FFFFFF;
        width: 210px;
        height: auto;

        margin: 50px auto 100px;
        padding: 45px;
        text-align: center;
        box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    }
}

/*For register checkbox layout*/
input[type="checkbox"] {
    margin-top: 15px;
    /*     margin-top: 10px \9;*/
}

input[type="checkbox"] {
    width: auto;
}

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

label {
    margin-left: 20px;
    margin-top: -30px;
}


