@charset "utf-8";
@font-face {
    font-family: 'Hind';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/hind-v16-latin-regular.eot');
    src: local(''), url('../fonts/hind-v16-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/hind-v16-latin-regular.woff2') format('woff2'), url('../fonts/hind-v16-latin-regular.woff') format('woff'), url('../fonts/hind-v16-latin-regular.ttf') format('truetype'), url('../fonts/hind-v16-latin-regular.svg#Hind') format('svg');
}
@font-face {
    font-family: 'Hind';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/hind-v16-latin-600.eot');
    src: local(''), url('../fonts/hind-v16-latin-600.eot?#iefix') format('embedded-opentype'), url('../fonts/hind-v16-latin-600.woff2') format('woff2'), url('../fonts/hind-v16-latin-600.woff') format('woff'), url('../fonts/hind-v16-latin-600.ttf') format('truetype'), url('../fonts/hind-v16-latin-600.svg#Hind') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 400 1em/1.4em 'Hind', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 840px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #fff;
    overflow: hidden;
}
:is(h1, h2, h3, strong) {
    font-weight: 600;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.5rem;
}
h2, h3 {
    text-transform: uppercase;
}
h1 {
    margin: 0 0 3.5rem;
    font-size: 2.7em;
    line-height: 1.1;
    background: #FFF101;
    width: fit-content;
    padding: 0.5rem 1rem;
    box-shadow: 8px 8px 11px 2px #888A8C;
}
h1 span {
    font-size: 1.25rem;
    font-weight: 400;
}
h2 {
    font-size: 1em;
    line-height: 1.3;
    margin-bottom: 1rem;
}
h3 {
    font-size: 1.25em;
    line-height: 1.3;
    margin-bottom: 1rem;
}
h3 span {
    font-weight: 400;
}
ul {
    padding: 0 0 0.5rem;
    list-style: none;
}
li {
    padding: 0 0 .625rem 1.5rem;
    position: relative;
}
li:before {
    content: "\2022";
    font-size: 1rem;
    position: absolute;
    left: 0;
    top: 0;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
header p {
    padding: 1rem;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.313em;
    line-height: 1.3;
}
article {
    padding: 4.5rem 2.5rem 3rem;
    background: #E2E2E4 url('../images/bg.jpg') no-repeat;
    position: relative;
}
.text {
    width: fit-content;
    background: #fff;
    box-shadow: 8px 8px 11px 2px #888A8C;
    padding: 0.25rem 1rem;
    text-transform: uppercase;
    position: absolute;
    right: 5rem;
    bottom: -0.5rem;
    transform: rotate(-2deg);
}
.flex {
    display: flex;
    justify-content: space-between;
}
.left, .right {
    width: 48%;
}
.right p {
    text-align: justify;
}
footer {
    padding: 2rem 2rem 0;
}
.contact {
    display: flex;
    justify-content: space-between;
    padding-right: 2rem;
}
.flex1 {
    margin: 0.5rem -2rem 0;
    padding: 1rem 2rem;
    background: #FFF101;
    display: flex;
    justify-content: space-between;
}
.flex1 p {
    padding: 0;
    text-transform: uppercase;
    font-size: 1.25em;
    line-height: 1.3;
}
figure {
    margin: 0;
}
@media only screen and (max-width:839px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    :is(p, li), .right p {
        text-align: left;
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p a, span {
        display: inline-block;
    }
    article {
        background: #E2E2E4;
        padding: 2.5rem 2.5rem 1rem;
    }
    .contact {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding-right: 0;
    }
}
@media only screen and (max-width:768px) {
    .flex {
        flex-direction: column;
    }
    .left, .right {
        width: 100%;
    }
    article {
        padding: 2rem;
    }
    h1 {
        font-size: 2.3em;
    }
}
@media only screen and (max-width:580px) {
    .flex1 {
        flex-direction: column;
        align-items: center;
    }
    .text {
        position: static;
        margin-top: 1rem;
    }
}
@media only screen and (max-width:480px) {
    article {
        padding: 1rem 1rem 2rem;
    }
    footer {
        padding: 1rem 1rem 0;
    }
    li {
        padding-left: 1rem;
    }
    h1 {
        font-size: 1.7em;
    }
}