﻿@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-condensed-v25-latin-regular.eot');
    src: url('../fonts/roboto-condensed-v25-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v25-latin-regular.woff2') format('woff2'), url('../fonts/roboto-condensed-v25-latin-regular.woff') format('woff'), url('../fonts/roboto-condensed-v25-latin-regular.ttf') format('truetype'), url('../fonts/roboto-condensed-v25-latin-regular.svg#RobotoCondensed') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-condensed-v25-latin-700.eot');
    src: url('../fonts/roboto-condensed-v25-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v25-latin-700.woff2') format('woff2'), url('../fonts/roboto-condensed-v25-latin-700.woff') format('woff'), url('../fonts/roboto-condensed-v25-latin-700.ttf') format('truetype'), url('../fonts/roboto-condensed-v25-latin-700.svg#RobotoCondensed') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    color: #fff;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-size: 19px;
    line-height: 1.25rem;
    font-weight: 400;
}

#wrapper {
    border: solid thin #cbcbcb;
    max-width: 665px;
    background-color: #14619a;
    overflow: hidden;
    position: relative;
    margin: 1rem auto;
}

:is(strong, h1, h2) {
    font-weight: 700;
}

article {
    padding: 0.3125rem 1.875rem 0.0625rem;
    position: relative;
}

article div {
    padding: 2rem 0 0;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: #72cdf2;
    position: absolute;
    right: 2.125rem;
    top: -7.25rem;
    font-size: 1.5rem;
    line-height: 1.625rem;
    -ms-transform: rotate(13deg);
    -webkit-transform: rotate(13deg);
    transform: rotate(13deg);
}

article div p {
    text-align: center;
}

.bottom {
    margin-bottom: 16px;
}

footer {
    margin: 0.75rem 0 0;
    padding: 1rem 1.875rem;
    background: #fff;
    display: flex;
    justify-content: space-between;
}

footer p {
    color: #2e2113;
    font-size: 16px;
    line-height: 22px;
    text-align: right;
}

h1 {
    font-size: 45px;
    line-height: 3.4375rem;
    position: absolute;
    left: 30px;
    top: -13.75rem;
    display: inline-block;
    -ms-transform: rotate(-4deg) skew(-4deg);
    -webkit-transform: rotate(-4deg) skew(-4deg);
    transform: rotate(-4deg) skew(-4deg);
    color: #fff;
    width: 592px;
}

h1 span {
    display: block;
    margin: 0.625rem 0 -0.25rem;
    background: #0f5e9c;
    padding: 0.3125rem 0.875rem 0.3125rem 17px;
    white-space: normal !important;
}

h1 span:nth-of-type(2) {
    font-size: 31px;
    display: block;
    padding: 12px 12px 19px;
    line-height: 20px;
    width: 186px;
    margin: 18px 0 0;
}

h2 {
    font-size: 1.1875rem;
    margin: 0.5rem 0 0;
    line-height: 1.625rem;
}

p {
    text-align: justify;
    hyphens: auto;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #504646;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

span {
    white-space: nowrap;
}

ul {
    margin: 0 2.5rem 0.6rem 0.6rem;
    list-style: none;
}

ul li {
    padding-left: 0.625rem;
    hyphens: auto;
}

li:before {
    text-indent: -0.625rem;
    content: "\2022";
    color: #fff;
    float: left;
    font-size: 17px;
    font-family: Arial, sans-serif;
}

@media screen and (max-width:664px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    h1 span {
        width: auto !important;
        margin: 0 !important;
        padding: 1rem;
    }

    h1 {
        position: static;
        -ms-transform: rotate(0) skew(0);
        -webkit-transform: rotate(0) skew(0);
        transform: rotate(0) skew(0);
        font-size: 2.3125rem;
        margin: 2rem 0 1rem;
        text-align: center;
        width: auto;
        display: block;
    }

    article div{
        top: -200px
    }

    article div br{
        display: block;
    }

    p {
        text-align: left;
    }

    article {
        padding: 0 1rem 1rem;
    }

    article br{
        display: none;
    }

    footer {
        padding: 1rem;
    }
}

@media screen and (max-width:520px) {
    article div {
        top: -8rem;
        right: 1rem;
    }

    footer {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    footer p {
        text-align: center;
    }
}