@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/manrope-v20-latin-regular.eot');
    src: url('../fonts/manrope-v20-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/manrope-v20-latin-regular.woff2') format('woff2'), url('../fonts/manrope-v20-latin-regular.woff') format('woff'), url('../fonts/manrope-v20-latin-regular.ttf') format('truetype'), url('../fonts/manrope-v20-latin-regular.svg#Manrope') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/manrope-v20-latin-700.eot');
    src: url('../fonts/manrope-v20-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/manrope-v20-latin-700.woff2') format('woff2'), url('../fonts/manrope-v20-latin-700.woff') format('woff'), url('../fonts/manrope-v20-latin-700.ttf') format('truetype'), url('../fonts/manrope-v20-latin-700.svg#Manrope') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    font-family: "Manrope", "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;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: underline 1px dotted #cc0c1e;
    white-space: nowrap;
}

a:hover {
    color: #cc0c1e;
}

footer a {
    text-decoration: underline #cc0c1e;
}

footer a:hover {
    opacity: 0.62;
    color: inherit;
}

article p {
    padding-bottom: 1.625rem;
}

h1 {
    font-size: 1.875rem;
    line-height: 1.3;
    margin-top: -1.625rem;
    color: #000;
}

h2 {
    font-size: 1.313rem;
    line-height: 1.4;
    margin: 1rem 0;
    color: #000;
}

ul {
    padding: 0 0 1rem 1.1rem;
}

ul li {
    margin-bottom: .5rem;
}

header {
    display: flex;
    padding: .625rem 3rem;
}

.slider {
    position: relative;
}

.slider>img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 18s linear infinite 0s;
}

.slider>img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider>img:nth-of-type(2) {
    animation-delay: 6s;
}

.slider>img:nth-of-type(3) {
    animation-delay: 12s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }
}

.section {
    padding: 1.625rem 3rem;
}

.section>*:last-child {
    padding-bottom: 0;
}

.gray {
    background-color: #e6e6e6;
}

.center {
    text-align: center;
}

.button a {
    display: inline-block;
    font-size: 17px;
    line-height: 26px;
    text-decoration: none;
    color: #fff;
    background-color: #cc0c1e;
    border: 2px solid #cc0c1e;
    padding: 8px 26px;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    margin: 26px 0;
    border-radius: 1px;
    font-weight: 600;
    text-align: center;
}

.button a:hover {
    color: #cc0c1e;
    background-color: transparent;
    text-decoration: none;
}

footer {
    padding: 1.625rem 3rem;
    text-align: center;
    background-color: #252527;
    color: #fff;
}

@media only screen and (max-width: 49.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    header {
        padding: .625rem 2rem;
    }

    .section,
    footer {
        padding: 1.625rem 2rem;
    }
}

@media only screen and (max-width: 40rem) {
    header {
        padding: .625rem 1rem;
        justify-content: center;
    }

    .section,
    footer {
        padding: 1.25rem 1rem;
    }

    h1 {
        font-size: 1.7rem;
        margin: -1.25rem 0 0;
    }

    h2 {
        font-size: 1.2rem;
        margin: 0 0 1rem;
    }

    article p {
        padding-bottom: 1.25rem;
    }
}