@charset "utf-8";

/* roboto-slab-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: 'Roboto Slab';
   font-style: normal;
   font-weight: 400;
   src: url('../fonts/roboto-slab-v36-latin-regular.eot');
   /* IE9 Compat Modes */
   src: url('../fonts/roboto-slab-v36-latin-regular.eot?#iefix') format('embedded-opentype'),
      /* IE6-IE8 */
      url('../fonts/roboto-slab-v36-latin-regular.woff2') format('woff2'),
      /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url('../fonts/roboto-slab-v36-latin-regular.woff') format('woff'),
      /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
      url('../fonts/roboto-slab-v36-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-slab-v36-latin-regular.svg#RobotoSlab') format('svg');
   /* Legacy iOS */
}

/* roboto-slab-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: 'Roboto Slab';
   font-style: normal;
   font-weight: 700;
   src: url('../fonts/roboto-slab-v36-latin-700.eot');
   /* IE9 Compat Modes */
   src: url('../fonts/roboto-slab-v36-latin-700.eot?#iefix') format('embedded-opentype'),
      /* IE6-IE8 */
      url('../fonts/roboto-slab-v36-latin-700.woff2') format('woff2'),
      /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url('../fonts/roboto-slab-v36-latin-700.woff') format('woff'),
      /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
      url('../fonts/roboto-slab-v36-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-slab-v36-latin-700.svg#RobotoSlab') 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: 'Poppins';
   font-style: normal;
   font-weight: 400;
   src: url('../fonts/poppins-v22-latin-regular.eot');
   /* IE9 Compat Modes */
   src: url('../fonts/poppins-v22-latin-regular.eot?#iefix') format('embedded-opentype'),
      /* IE6-IE8 */
      url('../fonts/poppins-v22-latin-regular.woff2') format('woff2'),
      /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url('../fonts/poppins-v22-latin-regular.woff') format('woff'),
      /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
      url('../fonts/poppins-v22-latin-regular.ttf') format('truetype'),
      /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
      url('../fonts/poppins-v22-latin-regular.svg#Poppins') format('svg');
   /* Legacy iOS */
}

/* poppins-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: 'Poppins';
   font-style: normal;
   font-weight: 700;
   src: url('../fonts/poppins-v22-latin-700.eot');
   /* IE9 Compat Modes */
   src: url('../fonts/poppins-v22-latin-700.eot?#iefix') format('embedded-opentype'),
      /* IE6-IE8 */
      url('../fonts/poppins-v22-latin-700.woff2') format('woff2'),
      /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
      url('../fonts/poppins-v22-latin-700.woff') format('woff'),
      /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
      url('../fonts/poppins-v22-latin-700.ttf') format('truetype'),
      /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
      url('../fonts/poppins-v22-latin-700.svg#Poppins') format('svg');
   /* Legacy iOS */
}

:root {
   font-size: 16px;
}

* {
   box-sizing: border-box;
   margin: 0;
}

html {
   min-height: 100%;
}

body {
   color: #000;
   font: 400 1em/1.6em 'Poppins', Arial, sans-serif;
}

#wrapper {
   position: relative;
   max-width: 820px;
   margin: 1rem auto;
   border: 1px solid #000;
   background: url('../images/bgt.jpg') no-repeat left top, url('../images/bgb.jpg') no-repeat right bottom 10rem, #fff;
   overflow: hidden;
   padding: 2.5rem 2rem;
}

:is(h1, h2, h3, strong) {
   font-weight: 700;
   font-family: 'Roboto Slab', Arial, sans-serif;
}

.font {
   font-size: 1.45em;
   line-height: 1.3;
}

:is(a:link, a:visited, a:hover, a:active) {
   color: inherit;
   text-decoration: none;
}

p {
   padding-bottom: 0.5rem;
}

h1,
h2 {
   color: #6D6F71;
}

h1 {
   margin: 0 0 0.25rem;
   font-size: 3em;
   line-height: 1.1;
}

h1 span {
   display: block;
   color: #000;
   font-size: 0.7em;
}

h1 small {
   font-size: 0.5em;
   color: #000;
   display: block;
}

h2 {
   font-size: 1.25em;
   line-height: 1.3;
   margin-bottom: 0.125rem;
}

h3 {
   font-size: 2em;
   line-height: 1.3;
   margin-bottom: 0.25rem;
}

ul {
   padding: 0 0 1rem;
   list-style: none;
}

li {
   padding: 0 0 0 1.5rem;
   background: url('../images/icon_bg.jpg') no-repeat 0 4px;
}

img {
   max-width: 100%;
   height: auto;
   vertical-align: middle;
}

.flex {
   display: flex;
   justify-content: space-between;
}

.flex p {
   text-align: justify;
   margin-bottom: 1rem;
}

.left,
.right {
   width: 48%;
}

.let_spc {
   letter-spacing: -0.2px;
}

.left p:last-of-type {
   text-align-last: justify;
}

.res {
   display: none;
}

header {
   padding: 0 0 2.5rem;
   display: flex;
   justify-content: flex-end;
}

header figure {
   display: none;
}

.slider {
   position: relative;
   margin: 0 -2rem;
}

.slider>img {
   display: block;
   width: 100%;
   position: absolute;
   top: 0;
   left: 0;
   opacity: 0;
   animation: imageAnimation 18s linear infinite 0s;
}

.slider>img:nth-of-type(1) {
   position: static;
   opacity: 1;
}

.slider>img:nth-of-type(2) {
   animation-delay: 6s;
}

.slider>img:nth-of-type(3) {
   animation-delay: 12s;
}

@keyframes imageAnimation {
   4% {
      opacity: 1;
   }

   33% {
      opacity: 1;
   }

   38% {
      opacity: 0;
   }
}

footer {
   display: flex;
   justify-content: space-between;
   align-items: center;
   gap: 1rem;
}

footer div {
   flex: 1;
}

.apply {
   background: #C17619;
   color: #fff;
   text-align: center;
   border: 5px solid #C17619;
   width: 150px;
   height: 150px;
   border-radius: 50%;
   display: flex;
   justify-content: center;
   flex-direction: column;
   align-items: center;
   text-transform: uppercase;
   font-size: 1.188em;
   line-height: 1.3;
}

.small {
   font-size: 0.938em;
   line-height: 1.3;
   margin-right: -1rem;
}

figure {
   margin: 0;
}

@media only screen and (max-width:819px) {
   #wrapper {
      border: none;
      margin: 0 auto;
      background: #fff;
   }


   :is(p, li) {
      -moz-hyphens: auto;
      -webkit-hyphens: auto;
      -ms-hyphens: auto;
      hyphens: auto;
   }

   p a,
   span {
      display: inline-block;
   }

   .flex p {
      text-align: left;
   }

   h1 {
      font-size: 2.5em;
      text-align: center;
   }


   .small {
      margin-right: 0;
   }

   .hide_m {
      display: none;
   }

   .left p:last-of-type {
      text-align-last: left
   }

   header {
      display: flex;
      justify-content: center;
      flex-direction: column;
      align-items: center;
      gap: 1.5rem;
      padding-bottom: 1.5rem;
   }

   header figure {
      display: block;
   }

   br:not(.apply br) {
      display: none;
   }
}

@media only screen and (max-width:768px) {
   .flex {
      flex-direction: column;
      display: none;
   }

   .res {
      display: block;
   }
}

@media only screen and (max-width:480px) {
   #wrapper {
      padding: 1rem;
   }

   .slider {

      margin: 0 -1rem;
   }

   h1 {
      font-size: 2em;
   }

   footer {
      flex-direction: column;
      align-items: center;
   }
}
