@charset "utf-8";

:root {
    font-size: 1rem;
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/montserrat-v29-latin-regular.eot');
    src: url('../fonts/montserrat-v29-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/montserrat-v29-latin-regular.woff2') format('woff2'), url('../fonts/montserrat-v29-latin-regular.woff') format('woff'), url('../fonts/montserrat-v29-latin-regular.ttf') format('truetype'), url('../fonts/montserrat-v29-latin-regular.svg#Montserrat') format('svg');
}

* {
    box-sizing: border-box;
}

body {
    color: #434447;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 400;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    border: solid thin #000;
    background-color: #fff;
    overflow: hidden;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

a.site {
    color: #c40b00;
    text-decoration: underline;
}

a.site:hover {
    text-decoration: none;
}

p {
    text-align: justify;
    hyphens: auto;
}

p span,
.nowrap {
    white-space: nowrap;
}

h1 {
    font-size: 1.437rem;
    line-height: 1.3;
    color: #000;
    margin: 1.625rem 0 1.875rem;
    text-align: center;
}

h1 span {
    font-size: 1.125rem;
    font-weight: normal
}

h2 {
    font-size: 1.1em;
    line-height: 1.2;
    margin: 0 0 1rem;
    padding: 0.8rem 0.625rem;
    color: #000;
    border-bottom: 0.0625rem solid #eaeaea;
    background-image: linear-gradient(to bottom, #eaeaea, #efefef, #f4f4f4, #fafafa, #ffffff);
    transition: 0.2s;
}

h2:hover {
    background-image: linear-gradient(to bottom, #c40b00, #c40b00, #c40b00, #c40b00, #c40b00);
    color: #fff;
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
    hyphens: auto;
}

ul li {
    padding-left: 1.625rem
}

ul li:before {
    font-family: "Arial", sans-serif;
    content: "\2022";
    float: left;
    margin-left: -1rem;
    font-size: 1.125rem;
    line-height: 1.1;
    color: #c40b00;
}

header {
    padding: 1rem 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.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;
    }
}

article {
    padding: 0 1.6rem 1rem;
}

.margin {
    margin-top: 2.5rem;
}

.section {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.box {
    width: 49.8%;
}

footer {
    padding: 1rem .625rem;
    margin: 0 1rem 1rem;
    color: #fff;
    background: #525357;
    position: relative;
}

.social-media {
    position: absolute;
    top: .625rem;
    right: 1.5%;
}

.fab {
    font-size: 2.5em;
    padding: 1rem 0.9rem;
    background-color: #8A8B8F;
    color: #fff;
    margin-right: .312rem;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 1.875rem;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe,
.iframe-wrapper object,
.iframe-wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media only screen and (max-width:49.9375rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem;
        text-align: left;
    }

    h1 {
        font-size: 1.375rem;
    }

    h2 {
        font-size: 1.062rem;
    }

    .slider>img {
        padding: .937rem 0 0;
    }

    .margin {
        margin-top: 1rem;
    }

    article,
    footer {
        padding: 1rem;
    }

    .social-media {
        top: 1.25rem;
    }

    footer {
        margin: 0;
    }
}

@media only screen and (max-width:43.75rem) {
    h1 span {
        font-size: 1rem;
    }

    header {
        align-items: center;
        padding: 0 0 .625rem
    }

    .section {
        flex-direction: column;
        align-items: flex-start;
    }

    .box {
        width: 100%;
    }
}

@media only screen and (max-width: 37.5rem) {
    :is(a:link, a:visited, a:hover, a:active) {
        white-space: pre-wrap;
    }

    ul li {
        padding-left: 1rem;
    }

    .social-media {
        position: static;
    }

    article {
        padding: 1rem 0
    }

    footer {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1rem 0.625rem
    }

    footer p {
        text-align: center;
    }
}