* {
    box-sizing: border-box;
}

html, body {

    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    background: #efefef url(../img/background3.png) center center repeat;
    background-size: 50%;
    color: #1a1a1a;
}

body, input, textarea {
    font: 1em "Segoe UI", -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-size: 1em;
}

p {
    margin: 0;
}

h1 {
    margin: .5em 0;
    font-weight: normal;
}

.note {
    background: #66BB6A;
    padding: .75em 0;
    color: #fff;
}

.note.info {
    color: #fff;
    background: #585858;
}

.note.error {
    color: #fff;
    background: #f44336
}

.note svg {
    fill: #fff;
}

.note-with-icon > .container {
    display: grid;
    grid-template-columns: 1.5em 1fr;
    align-items: center;
}

.note-input {
    background: #efefef;
    color: #000;
}

main {
    max-width: 700px;
    margin: 2em auto 0;
    background: #fdfdfd;
}

.container {
    max-width: 700px;
    padding: 0 .5em;
    margin: 0 auto;
}

.form-group label {
    display: block;
}

.form-group textarea,
.form-group input[type="password"],
.form-group input[type="text"] {
    background: #fff;
    color: #2a2a2a;
    display: block;
    border-radius: 0;
    border: 1px solid #b5b5b5;
    padding: .4em .25em;
    transition: .3s none ease-out;
    transition-property: border-bottom-color, border-right-color, border-left-color, border-top-color;
    width: 100%;
}

.form-group textarea:focus,
.form-group input[type="password"]:focus,
.form-group input[type="text"]:focus {
    border-color: #333;
    color: #000;
}
/*
.form-group textarea {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    width: 100%;
}*/

.button {
    cursor: pointer;
    background: #66bb6a;
    border: 1px solid #52a255;
    color: #fff;
    padding: 6px 12px;
    border-radius: 0px;
    transition: .3s background-color ease-out;
}

.button:hover, .button:focus {
    background: #70d575;
    border: 1px solid #52a255;
}

.button.danger {
    background: #f44336;
    border: 1px solid #e91e63;
    color: #fff;
}

.button.danger:hover, .button.danger:focus {
    background: #e53935;
    border: 1px solid #b71c1c;
}

.button:focus, .form-group textarea, .form-group input[type="password"] {
    outline: none;
}

.form-group + .form-group {
    margin-top: 1em;
}

.form-group:last-child {
    padding-bottom: .5em;
}

input + .note {
    padding: .35em 0;
    font-size: .9em;
}