@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;
}

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;
}

a.link {
    color: #0066cd;
}

p {
    padding-bottom: 1rem;
}

h1 {
    font-size: 1.7rem;
    line-height: 1.3;
    text-align: center;
    font-weight: normal;
    padding-bottom: 1rem;
    color: #0066cd;
}
h1 small {
    font-size: 0.7em;
}
h2 {
    font-size: 1.1rem;
}

ul {
    padding: 0 0 1.5rem 1rem;
}

@-webkit-keyframes slidy {
0% { left: 0%; }
18% { left: 0%; }
36% { left: -100%; }
54% { left: -100%; }
62% { left: -200%; }
85% { left: -200%; }
100% { left: -300%; }
}

@keyframes slidy {
0% { left: 0%; }
18% { left: 0%; }
36% { left: -100%; }
54% { left: -100%; }
62% { left: -200%; }
85% { left: -200%; }
100% { left: -300%; }
}
.slider { overflow: hidden; margin-bottom: 1rem; }
.slider figure img { width: 25%; float: left; }
.slider figure { 
  position: relative;
  width:400%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  -webkit-animation-name:slidy;
  -webkit-animation-duration: 30s;
  -webkit-animation-delay: 5s;
  -webkit-animation-iteration-count: infinite;
  animation: 30s slidy infinite; 
}

footer div {
    display: flex;
    column-gap: 9rem;
}

footer>p {
    padding-bottom: 0;
}

@media only screen and (max-width: 49.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 2rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 40rem) {
    #wrapper {
        padding: 1rem;
    }

    footer div {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-bottom: 1rem;
    }

    ul {
        padding-bottom: 1rem;
    }
}