@charset "utf-8";
@font-face {
    font-display: swap;
    font-family: 'Dancing Script';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/dancing-script-v29-latin-regular.eot');
    src: url('../fonts/dancing-script-v29-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/dancing-script-v29-latin-regular.woff2') format('woff2'),
        url('../fonts/dancing-script-v29-latin-regular.woff') format('woff'),
        url('../fonts/dancing-script-v29-latin-regular.ttf') format('truetype'),
        url('../fonts/dancing-script-v29-latin-regular.svg#DancingScript') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #220D00;
    font: 1em/1.3em "Segoe UI", Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 930px;
    margin: 1rem auto;
    border: solid 1px #000;
    background-color: #DBDAD8;
    overflow: hidden;
    padding: 0;
}
.font {
    font: 400 2.2em/1.3em 'Dancing Script', cursive;
}
p {
    padding-bottom: 0.5rem;
}
p span.big {
    font-size: 1.75em;
    line-height: 1.3em;
}
h1, h3, h4, footer {
    background: #173264;
    padding: 0.5rem;
}
h1, h3, h4 {
    border-radius: 20px 0 20px 0;
}
h1 {
    margin: -5rem 0 0.5rem;
    font-size: 3em;
    line-height: 1.2;
    padding-bottom: 1rem;
}
h1 span, h1 small {
    font-size: 0.52em;
}
h2 {
    font-size: 1.5em;
    line-height: 1.3;
}
h3 {
    font-size: 1.3em;
    line-height: 1.1;
    position: absolute;
    top: 34rem;
    right: 1rem;
}
h4, p.font {
    color: #173264;
}
h4 {
    font-size: 1.7em;
    line-height: 1.3;
}
h3, h4 {
    display: inline-block;
}
h4 {
    background: #FFF;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: #FFF;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
ul {
    padding: 0 0 1rem;
    list-style: none;
}
ul li {
    padding-left: 4rem;
}
ul li:before {
    content: "•";
    font-size: 1.3em;
    float: left;
    margin: 0 0 0 -1rem;
}
@-webkit-keyframes slidy {
0% { left: 0%; }
25% { left: 0%; }
50% { left: -100%; }
75% { left: -100%; }
100% { left: -200%; }
}

@keyframes slidy {
0% { left: 0%; }
25% { left: 0%; }
50% { left: -100%; }
75% { left: -100%; }
100% { left: -200%; }
}
.slider { overflow: hidden; }
.slider figure img { width: 33.333333%; float: left; }
.slider figure { 
  position: relative;
  width:300%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  -webkit-animation-name:slidy;
  -webkit-animation-duration: 18s;
  -webkit-animation-delay: 2s;
  -webkit-animation-iteration-count: infinite;
  animation: 18s slidy infinite; 
}
article {
    padding: 1rem 1rem 0;
    position: relative;
}
footer {
    display: flex;
    justify-content: start;
    gap: 0 1rem;
}
footer p, h1, h3 {
    color: #FFF;
}
footer p {
    padding: 0;
}
@media only screen and (max-width: 929px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    p :is(a, span) {
        display: inline-block;
    }
    h1 {
        text-align: center;
        font-size: 1.7em;
    }
    h1 span, h1 samll {
        font-size: 0.7em;
    }
    h3 {
        position: static;
    }
    h4, h3 {
        margin-bottom: 1rem;
    }
    ul li {
        padding-left: 2rem;
    }
    footer {
        flex-direction: column;
    }
    footer p, h4, .font {
        text-align: center;
    }
    p span.big, .font, h2 {
        font-size: 1.3em;
        line-height: 1.3em;
    }
}
@media only screen and (max-width: 480px) {
    ul li {
        padding-left: 1rem;
    }
}