@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    font: 1em/1.4em  Arial, "Segoe UI", Calibri, sans-serif;
    color: #5F666A;
}
#wrapper {
    position: relative;
    margin: 1rem auto;
    overflow: hidden;
    max-width: 745px;
    border: solid 1px #5F666A;
    background: #fff url('../images/bg.jpg') no-repeat bottom;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: 0 0 2rem;
    background: url('../images/icon.png') no-repeat -1px 3px;
    padding-left: 2rem;
    font-size: 1.6em;
    line-height: 1.3;
    font-weight: 400;
}
h2 {
    font-size: 2.5em;
    line-height: 1.2;
    padding: 1.5rem 0 2rem;
}
h2 small {
    font-size: 0.7em;
    text-transform: none;
    font-weight: normal;
}
.flexbox p{
    padding-bottom: 0;
}
.green{
    color: #43B649;
}
.flexbox,.contact{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
     align-items: flex-end;
}
.contact{
  padding-top: 1.5rem;
}
footer figure{
    display: flex;
    justify-content: center;
}
.social{
   display: flex;
   justify-content: center;
   padding: 0.3rem 0;
}
.in{
    padding: 0 1.5rem;
}
article {
    padding: 1rem 2rem;
}
footer {
 position: absolute;
  right: 18rem;
  bottom: 2rem;
}
.big{
    font-size: 1.375em;
    line-height: 1.3;
    padding-bottom: 0;
    text-align: center;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: #5F666A;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
@media only screen and (max-width:744px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background-image: none;
    }
    .hide_m{
        display: none;
    }
    footer{
        position: static;
        padding: 0 1rem 1rem;
    }
    h2{
        font-size: 2em;
    }
    .green br{
        display: none;
    }
    article{
        padding: 1rem 1rem;
    }
}