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

html {
    min-height: 100%;
}

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

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

figure {
    padding: 35px;
    display: flex;
    justify-content: center;
}

:is(.slide, .slide img:nth-of-type(1)) {
    position: relative;
}

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

    5% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    30% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

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

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

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

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

h1 {
    font-size: 25px;
    color: #fff;
    margin: 0px 0 16px;
    line-height: 30px;
    text-align: center;
    background: #005d9f;
    padding: 10px;

}

h2 {
    font-size: 18px;
    color: #000000;
    margin: 0px 0px 30px 0px;
    line-height: 30px;
    font-weight: normal;
    text-align: center;
    background: #fdc300;
}

h3 {
    font-size: 16px;
    margin: 0 0 5px;
    line-height: 20px;
}

p {
    margin: 0 0 1rem;
    text-align: justify;
    hyphens: auto;
}

article {
    padding: 25px 58px;
}

footer {
    right: 7%;
    bottom: 2%;
    position: absolute;
}

.color {
    color: #005d9f;
}

a[href^="tel:"] {
    color: #000;
}

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

img {
    max-width: 100%;
}

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

ul li {
    padding-left: 24px;
}

ul li:before {
    content: "\2022";
    color: #000;
    float: left;
    font-size: 22px;
    text-indent: -24px;
}

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

    ul {
        hyphens: auto;
    }

    p {
        text-align: left;
    }

    p span {
        white-space: nowrap;
    }

    article {
        padding: 10px 16px 0;
    }

    footer {
        bottom: 0;
    }
}

@media all and (max-width:740px) {
    footer {
        position: static;
        display: flex;
        justify-content: center;
        padding: 16px;
    }

    br {
        display: none;
    }

    .text br {
        display: inline;
    }
}

@media all and (max-width:480px) {
    ul {
        margin-left: 0;
    }
}