﻿@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v32-latin-regular.eot');
    src: url('../fonts/roboto-v32-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v32-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v32-latin-regular.woff') format('woff'), url('../fonts/roboto-v32-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v32-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v32-latin-700.eot');
    src: url('../fonts/roboto-v32-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v32-latin-700.woff2') format('woff2'), url('../fonts/roboto-v32-latin-700.woff') format('woff'), url('../fonts/roboto-v32-latin-700.ttf') format('truetype'), url('../fonts/roboto-v32-latin-700.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #000;
    line-height: 1.25rem;
    font-size: 1rem;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 469px;
    margin: 1rem auto;
    border: 2px solid #F2415A;
    overflow: hidden;
    border-radius: 8px;
    background-color: #fff;
}

article {
    padding: 16px 20px 0;
}

footer {
    padding: 0 20px 1px;
}

:is(strong, h1) {
    font-weight: 700;
}

h1 {
    margin: 1rem 0 5px 20px;
    font-size: 35px;
    line-height: 28px;
    color: #FFF;
}

h1:before {
    content: "\2022";
    float: left;
    font-family: Arial, sans-serif;
    font-size: 1.5625rem;
    text-indent: -1.25rem;
}

h1 span {
    font-weight: normal;
    font-size: 22px;
    white-space: nowrap;
}

h1 small {
    display: block;
    font-size: 22px;
    font-weight: normal;
}

.title {
    background: url(../images/background.jpg) no-repeat;
    background-size: cover;
    padding: 1rem 20px;
    margin: 0 -20px 19px;
}

.margin {
    margin: 0 0 8px;
}

p span {
    white-space: nowrap;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.logo {
    display: flex;
    justify-content: center;
    margin: 1rem;
}

figure {
    margin: 0;
    padding: 0;
    border: 0;
    position: relative;
}

figure img {
    vertical-align: bottom;
}

@keyframes slidy {
    0% {
        opacity: 0;
    }

    6.6% {
        opacity: 1;
    }

    33.3% {
        opacity: 1;
    }

    39.9% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

figure img:nth-of-type(1) {
    position: relative;
}

figure img {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    animation: slidy 15s linear 0s infinite normal forwards;
}

figure img:nth-child(2) {
    animation-delay: 5s;
}

figure img:nth-child(3) {
    animation-delay: 10s;
}

@media all and (max-width:468px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    .none {
        display: none;
    }

    br:not(footer br) {
        display: none;
    }
}