@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    color: #000;
    font: 0.875rem/1.5 Arial, Helvetica, sans-serif;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    border: solid thin #000;
    background-color: #fff;
    overflow: hidden;
}


p {
    text-align: left;
}

h1 {
    font-size: 2.231em;
    line-height: 1.1em;
    color: #3A428E;
    font-weight: normal;
    padding: 0.5rem 0;
    hyphens: none;
}

h2 {
    font-size: 1.061em;
    line-height: 1.231em;
    color: #3A428E;
}

h3 {
    font-size: 1.161em;
    line-height: 1.231em;
    color: #3A428E;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #3A428E;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

a.link {
    font-size: 1.231em;
    width: 12.5rem;
    line-height: 3.125rem;
    display: block;
    text-align: center;
    background: #FED32A;
    color: #3A428E;
    font-weight: bold;
    box-shadow: .125rem .187rem .187rem 0 rgba(0, 0, 0, 0.50);
    font-style: italic;
    position: absolute;
    bottom: 2.3rem;
    right: 2rem;
}

a.link:hover {
    color: #000;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    padding-left: 0.95rem;
}

li {
    padding-bottom: 0.2rem;
    list-style-type: none;
}

li:before {
    content: "\25A0";
    color: #3A428E;
    float: left;
    margin: -0.14rem 0 0 -0.938rem;
    font-size: .937rem;
}

.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;
    }
}

header {
    padding: 1rem 2rem;
}

article {
    padding: 0 3rem 1rem;
    position: relative;
}

footer {
    padding: 1rem 3rem;
    color: #3A428E;
    background: url('../images/background.png') no-repeat;
    background-size: 100% 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    column-gap: 1rem;
}

@media only screen and (max-width:49.937rem) {
    #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:47.875rem) {
    header {
        padding: 1rem;
        display: flex;
        justify-content: center;
    }

    article {
        padding: 0 1rem 1rem;
    }

    footer {
        padding: 1rem;
    }

    footer img {
        margin: 0 auto;
    }

    a.link {
        position: relative;
        bottom: 0;
        right: 0;
        margin: 1.5rem auto .937rem;
    }

    article br {
        display: none;
    }
}

@media only screen and (max-width:38rem) {
    footer {
        flex-direction: column;
        align-items: center;
        padding-bottom: 1rem;
    }

    footer p,
    h1,
    h3 {
        text-align: center;
    }

    footer img {
        margin: 0;
    }

    h1 {
        font-size: 1.7rem;
    }
}

@media only screen and (max-width:23.437rem) {
    h3 {
        margin: 0 0 .625rem;
    }
}