@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    color: #212529;
    font: 1em/1.5 'Arial', sans-serif;
    background: #EBEBEB;
}
img {
    max-width: 100%;
    height: auto;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    overflow: hidden;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
p {
    margin: 0 0 0.625rem;
}
p span {
    white-space: nowrap
}
h1 {
    font-size: 1.375rem;
    margin: 0 0 1rem;
    line-height: 1.2;
}
h1 span {
    font-weight: 400
}
h2 {
    font-size: 1.812rem;
    line-height: 1.1;
    margin: 0 0 1rem
}
h2 span {
    font-weight: 400;
}
h3 {
    font-size: 1.187rem;
    margin-bottom: 0.625rem;
    color: #e00200
}
h4 {
    margin: 0 0 0.625rem;
    font-size: 1rem;
}
ul {
    list-style: none;
    margin: 0 0 .312rem;
    padding: 0;
}
ul li {
    padding-left: 1.125rem;
}
ul li:before {
    content: "\25a0";
    float: left;
    margin-left: -1.125rem;
    font-size: 0.635em;
    line-height: 2.1;
    color: #e00200
}
header {
    padding: 2rem 2rem 1rem;
    background: #fff;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 2rem
}
header i {
    width: 1.125rem
}
.head {
    width: 70%;
}
.logo {
    width: auto;
}
.details {
    display: flex;
    align-items: flex-start;
    column-gap: 1.25rem;
    flex-direction: column
}
.margin {
    margin: 0 0 2rem
}
@-webkit-keyframes slidy {
0% { left: 0%; }
16.6% { left: 0%; }
33.2% { left: -100%; }
49.8% { left: -100%; }
66.4% { left: -200%; }
83% { left: -200%; }
100% { left: -300%; }
}

@keyframes slidy {
0% { left: 0%; }
16.6% { left: 0%; }
33.2% { left: -100%; }
49.8% { left: -100%; }
66.4% { left: -200%; }
83% { left: -200%; }
100% { left: -300%; }
}
.slider { overflow: hidden; }
.slider figure img { width: 25%; float: left; }
.slider figure { 
  position: relative;
  width:400%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  -webkit-animation-name:slidy;
  -webkit-animation-duration: 15s;
  -webkit-animation-delay: 5s;
  -webkit-animation-iteration-count: infinite;
  animation: 15s slidy infinite; 
}
.kontakt {
    display: flex;
    align-items: flex-start;
    padding: 1.875rem 1.25rem 1.25rem;
}
.kontakt .aside {
    width: 50%
}
.benefits {
    display: flex;
    column-gap: 1.25rem;
    align-items: flex-start;
}
.benefits section {
    padding: 0
}
.aside {
    display: flex;
    column-gap: 1.562rem;
    align-items: flex-start;
}
.red {
    color: #FF0000
}
.kontakt > .aside:nth-child(2) {
    justify-content: center
}
a.apply {
    background: #7c7a77;
    font-size: 1.1rem;
    text-align: center;
    color: #fff;
    border: solid 0.125rem #7c7a77;
    padding: 0.7rem 2rem;
    display: block;
    width: 14.375rem;
    margin: 2rem auto 1rem;
}
a.apply:hover {
    background: #fff;
    color: #7c7a77;
    border: solid 0.125rem #7c7a77;
}
section,
footer {
    margin: 0 0 0.5rem;
    padding: 1rem 1.5rem;
    background: #fff;
}
footer {
    text-align: center;
    margin-top: .5rem
}
footer p {
    margin: 0
}
section i {
    font-size: 3rem;
}
.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 1.875rem;
    height: 0;
    overflow: hidden;
    margin: 0 0 .5rem;
}
.iframe-wrapper iframe {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
@media only screen and (max-width: 49.799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }
    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    ul li:before {
        line-height: 2.2;
    }
    h1 {
        margin: 0 0 0.625rem;
    }
    h2 {
        font-size: 1.562rem;
    }
    header,
    .kontakt,
    section,
    footer {
        padding: 1rem;
    }
    .details p:last-of-type {
        margin: 0;
    }
    .margin {
        margin: 0 0 1rem;
    }
    .aside {
        column-gap: 1.25rem;
    }
    .kontakt > .aside:nth-child(2) {
        padding-right: 0;
    }
    a.apply {
        margin: 1rem auto;
    }
}
@media only screen and (max-width: 45.625rem) {
    header {
        flex-direction: column;
        align-items: center;
        column-gap: 0.625rem
    }
    .head {
        width: 100%;
    }
    .logo {
        width: auto;
        margin: 0 0 0.625rem;
    }
    header p, h1 {
        text-align: center;
    }
    h1 {
        margin: 0 0 1rem;
    }
    h3 {
        margin: 0 0 .312rem
    }
    .details {
        align-items: center;
        justify-content: center
    }
}
@media only screen and (max-width: 40.625rem) {
    h2 {
        font-size: 1.5rem;
        line-height: 1.3
    }
    h2 span {
        font-size: 1.2rem
    }
    .benefits {
        flex-direction: column;
        align-items: center
    }
    .benefits i {
        margin: 0 0 0.625rem;
        width: auto
    }
    .kontakt, .aside {
        flex-direction: column;
    }
    .kontakt,
    .aside {
        align-items: center
    }
    .aside {
        gap: .5rem;
    }
    .aside:first-child {
        margin: 0 0 1rem
    }
    :is(.kontakt, .benefits) :is(p, h4) {
        text-align: center
    }
}
@media only screen and (max-width: 30rem) {
    #wrapper {
        padding: .5rem;
    }
    h3 {
        font-size: 1.09rem;
    }
    section, footer {
        padding: 0.75rem;
    }
}
@media only screen and (max-width: 23.437rem) {
    a.apply {
        width: 100%
    }
}