body {
    background-color: #aacaca;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    font-family: Tahoma, Geneva, sans-serif;
}

input,
button,
#register {
    flex: 0 0 auto;
}

#error {
    font-size: 0.75em;
    color: #861111;
    border: 5px solid #f14141;
    background-color: #ea6b6b;
    margin-bottom: 1em;
    padding: 1em;
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -ms-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
}

#error[positive="true"]{
    background-color: #92d492;
    border: 5px solid #52bd49;
    color: #152317;
}

#error:empty {
    display: none;
}

input,
button {
    font-family: Tahoma, Geneva, sans-serif;
    height: 3.5em;
    margin-bottom: 1em;
    border: none;
}

button {
    margin-top: 0.5em;
    background-color: #607d8b;
    color: white;
    text-transform: uppercase;
    cursor: pointer;
}

input {
    background-color: #f2f2f2;
    padding: 0px 1em;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-transition-delay: 99999s;
}

input::placeholder {
    color: #cecece;
}

input:-ms-input-placeholder {
    color: #cecece;
}

input::-ms-input-placeholder {
    color: #cecece;
}

#login-container {
    padding-left: 2em;
    padding-right: 2em;
    padding-top: 2em;
    padding-bottom: 2em;
    background-color: white;
    display: flex;
    width: 5%;
    min-width: 20em;
    border: none;
    -webkit-box-shadow: 4px 4px 14px -6px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 4px 4px 14px -6px rgba(0, 0, 0, 0.75);
    box-shadow: 4px 4px 14px -6px rgba(0, 0, 0, 0.75);
    transition: max-height 1s ease-out;
    transition: height 1s ease-out;
}

form {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    display: -webkit-flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    align-content: center;
}

form:after {
    display: block;
    content: " "
        flex(999 999 auto)
}

#register {
    display: block;
    text-align: center;
    font-size: 0.75em;
}

#register a {
    text-decoration: none;
    color: #9e9e9e;
}

#register a:link {
    color: #607d8b;
}

/* A link that has been visited */

#register a:visited {
    color: #9e9e9e;
}

/* A link that is hovered on */

#register a:hover {
    color: #41697d;
}

/* A link that is selected */

#register a:active {
    color: #41697d;
}

/* Toggle password */
.password-container {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.password-container input {
    width: 100%;
    padding: 10px 35px;
    box-sizing: border-box;
}

.password-container #password {
    width: 80%;
    padding: 15px 30px;
    box-sizing: border-box;
}

.togglepass-icon {
    cursor: pointer;
}