@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #00217a;
    font-family: Arial, sans-serif;
    font-size: .937rem;
    line-height: 1.5;
    font-weight: normal;
    background: linear-gradient(180deg, rgba(239, 239, 239, 0.3) 300px, #f2fafb 800px), url(../images/bg.jpg) no-repeat top center;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    padding: 17px;
    border-radius: 3px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #004d9e;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 .937rem;
}

h1 {
    font-size: 1em;
    margin: .937rem 0
}

h2 {
    color: #004d9e;
    font-size: 17px;
    margin-bottom: 1.25rem
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}

ul li {
    padding-left: 30px
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -15px;
    font-size: 18px;
    line-height: 1.3;
}

header {
    margin-bottom: 25px
}

hr {
    border: none;
    border-top: 1px solid #CFD6E7;
    color: transparent;
    margin: 30px 0;
}

.slider {
    position: relative;
}

.slider > img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 18s linear infinite 0s;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
}

.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: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem;
    }
    hr{
        margin: 1rem 0
    }
    ul li{
        padding-left: .937rem
    }
    h1{
        font-size: 20px
    }
}

