@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    font-size: 16px;
}

body {
    color: #000;
    font-family: "Roboto", "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background: linear-gradient(180deg, rgba(239, 239, 239, 0.3) 18.75rem, rgba(239, 239, 239, 1) 50rem), url(../images/background.jpg) no-repeat top center;
    color: #000;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 0.625rem rgba(6, 6, 6, 0.9);
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.link {
    color: #c51724;
}

a.link:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

h1 {
    font-size: 1.875rem;
    margin: 0;
}

h2 {
    font-size: 1.25rem;
}

:is(h1, h2) {
    color: #c51724;
    font-weight: 400;
}

p {
    margin-bottom: 1rem;
}

.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: 1.875rem 3.125rem;
}

hr {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
    padding-bottom: 1rem;
}

ul li {
    padding: 0 0 0 1rem;
}

ul li:before {
    content: "\2022";
    float: left;
    color: #c51724;
    font-size: 1.3rem;
    line-height: 1.25;
    margin-left: -1rem;
}

.button {
    display: flex;
    padding: 1rem 0;
}

.button a {
    background-color: #c51724;
    color: #fff;
    width: fit-content;
    padding: 0.5rem 2rem;
    text-align: center;
    border: .062rem solid #c51724;
}

.button a:hover {
    background-color: #fff;
    color: #c51724;
}

iframe {
    display: block;
    width: 100%;
    height: 28.125rem;
}

.iframe-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 52.4%;
    padding-top: 1.875rem;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe,
.iframe-wrapper object,
.iframe-wrapper embed {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

footer {
    background-color: #3b4147;
    color: #fff;
    padding: 2rem 2.5rem 1rem;
    display: flex;
    justify-content: space-between;
}

@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;
    }

    body {
        background: none;
    }
}

@media only screen and (max-width: 48rem) {
    article {
        padding: 1rem 2rem;
    }
}

@media only screen and (max-width: 35rem) {

    h1 {
        font-size: 1.4rem;
    }

    h2 {
        font-size: 1.1rem;
    }

    ul li {
        padding-left: 1rem;
    }

    article {
        padding: 1rem;
    }

    .button {
        justify-content: center;
    }

    footer {
        padding: 1rem 1rem 0;
        flex-direction: column;
        align-items: center;
    }

    footer p {
        text-align: center;
    }
}