body, html {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    background: #fafafa;
    font-weight: 400;
    color: #444;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Hind', sans-serif;
}

::-moz-selection {
    color: white;
    background: #fa075a;
}

::selection {
    color: white;
    background: #fa075a;
}

* {
    box-sizing: border-box;
    font-family: 'Hind', sans-serif;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    font-family: 'Hind', sans-serif;
    -webkit-text-fill-color: black;
}

body {
    display: grid;
    place-items: center;
}

form,#esqueci-senha {
    display: flex;
    flex-direction: column;
    z-index: 10;
}

form a,#esqueci-senha a {
    color: #0076ff;
    text-decoration: none;
    margin-left: 8px;
}

form a:hover,#esqueci-senha a:hover {
    text-decoration: underline;
}

form .logo,#esqueci-senha .logo {
    margin: 0 auto 16px;
    width: 127px;
    height: 48px;
}

form h1,#esqueci-senha h1 {
    font-size: 20px;
    font-weight: normal;
    color: #262626;
    text-align: center;
}

form label,#esqueci-senha label {
    font-size: 18px;
    color: #656668;
    margin-left: 8px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

form input,#esqueci-senha input {
    display: block;
    width: 100%;
    min-width: 320px;
    border-radius: 4px;
    border: solid 1px #c1c2c4;
    padding: 5px 10px;
    font-size: 16px;
    transition: box-shadow 1s ease-out, -webkit-box-shadow .2s ease-out, -moz-box-shadow .2s ease-out;

    -webkit-tap-highlight-color: transparent;
    -webkit-focus-ring-color: rgba(255, 255, 255, 0) !important;
    outline: none !important;
}

form input:active,#esqueci-senha input:active, form input:focus,#esqueci-senha input:focus {
    border: solid 1px #c1c2c4;
}

form input:focus,#esqueci-senha input:focus {
    -webkit-box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,1);
    -moz-box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,1);
    box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,1);
}

form .input-with-icon,#esqueci-senha .input-with-icon {
    position: relative;
}

form .password-icon {
    content: ' ';
    background-image: url(./eye-solid.svg);
    width: 44px;
    height: 38px;
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    display: inline-block;
    opacity: .3;
    transition: opacity .4s ease-out;
}

form .password-icon:hover {
    opacity: .5;
}

form .password-icon.active {
    opacity: 1;
    background-image: url(./eye-slash-solid.svg);
}

form .error input,#esqueci-senha .error input {
    border-color: #cc1d33;
}

form .message,#esqueci-senha .message {
    display: none;
}

form .error .message,#esqueci-senha .error .message {
    display: block;
    color: #b00020;
    font-size: 12px;
    margin: 7px 8px 15px;
    max-width: 304px;
}

form .spacer,#esqueci-senha .spacer {
    margin-bottom: 8px;
}

form button.primary,#esqueci-senha button.primary {
    height: 32px;
    background-color: #262626;
    font-size: 18px;
    color: #FFFFFF;
    outline: none;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color .4s ease-out;

    -webkit-tap-highlight-color: transparent;
    -webkit-focus-ring-color: rgba(255, 255, 255, 0) !important;
    outline: none !important;
}

form button.primary:hover,#esqueci-senha button.primary:hover {
    background-color: #3e3e3e;
}

form button.primary.loading,#esqueci-senha button.primary.loading {
    background-color: #5f5f5f;
    cursor: auto;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 0;
}

form button.primary.loading:after,#esqueci-senha button.primary.loading:after {
    content: ' ';
    display: inline-block;
    background-image: url(./loading.svg);
    width: 22px;
    height: 22px;
    background-size: 22px;
    margin-left: 10px;
}

.background {
    position: absolute;
    display: flex;
    width: 100vw;
    bottom: 5vh;
    justify-content: space-around;
    z-index: 0;
}

/* custom checkbox */

/* Customize the label (the container) */
.container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

form label.container,#esqueci-senha label.container {
    font-size: 14px;
}

/* Hide the browser's default checkbox */
.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: #eee;
    border-radius: 2px;
    transition: background-color .4s ease-out;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: #fa075a;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 5px;
    top: 1px;
    width: 5px;
    height: 8px;
    border: solid white;
    border-width: 0 1px 1px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/*
320px, 768px, and 1200px
 */

@media (max-width: 768px)
{
    .background {
        display: none;
    }

    form button.primary,#esqueci-senha button.primary {
        height: 48px;
    }
}

@media (max-width: 320px)
{
    body {
        display: block;
        padding: 30px 5px 0px;
    }

    form input,#esqueci-senha input {
        min-width: initial;
    }
}