@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/montserrat-v25-latin-regular.eot');
    src: url('../fonts/montserrat-v25-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/montserrat-v25-latin-regular.woff2') format('woff2'), url('../fonts/montserrat-v25-latin-regular.woff') format('woff'), url('../fonts/montserrat-v25-latin-regular.ttf') format('truetype'), url('../fonts/montserrat-v25-latin-regular.svg#Montserrat') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/montserrat-v25-latin-700.eot');
    src: url('../fonts/montserrat-v25-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/montserrat-v25-latin-700.woff2') format('woff2'), url('../fonts/montserrat-v25-latin-700.woff') format('woff'), url('../fonts/montserrat-v25-latin-700.ttf') format('truetype'), url('../fonts/montserrat-v25-latin-700.svg#Montserrat') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-size: 16px;
    line-height: 21px;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #000;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 920px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background-color: #fff;
}

h1 {
    margin: 16px 0;
    font-size: 29px;
    line-height: 36px;
    font-weight: 700;
}

.button {
    font-weight: 400;
    text-transform: uppercase;
}

.button a {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #000;
    border-radius: 26px;
}

h2 {
    font-size: 27px;
    margin: 16px 0;
    line-height: 34px;
    font-weight: 700;
}

h3 {
    font-size: 18px;
    margin: 0 0 16px;
    font-weight: 700;
    background: url(../images/background-h2.jpg) no-repeat;
    line-height: 18px;
    height: 100px;
    padding: 66px 0 0;
}

h3+p+img {
    padding-bottom: 20px;
}

strong {
    font-weight: 700;
}

p:not(:last-child) {
    margin-bottom: 1rem;
}

header {
    padding: 16px;
    background: #f8ecde;
}

.content {
    padding: 1rem 1rem 0;
}

.contack {
    padding: 60px 0 35px;
    position: relative;
}

.flexbox {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
    background: #DCAB6B;
}

figure {
    position: absolute;
    top: 20px;
    right: -16px;
}

.content>div:nth-of-type(2) {
    margin: 30px 0 0;
}

.info {
    flex-wrap: wrap;
    display: flex;
    gap: 1rem;
}

.info div {
    display: flex;
    width: 31%;
    gap: 10px;
    flex-direction: column;
    align-items: center;
}

.info div p {
    text-align: center;

    text-transform: uppercase;
}

.title {
    background: #dcab6b;
    padding: 1rem;
}

footer {
    padding: 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

ul {
    margin: 0;
    list-style: none;
}

ul li {
    padding-left: 1.25rem;
}

ul li:before {
    content: "\2022";
    color: #000;
    float: left;
    font-size: 40px;
    line-height: 16px;
    text-indent: -1.25rem;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

.flexbox {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
    background: #DCAB6B;
}

.recruiting {
    position: absolute;
    bottom: -23px;
    right: 0;
}

.font {
    font-size: 12pt
}

.font-size {
    font-size: 9pt;
}

.position {
    position: relative;
}

@media (max-width: 920px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    h1 {
        line-height: 33px;
    }

    .contack {
        justify-content: space-between;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }
}

@media (max-width: 767px) {
    .contack {
        gap: 1rem;
        display: flex;
        align-items: center;
        padding: 2rem 0 0;
        flex-direction: column;
    }

    .info div {
        width: 46%;
    }

    .contack p {
        text-align: center;
    }

    figure {
        position: static;
    }
}

@media (max-width: 648px) {
    .flexbox {
        flex-direction: column;
    }

    .recruiting {
        position: static;
    }

    .position {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    :is(.position, footer) p {
        text-align: center;
    }

    .button {
        display: flex;
        justify-content: center;
    }

    .title :is(h1, p) {
        text-align: center;
    }
}

@media (max-width:420px) {
    .info {
        flex-direction: column;
    }

    .info div {
        width: 100%
    }
}