@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    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;
    background: #fff;
    border: 1px solid #ededed;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

h1 {
    font-size: 2.5rem;
    font-family: 'Times New Roman', Times, serif;
    color: #003366;
    text-align: center;
    font-weight: 300;
}

h2 {
    font-size: 1.5rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 300;
    color: #003366;
    margin: 2.5rem auto 1.5rem;
    width: fit-content;
    background-color: #fff;
    padding: 0 0.75rem;
    position: relative;
    z-index: 1000;
}

h2+hr {
    position: relative;
    bottom: 42px;
    z-index: 0;
    border: none;
    height: 1px;
    background-color: #C7C8C9;
}

h3 {
    font-size: 1.2rem;
    text-align: center;
    color: #999999;
    font-weight: 300;
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
    margin: 0.5rem 0 1rem;
}

ul li {
    padding: 0 0 0.5rem 1.5rem;
}

ul li:before {
    content: "\25A0";
    float: left;
    margin-left: -1.5rem;
    line-height: 1.3;
    color: #003366;
}

.slider {
    position: relative;
}

.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;
    }
}

.title {
    padding: 4rem 1rem;
    background-color: #eee;
}

article {
    padding: 1rem 3rem;
}

.button {
    display: flex;
    justify-content: center;
    margin: 1rem 0 2rem;
}

a.apply {
    background-color: #0099cc;
    color: #fff;
    padding: 0.75rem 1.25rem;
}

a.apply:hover {
    background-color: #0f789b;
}

footer {
    border-bottom: 5rem solid #001e46;
}

@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) {
    h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    h2 {
        margin: 0 0 .5rem;
        padding: 0;
    }

    h2+hr {
        display: none;
    }
}

@media only screen and (max-width: 40rem) {
    .title {
        padding: 1.5rem 1rem;
    }

    article {
        padding: 1rem;
    }

    footer {
        border-bottom: 1rem solid #001e46;
    }

    .button {
        display: flex;
        justify-content: center;
        margin: 0 0 2rem;
    }
}