@charset "utf-8";

/* eb-garamond-regular - latin */
@font-face {
   font-display: swap;
   /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
   font-family: 'EB Garamond';
   font-style: normal;
   font-weight: 400;
   src: url('../fonts/eb-garamond-v33-latin-regular.eot');
   /* IE9 Compat Modes */
   src: url('../fonts/eb-garamond-v33-latin-regular.eot?#iefix') format('embedded-opentype'),
      /* IE6-IE8 */
      url('../fonts/eb-garamond-v33-latin-regular.woff2') format('woff2'),
      /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url('../fonts/eb-garamond-v33-latin-regular.woff') format('woff'),
      /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
      url('../fonts/eb-garamond-v33-latin-regular.ttf') format('truetype'),
      /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
      url('../fonts/eb-garamond-v33-latin-regular.svg#EBGaramond') format('svg');
   /* Legacy iOS */
}

/* eb-garamond-700 - latin */
@font-face {
   font-display: swap;
   /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
   font-family: 'EB Garamond';
   font-style: normal;
   font-weight: 700;
   src: url('../fonts/eb-garamond-v33-latin-700.eot');
   /* IE9 Compat Modes */
   src: url('../fonts/eb-garamond-v33-latin-700.eot?#iefix') format('embedded-opentype'),
      /* IE6-IE8 */
      url('../fonts/eb-garamond-v33-latin-700.woff2') format('woff2'),
      /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url('../fonts/eb-garamond-v33-latin-700.woff') format('woff'),
      /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
      url('../fonts/eb-garamond-v33-latin-700.ttf') format('truetype'),
      /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
      url('../fonts/eb-garamond-v33-latin-700.svg#EBGaramond') format('svg');
   /* Legacy iOS */
}

@font-face {
   font-display: swap;
   /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
   font-family: 'Roboto';
   font-style: normal;
   font-weight: 400;
   src: url('../fonts/roboto-v47-latin-regular.eot');
   /* IE9 Compat Modes */
   src: url('../fonts/roboto-v47-latin-regular.eot?#iefix') format('embedded-opentype'),
      /* IE6-IE8 */
      url('../fonts/roboto-v47-latin-regular.woff2') format('woff2'),
      /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url('../fonts/roboto-v47-latin-regular.woff') format('woff'),
      /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
      url('../fonts/roboto-v47-latin-regular.ttf') format('truetype'),
      /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
      url('../fonts/roboto-v47-latin-regular.svg#Roboto') format('svg');
   /* Legacy iOS */
}

@font-face {
   font-display: swap;
   /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
   font-family: 'Roboto';
   font-style: normal;
   font-weight: 700;
   src: url('../fonts/roboto-v47-latin-700.eot');
   /* IE9 Compat Modes */
   src: url('../fonts/roboto-v47-latin-700.eot?#iefix') format('embedded-opentype'),
      /* IE6-IE8 */
      url('../fonts/roboto-v47-latin-700.woff2') format('woff2'),
      /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url('../fonts/roboto-v47-latin-700.woff') format('woff'),
      /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
      url('../fonts/roboto-v47-latin-700.ttf') format('truetype'),
      /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
      url('../fonts/roboto-v47-latin-700.svg#Roboto') format('svg');
   /* Legacy iOS */
}

:root {
   font-size: 16px;
}

* {
   box-sizing: border-box;
   margin: 0;
}

html {
   min-height: 100%;
}

body {
   font: 0.938em/1.5em 'Roboto', Arial, sans-serif;
   color: #fff;
}

#wrapper {
   position: relative;
   margin: 1rem auto;
   overflow: hidden;
   max-width: 930px;
   border: solid 1px #000;
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
   align-items: end;
   padding: 0 2rem 1.3rem 0;
   background: #2E2D32 url('../images/bg.jpg') no-repeat right top;
}

p {
   padding-bottom: 1rem;
}

h1 {
   margin: 0rem 0rem 1rem;
   font-size: 5em;
   line-height: 1;
}

h1 small {
   font-size: 0.4em;
   display: block;
   line-height: 1;
}

h2 {
   font-size: 2.7em;
   line-height: 1.3;
}

h3 {
   font-size: 1.7em;
   line-height: 1.3;
}

h4 {
   font-size: 1em;
   line-height: 1.3;
}

h1,
h3 {
   font-family: 'EB Garamond', Arial, sans-serif;
}

h2,
h3,
h1 small {
   color: #C63241;
}

:is(a:link, a:visited, a:hover, a:active) {
   color: inherit;
   text-decoration: none;
}

.big {
   font-size: 1.313em;
   line-height: 1.3;
   border-bottom: 2px solid #6A6A6E;
   margin-bottom: 0.5rem;
}

.main {
   border-bottom: 1px solid #000;
   border-radius: 30px;
   border: 1px solid #C63241;
   padding: 1.5rem 1.5rem 0.5rem;
}

.content {
   padding: 2rem 2.5rem 33px;
   width: 660px;
}

header {
   padding: 0 0 1.5rem;
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
   align-items: center;
}

article {
   padding: 0;
}

.button {
   background: #2E2D32;
   border-radius: 20px;
   padding: 0.5rem 1rem;
   color: #fff;
   font-size: 1.125em;
   line-height: 1.3;
}

.flex {
   display: flex;
   flex-wrap: wrap;
   gap: 1.5rem;
}

section {
   width: 470px;
}

footer {
   padding: 2rem 0 0;
}

img {
   max-width: 100%;
   height: auto;
}

@media only screen and (max-width:929px) {
   #wrapper {
      border: none;
      margin: 0 auto;
      background-image: none;
      padding: 1rem;
   }

   h1 {
      font-size: 3em;
   }

   h2 {
      font-size: 2em;
   }

   .content {
      padding: 0;
      width: 100%;
   }

   .flex {
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 0;
   }

   p {
      text-align: left;
   }

   p :is(span, a) {
      display: inline-block;
   }

   .hide_m,.big br {
      display: none;
   }

   .button {
      background: #C23744;
   }

   h1 small {
      display: inline;
   }

   section {
      width: 100%;
   }
}
