:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Arial, "sans-serif";
    font-size: 14px;
    line-height: 19px;
    color: #000;
}

#wrapper {
    position: relative;
    max-width: 795px;
    margin: 16px auto;
    border: 1px solid #000;
    overflow: hidden;
    background-color: #fff;
}

header {
    position: relative;
}

@keyframes slidy {
    0% {
        opacity: 0;
    }

    2.5% {
        opacity: 1;
    }

    12.5% {
        opacity: 1;
    }

    15% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

header img:nth-of-type(1) {
    position: relative;
}

header img {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    animation: slidy 45s linear 0s infinite normal forwards;
    vertical-align: bottom;
}

header img:nth-child(2) {
    animation-delay: 5s;
}

header img:nth-child(3) {
    animation-delay: 10s;
}

header img:nth-child(4) {
    animation-delay: 15s;
}

header img:nth-child(5) {
    animation-delay: 20s;
}

header img:nth-child(6) {
    animation-delay: 25s;
}

header img:nth-child(7) {
    animation-delay: 30s;
}

header img:nth-child(8) {
    animation-delay: 35s;
}

header img:nth-child(9) {
    animation-delay: 40s;
}

article {
    padding: 15px 60px 20px;
}

footer {
    padding: 0 60px 30px;
    position: relative;
}

.logo {
    position: absolute;
    bottom: 10px;
    right: 60px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    flex-direction: row-reverse;
}

h1 {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    font-weight: normal;
    font-size: 34px;
    line-height: 40px;
    margin-top: 15px;
    padding-bottom: 10px;
}

h1 small {
    display: block;
    font-weight: normal;
    font-size: 22px;
}

h2 {
    margin: 15px 0 0;
    font-size: 16px;
    line-height: 20px;
}

p {
    margin: 10px 0 0;
    text-align: justify;
    hyphens: auto;
    text-wrap: pretty;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    margin: 0 0 15px;
    list-style: none;
}

ul li {
    padding-left: 28px;
    padding-bottom: 5px;
}

ul li:before {
    content: "\25A0";
    float: left;
    margin: 6px 0 0 -14px;
    font-size: 7px;
    line-height: 1em;
}

@media all and (max-width:795px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    article {
        padding: 5px 16px 16px;
    }

    footer {
        padding: 0 16px 40px;
    }

    .logo {
        bottom: 16px;
        right: 16px;
    }

    p {
        text-align: left;
    }

    :is(h1, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    .hide {
        display: none;
    }

    span {
        white-space: nowrap;
    }
}

@media all and (max-width:698px) {
    .logo {
        position: static;
        justify-content: center;
        gap: 16px;
        margin-top: 16px;
    }

    footer {
        padding-bottom: 16px;
    }

    footer p {
        text-align: center;
    }

    ul li {
        padding-left: 14px;
    }
}