* {
    font-family: Roboto, sans-serif;
}

.html-wrapper {
    display: flex;
    width: 500px;
    flex-grow: 0;
    flex-shrink: 0;
    margin: 0 auto;
}

form {
    border: 1px solid #dadce0;
    border-radius: 8px;
    width: 100%;
    padding: 48px 40px 36px;
    font-family: "Roboto Flex";
}

form img {
    width: 50%;
}

form h1 {
    color: #202124C4;
    font-weight: normal;
    margin-bottom: 3rem;
}

form.error p.error {
    color: #d93025;
    font-size: 12px;
}
form.error p.error i {
    margin-right: .4rem;
}

form.error .material-input input {
    border-color: #d93025;
}

form.error .material-input label span {
    color: #d93025 !important;
}

form label {
    display: block;
}

form label p {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
    margin: 0;
    pointer-events: none;
    border: 3px solid transparent;
    background-color: transparent;
    display: flex;
    align-items: center;
}

form label p span {
    font-size: 1.4rem;
    padding: 0 0.5rem;
    background-color: transparent;
    color: black;
}

form label input, form label p {
    font-size: 1.4rem;
    padding: 0 1.2rem;
}

form .button {
    text-align: right;
}

form .button button {
    background-color: #1a73e8;
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
    padding: .7rem 1.5rem;
    letter-spacing: 1px;
    cursor: pointer;
}

form .button button:hover {
    background-color: #001d5f;
    box-shadow: 0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15);
}

div.material-input {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 1rem;
}

.material-input > label {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: 3px solid transparent;
    background-color: transparent;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.material-input > label > span {
    font-size: 1rem;
    background-color: transparent;
    color: #5f6368;
    transform: translate(0);
    transition: transform 0.15s ease-out, font-size 0.15s ease-out, background-color 0.2s ease-out, color 0.15s ease-out;
}

.material-input > input {
    border: 1px solid #dadce0;
    border-radius: 4px;
}

.material-input > input:focus + label span,
.material-input > input.focus + label span,
.material-input > :not(input[value=""]) + label span {
    background-color: white;
    font-size: .75rem;
    padding: 0 .5rem;
    transform: translate(-10px, -140%);
}

.material-input > input:focus + label span {
    color: #0f6ae5;
}

.material-input > input:focus {
    border: 2px solid #0f6ae5;
    padding-top: calc(0.8rem - 1px);
    padding-bottom: calc(0.8rem - 1px);
    outline: none;
}

.material-input > input,
.material-input > label {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
}