* {
     box-sizing: border-box;
 }
 
 body {
     background: #F9F9F9;
     margin: 0;
 }
 
 main {
     /*flex: 1;  /* если содержимое body меньше высоты окна, то main будет растянут до нужной величины */
     margin-top: 30px;
     width: 100%;
     align-content: center;
 }
 
 #navbar {
     overflow: hidden;
     background-color: #6E90AD;
     padding: 2.5% 1.5%;
     transition: 0.4s;
     position: fixed;
     top: 0;
     z-index: 96;
     max-height: 100px;
     width: 100vw;
     height: 8%;
 }
 
 #navbar a {
     color: #ffffff;
     text-align: right;
     padding: 0.5vw 0.7vh;
     margin: 0.3vw;
     font-size: 1.1vw;
     text-decoration: none;
     line-height: 15px;
     border-radius: 4px;
     height: auto;
 }
 
 #logo {
     width: 35px;
     height: auto;
     transition: 0.4s;
 }
 
 #navbar a:hover {
     color: #FED383;
 }
 
 #navbar a.active {
     background-color: #536f87;
     color: white;
 }
 
 #navbar-right {
     display: inline;
     justify-content: space-between;
     float: right;
     /*width: 10%; */
     margin-left: 0.5vw;
 }
 
 @media screen and (max-width: 320px) {
     #navbar {
  position: absolute;
  padding: 1.5% 0% !important;
     }
     #navbar a {
  float: none;
  display: flex;
  text-align: right;
     }
     #navbar-right {
  float: right;
  align-self: right;
  align-content: right;
     }
 }
 
 .mainContainer {
     min-width: 850px;
     min-height: 700px;
     margin: 0% auto;
     align-items: center;
     border: 0;
     margin-bottom: 3%;
     margin-left: 5%;
     margin-right: 5%;
     width: 90%;
     height: 90%;
 }
 
 #sidebar {
     float: right;
     width: 10px;
 }
 
 #content {
     float: left;
     width: 85%;
     overflow: hidden;
 }
 
 .footer {
     left: 0;
     position: reltive;
     bottom: 0;
     width: 100%;
     background-color: #F9F9F9;
     color: #3b566e;
     text-align: center;
 }
 
 h1 {
     font-family: 'Merriweather', serif;
     font-size: 45px;
     letter-spacing: 1px;
     /*max-width: 600px;*/
     width: 100%;
     display: inline-block;
     color: #3b566e;
     text-align: center;
     align-self: center;
 }
 
 h2 {
     font-family: 'Merweather', serif;
     font-size: 30px;
     letter-spacing: 1px;
     /*max-width: 620px;*/
     width: 100%;
     display: inline-block;
     color: #3b566e;
     text-align: center;
     align-self: center;
     margin: 1%;
 }
 
 .results h2 {
     width: 20%;
     position: center;
     margin-left: 30%;
     margin-top: 10%;
     min-height: 20px;
     padding: 19px;
     margin-bottom: 20px;
     border: 1px solid #e3e3e3;
     text-align: center;
     text-decoration-color: grey;
 }
 
 h3 {
     font-family: 'Merweather', serif;
     font-size: 20px;
     letter-spacing: 1px;
     width: 95%;
     display: inline-block;
     color: #3b566e;
     text-align: center;
     align-self: center;
     margin: 1%;
 }
 
 .our_text_style p {
     text-decoration-color: #7A7B82;
     color: #3b566e;
     font-family: 'Merweather', serif;
     letter-spacing: 0.5px;
 }
 
 .d4 h1 {
     padding-bottom: 10px;
     border-bottom: 2px solid #FED383;
 }
 
 .d4 h1:after {
     content: "";
     position: absolute;
     bottom: -6px;
     left: 0;
     width: auto;
     max-width: 20%;
     height: 4px;
     background: #F9F9F9;
 }
 
 .d2 h1 {
     text-align: center;
 }
 
 .d2 h1:before {
     content: "";
     position: absolute;
     top: calc(13% - 5px);
     left: 0;
     right: 0;
     height: 10px;
     border-top: 4px solid #FED383;
     border-bottom: 4px solid #FED383;
     z-index: -1;
 }
 
 .d1 span {
     background: #F9F9F9;
     padding: 0 20px;
 }
 
 .dss-button {
     background-color: #D8E6F3;
     border: none;
     border-radius: 10px;
     color: #6E90AD;
     padding: 8px 16px;
     text-align: center;
     text-decoration: none;
     display: inline-block;
     font-size: 16px;
     margin: 4px 2px;
     -webkit-transition-duration: 0.4s;
     /* Safari */
     transition-duration: 0.4s;
     cursor: pointer;
 }
 
 .dss-button-right {
     background-color: #D8E6F3;
     border: none;
     border-radius: 10px;
     color: #6E90AD;
     padding: 8px 16px;
     text-align: center;
     text-decoration: none;
     display: inline-block;
     font-size: 16px;
     margin: 4px 2px;
     -webkit-transition-duration: 0.4s;
     /* Safari */
     transition-duration: 0.4s;
     cursor: pointer;
     float: right;
     z-index: 90;
 }
 
 .dss-button:hover {
     background-color: #6E90AD;
     color: #D8E6F3;
 }
 
 .dss-button-right:hover {
     background-color: #6E90AD;
     color: #D8E6F3;
 }
 
 .shadowy-form {
     position: relative;
     z-index: 1;
     background: #d8e6f3;
     max-width: 700px;
     margin: 0 auto 100px;
     padding: 45px;
     text-align: center;
     box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
 }
 
 .shadowy-form_table {
     border: 2px white;
     background-color: #d6eafc;
     text-decoration-color: #536f87;
     font-size: 15px;
     border-collapse: collapse;
 }
 
 .form-header {
     font-size: 24px;
     color: #6E90AD;
     text-align: center;
 }
 
 .form-field {
     width: 90%;
     margin: 1px;
     margin-bottom: 4px;
     align-self: left;
 }
 
 .form-title {
     font-size: 16px;
     text-align: left;
     width: 80%;
     margin-left: 8%;
     color: #6E90AD;
 }

 @media screen and (max-width: 768px) {
	.mainContainer {
		min-width: 767px;
		margin: 0 auto;
		padding: 1px;
	}
}

@media screen and (max-width: 512px) {
	.mainContainer {
		min-width: 510px;
	}
}

@media screen and (max-width: 414px) {
	.mainContainer {
		min-width: 413px;
    	}
}

@media screen and (max-width: 375px) {
	.mainContainer {
		min-width: 375px;

	}
}