* {
  box-sizing: border-box;
}
body {
    margin: 0;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
}
.container {
    display: grid;
    justify-content: center;
}

a.logo {
    display: flex;
    justify-content: center;

}
@media (min-width: 480px) {
    a.logo { margin: 0 40px; }
}

img {
    width: 100%;
    max-width: 400px;
    vertical-align: bottom;
    margin-right: 15px;
    margin-top: 40px;
    margin-bottom: 40px;
}

form {
    margin: 20px;
    margin-bottom: 0;
    display: grid;
    grid-gap: 25px;
    justify-items: stretch;
    align-items: center;
    border-top: 2px solid #6caee0;

    padding: 40px 0;
}
@media (min-width: 480px) {
    form {
        padding: 40px 40px;
        box-shadow: 0px 1px 5px 1px rgb(0 0 0 / 13%);
    }
}

input[type=text], input[type=password], input[type=email]{
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    border: 1px solid #ccc;
    line-height: 1.55;
    padding: 6px 12px;
}
input[type=text]:focus, input[type=password]:focus, input[type=email]:focus {
    outline: 0;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 60%);
}
button {
    border-radius: 2px;
    background: #6caee0;
    color: white;
    font-weight: bold;
    border: 0;
    outline: none;
    height: 48px;
    cursor: pointer;
}
button:focus {
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 60%);
}
button:active {
    box-shadow: inset 0 3px 5px rgb(0 0 0 / 13%);
}

.link {
    justify-self: center;
    color: #5f5f5f;
}

.line {
    grid-column: 1/-1;
}
.line > a {
    color: #337ab7;
    text-decoration: none;
}
.line > a:hover {
    text-decoration: underline;
}
label {
    font-weight: bold;
}
