@media screen and (max-width: 1200px) {form {grid-gap: 20px 25px;}
}
@media screen and (max-width: 990px) {form {width: 90%;}
h1{font-size: 52px;}
header{margin: 20px 0;}
header .container{-ms-flex-wrap: wrap;flex-wrap: wrap;text-align:center;font-size: 16px;}
.with-border {width: 100%;max-width: unset;border:unset;padding: 5px 0;}
header img{width: 200px;-webkit-box-ordinal-group: 0;-ms-flex-order: -1;order: -1;margin:0 auto 10px;}
.with-border.right {text-align: inherit;}
}
@media screen and (max-width: 800px) {form {width: 90%;-ms-grid-columns: 1fr;grid-template-columns: 1fr;grid-template-areas: 'fio' 'tel' 'email' 'message' 'politics' 'submit-btn';margin: auto;}
.submit-btn{-ms-grid-column-align: center;justify-self: center;}
p.politics{text-align: center;}
.white-bubble{font-size: 18px;}
footer .container{-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-flow: column;flex-flow: column;padding: 15px 0;}
footer p {margin: 5px;}
footer p:first-of-type {padding: 0 30px;}
h1{font-size: 48px;}
.white-bubble{margin-bottom: 75px;}
header img{width: 170px;}
}
@media screen and (max-width: 640px) {h1{font-size: 44px;}
}
@media screen and (max-width: 480px) {form {width: 100%;grid-gap:15px;}
.white-bubble{padding: 20px 30px;margin-bottom: 60px;font-size: 17px;}
.white-bubble p{margin-bottom: 20px;}
p.politics{margin: 0;font-size: 11px;}
footer p:first-of-type {padding: 0;}
footer p{font-size: 13px;}
h1{font-size: 38px;}
header img {width: 140px;}
header .container{font-size: 14px;}
.with-border{padding: 2px 0;}
}
@media screen and (max-width: 380px){.white-bubble{font-size: 16px;margin-bottom: 50px;}
.form-title{font-size: 25px;}
h1{font-size: 33px;}
}
@media screen and (max-width: 350px) {
h1{font-size: 30px;}
.white-bubble{margin-bottom: 40px;}
header img {width: 120px;}
}
@media screen and (max-width: 320px){.form-title{font-size: 24px;}
.submit-btn{padding: 11px 35px;}
h1{font-size: 28px;}
.white-bubble{font-size: 15px;}
}