@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Arvo';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/arvo-v23-latin-regular.eot');
    src: url('../fonts/arvo-v23-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/arvo-v23-latin-regular.woff2') format('woff2'), url('../fonts/arvo-v23-latin-regular.woff') format('woff'), url('../fonts/arvo-v23-latin-regular.ttf') format('truetype'), url('../fonts/arvo-v23-latin-regular.svg#Arvo') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Arvo';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/arvo-v23-latin-700.eot');
    src: url('../fonts/arvo-v23-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/arvo-v23-latin-700.woff2') format('woff2'), url('../fonts/arvo-v23-latin-700.woff') format('woff'), url('../fonts/arvo-v23-latin-700.ttf') format('truetype'), url('../fonts/arvo-v23-latin-700.svg#Arvo') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #415978;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.link {
    color: #09d7d7;
}

h1 {
    font-size: 1.8rem;
    color: #003882;
    line-height: 1.2;
    font-family: "Arvo", serif;
    font-weight: 400;
    margin: 1.5rem 0;
    text-transform: uppercase;
}

h2 {
    font-size: 1.6rem;
    color: #003882;
    line-height: 1.3;
    font-family: "Arvo", serif;
    font-weight: 400;
    text-transform: uppercase;
}

h2+img {
    margin-bottom: .5rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin: 0 0 1rem 1rem;
}

.blue {
    color: #528cc5;
}

article {
    padding: 2rem 4rem;
}

.details {
    margin: 0 -4rem;
}

.details div {
    display: flex;
    gap: 2rem;
    background-color: #003882;
    padding: 0.5rem 4rem;
}

.details p {
    flex: 50%;
    color: #fff;
    margin: 0;
}

.box {
    margin: 3rem 0 4rem;
    padding: 2rem 3rem;
    box-shadow: 0 0 20px #777;
}

.button {
    margin: 3rem 0;
}

a.apply {
    background-color: #b70741;
    border: 1px solid #b70741;
    color: #fff;
    font-family: 'Arvo', serif;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 20px;
}

a.apply:hover {
    background-color: #fff;
    color: #b70741;
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    margin: 1rem 0 2rem;
}

.benefits .card {
    width: 121px;
    margin: 5px;
    color: white;
    background-color: #003882;
    display: flex;
    flex-direction: column;
    padding: 5px 5px 10px;
    text-align: center;
    vertical-align: top;
    font-size: 12px;
}

.benefits .card .expect {
    margin: 5px auto;
    object-fit: cover;
}

.benefits .card2 {
    background-color: #09d7d7;
}

a.blue2 {
    color: #003882;
}

footer {
    display: flex;
    justify-content: center;
    background-color: #003882;
    padding: 0.5rem 0;
    margin: 0 -4rem;
}

@keyframes slidy {
    0% {
        left: 0%;
    }

    30% {
        left: 0%;
    }

    33% {
        left: -100%;
    }

    64% {
        left: -100%;
    }

    67% {
        left: -200%;
    }

    97% {
        left: -200%;
    }

    100% {
        left: -300%;
    }
}

.slider {
    overflow: hidden;
}

.slider figure {
    position: relative;
    width: 400%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 18s slidy infinite;
}

figure img {
    width: 25%;
    float: left;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    margin-bottom: 1rem;
}

.iframe-wrapper iframe,
.iframe-wrapper object,
.iframe-wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.ib {
    display: inline-block;
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

}

@media only screen and (max-width: 48rem) {
    .box {
        padding: 1rem;
    }
}

@media only screen and (max-width: 42rem) {
    article {
        padding: 1rem;
    }

    .benefits {
        justify-content: center;
    }

    h1 {
        font-size: 1.6rem;
        text-align: center;
    }

    .details div {
        display: block;
        text-align: center;
    }

    .button {
        display: flex;
        justify-content: center;
        margin: 2rem 0;
    }
}