@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #385014;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 0.0625rem #000;
    padding: 2rem 3rem;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

p {
    padding-bottom: 1rem;
}

.nowrap {
    white-space: nowrap;
}

h1 {
    font-size: 21px;
    text-align: center;
    padding: 1.5rem 0 2.25rem;
    color: #779b41;
}

h2 {
    font-size: 1rem;
    padding-bottom: 1rem;
    color: #E30613;
}

ul {
    padding: 0 0 2rem 3rem;
}

.slider {
    position: relative;
}

.slider > img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 24s linear infinite 0s;
}

.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;
}

.slider > img:nth-of-type(4) {
    animation-delay: 18s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    30% {
        opacity: 0;
    }
}

header {
    display: flex;
    padding-bottom: 2rem;
}

article {
    padding: 1.875rem 0 0;
}

@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: 46rem) {
    #wrapper {
        padding: 1rem;
    }

    article {
        padding: 1rem 0 0;
    }

    header {
        justify-content: center;
        padding-bottom: 1rem;
    }
}

@media only screen and (max-width: 30rem) {
    h1 {
        padding: 1rem 0 1.5625rem;
    }

    h2 {
        padding-bottom: 0.5rem;
    }

    ul {
        padding: 0 0 1rem 1rem;
    }
}
