@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), 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-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), 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');
}

@font-face {
    font-display: swap;
    font-family: 'Pacifico';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/pacifico-v23-latin-regular.eot');
    src: url('../fonts/pacifico-v23-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/pacifico-v23-latin-regular.woff2') format('woff2'), url('../fonts/pacifico-v23-latin-regular.woff') format('woff'), url('../fonts/pacifico-v23-latin-regular.ttf') format('truetype'), url('../fonts/pacifico-v23-latin-regular.svg#Pacifico') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000;
}

#wrapper {
    margin: 1rem auto;
    max-width: 910px;
    background: #fff url(../images/background.jpg) no-repeat left bottom;
    border: solid thin #cbcbcb;
    position: relative;
    height: 1538px;
}

header {
    position: relative;
}

header>a {
    position: absolute;
    bottom: 4%;
    left: 3%;
    height: 3%;
    width: 30%;
    z-index: 999;
}

.slide {
    border: 0;
    position: relative;
}

.slide img {
    vertical-align: bottom;
}

@keyframes slidy {
    0% {
        opacity: 0;
    }

    11% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    44% {
        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 12s linear 0s infinite normal forwards;
}

.slide img:nth-child(2) {
    animation-delay: 4s;
}

.slide img:nth-child(3) {
    animation-delay: 8s;
}

article {
    padding: 16px 25px;
}

.grau {
    position: absolute;
    right: 35px;
    top: 314px;
    width: 275px;
}

.grau p {
    font-size: 119%;
    line-height: 25px;
}

.flex-box {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.flex-box-content:nth-of-type(1) {
    width: 59%;
}

.flex-box-content:nth-of-type(2) {
    width: 33.1%;
}

:is(.color, .color a) {
    color: #fff !important;
}

.margin-bottom {
    margin-bottom: 0;
}

:is(h1, h2, strong) {
    font-weight: 700;
}

:is(h2, .font) {
    line-height: 1.2;
}

h1 {
    font-size: 21px;
    margin: 0 0 16px;
    line-height: 1.4;
}

h1 span {
    display: block;
    background: #535353;
    margin: 10px -25px 0 -31px;
    font-size: 16px;
    line-height: 22px;
    padding: 4px 25px 4px 31px;
}

h2 {
    font-size: 16px;
    color: #354d95;
}

.font {
    font-size: 20px;
    text-align: center;
    margin-bottom: 10px;
    display: none;
    font-weight: 400;
    font-family: "Pacifico", Arial, cursive;
}

p {
    margin-bottom: 16px;
    text-align: justify;
    hyphens: auto;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}

img {
    max-width: 100%;
}

ul {
    margin: 0 0 16px 15px;
}

ul li {
    list-style: none;
    text-indent: -15px;
}

ul li:before {
    font-size: 20px;
    margin-right: 15px;
    position: relative;
    top: -1px;
    float: left;
    content: "\2022";
}

footer {
    padding: 16px 25px;
    position: absolute;
    right: 20px;
    bottom: 2px;
}

.footer-flex {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.footer-flex-content:nth-of-type(1) {
    width: 40%;
}

.footer-flex-content:nth-of-type(2) {
    width: 41%;
}

@media screen and (max-width: 909px) {
    #wrapper {
        border: none;
        margin: 0;
        background: #fff;
        height: auto;
    }

    .grau {
        position: static;
        padding: 10px 25px;
        background: #515151;
        width: 100% !important;
        margin: 0 0 20px;
    }

    .flex-box-content:nth-of-type(2) {
        background: #354d95;
        padding: 20px;
        width: 36%;
    }

    :is(h1, h2, .font, p, ul li) {
        hyphens: auto;
        text-wrap: pretty;
    }

    h1 span {
        margin: 10px -20px 0;
        padding: 6px 20px;
    }

    :is(p a, p span) {
        white-space: nowrap;
    }

    p {
        text-align: left;
    }

    br:not(br.mobile-block) {
        display: none;
    }

    .font {
        display: block;
    }

    footer {
        position: static;
        background: #354d95;
    }
}

@media screen and (max-width: 725px) {
    .flex-box {
        display: block;
    }

    .flex-box-content {
        width: 100% !important;
    }

    .grau {
        padding: 10px 16px;
    }

    article {
        padding: 1px 16px 16px;
    }

    .flex-box-content:nth-of-type(2) {
        padding: 16px;
    }

    h1 span {
        margin: 10px -16px 0;
    }

    a br {
        display: none !important;
    }
}