* {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

html {
    font-family: 'Open Sans', sans-serif;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

body {
    min-height: 100vh;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.footer {
    -ms-flex-negative: 0;
        flex-shrink: 0;
}

.wrapprer {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width:600px) {
    .header {
        padding: 0 30px;
    }
}

.header {
    background: url(img/bg.jpg) no-repeat center;
    overflow: hidden;
    position: relative;
    z-index: 2;
    background-size: cover;
}

@media (min-width:600px) {
    .header {
        height: 160px;
    }
}

.logo {
    height: 50px;
    margin: 10px 0;
    position: relative;
}

@media (min-width:600px) {
    .logo {
        height: 90px;
    }
}

.slogan {
    font-style: italic;
    font-size: 14px;
    text-align: center;
    padding: 10px 0;
}

@media (min-width:600px) {
    .slogan {
        font-size: 18px;
    }
}

.nav {
    z-index: 1001;
    background: white;
    position: relative;
}

.nav__button {
    width: 30px;
    height: 30px;
    display: block;
    background: url('./img/menu.svg') center no-repeat;
    background-size: contain;
    font-size: 0;
    position: fixed;
    top: 20px;
    right: 20px;
}

.nav__menu-close {
    display: block;
    width: 25px;
    height: 30px;
    display: block;
    background: url('./img/close.svg') center no-repeat;
    background-size: contain;
    position: fixed;
    right: 20px;
    top: 20px;
    display: none;
    font-size: 0;
    z-index: 3000;
}

.nav__menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 100px 0;
    background: white;
}

.nav__menu li {
    border-bottom: 1px solid #ccc;
}

.nav__menu li a,
.nav__menu li span {
    display: block;
    padding: 10px 30px;
    color: black;
    text-transform: uppercase;
    font-size: 16px;
    text-decoration: none;
    -webkit-transition: all 0.2 ease;
    -o-transition: all 0.2 ease;
    transition: all 0.2 ease;
}

.nav__menu li span {
    font-weight: bold;
}

.nav__menu li a:hover {
    color: #bdbdbd;
}

@media (min-width:600px) {
    .nav__button {
        display: none;
    }
    .nav__menu-close {
        display: none;
    }
    .nav__menu {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        position: relative;
        padding: 0;
        background: transparent;
        -webkit-box-pack: stretch;
            -ms-flex-pack: stretch;
                justify-content: stretch;
        -webkit-box-align: stretch;
            -ms-flex-align: stretch;
                align-items: stretch;
        border-bottom: 1px solid #ccc;
    }
    .nav__menu li {
        border: none;
        border-left: 1px solid #ccc;
        text-align: center;
        -webkit-box-flex: 1;
            -ms-flex-positive: 1;
                flex-grow: 1;
    }
    .nav__menu li:last-child {
        border-right: 1px solid #ccc;
    }
    .nav__menu li span,
    .nav__menu li a {
        display: block;
        height: 100%;
        width: 100%;
        font-size: 13px;
        -o-transition: background 0.2s ease;
        transition: background 0.2s ease;
        -webkit-transition: background 0.2s ease;
    }
    .nav__menu li a:hover {
        background: rgb(245, 245, 245);
        color: #000;
    }
}

.category__title {
    color: rgba(0, 0, 0, 0.8);
    margin: 0;
    padding: 15px 30px;
    text-transform: uppercase;
    font-size: 20px;
    text-align: center;
    color: #222;
    text-decoration: none;
    font-weight: bold;
    -webkit-transition: opacity 0.2 ease;
    -o-transition: opacity 0.2 ease;
    transition: opacity 0.2 ease;
}

.category__title:hover {
    opacity: 0.9;
}

.category__list {
    font-size: 0;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}

.good {
    text-align: left;
    display: inline-block;
    vertical-align: top;
    color: inherit;
    padding: 30px;
    font-size: 1rem;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    text-decoration: none;
    background: -webkit-linear-gradient(135deg, #ccc, #fff);
    background: -o-linear-gradient(135deg, #ccc, #fff);
    background: linear-gradient(-45deg, #ccc, #fff);
    -webkit-transition: all 0.2 ease;
    -o-transition: all 0.2 ease;
    transition: all 0.2 ease;
    overflow: hidden;
    width: 100%;
    max-width: 360px;
}

.good:hover {
    background: -webkit-linear-gradient(135deg, #ccc, #fff 70%);
    background: -o-linear-gradient(135deg, #ccc, #fff 70%);
    background: linear-gradient(-45deg, #ccc, #fff 70%);
}

@media (min-width:600px) {
    .good {
        width: 50%;
        margin: 0;
    }
}

@media (min-width:900px) {
    .good {
        width: 33%;
        margin: 0;
    }
}

@media (min-width:1200px) {
    .good {
        width: 25%;
        margin: 0;
    }
}

.good__name {
    font-size: 20px;
    font-weight: bold;
    vertical-align: top;
    margin: 10px 0;
}

.good__color {
    font-size: 12px;
    text-align: right;
    vertical-align: top;
    display: block;
}

.good__images {
    float: both;
    overflow: hidden;
    width: 100%;
}

.good__img-back {
    display: block;
    float: left;
    max-width: 50%;
    max-height: 260px;
}

.good__img-face {
    display: block;
    float: right;
    max-width: 50%;
    max-height: 260px;
}

.footer {
    padding: 30px 0;
}

.bg_iron {
    background: url(img/fon.jpg);
    display: block;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background-size: 150px auto;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.bg_iron::before,
.bg_iron::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.425);
    z-index: -1;
}

.bg_iron::before {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, rgba(0, 0, 0, 0.4)), color-stop(50%, rgba(255, 255, 255, 0.4)), color-stop(90%, rgba(0, 0, 0, 0.4)));
    background: -webkit-linear-gradient(rgba(0, 0, 0, 0.4) 1%, rgba(255, 255, 255, 0.4) 50%, rgba(0, 0, 0, 0.4) 90%);
    background: -o-linear-gradient(rgba(0, 0, 0, 0.4) 1%, rgba(255, 255, 255, 0.4) 50%, rgba(0, 0, 0, 0.4) 90%);
    background: linear-gradient(rgba(0, 0, 0, 0.4) 1%, rgba(255, 255, 255, 0.4) 50%, rgba(0, 0, 0, 0.4) 90%);
}

.footer a {
    color: inherit;
}

.footer__menu {
    list-style: none;
    float: left;
    font-size: 13px;
    margin: 0;
    padding: 0 30px;
}



.footer__menu li {
    margin-bottom: 7px;
    text-transform: uppercase;
}

.footer__menu li a {
    -webkit-transition: all 0.2 ease;
    -o-transition: all 0.2 ease;
    transition: all 0.2 ease;
    text-decoration: none;
    color: rgba(0, 0, 0, 0.7)
}

.footer__menu li a:hover,
.footer__menu li span {
    color: black;
}

@media (min-width:650px) {
    .footer__menu {
        margin: 18px 0;
    }
    .footer__menu li {
        display: inline-block;
        margin-right: 10px;
    }
}

.footer__logo {
    height: 40px;
    float: right;
    vertical-align: bottom;
    padding-right: 30px;
}

@media (min-width:650px) {
    .footer__logo {
        height: 50px;
    }
}

.door {
    display: block;
    overflow: hidden;
    padding: 30px;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}

.door__images {
    overflow: hidden;
    margin: 30px 0;
}

.door__images img {
    width: 50%;
    display: block;
    float: left;
    padding-right: 13px;
}

.door__info {
    margin: 30px 0;
}

@media (min-width:600px) {
    .door__images {
        float: left;
        width: 40%;
    }
    .door__info {
        float: left;
        width: 60%;
        padding-left: 30px;
    }
}

.door__gallery {
    padding: 20px 0;
    margin: -5px;
    clear: both;
}

.door__gallery img {
    width: 80px;
    height: 80px;
    padding: 5px;
}

.door__title {
    font-size: 25px;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    margin-bottom: 7px;
}

.door__color {
    color: #666;
    font-size: 13px;
}

.door__description {
    margin: 30px 0;
    line-height: 1.4;
    font-size: 14px;
}

.door__price {
    font-size: 28px;
    display: inline-block;
    padding: 10px 25px;
    border-radius: 0 25px;
}


.format {
    font-size: 1em;
    line-height: 1.46;
    padding: 30px;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}

.format p,
.format ul,
.format ol,
.format li,
.format table {
    margin-bottom: 10px;
}

.format table {
    border-collapse: collapse;
}

.format td, .format th {
    border-color: #ccc;
    padding: 5px;
}