* {
  box-sizing: border-box;
}

@font-face {
  font-family: "Stolzl";
  src: url("../fonts/ofont.ru_Stolzl.ttf");
}
@font-face {
  font-family: "Stolzl-Medium";
  src: url("../fonts/11447.otf");
}
@font-face {
  font-family: "Stolzl-Light";
  src: url("../fonts/11450.otf");
}

@font-face {
  font-family: "Stolzl";
  src: url("../fonts/ofont.ru_Stolzl.ttf");
}

@font-face {
  font-family: "OpenSans-Regular";
  src: url("../fonts/OpenSans-Regular.ttf");
}

@font-face {
  font-family: "OpenSans-Light";
  src: url("../fonts/OpenSans-Light.ttf");
}

html {
  font-family: "Stolzl", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  color: #455175;
}

ul,
body {
  padding: 0;
  margin: 0;
}

ul {
  list-style: none;
}

a {
  color: #455175;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}

.download-btn {
  width: 130px;
  height: 50px;
  border-radius: 35px;
  background: #ff6c54;
  color: #ffffff;
  font-family: "OpenSans-Regular", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  border: 0;
  outline: none;
  cursor: pointer;
}

.download-btn:hover {
  text-decoration: none;
}

.download-btn img {
  display: none;
  margin-right: 15px;
}

.download-btn:hover {
  box-shadow: 0px 1px 6px rgba(51, 51, 51, 0.5);
}

.header-text {
  font-family: "Stolzl-Medium";
}

footer .container,
header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
}

nav {
  display: flex;
  align-items: center;
}

nav a + a {
  margin-left: 25px;
}

.home {
  background: url(../img/bg.jpg) no-repeat;
  background-size: cover;
  padding: 0;
}

.home .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 710px;
  font-family: "Stolzl-Light";
  font-size: 16px;
  line-height: 22px;
  position: relative;
}

.home .image {
  position: absolute;
  right: 0;
  top: 15px;
}

.home strong {
  font-family: "Stolzl-Medium";
  font-size: 24px;
  margin-top: 22px;
  font-weight: normal;
  display: block;
}

.home .header-text {
  font-family: "Stolzl-Medium";
  font-size: 60px;
  line-height: 60px;
  margin-top: 0;
}

.home ul {
  margin-top: 22px;
  margin-bottom: 22px;
}

.home ul li + li {
  margin-top: 10px;
}

.home ul li {
  position: relative;
  padding-left: 31px;
}

.home ul li:before {
  content: "";
  position: absolute;
  display: block;
  width: 15px;
  height: 3px;
  left: 0;
  top: 10px;
  background: #ff6c54;
}

.fns {
  position: relative;
  z-index: 1;
  background: #ffffffe0;
  padding: 15px;
  border-radius: 5px;
}

ul li + li {
  margin-top: 8px;
}

section {
  padding-top: 15px;
  padding-bottom: 15px;
}

section .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Stolzl-Light";
  font-size: 16px;
  line-height: 21px;
}

section .header-text {
  font-family: "Stolzl-Light";
  font-weight: normal;
  font-size: 48px;
  line-height: 48px;
  margin-top: 25px;
  margin-bottom: 25px;
}

section strong {
  font-family: "Stolzl-Medium";
  font-size: 18px;
  margin-top: 35px;
  margin-bottom: 22px;
  font-weight: normal;
  display: block;
}

section ul {
  margin-bottom: 20px;
}

section p {
  margin-bottom: 25px;
}

section .text {
  position: relative;
  z-index: 1;
  background: #ffffffe0;
  padding: 15px;
  border-radius: 5px;
  margin: 0 auto;
}

section .image {
  position: absolute;
  margin: 0;
  right: 0;
  top: 15px;
  margin-right: 0 !important;
  display: none;
}

.process-list .image {
  margin-left: -80px;
  margin-right: -15px;
  margin-bottom: -295px;
}

.process-log {
  position: relative;
  background: url(../img/bg.jpg) no-repeat;
  background-size: cover;
}

.process-log .image {
  margin-left: -110px;
  margin-bottom: -412px;
}

.process-hist {
  position: relative;
  background: #ffffff;
}

.process-hist .image {
  margin-left: -15px;
  margin-bottom: -162px;
}

footer {
  position: relative;
  background: #5b6c9d;
}

footer a {
  color: #ffffff;
}

.contact-page header {
  background: #5b6c9d;
}

.contact-page header a {
  color: #ffffff;
}

.contact .header-text {
  font-size: 30px;
  font-family: 'Stolzl-Medium';
  color: #455175;
}

textarea,
input {
  width: 100%;
  max-width: 351px;
  height: 53px;
  background: #ffffff;
  border: 0;
  box-shadow: 1px -1px 21px 0px rgba(0, 1, 1, 0.2);
  outline: 0;
  font-family: "OpenSans-Light";
  font-size: 16px;
  padding-left: 15px;
  outline: 0;
  font-family: "OpenSans-Light";
  font-size: 16px;
  padding-left: 15px;
}

input + input {
  margin-top: 20px;
}

input::placeholder {
  font-size: 16px;
  font-family: "OpenSans-Light";
}

.message-container {
  width: 100%;
}

.form {
  width: 100%;
}

form {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: 
  "Inputs"
  "Message"
  "Captcha";
  justify-content: space-between;
}

.input-fields {
  grid-area: Inputs;
  margin-bottom: 25px;
}

textarea {
  min-height: 200px;
  width: 100%;
  max-width: 100%;
  padding-top: 15px;
  grid-area: Message;
}
.captcha {
  grid-area: Captcha;
  margin-top: 25px;
}

.captcha img {
  margin-top: 15px;
  margin-bottom: 15px;
}

.captcha input {
  max-width: 223px;
  margin-bottom: 25px;
}

@media (min-width: 730px) {
  section .image {
    display: block;
  }
  section .text {
    margin: initial;
  }
  footer .container,
  header .container {
    display: flex;
    flex-direction: row;
  }
  .download-btn {
    width: 170px;
  }
  .download-btn img {
    display: block;
  }
  section {
    padding-top: 75px;
    padding-bottom: 75px;
  }
}

@media (min-width: 1000px) {
  .home .container {
    flex-direction: row;
  }

  .home .image {
    position: relative;
  }
  .fns {
    background: transparent;
    padding: 0;
    border-radius: 0;
  }
  section .image {
    position: relative;
  }
  section .text {
    background: transparent;
    padding: 0;
    border-radius: 0;
  }
  form {
    display: grid;
    grid-template-columns: 370px 1fr;
    grid-template-areas: 
    "Inputs Message"
    "Captcha Message";
    justify-content: space-between;
  }
}
