@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background: #fff;
    background-color: #ededed;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
	position: relative;
	max-width: 50rem;
	margin: 1rem auto;
	overflow: hidden;
    border: 1px solid #cccaca;
    background-color: #fff;
}

:is(a:link,a:visited,a:active) { 
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1 {
    font-size: 1.5rem;
    text-align: center;
    color: #22aa86;
    margin: 1rem 0;
}

h2 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin: 0 0 1rem 1.5rem;
}

header {
    border-top: 1.25rem solid #22aa86;
}

header img {
    margin: 1rem;
}

@keyframes slidy { 
    0% { 
        left: 0%;
    }
    30% {
        left: 0%;
    }
    33% { 
        left: -100%;
    }
    64% {
        left: -100%;
    }
    67% { 
        left: -200%;
    }
    97% {
        left: -200%;
    }
    100% {
        left: -300%;
    }
}
  
.slider {
    overflow: hidden;
}
  
.slider figure {
    position: relative;
    width: 400%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 18s slidy infinite;
}
  
figure img {
    width: 25%;
    float: left;
}  

article {
    padding: 1.25rem 5.9375rem 0.25rem;
}

footer {
    color: #fff;
    background: #44514e url("../images/background.png") center center no-repeat;
    background-size: 53% auto;
    border-bottom: 1.25rem solid #303d3a;
    padding: 3.125rem 5.9375rem;
}

footer p {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

@media only screen and (max-width: 49rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 48rem) {
    article {
        padding: 1rem 2rem;
    }
}

@media only screen and (max-width: 40rem) {
    footer,
    article {
        padding: 1rem;
    }
}