:root {
/* тёмная тема */
/*
    --text: white;
    --text-inv: black;
    --background: black;
    --background-inv: #fff;
    --background-gray: #683f1a;
    --background-gray-light: #eda664;
    --first_letter: #eda664;
*/
    /* светлая тема */
    
    --text: black;
    --text-inv: white;
    --background: white;
    --background-inv: black;
    --background-gray: #f1bc8b;
    --background-gray-light: #b27135;
    --first_letter: #b27135;
    --main_line: #f1bc8b;


    --font-title1: 2.5em;
    --font-title2: 2.3em;
    --font-title3: 1.9em;
    --font-title4: 1.8em;
    --font-text: 1em;
}

html {
    min-width: 350px;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: var(--text);
    background-color: var(--background);
}
/*Open Sans Condensed*/
h1 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    /*font-size: 40px;*/

    line-height: 35px;
    font-size: 2em;
    padding: 20px 0;
    border-bottom: 1px solid var(--background-gray);
    display: block;
    margin-bottom: 50px;
}
h1:first-letter,
h2:first-letter,
h3:first-letter,
h4:first-letter  {
    color: var(--first_letter);
}
h2 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 300;
    font-size: 35px; 
    margin: 0;
}
h3 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 300;
    font-size: 30px;   
    line-height: 20px;
    margin: 100px 0 30px;
}
h4 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 300;
    font-size: 25px;   
}

a {
    color: var(--text);
}
p {
    margin: 10px 0;
}

.logo {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5em;
    display: inline-block;
    position: relative;
    text-transform: uppercase;
}
.logo:first-letter,
.logo > span {
    color: var(--first_letter);
}
.logo > span {
    display: inline-block;
    transform: rotate(-30deg);
    font-family: "Hurricane", cursive;
    margin: 0 8px 0 -8px;
    vertical-align: sub;
    text-transform: lowercase;
}
.content .logo {
    font-size: 1.2em;
}
.content-wrapper {
    width: 100%;
} 
.header, .container, .content, .footer, header, menu, .path, .swiper {
    max-width: 1200px;
    min-width: 350px;
    margin: auto;
    padding: 10px;
}

.path {
    font-size: 0.8em;
    color: var(--background-gray-light);
}
.path a {
    margin: 0 20px;
}
.path span {
    margin: 0 20px;
    color: var(--text);
}

.footer {
    border-top: solid var(--background-gray) 4px;
    font-size: 0.9em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
}
@media screen and (max-width: 750px) {
    .footer {
        align-items: flex-start;
        flex-direction: column;
    }
}


.header {
    height: 150px;
    display: flex;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}
.header img {
    max-width: 500px;
    width: 100%;
    padding: 0 30px 0 10px;
}
.header div a {
    font-size: 0.9em;
    text-decoration: none;
}
.header div {
    white-space: nowrap;
}
@media screen and (max-width: 600px) {
    .header div a {
        font-size: 0.7em;
    }

}

/*меню*/

.open:checked ~ .mobmenu {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -webkit-transform: translate(0px,0);
    -moz-transform: translate(0px,0);
    transform: translate(0px,0);
    -webkit-transition: 0.35s;
    -moz-transition: 0.35s;
    transition: 0.35s
}
 
.open:not(:checked) ~ .mobmenu {
    -webkit-transition: 0.35s;
    -moz-transition: 0.35s;
    transition: 0.35s
}

menu {
    overflow: hidden;
    padding-bottom: 10px;
    margin-bottom: 3px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    margin: auto;
    padding: 10px;
    height: 40px;
    overflow: hidden;
    background: var(--background-gray);
    /*#440202*/
    border-radius: 7px;
}
menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    padding: 0;
    margin: 0;
    margin-top: -5px;
}
menu li {
    padding: 0 15px;
}
menu li a {
    color: var(--font-text);
    text-transform: uppercase;
    text-decoration: none;
    font-size: 18px;
    font-weight: 100;
}

.artcoll {
    padding: 0;
    margin: auto;
    max-width: 1200px;
    min-width: 350px;
    line-height: 10px;
    font-family: "Cormorant Garamond", serif;
    font-size: 1em;
    height: 15px;
    color: var(--background-gray);
    white-space: nowrap;
    overflow: hidden;

}
.artcoll span {
    padding: 20px;
}

.menu_img {
    padding: 0;
    margin: auto;
    max-width: 1200px;
    min-width: 350px;
    line-height: 0;
}
.menu_img img {
    object-fit: cover;
    width: 100%;
}

.slidebar {
    min-width: 25px;
    height: 4px;
    /*float: left;*/
    border: 0;
/*
    border-bottom: 12px double var(--background-gray-light);
    border-top: 4px solid var(--background-gray-light);
    cursor: pointer;
    padding-top: 4px;
    border-radius: 2px;
*/
    border-bottom: 6px double var(--background-gray-light);
    border-top: 2px solid var(--background-gray-light);
    cursor: pointer;
    padding-top: 2px;
    border-radius: 2px;
    margin: 4px 0 0 0;

}
.mobmenu {
    background: var(--background-gray-light);
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transform: translate(-100%,0);
    -moz-transform: translate(-100%,0);
    transform: translate(-100%,0);
    z-index: 10;
}
.mobmenu a {
    color: var(--text-inv);
    text-decoration: none;
    font-size: 1.2em;
}
.mobmenu h3 {
    color: var(--text-inv);
    border-bottom: 1px solid var(--background-inv);
    padding: 20px 0;
    display: block;
    margin: 0;
}
.mobmenu h3:first-letter {
    color: var(--background-inv);
}
.mobmenu ul {
    padding: 0;
}
.mobmenu .slidebar {
    position: absolute;
    top: 10px;
    right: 10px;
}
.mobmenu .slidebar:before, .mobmenu .slidebar:after {
    content: "";
    position: absolute;
    width: 24px;
    height: 4px;
    background: var(--background);
}
.mobmenu .slidebar:before {
    transform: rotate(45deg);
}
.mobmenu .slidebar:after {
    transform: rotate(-45deg);
}


.mobmenu ul, menu ul {
    list-style: none;
    line-height: 1.8em;
}
.mobmenu a:hover, .mobmenu a.active, menu a:hover, menu a.active {
    text-shadow: 1px 0 0 var(--main_black); 
}



.brands > div {
    display: flex;
    flex-wrap: wrap;
    padding: 50px 0 10px;
    border-bottom: 1px solid var(--background-gray);
    justify-content: center;
    
}
.brands > div:nth-last-of-type(1){
    border-bottom: 0;
}
.brands > div > div {
    align-self: center;
}
.brands div div:nth-of-type(1) {
    width: 150px;
    background: white;
    margin: 10px;
    display: flex;
    align-items: stretch;
}
.brands div div:nth-of-type(2) {
    min-width: 350px;
    flex-grow: 1;
    flex-basis: 60%;
}
.brands img {
    width: 150px;
    object-fit: cover;
    align-self: center;
    height: 150px;
    object-fit: contain;
}


.brand div div:nth-of-type(1) {
    width: 250px;
    background: white;
    margin: 20px;
    align-items: stretch;
    float: right;
}

.brand img {
    width: 250px;
    object-fit: cover;
    align-self: center;
    height: 250px;
    object-fit: contain;
    padding: 5px;
}
.brand div div:nth-of-type(2) {
    text-align: justify;
}

.brand_black div div:nth-of-type(1) {
    background: black;
    border: 1px solid var(--background-gray);
}

@media screen and (max-width: 600px) {
    .brand div div:nth-of-type(1) {
        margin: 20px auto;
        float: none;
    }

}

.korp {
    display: flex;
}
.korp div {
    padding: 10px;
}

@media screen and (max-width: 600px) {
    .korp div:nth-of-type(1) {
        display: none;
    }

}

.menu_down ul {
    padding: 20px;
    font-size: 0.8em;
    line-height: 17px;
}

.menu_down ul li {
    list-style: none;
}

.katalog_info {
    display: flex;
    padding: 10px;
    align-items: center;
}

.katalog_info .katalog_text{
    flex-grow: 0;
}
.katalog_imgs {
    display: flex;
    flex-direction: column;
}
.katalog_info .fotorama {
    width: 50%;
/*    border: 1px solid var(--background-gray);*/
    margin: 0 30px 0 0;
    border-radius: 10px;
}

.katalog_info .katalog_img_list {
    display: flex;
    padding-top: 20px;
}

@media screen and (max-width: 600px) {
    .katalog_info {
        flex-direction: column;
    }
    .katalog_info .fotorama {
        width: 100%;
        border-radius: 10px;
    }
}


#table_list {
    display: flex;
    margin: 20px 0 50px;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;

}

.katalog_list {
    width: 302px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    min-height: 300px;
}
.katalog_list img {
    object-fit: cover;
    width: 300px;
    height: 300px;
    border: 1px solid var(--background-gray);
    border-radius: 10px;
}



/*
#table_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.katalog_list {
    border: 1px solid var(--background-gray);
    margin: 10px;
    border-radius: 10px;
    width: 275px;
}

.katalog_list > div  {
    text-align: center;
}

.katalog_list img {
    width: 273px;
    height: 350px;
    border-radius: 10px;
    object-fit: contain;
}*/
.index_katalog {
    text-align: center;
}
.katalog_menu {
    display: flex;
    padding: 20px 0;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.katalog_menu > a {
    padding: 20px;
    display: block;
    border: 1px solid var(--background-gray);
    margin: 20px;
    border-radius: 10px;
    font-size: 2.5em;
    font-family: "Cormorant Garamond", serif;
    text-decoration: none;
    text-align: center;
}

.katalog_paginator {
    padding: 10px 0;
    text-align: center;
    background: var(--background-gray-light);
    margin: 50px 10px 20px;
    color: var(--background-gray);
    border-radius: 0 0 10px 10px;
}
.katalog_paginator a {
    padding: 10px;
    text-decoration: none;
    color: var(--text-inv);
}
.katalog_paginator .select {
    font-size: 1.5em;
    color: var(--background-gray);
    padding: 10px;
    font-weight: 600;
}

.katalog_paginator .text {
    padding: 10px;
}
.katalog_paginator:empty {
    display: none;
}


.news_view {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    margin-bottom: 100px;
}

newsinfo {
    text-align: right;
    font-size: 0.8em;
    display: block;
}

description {
    font-size: 1.2em;
    padding: 50px 10px;
    text-align: center;
    border-bottom: 1px solid var(--background-gray);
}
newsimage {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 900px;
    min-width: 330px;
    /*border: 1px solid var(--background-gray);*/
    margin: auto;
    aspect-ratio: 16 / 9;
}
newsimage img {
    padding: 10px;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
descriptionimage {
    text-align: right;
    font-size: 0.8em;
    width: 100%;
}

.news_view text {
    display: block;
    padding: 50px 0px 10px;
}

.news_galegy {
    margin: 50px 0;
    /*border: 1px solid var(--background-gray);*/
}

.news_view_share {
    margin-bottom: 100px;
}

.news_block {
    display: flex;
    margin: 20px 0 50px;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
}

.news_block > div {
    width: 302px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
}
.news_block img {
    object-fit: cover;
    width: 300px;
    height: 200px;
    border: 1px solid var(--background-gray);
    border-radius: 10px;
}
.paginator:empty {
    display: none;
}

.public_img_div {
    width: 100%;

}

.public_img_div img {
    max-width: 100%;
    min-width: 300px;
    border-radius: 5px;
}
.public_img_div {
    padding: 10px;
    margin: 100px auto;
    border: 1px solid var(--main_line);
    text-align: center;
    border-radius: 5px;
    min-width: 300px;
    max-width: 1000px;
}


.news_video { 
    max-width: 100%;
    padding: 10px;
    border: 1px solid var(--main_line);
    border-radius: 5px;
    margin: 100px auto;
}
.news_video > div {
    position: relative;
    padding-top: 56.25%;
}
.news_video > div iframe,  .news_video > div video {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    margin: 0;
    top: 0;
    left: 0;
    border: none;
}

.swiper {
    /*width: 100%;*/
    padding: 13px !important;
    border-left: 1px solid var(--background-gray);
    border-right: 1px solid var(--background-gray);
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 40px;
}


.swiper-slide {
  text-align: center;

  justify-content: center;
}

.swiper-slide img {
    max-width: 350px;
    width: 350px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}
@media screen and (max-width: 1230px) {
    .swiper {
        margin-left: 5px !important; 
        margin-right: 5px !important;
    }
}
@media screen and (max-width: 1150px) {
    .swiper-slide img {
        max-width: 300px;
        width: 300px;
    }
}
@media screen and (max-width: 949px) {
    .swiper-slide img {
        max-width: 330px;
        width: 330px;
    }
}

@media screen and (max-width: 700px) {
    .swiper-slide img {
        max-width: 300px;
        width: 300px;
    }
}

@media screen and (max-width: 649px) {
    .swiper-slide img {
        max-width: 400px;
        width: 400px;
    }
}

@media screen and (max-width: 420px) {
    .swiper-slide img {
        max-width: 350px;
        width: 350px;
    }
}

@media screen and (max-width: 380px) {
    .swiper-slide img {
        max-width: 330px;
        width: 330px;
    }
}
