/*reset*/

html, body, img, div, a, table {
    image-rendering: -webkit-optimize-contrast !important;
}
body {
    margin: 0;
}
a {
    text-decoration: none;
    color: inherit;
}
a:hover {
    text-decoration: none;
}
input {
    outline: none;
    box-sizing: border-box;
    border: none;
}
textarea {
    outline: none;
}
button {
    outline: none;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, main {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
//content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
button {
    border-style: none;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
    outline: none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance:none;
}

select {
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-decoration: underline;
    background-color: transparent;
}


select {
    appearance: none;
    background-color: transparent;
    border: none;
    padding: 0 1em 0 0;
    margin: 0;
    width: 100%;
    font-family: inherit;
    cursor: inherit;
    font-size: 12px;
    line-height: 1.5;
}
select::-ms-expand {
    display: none;
}
/*reset end*/

/*fonts*/
@font-face {
    font-family: 'Fira Sans';
    src: url('../fonts/FiraSans/FiraSans-Regular.eot');
    src: local('Fira Sans Regular'), local('FiraSans-Regular'),
    url('../fonts/FiraSans/FiraSans-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/FiraSans/FiraSans-Regular.woff2') format('woff2'),
    url('../fonts/FiraSans/FiraSans-Regular.woff') format('woff'),
    url('../fonts/FiraSans/FiraSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OrenburgC';
    src: url('../fonts/Orenburg/OrenburgC-Bold.eot');
    src: url('../fonts/Orenburg/OrenburgC-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Orenburg/OrenburgC-Bold.woff2') format('woff2'),
    url('../fonts/Orenburg/OrenburgC-Bold.woff') format('woff'),
    url('../fonts/Orenburg/OrenburgC-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
/*fonts end*/

/*layout*/
html, body {
    font-family: 'Fira Sans';
    font-weight: normal;
    font-style: normal;
    min-width: 320px;
    min-height: 100%;
    color: #403712;
    line-height: 1;
}
.wrapper {
    width: 100%;
    max-width: 1240px;
    padding: 0 20px;
    margin: 0 auto;
}
/*layout end*/
.header {
    background-color: #ffffff;
}
.header__inner {
    padding: 24px 0;
}
.header__logo {
    display: inline-block;
}
.header__logo img {
    display: block;
    width: 100%;
    max-width: 143px;
}
.main {
    background-color: #FFD93B;
}
.main__inner {
    padding: 100px 0;
}
.main__title {
    font-family: 'OrenburgC';
    font-weight: bold;
    font-size: 48px;
    padding-bottom: 12px;
}
.main__title br{
    display: none;
}
.main__description {
    font-size: 24px;
    padding-bottom: 48px;
}
.photo {
    display: flex;
    margin: 0 -10px;
}
.photo-map {
    display: block;
    width: 33.33%;
    padding: 0 10px;
    position: relative;
    top: 0;
    transition: all ease-in-out .3s;
}
.photo-map img{
    display: block;
    width: 100%;
}
.photo-map:hover {
    top: -5px;
    transition: all ease-in-out .3s;
}
.photo-slider {
    display: flex;
    width: 66.66%;
}
.photo-slider__content {
    display: flex;
}
.photo-slider__title {
    display: none;
    font-weight: bold;
    font-size: 24px;
}
.photo-slider__card {
    width: 50%;
    padding: 0 10px;
}
.photo-slider__card img {
    display: block;
    width: 100%;
}
.footer {
    background-color: #ffffff;
}
.footer__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 100px 0;
}
.footer__title {
    font-family: 'OrenburgC';
    font-weight: bold;
    font-size: 36px;
    line-height: 1.17;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.footer-contact__link {
    display: inline-block;
    font-size: 20px;
    line-height: 1.4;
    border-bottom: solid 2px #FFD93B;
    margin-bottom: 16px;
    transition: color ease-in-out .3s;
}
.footer-contact__link:hover {
    color: #E8BC09;
    transition: color ease-in-out .3s;
}
.footer-contact__link:last-of-type {
    margin-bottom: 0;
}
.footer-social {
    display: flex;
    align-items: center;
    padding-top: 28px;
}
.footer-social__link {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 16px;
}
.footer-social__link:last-of-type {
    margin-right: 0;
}
.footer-social__link--facebook {
    background-image: url("../img/icon_facebook.svg");
}
.footer-social__link--instagram {
    background-image: url("../img/icon_instagram.png");
}

/*media*/
@media screen and (max-width: 767px) {
    .wrapper {
        padding: 0 16px;
    }
    .header__inner {
        display: flex;
        justify-content: center;
        padding-bottom: 64px;
    }
    .header__logo img {
        max-width: 140px;
    }
    .main {
        position: relative;
    }
    .main:before, .main:after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        height: 40px;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }
    .main:before {
        top: -40px;
        background-image: url("../img/main_top.png");
    }
    .main:after {
        bottom: -40px;
        background-image: url("../img/main_bottom.png");
    }
    .main__inner {
        text-align: center;
        padding-top: 6px;
        padding-bottom: 20px;
    }
    .main__title {
        font-size: 32px;
    }
    .main__title br {
        display: block;
    }
    .main__description {
        font-size: 16px;
        line-height: 1.5;
        padding-bottom: 20px;
    }
    .photo {
        flex-direction: column;
    }
    .photo-map {
        width: 100%;
    }
    .photo-slider__title {
        font-family: 'OrenburgC';
        font-weight: bold;
        display: block;
        padding-bottom: 20px;
    }
    .photo-slider {
        width: 100%;
        flex-direction: column;
        padding-top: 55px;
    }
    .footer__inner {
        flex-direction: column;
        align-items: center;
        padding-top: 86px;
        padding-bottom: 68px;
    }
    .footer__title {
        font-size: 24px;
        text-align: center;
    }
    .footer-contact {
        padding-top: 24px;
        align-items: center;
    }
    .footer-contact__link {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    .footer-social {
        padding-top: 40px;
    }
    .footer-social__link {
        width: 48px;
        height: 48px;
        margin-right: 24px;
    }
}
/*media end*/

