@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background: #fff;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 .625rem rgb(0 0 0 / 20%);
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 1rem;
}

p span {
    white-space: nowrap
}

h1 {
    color: #f0a000;
    font-size: clamp(1.25rem, 1.1397rem + 0.4706vw, 1.375rem);
    line-height: 1.1;
    margin: 0 0 1.25rem;
    font-weight: 700;
}

h2 {
    font-size: clamp(1.375rem, 1.2647rem + 0.4706vw, 1.5rem);
    line-height: 1.1;
    color: #f0a000;
    margin: 0 0 0.25rem;
    font-weight: 700;
        text-align: center;
}

h3 {
    font-size: clamp(1.18rem, 1.0635rem + 0.4969vw, 1.312rem);
    line-height: 1.3;
    color: #000;
    margin: 0 0 1rem;
    font-weight: 700;
}

h4 {
    text-align: center;
    margin: 24px 0;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(0.938rem, 0.6627rem + 1.1746vw, 1.25rem);
}

h5 {
    text-align: center;
    font-size: 20px;
    color: #1F497D;
    margin: 0 0 16px
}

ul {
    margin: 0 0 1rem 1rem;
}

header,
article,
footer,
.box {
    position: relative;
    display: block;
    padding: 0 2.375rem;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row-reverse
}

.details .link_top {
    font-size: 1.062rem;
    line-height: 1.231;
    margin: 1.25rem 0;
    color: #032F7B;
    display: inline-block;
    font-weight: bold;
}

.link_top span {
    color: #f0a000;
}

.details {
    margin: 0;
    padding: 0;
    width: 59%;
}

header i {
    color: #f0a000;
}

.box {
    margin: 1.875rem 0 1.5rem;
    position: relative;
}

.box img {
    display: block;
    padding: 0 0 1.5rem;
}

.box p {
    text-align: center;
    margin: 0;
    padding: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
}

.box p:nth-of-type(1) {
    padding: 0;
    margin: 0;
}

.box > img {
    margin: 0 auto;
}

.section {
    display: inline-block;
    width: 100%;
    padding: 0 1rem;
    margin: 0 0 1rem;
}

.aside {
    display: inline-block;
    width: 100%;
    padding: 0 1rem;
    margin: 0 0 1rem;
}

.element {
    display: block;
    position: relative;
    padding: 0 0 2rem;
}

.logo_bottom {
    position: absolute;
    right: 1.25rem;
    bottom: 8.125rem;
    display: block;
}

.width {
    width: 57%;
}

a.apply {
    background: #f0a000;
    color: #000000;
    padding: .625rem;
    display: block;
    width: fit-content;
    margin: 3.125rem auto 0;
    font-weight: bold;
    text-align: center;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 1.875rem;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

footer {
    margin: 1.25rem 2.375rem 2rem;
    padding: 1rem;
}

footer p {
    margin: 0;
    text-align: center;
}

.slider {
    position: relative;
}

.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;
    }
}

@media only screen and (max-width: 799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    h1,
    h2 {
        margin: 0 0 1rem;
        text-align: center;
    }

    h4 {
        margin: 24px 10px
    }

    header {
        flex-direction: column;
        align-items: center;
    }

    .details {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    :is(h1, .link_top, .details p) {
        text-align: center;
    }

    header,
    article,
    footer,
    .box {
        padding: 0 1rem;
    }

    .box {
        margin: 1rem 0;
    }

    .box img {
        padding: 0 0 1rem;
    }

    .box p,
    footer {
        padding: 1rem;
    }

    .section,
    .aside {
        margin: 0;
    }

    .element {
        padding: 0 0 1rem;
    }

    .logo_bottom {
        position: static;
        display: flex;
        justify-content: center;
    }

    .width {
        width: 100%;
    }

    a.apply {
        margin: 1rem auto 0;
    }
}

@media only screen and (max-width: 750px) {
    .logo_bottom {
        position: static;
        display: flex;
        justify-content: center
    }
}

@media only screen and (max-width: 600px) {
    #wrapper {
        padding: 0;
    }

    header {
        padding: 1rem 1rem 0;
    }

    footer {
        margin: 0;
    }

    article {
        padding: 0;
    }

    .box p {
        font-size: 1.125rem;
    }

    .box p:first-of-type {
        margin: 0 1rem;
    }
}

@media only screen and (max-width: 376px) {
    a.apply {
        width: 100%;
    }
}
