html {
    font-family: "Museo Sans";
    font-size: 16px;
    background-color: #f5f5f5;
}

html, body {
    margin: 0;
    padding: 0;
}

a, input, textarea, select, button {
    outline: none;
    text-decoration: none;
}


@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

.bg {
    width: 100%;
    position: relative;
    padding: 3rem 0 300px;
}

.container {
    display: block;
    max-width: 1220px;
    padding: 0 50px;
    margin-left: auto;
    margin-right: auto;
}

.login-header {
    text-align: center;
}

.login-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 300;
    margin: 1rem 0;
}

.air-logo {
    max-width: 8rem;
}

.block-wave-bottom {
    position: absolute;
    bottom: 0;
    z-index: 2;
}

.login-content {
    position: relative;
    z-index: 100;
    margin-top: -16rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    max-width: 360px;
    padding: 2rem;
    border-radius: 12px;
    background: #ffffff;
    margin-left: auto;
    margin-right: auto;
    box-sizing: content-box;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.login-form .title {
    margin-top: 0;
}

.login-form .button {
    width: 100%;
}

.login-form .description {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.8;
    font-weight: 300;
}

.title {
    font-size: 3rem;
    line-height: 1;
    font-weight: 700;
    margin: 1rem 0;
}

.title_size_small {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.form-group {
    width: 100%;
    margin-bottom: 1.4rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group .title {
    font-size: 1.2rem;
    margin: 0 0 0.6rem;
}

.form-group .checkbox {
    margin-top: 0.8rem;
    font-weight: 300;
}

.input {
    background: #f4f4f4;
    border-radius: 6px;
    padding: 0.8rem 1.2rem;
    border: 1px solid #f4f4f4;
    transition: 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.input:hover {
    border: 1px solid #2798f0;
}

.input:focus {
    background: #ffffff;
    border: 1px solid #2798f0;
}

.button {
    display: inline-block;
    border: 2px solid #2798f0;
    background: #2798f0;
    color: #ffffff;
    width: auto;
    border-radius: 6px;
    font-weight: 500;
    font-family: "Museo Sans";
    font-size: 1.2rem;
    padding: 0.7rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

.button:hover {
    background: #00b66f;
    border-color: #00b66f;
}

.button_size_medium {
    padding: 0.6rem 2rem;
    font-size: 1rem;
    min-width: 0;
}

.button_bg_non-blue {
    border: 1px solid #2798f0;
    color: #2798f0;
    background: none;
}

.button_bg_non-blue:hover {
    background: #2798f0;
    color: #ffffff;
}

.form-links {
    margin: 3rem auto 0;
    font-weight: 300;
    max-width: 360px;
    line-height: 2;
    font-size: 0.9rem;
}

.form-links .link {
    color: #2798f0;
    padding: 0.2rem 0;
    transition: 0.3s;
}

.form-links .link:hover {
    border-bottom: 1px solid #2798f0;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin: 6rem 0 2rem;
    font-size: 0.9rem;
    color: #888;
}

.footer .copy {
    margin: 1.5rem 2rem 1.5rem 0;
    line-height: 1.8;
}

.footer .link {
    color: #888888;
    font-weight: 300;
    padding: 0.2rem 0;
    margin: 0.4rem;
}
.errors {
    border-left: 3px solid #ff453a;
    padding-left: 1.2rem;
    margin-bottom: 2rem;
}

.errors ul {
    padding: 0;
}

.errors ul li {
    list-style: none;
}

@media screen and (max-width: 640px) {
    .footer .link {
        color: #2798f0;
    }
}

@media screen and (min-width: 641px) {
    .footer .link {
        border-bottom: 1px solid #cccccc;
    }
    .footer .link:hover {
        color: #2798f0;
        border-bottom: 1px solid #2798f0;
    }
}

@media screen and (max-width: 400px) {
    .button {
        padding: 0.8rem 1rem;
        min-width: 6rem;
    }
}


@media screen and (max-width: 768px) {
    .login-content {
        margin-top: -20rem;
    }
}
