@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

* {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.42857143;
    font-weight: 400;
}

body {
    margin: 0;
    width: 100%;
    background: url("img/1536х2160-min.jpg") no-repeat center center fixed;
    background-size: cover;
}

.content {
    width: 340px;
    min-height: 650px;
    max-height: content-box;
    background-color: #f9f9f9;
    margin: 30px auto auto;
    padding: 30px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

input {
    border-radius: 4px;
    border: 1px solid #9f9f9f;
    background: #fff;
    padding: 10px 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.sendButton,
.comeBackButton {
    cursor: pointer;
    background: #2b2a29;
    border: 1px solid #2b2a29;
    color: #fff;
    border-radius: 4px;
    text-transform: none;
    padding: 10px 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 17px;
    text-decoration: none;
    letter-spacing: normal;
    margin-top: 30px;
    width: 45%;
    margin-left: auto;
    margin-right: auto;
}

.form, h1, input {
    width: 100%;
}

h1,
#successfulMessage {
    margin: 0 0 50px;
    text-align: center;
    font-size: 24px;
    color: #000;
    font-weight: 300;
}
#successfulMessage {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    margin: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.successfulMessage__wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
    margin: auto 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.errorMessage {
    color: red;
    margin-top: -10px;
    margin-bottom: 10px;
    font-size: 14px;
    display: block;
    width: 100%;
}

#barcode {
    letter-spacing: 10px;
}

label {
    font-size: 17px;
    margin-top: 20px;
}

input::-webkit-input-placeholder {
    font-size: 14px;
}

input::-moz-placeholder {
    font-size: 14px;
}

input:-ms-input-placeholder {
    font-size: 14px;
}

input::-ms-input-placeholder {
    font-size: 14px;
}

input, input::placeholder {
    font-size: 14px;
}

.logo {
    width: 300px;
    height: 36px;
}

.content a {
    width: 100%;
    height: 65px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.successfulMessage__wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;

}
.comeBackButton {
    display: none;
}

@media screen and (min-width: 769px) {
    html{
        height: 100%;
    }
    body{
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    body {
        background: url("img/3840х2160-min.jpg") no-repeat center center fixed;
        background-size: cover;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }
    .content {
        width: 680px;
        margin: auto;
    }
    .form, h1, input, .input__wrap {

        margin-left: auto;
        margin-right: auto;
    }
    .form, .input__wrap {
        width: 70%;

    }
    .comeBackButton {
        width: 195.3px;
    }
}
