:root {
  font-size: 16px;
}

@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/outfit-v15-latin-regular.eot');
  src: url('../fonts/outfit-v15-latin-regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/outfit-v15-latin-regular.woff2') format('woff2'),
    url('../fonts/outfit-v15-latin-regular.woff') format('woff'),
    url('../fonts/outfit-v15-latin-regular.ttf') format('truetype'),
    url('../fonts/outfit-v15-latin-regular.svg#Outfit') format('svg');
}

@font-face {
  font-display: swap;
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/outfit-v15-latin-700.eot');
  src: url('../fonts/outfit-v15-latin-700.eot?#iefix') format('embedded-opentype'),
    url('../fonts/outfit-v15-latin-700.woff2') format('woff2'),
    url('../fonts/outfit-v15-latin-700.woff') format('woff'),
    url('../fonts/outfit-v15-latin-700.ttf') format('truetype'),
    url('../fonts/outfit-v15-latin-700.svg#Outfit') format('svg');
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-size: 16px;
  line-height: 1.5;
  font-family: 'Outfit', Arial, sans-serif;
  color: #0D1F37;
  font-weight: 400;

}

#wrapper {
  position: relative;
  max-width: 910px;
  margin: 16px auto;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #777;
}

h1 {
  margin: 12px 0 37px;
  font-size: 46px;
  line-height: 1.25;
  font-weight: 700;
  font-family: 'Times New Roman', Times, serif;
  color: #0D1F37;
}

h1 span {
  font-family: 'Outfit', Arial, sans-serif;
  font-size: 25px;
  display: block;
  font-weight: 400;
}

h2 {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 12px;
}

h2::after {
  content: "";
  width: 44px;
  height: 2px;
  background-color: #BB995C;
  position: absolute;
  top: 30px;
  left: 0;
}

h4 {
  font-size: 17px;
  line-height: 22px;
  font-weight: 700;
  color: #C19E6C;
}

h3 {
  margin: 14px 0 10px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
}

h3 a {
  padding: 9px 28px;
  border-radius: 4px;
  background-color: #C1A273;
  color: #0C1E36 !important;
  display: inline-block;
}

p:not(:last-of-type) {
  margin-bottom: 16px;
}

header {
  position: absolute;
  top: 29px;
  left: 42px;
}

.title {
  position: absolute;
  top: 135px;
  left: 42px;
}

.border {
  border-right: 1px solid #fff;
}

article {
  margin: 0;
  padding: 0;
  font-size: 14px;
}

footer {
  padding: 9px 16px;
  border-top: 1px solid #DDDDDE;
  text-align: center;
  font-size: 17px;
  letter-spacing: 1px;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

ul {
  margin: 0 0 16px;
  list-style: none;
}

ul li {
  padding-left: 20px;
  margin-bottom: 4px;
}

ul li:before {
  content: "\2022";
  color: #000;
  float: left;
  margin-top: 1px;
  font-size: 22px;
  line-height: 1em;
  text-indent: -20px;
}

ul.iconlist li {
  padding-left: 28px;
  background: url('../images/icon.jpg') no-repeat 0 1px;
}

ul.iconlist li:before {
  display: none;
}

.border {
  border-right: 1px solid #fff;
}

:is(a:link, a:visited, a:hover, a:active) {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.icon {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 12px;
  padding: 16px 0;
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
  background-color: #0B1E35;
  margin-bottom: 16px;
}

.icon div {
  padding: 0 7px;
}

.icon strong {
  display: block;
  font-size: 13px;
}

.icon div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 5px;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 0 38px 0;
  font-size: 13px;
  line-height: 1.625;
}

.flex>div {
  width: 48%;
}

.mb {
  margin-bottom: 0;
}

.flex>div:nth-of-type(1) {
  padding: 16px 16px 16px 0;
}

.subtitle {
  margin-bottom: 0;
}

.flex>div:nth-of-type(2) {
  background-color: #F5F6FA;
  padding: 16px;
  width: 50%;
}

.margin {
  margin-bottom: 32px !important;
}

hr {
  margin: 20px 0;
  width: 96%;
}

.info {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 18px;
  font-size: 12px;
  margin-bottom: 8px;
}

.contact {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid #DFDEE2;
  border-bottom: 1px solid #DFDEE2;
  margin-top: 8px;
}

.contact>div {
  width: 50%;
}

.kontakt {
  margin-left: 26px;
  padding-left: 26px;
  border-left: 1px solid #E4E4E4;
  width: auto;
  flex: 1 1 0;
}

.flex1 {
  flex: 1 1 0;
}

.start {
  align-items: flex-start;
}

.background {
  background-color: #0A1E36;
  color: #fff;
  padding: 20px 19px 20px 45px;
  display: flex;
  justify-content: flex-start;
  gap: 22px;
  font-size: 12px;
}

.background p {
  margin-bottom: 0;
}

.background h2 {
  margin-bottom: 0;
  padding-bottom: 11px;
}

.background h2::after {
  top: 24px;
}

span {
  white-space: nowrap;
}

@media all and (max-width:910px) {
  #wrapper {
    margin: 0;
    border: none;
  }

  :is(p, ul) {
    hyphens: auto;
    text-wrap: pretty;
  }
}

@media all and (max-width:860px) {
  header {
    position: static;
    padding: 16px;
  }

  .title {
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 1);
  }
}

@media all and (max-width:767px) {
  .title {
    position: static;
    padding: 16px;
  }

  br {
    display: none;
  }

  .flex {
    margin: 0;
    flex-direction: column;
  }

  .flex>div {
    width: 100%;
  }

  .flex>div:nth-of-type(1) {
    padding: 16px;
  }

  .flex>div:nth-of-type(2) {
    padding: 16px;
    width: 100%;
  }

  .contact>div {
    width: 100%;
  }

  .kontakt {
    margin: 16px;
    padding-left: 16px;
  }

  .info>div:nth-of-type(2) {
    flex: 1 1 0;
  }

  .border {
    border: none;
  }

  h1 {
    font-size: 36px;
  }
}

@media all and (max-width:500px) {
  .background {
    background-color: #0A1E36;
    gap: 12px;
    padding: 16px;
  }
}