@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    font-family: "Arial", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: #000 url(../images/bg.jpg) top center no-repeat;

}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 800px;
    margin: 16px auto;
    overflow: hidden;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: underline dotted 1px;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
    color: #333;
}

p {
    margin: 0 0 10px;
}

span {
    white-space: nowrap
}

h1 {
    font-size: 27px;
    margin: 0;
    color: #a18d62;
}

h2 {
    font-size: 28px;
    margin: 32px 0 20px;
    line-height: 1.2;
}

h2 span {
    font-size: 18px;
    font-weight: normal
}

h3 {
    font-size: 18.992px;
    margin: 16px 0 0;
    padding: 12px 26px 12px 26px;
    color: #a18d62;
    background-color: #e6e6e6;
}

h4 {
    font-size: 19.2px;
    margin: 24.992px 0 8px;
}

ul {
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
}

ul li {
    padding-left: 22px;
}


ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.375rem;
    font-size: 1.5em;
    line-height: 1;
}

header {
    padding: 19.2px 32px 12.8px;
    background: #fff;
    margin-bottom: 16px;
}

.slider {
    position: relative;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.125);
    box-shadow: 0 0 26px rgba(0, 0, 0, 0.125);
    margin-bottom: 16px;
}

.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;
    }
}

.section {
    margin: 0 0 8px;
    padding: 16px 24px;
    background: #fff;
}

footer {
    margin-top: 8px;
}

footer p {
    margin: 0;
    text-align: center
}

a.apply {
    background: #fff;
    font-size: 17px;
    text-align: center;
    color: #333;
    border: solid 2px #fff;
    border-radius: 5px;
    padding: 9px 30px;
    display: block;
    width: 330px;
    margin: 32px auto 16px;
    text-decoration: none;
    transition: all 0.5s;
    font-weight: 600;
}

a.apply:hover {
    background-color: transparent;
    color: #fff;
    opacity: 0.62;

}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 1.875rem;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe,
.iframe-wrapper object,
.iframe-wrapper embed {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 10px;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 16px
    }

    body {
        background: #000;
    }

    h1 {
        font-size: 22px;
    }

    h2 {
        margin-bottom: 16px;
    }

    h2+p {
        margin: 0
    }

    h3 {
        margin-top: 10px;
        padding: 12px 16px;
    }

    .slider {
        margin-bottom: 10px;
    }

    header {
        margin: 0 0 10px;
        display: flex;
        justify-content: center;
    }

    .section {
        padding: 16px;
    }

    a.apply {
        margin: 16px auto;
    }
}

@media only screen and (max-width: 780px) {
    h2 {
        font-size: 24px;
    }

    h4 {
        margin-top: 0
    }

}

@media only screen and (max-width: 710px) {

    h2 {
        font-size: 22px;
    }

}