@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;
}

#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: 2rem 0;
    text-transform: uppercase;
}

h2 {
    font-size: 1.6rem;
    color: #003882;
    line-height: 1.2;
    font-family: "Arvo", serif;
    font-weight: 400;
    text-transform: uppercase;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin: 0 0 1rem 1rem;
}

.blue {
    color: #528cc5;
}

article {
    padding: 2rem 4rem;
}

.details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    background-color: #003882;
    padding: 0.5rem 1rem;
    margin-left: -4rem;
    margin-right: -4rem;;
}

.details p {
    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 {
    height: 145px;
    min-width: 110px;
    max-width: 18%;
    margin: 5px;
    color: white;
    background-color: #003882;
    display: flex;
    flex-direction: column;
    padding: .5%;
    text-align: center;
    vertical-align: top;
    font-size: 12px;
}

.benefits .card .expect {
    width: 55%;
    margin: 5px auto;
    object-fit: cover;
}

.benefits .card2 {
    height: 145px;
    min-width: 110px;
    max-width: 18%;
    margin: 5px;
    color: white;
    background-color: #09d7d7;
    display: flex;
    flex-direction: column;
    padding: .5%;
    text-align: center;
    vertical-align: top;
    font-size: 12px;
}

.benefits .card2 img {
    width: 70%;
}

a.blue2 {
    color:#003882;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #003882;
    padding: 0.5rem;
    margin: 2rem 0;
    margin-left: -4rem;
    margin-right: -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;
}
    
@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;
    }

    .details {
        margin-left: 0;
        margin-right: 0;
        flex-wrap: wrap;
        gap: 0 2rem;
    }
}

@media only screen and (max-width: 48rem) {
    .box {
        padding: 1rem;
    }
}

@media only screen and (max-width: 40rem) {
    article {
        padding: 1rem;
    }

    .benefits {
       justify-content: center;
    }
}

