@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #535353;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.431em;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    border: none;
    background-color: #fff;
    overflow: hidden;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

h1 {
    color: #778084;
    font-size: 1.9375rem;
    line-height: 1.1;
    margin: 1.5625rem 0;
}

span {
   white-space: nowrap;
}

h2 {
    font-size: 1.0625rem;
    line-height: 1.1;
    margin: 1rem 0 0
}

p {
    margin: 0 0 1rem;
}

hr {
    width: 3.125rem;
    border: 0;
    height: 0.375rem;
    background: #FFBD00;
    display: inline-block;
    margin: 0.5rem 0 1.25rem;
}

ul {
    margin: 0 0 1.25rem;
}

ul li {
    padding-left: 2rem;
    list-style-type: none;
}

ul li:before {
    content: "\25A0";
    color: #FFBD00;
    float: left;
    line-height: 1.2;
    margin-left: -0.937rem;
    font-size: 0.875rem;
}

header {
    padding: 1.5rem 1.188rem;
    background-color: #EEE;
    margin: 0 1.188rem;
    display: flex;
    justify-content: end;
}

.slider {
    position: relative;
    margin-bottom: 1rem;
}

.slider>img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 12s linear infinite 0s;
}

.slider>img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider>img:nth-of-type(2) {
    animation-delay: 6s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    55% {
        opacity: 0;
    }
}

article {
    padding: 0 1.187rem 1rem;
}

footer {
    padding: 1.875rem 1.188rem 1rem;
    background-color: #ECEEEF;
    margin: 0 1.188rem;
    font-weight: bold;
}

a.apply {
    width: 12.5rem;
    line-height: 2.5rem;
    display: block;
    text-align: center;
    background: #FFBD00;
    margin: 2rem 0;
    color: #fff;
    font-weight: bold;
}

a.apply:hover {
    background-color: #EAAF00;
    text-decoration: none;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 1.875rem;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width:49.937rem) {
    #wrapper {
        border: none;
        margin: 1rem auto;
        padding: 0 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem;
    }

    header,
    footer {
        padding: 1rem;
        margin: 0;
    }

    header {
        justify-content: center;
    }

    article {
        padding: 0 0 1rem;
    }

    hr {
        margin: 0.625rem 0;
    }

    h1 {
        font-size: 1.625rem;
    }

    a.apply {
        margin: 1.25rem 0;
    }
}

@media only screen and (max-width:40rem) {
    ul li {
        padding-left: 1rem;
    }
}

@media only screen and (max-width:23.5rem) {
    a.apply {
        width: 100%;
    }
}