@charset "utf-8";
@font-face {
    font-display: swap;
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/lexend-v26-latin-regular.eot');
    src: url('../fonts/lexend-v26-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/lexend-v26-latin-regular.woff2') format('woff2'), url('../fonts/lexend-v26-latin-regular.woff') format('woff'), url('../fonts/lexend-v26-latin-regular.ttf') format('truetype'), url('../fonts/lexend-v26-latin-regular.svg#Lexend') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/lexend-v26-latin-500.eot');
    src: url('../fonts/lexend-v26-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/lexend-v26-latin-500.woff2') format('woff2'), url('../fonts/lexend-v26-latin-500.woff') format('woff'), url('../fonts/lexend-v26-latin-500.ttf') format('truetype'), url('../fonts/lexend-v26-latin-500.svg#Lexend') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/lexend-v26-latin-700.eot');
    src: url('../fonts/lexend-v26-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/lexend-v26-latin-700.woff2') format('woff2'), url('../fonts/lexend-v26-latin-700.woff') format('woff'), url('../fonts/lexend-v26-latin-700.ttf') format('truetype'), url('../fonts/lexend-v26-latin-700.svg#Lexend') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #77818C;
    font: 500 1em/1.3em 'Lexend', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 930px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #ECECED;
    overflow: hidden;
}
:is(h2, h3, h4, strong) {
    font-weight: 700;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: 1rem 0;
    font-size: 1.75em;
    line-height: 1.1;
    font-weight: 500;
}
h1 span {
    font-size: 0.6em;
}
h2 {
    font-size: 1.5em;
    line-height: 1;
    margin-bottom: 0.75rem;
    color: #EF951B;
}
h2 span {
    margin-left: 1rem;
    display: inline-block;
}
h3 {
    font-size: 3.25em;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #EF951B;
}
h3 span {
    display: block;
    color: #77818C;
    font-size: 0.65em;
}
h4 {
    font-size: 1.5em;
    line-height: 1;
    margin: 1rem 0 0.5rem;
}
h5 {
    font-size: 1.5em;
    line-height: 1;
    text-align: center;
    margin-bottom: 0.5rem;
    width: fit-content;
    margin-left: auto;
}
ul {
    padding: 0 0 1rem;
    list-style: none;
}
li {
    padding-left: 1rem;
}
li:before {
    content: "•";
    float: left;
    margin: -1px 0 0 -1rem;
}
.big {
    font-size: 1.25em;
    line-height: 1.5;
}

ul.big li {
    padding-top: 0.25rem;
}
.big .color {
    color: #EF951B;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 0;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
main {
    display: block;
    padding: 0.8rem 1.5rem 0;
}
article>p:first-of-type {
    font-size: 1.4375em;
    line-height: 1.1;
    position: absolute;
    left: 1rem;
    top: 8rem;
}
article .flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
article .flex p {
    text-align: center;
    font-size: 0.938em;
}
article .box {
    width: 133px;
}
article .box-bg {
    background: url('../images/bg.png') no-repeat;
    width: 232px;
    height: 240px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 2.75rem 0.5rem 0;
    position: absolute;
    right: 1rem;
    top: 16rem;
}
.box-bg figure {
    transform: rotate(45deg);
}
article .box-bg :is(p, h4) {
    color: #fff;
    text-align: center;
}
article figure {
    margin: 0 0 1rem;
    display: flex;
    justify-content: center;
}
footer {
    position: absolute;
    bottom: 0;
    right: 1rem;
}
footer p:last-of-type {
    font-size: 0.9375em;
    line-height: 1.3;
    text-align: right;
}
@media only screen and (max-width:929px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    p :is(a,span){
        display: inline-block;
    }
    h3 {
        font-size: 2.3em;
    }
    article .flex {
        margin-bottom: 1rem;
        gap: 0 1rem;
    }
    article .box-bg, p a.color {
        position: static;
    }
    article .box-bg{
         margin: 0 auto 2rem;
    }
    footer p, article p:last-of-type {
        text-align: center;
    }
    h1{
        margin: 1rem 0;
    }
    h2 span{
        margin: 0;
    }
    h5 {
        margin: 0 0 0.75rem;
        width: 100%;
    }
    footer {
        position: static;
    }
    footer p:last-of-type {
        text-align: center;
    }
    h5 br {
        display: none;
    }
}
@media only screen and (max-width:780px) {
    article br {
        display: none;
    }
    article>p:first-of-type {
        position: static;
    }
}
@media only screen and (max-width:480px) {
    body {
        font-size: 0.938em;
        line-height: 1.3;
    }
    main {
         padding: 1rem;
         margin: 0;
    }
    h2 {
        font-size: 1.5em;
    }
    h3 {
        font-size: 1.7em;
    }
    h4 {
        font-size: 1.6em;
    }
    article>p:first-of-type {
        font-size: 1.5em;
    }
    article .box-bg {
        background: #FBA250;
        padding: 0.5rem 0.5rem 0;
        width: 100%;
    }
    article .box {
        width: 120px;
    }
}