@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    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 1px #000;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

p:not(:last-of-type) {
    margin: 1rem 0;
}

h1 {
    font-size: 1.3rem;
    line-height: 1.3;
    margin: 1rem 0;
}

h2 {
    font-size: 1rem;
    margin: 0 0 1rem;
    color: #4dba90;
}

ul {
    list-style: none;
    margin-top: 1rem;
}

ul li {
    padding: 0 0 0 4rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.5rem;
    font-size: 1.3rem;
    line-height: 1.2;
}

header {
    padding: 2rem;
    display: flex;
}

.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;
    }
}

article {
    padding: 1rem 2rem 0;
}

section {
    background: #fdebe7;
    padding: 1rem;
    margin: 1rem 0;
}

footer {
    padding: 0 2rem 1rem;
}

@media only screen and (max-width: 49.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        hyphens: auto;
    }
}

@media only screen and (max-width: 48rem) {

    header {
        padding: 2rem 1rem;
    }

    article {
        padding: 1rem 1rem 0;
    }

    footer {
        padding: 0 1rem;
    }
}

@media only screen and (max-width: 40rem) {

    h1 {
        text-align: center;
        margin: 0 0 1rem;
    }

    h2 {
        margin: 1rem 0 .5rem;
    }

    ul li {
        padding: 0 0 0 1.5rem;
    }
}

@media only screen and (max-width: 30rem) {

    header {
        justify-content: center;
    }
}