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

body {
    color: #000;
    font-size: 16px;
    font-family: Brown, sans-serif;
}

*, :after, :before, html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 29px;
}

.form-title {
    font-size: 25px;
    line-height: 1.2;
    font-weight: normal;
}

@media screen and (min-width: 768px) {
    .form-title {
        font-size: 30px;
        line-height: 1;
    }
}

.form-required {
    font-size: 8px;
    line-height: 1.25;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

@media screen and (min-width: 768px) {
    .form-required {
        font-size: 10px;
        line-height: 1.5;
        letter-spacing: 2px;
    }
}

.form-row.has-value .label {
    top: 0;
}

.form-row.error .input-info, .form-row.success .input-info, .form-row.has-value .input-info {
    display: none;
}

.form-row.error .form-input::before, .form-row.success .form-input::before {
    content: '';
    position: absolute;
    display: block;
    top: 30px;
    right: 0;
    font-size: 16px;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

.form-row.error .form-input::before {
    content: '\2715';
    color: #da2b2b;
}

.form-row.success .form-input::before {
    content: '\2713';
    color: #1f8118;
}

.form-row.error .input {
    border-bottom-color: #da2b2b;
}

.form-row.error .field__error {
    color: #da2b2b;
    font-size: 11px;
    margin: 5px 0 0;
}

.form-row.success .input {
    border-bottom-color: #1f8118;
}

.form-row.success .field__success {
    color: #1f8118;
    font-size: 11px;
    margin: 5px 0 0;
}

.form-input {
    position: relative;
    display: block;
    padding-top: 30px;
}

.app-by .label {
    position: absolute;
    top: 30px;
    left: 0;
    color: #707070;
    font-size: 14px;
    line-height: 2.14;
    pointer-events: none;
    transition: top .4s ease-in-out;
}

.app-by textarea:focus, .app-by input:focus{
    outline: none;
}

.app-by .input {
    width: 100%;
    padding: 0 35px 10px 0;
    border: 0;
    border-bottom: 1px solid #939393;
}

.app-by .input:focus + .label {
    top: 0;
}

.input-info {
    color: #707070;
    font-size: 11px;
    margin: 5px 0 0;
}

.form-conditions {
    margin: 30px 0 0;
    color: #000000;
    font-size: 14px;
    line-height: 2.14;
}

.form-conditions a {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    text-decoration: underline;
}

.app-by .by-form-button {
    width: 270px;
    margin-top: 50px;
}