:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@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');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

html {
    min-height: 100%;
}

body {
    color: #7D7D7D;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

#wrapper {
    max-width: 910px;
    margin: 16px auto;
    border: 1px solid #7D7D7D;
    background: #fff;
}

article {
    padding: 30px;
}

section {
    background: #8199B5;
    padding: 16px 30px;
    margin: 0 -30px 1rem;
}

section p {
    color: #03346B;
    text-align: center;
}

section .flexbox div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.flexbox {
    display: flex;
    justify-content: space-between;
}

.flexbox div {
    width: 48%;
}

footer {
    padding: 0 30px 30px;
}

footer p {
    font-size: 14px;
}

footer h3 {
    font-size: 16px;
}

footer .flexbox div {
    width: 33%;
}

footer a.button {
    background: #03346B;
    color: #fff !important;
    display: block;
    margin: 30px auto 0;
    border-radius: 5px;
    text-align: center;
    width: 180px;
    height: 40px;
    line-height: 40px;
}

footer div.socials {
    display: flex;
    align-items: center;
    justify-content: center;
}

footer div.socials a {
    color: #03346B !important;
    font-size: 35px;
}

p {
    margin: 0 0 20px;
}

strong {
    font-weight: 700;
}

h1 {
    margin: 0 0 30px;
    font-weight: 700;
    font-size: 26px;
    line-height: 32px;
    text-align: center;
    color: #bd0926;
}

h1 small {
    display: block;
}

h1 span {
    white-space: nowrap;
}

h2 {
    margin: 0 0 20px;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #03346B;
    text-transform: uppercase;
}

h3 {
    color: #03346B;
    margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #7D7D7D;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    padding: 0 0 20px;
    list-style: none;
}

ul li {
    padding-left: 20px;
    position: relative;
}

li:before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #7D7D7D;
    position: absolute;
    z-index: 3;
    left: 0;
    top: 7px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.logo {
    padding: 20px 30px;
}

.slide {
    margin: 0;
    padding: 0;
    border: 0;
    position: relative;
}

.slide img {
    vertical-align: bottom;
}

@keyframes slidy {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    60% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.slide img:nth-of-type(1) {
    position: relative;
}

.slide img {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    animation: slidy 10s linear 0s infinite normal forwards;
}

.slide img:nth-child(2) {
    animation-delay: 5s;
}

.color {
    color: #0563c1 !important;
}

.iframe_wapper {
    position: relative;
    padding-bottom: 56.25%;
}

.iframe_wapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    z-index: 3;
    left: 0;
    top: 0;
}

@media all and (max-width: 909px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    :is(ul, p) {
        hyphens: auto;
    }

    article {
        padding: 16px;
    }

    section {
        margin: 0 -16px 1rem;
    }

    footer {
        padding: 0 16px 16px;
    }

    .flexbox {
        flex-wrap: wrap;
    }

    .flexbox div {
        width: 48% !important;
    }
}

@media all and (max-width: 700px) {
    .flexbox div:not(section .flexbox div) {
        width: 100% !important;
    }

    footer :is(p, h3) {
        text-align: center;
    }
}