.container {
    max-width: 500px;
    margin: 50px auto;
    text-align: left;
    font-family: sans-serif;
}


.input1 {
    min-width: 800px;

    padding-top: 10px;


}

form {
    width: 500px;

    padding: 0px 0px 20px;
}


@media  only screen and (orientation: portrait) and (min-device-width: 360px) and (min-device-height: 640px) {
    .input {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: portrait) and (min-device-width: 411px) and (min-device-height: 731px) {
    .input {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: portrait) and (min-device-width: 411px) and (min-device-height: 823px) {
    .input {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: portrait) and (min-device-width: 320px) and (min-device-height: 568px) {
    .input {
        width: 400px;
        height: 25px;
    }
}

@media  only screen and (orientation: portrait) and (min-device-width: 375px) and (min-device-height: 667px) {
    .input {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: portrait) and (min-device-width: 414px) and (min-device-height: 736px) {
    .input {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: portrait) and (min-device-width: 375px) and (min-device-height: 812px) {
    .input {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: portrait) and (min-device-width: 768px) and (min-device-height: 1024px) {
    .input {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: portrait) and (min-device-width: 1024px) and (min-device-height: 1366px) {
    .input {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: portrait) and (min-device-width: 540px) and (min-device-height: 720px) {
    .input {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: portrait) and (min-device-width: 280px) and (min-device-height: 653px) {
    .input {
        width: 350px;
        height: 25px;
    }
}

@media  only screen and (orientation: landscape) and (min-device-width: 640px) and (min-device-height: 360px) {
    .input {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: landscape) and (min-device-width: 731px) and (min-device-height: 411px) {
    .input {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: landscape) and (min-device-width: 823px) and (min-device-height: 411px) {
    .input {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: landscape) and (min-device-width: 568px) and (min-device-height: 320px) {
    .input {
        width: 400px;
        height: 25px;
    }
}

@media  only screen and (orientation: landscape) and (min-device-width: 667px) and (min-device-height: 375px) {
    .input {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: landscape) and (min-device-width: 736px) and (min-device-height: 414px) {
    .input {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: landscape) and (min-device-width: 812px) and (min-device-height: 375px) {
    .input {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: landscape) and (min-device-width: 1024px) and (min-device-height: 768px) {
    .input {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: landscape) and (min-device-width: 1366px) and (min-device-height: 1024px) {
    .input {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: landscape) and (min-device-width: 720px) and (min-device-height: 540px) {
    .input {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: landscape) and (min-device-width: 653px) and (min-device-height: 280px) {
    .input {
        width: 400px;
        height: 25px;
    }
}

@media  only screen  and (min-device-width: 1200px) {
    .input {
        width: 400px;
        height: 25px;
    }
}




@media  only screen and (orientation: portrait) and (min-device-width: 360px) and (min-device-height: 640px) {
    .input2 {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: portrait) and (min-device-width: 411px) and (min-device-height: 731px) {
    .input2 {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: portrait) and (min-device-width: 411px) and (min-device-height: 823px) {
    .input2 {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: portrait) and (min-device-width: 320px) and (min-device-height: 568px) {
    .input2 {
        width: 400px;
        height: 25px;
    }
}

@media  only screen and (orientation: portrait) and (min-device-width: 375px) and (min-device-height: 667px) {
    .input2 {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: portrait) and (min-device-width: 414px) and (min-device-height: 736px) {
    .input2 {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: portrait) and (min-device-width: 375px) and (min-device-height: 812px) {
    .input2 {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: portrait) and (min-device-width: 768px) and (min-device-height: 1024px) {
    .input2 {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: portrait) and (min-device-width: 1024px) and (min-device-height: 1366px) {
    .input2 {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: portrait) and (min-device-width: 540px) and (min-device-height: 720px) {
    .input2 {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: portrait) and (min-device-width: 280px) and (min-device-height: 653px) {
    .input2 {
        width: 350px;
        height: 100px;
    }
}

@media  only screen and (orientation: landscape) and (min-device-width: 640px) and (min-device-height: 360px) {
    .input2 {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: landscape) and (min-device-width: 731px) and (min-device-height: 411px) {
    .input2 {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: landscape) and (min-device-width: 823px) and (min-device-height: 411px) {
    .input2 {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: landscape) and (min-device-width: 568px) and (min-device-height: 320px) {
    .input2 {
        width: 400px;
        height: 25px;
    }
}

@media  only screen and (orientation: landscape) and (min-device-width: 667px) and (min-device-height: 375px) {
    .input2 {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: landscape) and (min-device-width: 736px) and (min-device-height: 414px) {
    .input2 {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: landscape) and (min-device-width: 812px) and (min-device-height: 375px) {
    .input2 {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: landscape) and (min-device-width: 1024px) and (min-device-height: 768px) {
    .input2 {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: landscape) and (min-device-width: 1366px) and (min-device-height: 1024px) {
    .input2 {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: landscape) and (min-device-width: 720px) and (min-device-height: 540px) {
    .input2 {
        width: 400px;
        height: 25px;
    }
}
@media  only screen and (orientation: landscape) and (min-device-width: 653px) and (min-device-height: 280px) {
    .input2 {
        width: 400px;
        height: 160px;
    }
}

@media  only screen  and (min-device-width: 1200px) {
    .input2 {
        width: 400px;
        height: 160px;
    }
}




.form-control:focus {
    border-color: #000;
    box-shadow: none;
}

button .in1 {
    width: 400px;
    color: blue;
}

label {
    font-weight: 600;
}

.error {
    color: red;
    font-weight: 400;
    display: block;
    padding: 6px 0;
    font-size: 14px;
}

.form-control.error {
    border-color: red;
    padding: .375rem .75rem;
}
