@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;
    padding: 2rem 3rem;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

article p {
    padding-bottom: 1rem;
}

span {
    white-space: nowrap
}

.nomargin {
    padding: 0
}

h1 {
    font-size: 27px;
    line-height: 1.3;
    text-align: center;
    padding: 24px 0;
}

h2 {
    font-size: 1rem;
    padding-bottom: .5rem;
}

ul {
    padding: 0 0 1rem 3rem;
}

.slider {
    position: relative;
    margin: 0 0 30px;
}

.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 {
    display: flex;
    padding: 0 0 2rem;
}

@media only screen and (max-width: 799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 16px;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    
    header {
        padding: 0 0 1rem;
    }
    
    .none br {
        display: none
    }
}

@media only screen and (max-width: 480px) {
    header {
        justify-content: center;
    }

    ul {
        padding-left: 25px;
    }

    footer {
        text-align: center;
    }
}