@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #575656;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: .5rem 0;
}

p span {
    white-space: nowrap;
}

.details p {
    margin: 0;
}

h1 {
    font-size: 1.375rem;
    line-height: 120%;
    margin: 2rem 0 1rem;
}

h2 {
    font-size: 1.1rem;
    line-height: 120%;
    margin: 0 0 1rem;
    width: 55%;
}

h3 {
    font-size: 1.2rem;
    color: #52a5d9;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: .5rem;
}

ul {
    list-style: none;
    margin: .5rem 0 0 0;
    padding: 0;
}

ul li {
    padding-left: 1rem
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -15px;
    color: #52a5d9;
    font-size: 20px;
    line-height: 1;
}

header {
    background: #fff;
    padding: 2rem 2rem .5rem;
    margin-bottom: .5rem;
}

.flex {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 1rem;
}

.scheme_detail_data {
    width: 50%;
}

.scheme-additional-data {
    list-style: none;
    padding: 0
}

.scheme-additional-data li {
    padding: 0
}

.scheme-additional-data li:before {
    content: none
}

ul.scheme-additional-data :is(.fas, .far) {
    margin-right: 10px;
}

.slider {
    position: relative;
}

.slider>img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 30s 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;
}

.slider>img:nth-of-type(4) {
    animation-delay: 18s;
}

.slider>img:nth-of-type(5) {
    animation-delay: 24s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    20% {
        opacity: 1;
    }

    25% {
        opacity: 0;
    }
}

section {
    background: #cfe6f5;
    margin: 0 0 .5rem;
    padding: 1rem 1.5rem;
}

.blau {
    background: #52a5d9;
}

.col-2 {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
}

.fa-solid {
    font-size: 3.2rem;
    font-weight: 900;
}

.col-2-inner {
    width: 50%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.5rem;
}

.btn {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0 .5rem;
}

a.apply {
    background: #92c4eb;
    font-size: 1.1rem;
    text-align: center;
    color: #fff;
    padding: .7rem 2rem;
    width: 230px;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

footer {
    background: #cfe6f5;
    padding: 1rem;
    margin-top: .5rem;
}

footer p {
    text-align: center;
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: .5rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    header {
        padding: 1rem
    }
}

@media only screen and (max-width: 46rem) {
    .flex {
        flex-direction: column;
        align-items: center;
    }

    h2,
    .scheme_detail_data {
        width: 100%;
        text-align: center
    }
}

@media only screen and (max-width: 38.687rem) {
    section {
        padding: 1rem;
    }

    .col-2-inner {
        flex-direction: column;
        gap: 1rem
    }

    h1 {
        font-size: 1.2rem
    }

    .col-2 {
        flex-direction: column;
        align-items: center;
        gap: 0
    }

    .fa-file-pen {
        margin: 0 0 .625rem
    }

    .col-2-inner {
        align-items: center;
        width: 100%
    }

    .details {
        width: 100%
    }

    .fa-location-dot {
        margin: 2rem 0 0
    }

    h4,
    h4+p {
        text-align: center
    }
}