@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #222;
    font: 1.0625em/1.43 Arial, sans-serif;
    background: #fff url('../images/bg.jpg') no-repeat top center;
    background-size: cover;
    position: relative;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    overflow: hidden;
}
body::before {
    width: 100%;
    height: 100%;
    content: " ";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to top, #fff 0%, transparent 80%);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    background-attachment: fixed;
}
p {
    margin-bottom: 1.625rem;
}
h1 {
    margin: 1.625rem 0rem;
    font-size: 2.1875em;
    line-height: 1.43;
}
h1 span {
    font-size: 0.7em;
}
h2 {
    font-size: 1.3125em;
    line-height: 1.3em;
    margin-bottom: 1.0625rem;
    color: #575757;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: underline 1px dotted #575757;
    white-space: nowrap;
}
img {
    max-width: 100%;
    height: auto;
}
ul {
    padding: 0;
    margin-bottom: 1.625rem;
    list-style: none;
}
li {
    margin: 0 0 0.75rem 1.625rem;
}
ul li:before {
    content: "\2022";
    font-size: 1em;
    float: left;
    margin: -1px 0 0 -1.25rem;
}
header {
    padding: 1.625rem 2.1875rem 0;
    background-color: #575757;
    border: 1px solid #575757;
    margin-bottom: 2.1875rem;
}
header img {
    display: block;
}
header :is(h1, p) {
    color: #fff;
}
header p span {
    padding-right: 0.75rem;
}
.logo {
    background-color: #fff;
    width: 116px;
    height: 116px;
    display: flex;
    justify-content: center;
    align-items: center;
}
@-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: 1.625rem;
    border: 1px solid #575757;
}
.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; 
}
section {
    padding: 1.625rem 2.1875rem 0;
    margin-bottom: 2.1875rem;
    border: 1px solid #575757;
    background-color: #fff;
}
.link {
    margin: 3.25rem 0;
}
.link a {
    display: inline-block;
    padding: 0.75rem 1.625rem;
    background-color: #575757;
    border: 2px solid #575757;
    color: #fff !important;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.5s;
}
.link a:hover {
    background-color: #fff;
    color: #575757 !important;
}
@media only screen and (max-width: 799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    section, header, .slider {
        border: none;
        padding-bottom: 1px;
    }
    p span {
        display: inline-block;
    }
    h1 {
        font-size: 1.75em;
    }
}
@media only screen and (max-width: 780px) {
    section, header {
        padding: 1.625rem 2rem 1px;
    }
}
@media only screen and (max-width: 780px) {
    section, header {
        padding: 1rem 1rem 1px;
    }
    section, header, .slider {
        margin-bottom: 1rem;
    }
    h1 {
        font-size: 1.625em;
    }
    h2 {
        font-size: 1.25em;
    }
}