@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    font-size: 15px;
    color: #333333;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 10px -3px #999999;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.link {
    color: #69AC20;
    transition: color 0.5s ease;
    text-decoration: underline;
}

a.link:hover {
    color: #C51014;
}

article p {
    margin-bottom: 1.25rem;
}

h1 {
    font-size: 1.75rem;
    color: #69AC20;
}

h1+h2 {
    margin-bottom: 1.25rem;
}

h2 {
    font-size: 1.125rem;
    color: #69AC20;
    margin-bottom: .625rem;
}

ul {
    margin: 0 0 1.25rem 1.1rem;
}

ul li {
    margin: 6px 0;
}

.slider {
    position: relative;
}

.slider>img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 18s 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;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }
}

.button a {
    width: 260px;
    display: block;
    padding: 10px;
    background-color: #69AC20;
    color: #ffffff;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.5s ease;
    font-size: 18px;
}

.button a:hover {
    background-color: #C51014;
}

header {
    padding: 1.875rem;
    display: flex;
}

article {
    padding: 1.875rem 1.875rem 0;
}

footer {
    padding: 0 1.875rem 1.875rem;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.25rem;
}

@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) {
    header {
        padding: 1.5rem 1rem;
        justify-content: center;
    }

    article {
        padding: 1.25rem 1rem 0;
    }

    footer {
        padding: 0 1rem 1.25rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media only screen and (max-width: 35rem) {
    h1 {
        font-size: 1.6rem;
        text-align: center;
    }

    h1+h2 {
        text-align: center;
    }
}