@charset "UTF-8";
/**************************************************************/
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;
	font-family: var(--f-fam);
}

body, html {
	-ms-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-o-text-size-adjust: none;
	-webkit-text-size-adjust: none;
	/*text-rendering: optimizeLegibility;*/
	text-rendering: geometricPrecision;
	height: 100%;
    /*top: 0;*/
    /*min-height: 100%;*/
	background-color: var(--c-2);
}

a {
    text-decoration: none;
    color: inherit;
}
/*body {
    position: relative;
}*/
/* При обсчете размера бокса учитывать его полный размер, включая border и padding */
* {
	box-sizing: border-box;
}
/*Запрет выделения всего на сайте (чтоб не гадить интерфейс подсветками селекции)*/
* {
	-webkit-user-select: none; /* Chrome, Safari, Opera */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* стандартное свойство */
}
/**************************************************************/
/************************************
Variables
************************************/
:root {
	--f-fam: 'Raleway', sans-serif;
	
	/* PALETTE 1 */
	--c-1: #42433F;
	--c-2: #000000;
	--c-3: #E23C03;
	--c-4: #FC4000;
	--c-5: #A3B6C5;
	--c-6: #FFFFFF;
	--c-4-20: #FCD9CE;
	--c-4-60: #F48C6C;
	--c-3-multi: #C5232D;
	--c-sh: #C5232D;
    --c-terra: #C23C0E;
	--c-terra-light: #C5836C;
    
}

/**************************************************************
Title (z-index: 10000 — ...)
***************************************************************/
.title_rule {
	position: absolute;
	top: 0px;
    bottom: 45%;
	background: none;
	border-bottom: 6px solid var(--c-5);
	opacity: 0.3;
}
.title_box {
	background-color: var(--c-2);
	padding: 0px 0px 0px 0px;
	width: 100%;
	top: 0px;
	/*position: -webkit-sticky;*/ /* Safari */
	/*position: sticky;*/
	position: fixed;
	overflow-y: auto;
	z-index: 10000;
	border-bottom: 1px dotted var(--c-4-60);
}
.title_text {
	position: absolute;
	display: inline-block;
    background-color: var(--c-2);
    padding: 0px 20px 0px 20px;
	z-index: 11000;
	top: 50%;
  	transform: translate(0, -50%);
	font-weight: 400;
	font-size: 22px;
	color: var(--c-4-60);
	text-align: left;
}
.bullet {
	color: white;
}
/**************************************************************/
/* Menu Button
/**************************************************************/
.burger_button { /* burger or close */
	float: right;
	background-repeat: no-repeat;
	width: 52px;
	height: 52px;
    background-color: var(--c-4);
}
.show_menu {
	background-image: url("../pict/hamburger_white.svg");
}
.hide_menu {
	background-image: url("../pict/close_white.svg");
}
.touch_burger_hover {
	background-color: var(--c-3-multi);
}
@media (hover: hover) and (pointer: fine) {
	.burger_button:hover {
		background-color: var(--c-3-multi);
		cursor: pointer;
	}
}
/**************************************************************/
/* Menu Select Language
/**************************************************************/
.wrap_select_lang {
    position: fixed;
    top: 0px;
    right:60px;
    height: 40px; /* fit to height of title */
    width: 45px;
    display: flex;
	flex-direction: column;
 	justify-content: center;
	align-items: center;
    z-index: 20000;
    background-color: black;
}
.select_lang {
    appearance: none;
    -moz-appearance:none;
    -webkit-appearance:none;
    outline: none;
    background-color: black;
    color: var(--c-4-60);
    border: none;
    border-radius: 0px;
    font-weight: 400;
	font-size: 16px;
}
.select_lang:hover {
    cursor: pointer;
}
/**************************************************************
/* MENU (z-index: 9000-9999)
/**************************************************************/
.wrap_menu {
	display: none; /* or flex */
	flex-direction: column;
 	justify-content: center;
	align-items: center;
	position: absolute;
	width: 100%;
	top: 40px;
	min-height: 100%;
    background-color: none;
	z-index: 9000;
}
.menu_content {
	width: fit-content;
	flex-shrink: 0;
}
.wrap_menu_button {
	width: 100%;
	border-left: 1px solid var(--c-2);
}
.menu_button {
	position: relative;
	width: 100%;
	padding: 2.2vh 0 2.2vh 0;
    text-shadow: 4px 4px 8px #000000;
	/*font-size: 2.8vh;*/ /*!!!!!!!*/
    font-size: 2.4em;
	font-weight: 500;
	color: var(--c-6);
	transition: all 500ms;
}
.menu_button_active {
    text-shadow: 4px 4px 8px #000000, 0px 0px 16px #000000, 0px 0px 16px #000000;
    color: white;
}
.touch_menu_button_hover {
    text-shadow: 4px 4px 8px #000000, 0px 0px 16px #000000, 0px 0px 16px #000000;
    color: white;
}
@media (hover: hover) and (pointer: fine) {
    .menu_button:hover {
        cursor: pointer;
        text-shadow: 4px 4px 8px #000000, 0px 0px 16px #000000, 0px 0px 16px #000000;
        color: white;
    }
}

/**************************************************************
/* Sub Menu
/**************************************************************/
.submenu {
    margin-top: 0.5vh;
    margin-bottom: 0.5vh;
}
.submenu_button {
    position: relative;
    width: 100%;
	padding: 1.5vh;
	margin-left: 0;
    /*font-size: 2vh;*/ /***************/
    font-size: 1.8em;
	font-weight: 500;
	color: white;
    text-shadow: 4px 4px 8px #000000;
}
#sub_portfolio {
    display: none;
}
.touch_submenu_hover {
    background-color: black;
    color: white;
    border-radius: 0px 2em 2em 0px;
}
@media (hover: hover) and (pointer: fine) {
	.submenu_button:hover {
		background-color: black;
	    color: white;
        cursor: pointer;
        border-radius: 0px 2em 2em 0px;
	}
}
@media screen and (max-width: 680px) {
	.menu_button {
		/*padding: 3vh;*/
		/*font-size: 3vh;*/ /*!!!!!!!!*/
	}
	.menu_button:hover {
		/*padding-left: 3vh;*/
	}
    .submenu_button {
        /*font-size: 2.5vh;*/ /*!!!!!!!!*/
    }
}
@media (pointer: coarse) {
    .menu_button {
        font-size: 2em;
    }
    .submenu_button {
        font-size: 1.4em;
    }
}
/* iPhone 7: 1334 x 750 (667 x 375) */
/* iPad 6: 2048 x 1536 (1024 x 768) */
/*@media screen and (max-width: 680px) {
	.menu_button {
		font-size: 1.5em;
        color: green;
	}
    .submenu_button {
        font-size: 1em;
        color: green;
    }
}*/
@media screen and (max-width: 680px) {
	.menu_button {
		font-size: 1.5em;
	}
    .submenu_button {
        font-size: 1em;
    }
}
.span_icon {
	/*color: var(--c-3);*/
    color: var(--c-terra);
}
/**************************************************************
/* BACK (z-index: 0 - 999)
/**************************************************************/
.wrap_back {
    position: fixed;
    width: 100%;
	min-height: 100%;
    top: 0;
}
.back {
	position: absolute;
	top: 0;
	width: 100%;
	min-height: 100%;
	z-index: 0; /* ниже только body */
	background-color: #E23C03;
    background-image: linear-gradient(40deg, var(--c-2), var(--c-3), var(--c-3), var(--c-2));
}
.back_portfolio {
    background-color: #333333;
    background-image: none;
}
.back_black_1 {
    background-color: #333333;
    background-image: linear-gradient(40deg, #000000, #444444, #444444, #000000);
}
.back_on_back {
	position: absolute;
	top: 0;
	width: 100%;
	min-height: 100%;
	background-color: none;
    background-image: linear-gradient(-30deg, rgba(0,0,0,1), rgba(0,0,0,0), rgba(0,0,0,1));
}
.pict_back {
	width: 100%;
	min-height: 100%;
	object-fit: cover;
    position: absolute;
	/*z-index: 800;*/
}
.blend_screen {
	mix-blend-mode: screen;
}
.blend_multiply {
	mix-blend-mode: multiply;
}
.blend_luminosity {
	mix-blend-mode: luminosity;
}
.pict_on_back {
	width: 100%;
	height: 100px;
	object-fit: cover; /*иногда лучше брать cover*/
    position: absolute;
	/*z-index: 900;*/
}
.wrap_pict_back { /* надо смещать top на высоту тутула */
	display: flex;
	flex-direction: column;
 	justify-content: center;
	align-items: center;
	position: absolute;
	width: 100%;
	top: 0px;
	min-height: 100%;
	/*z-index: 800;*/ /* mix-blend-mode не работает, если есть назначение z-index у wrap картинки */
}
.wrap_pict_on_back { /* надо смещать top на высоту тутула */
	display: flex;
	flex-direction: column;
 	justify-content: center;
	align-items: center;
	position: absolute;
	width: 100%;
	top: 0px;
	min-height: 100%;
	/*z-index: 900;*/ /* mix-blend-mode не работает, если есть назначение z-index у wrap картинки */
}
/**************************************************************
/* CONTENT CATEGORY
/**************************************************************/
.wrap_all_content,
.wrap_cat,
.wrap_obj {
    position: relative;
    width: 100%;
}
.wrap_obj {
    display: none;
}

/* ZOOM ——> ******************************/
.wrap_zoom {
    width: 100%;
    position: relative;
    margin-top: 20px;
}
.zoom { /* контейнер для увеличенной картинки */
    aspect-ratio: 1.5; /*3 / 2;*/
    background-color: black;
    position: relative;
    max-width: 2000px;
    margin: auto;
}
.zoom > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    vertical-align: bottom;
}
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: black;
    opacity: 0.5;
    width: 30px;
    height: 30px;
}
.prev {
    background-image: url("../pict/prev_white.svg");
    left: 0px;
    z-index: 333335;
}
.next {
    background-image: url("../pict/next_white.svg");
    right: 0px;
    z-index: 333336;
}
.prev_big, .next_big {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: none;
    width: 100px;
    height: 100px;
}
.prev_big {
    left: 0px;
    z-index: 333333;
}
.next_big {
    right: 0px;
    z-index: 333334;
}
.closezoom {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 333330;
    width: 60px;
    height: 60px;
    background-color: black;
    background-image: url("../pict/close_white.svg");
    opacity: 0.5;
}
/* <—— ZOOM ******************************/

.cat_info, .obj_info {
	position: -webkit-sticky;
    position: sticky;
    top: 30px;
    width: fit-content;
    margin: auto;
    padding: 10px 20px 10px 20px;
    color: white;
    font-weight: 400;
    font-size: 18px;
    background-color: black;
    text-align: center;
    z-index: 9000;
    border: 1px solid var(--c-4-60);
    border-radius: 0px 0px 20px 20px;
    border-top: none;
}
.obj_info {
    font-size: 16px;
}
.cat_info {
    display: none;
}
.wrap_category_obj {
    display: grid;
    /*width: 100%;*/
    width: 50%;
    transition: width 2s;
    margin: auto;
    position: relative;
    grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
    gap: 2px;
    padding: 10px;
}
.ready_cat {
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}
.wrap_preview {
    display: grid;
    width: 50%;
    margin: auto;
    position: relative;
    grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
    gap: 2px;
    padding: 10px;
    /*overflow-y: scroll;*/
}
.ready_obj {
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
@media screen and (max-width: 680px) {
    .wrap_preview {
        grid-template-columns: repeat(auto-fit, minmax(40vw, 1fr));
    }
    /*.cat_info, .obj_info {
        font-size: 4vw;
        padding: 2.2vw 3.5vw 2.2vw 3.5vw;
        border-radius: 0px 0px 10px 10px;
    }*/
}
.item {
    aspect-ratio: 3 / 2;
    background-color: black;
    border: 4px solid transparent;
   /* border: none;*/
    position: relative;
    z-index: 8000;
}
.item_active {
    border: 4px solid var(--c-3);
}

/* HOVER ——> *****************************/
@media (hover: hover) and (pointer: fine) { /* мышь, тачпад */
    .item:hover {
        border: 4px solid var(--c-3);
        cursor: pointer;
    }
    .wrap_preview > .item:hover {
        border: 4px solid white;
        cursor: pointer;
    }
    .prev:hover, .next:hover {
        opacity: 1;
        cursor: pointer;
    }
    .closezoom:hover {
        opacity: 1;
        cursor: pointer;
    }
    .obj_info:hover {
        background-color: var(--c-3);
        color: black;
        cursor: pointer;
    }
}
@media (hover: none) and (pointer: coarse) { /* touch devices */
    
}
.touch_itemcat_hover {
	background-color: var(--c-3);
}
.touch_itemobj_hover {
	background-color: white;
}
.touch_zoom_hover {
    opacity: 1;
}
.touch_objinfo_hover {
    background-color: var(--c-3);
    color: black;
}
/* <—— HOVER *****************************/

.item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  vertical-align: bottom;
}
.pict_info {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 0px;
    left: 0px;
    z-index: 333333;
    padding: 6px;
    font-weight: 500;
    font-size: 14px;
    color: white;
    background-color: black;
    opacity: 0.5;
    display: none;
}
.hell { /* Для скрытой загрузки в кэш браузера */
    display: none;
}
/**************************************************************
/* CONTENT HOME PAGE (z-index: 1000 - 1999)
/**************************************************************/
.wrap_content_home { /* надо смещать top на высоту тутула */
	display: flex;
	flex-direction: column;
 	justify-content: center;
	align-items: center;
	position: absolute;
	width: 100%;
	top: 0px;
	min-height: 100%;
	padding-top: 6vh;
	padding-bottom: 1vh;
}
.content_home {
    position:relative; /*+++ чтоб можно было позиционировать внутри него др. блоки */
	width: 100%;
	/* в данном случае это то же, что и flex-shrink: 0!!! */
	/*min-width: 100%;*/
	flex-shrink: 0;
    /*margin-top: -100px;*/
}

/*+++*/
.img_home {
	width: 100%;
	height: 100%;
	object-fit: content;
    /*position: absolute;*/
	/*z-index: 800;*/
}
.wrap_img_home {
    position: absolute;
    top: 0;
    right: 10%;
    /*width: fit-content;*/
    width: 70%;
    height: 90%;
    /*transform: rotate(-30deg);*/
    opacity: 0.7;
    display: none;
}


.ask_1st {
	position: relative;
    margin-left: 25%;
	/*margin-left: 0%; margin-left: 25%; Значения до и после анимации с плавным переходом*/
	margin-right: 20%;
	margin-bottom: 0.3em;
	/*margin-top: 2vw;*/
	margin-top: 0;
	/*padding-bottom: 40px;*/
	padding-bottom: 0.7em;
	border-bottom: 1px solid var(--c-terra);
	font-weight: 900;
	/*font-size: 5vw;*/
	/*color: var(--c-3);*/
    color: var(--c-terra);
    
	text-align: left;
	/*background-color: yellow;*/
	line-height: 0.18;
	z-index: 1001;
	/*text-shadow: 4px 4px black;*/
	text-shadow: -4px 0 black, 0 6px black, 8px 0 black, 0 -1px black;
	/*text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;*/ /*Outline*/
	/*text-shadow: -4px 0 var(--c-sh), 0 6px var(--c-sh), 8px 0 var(--c-sh), 0 -1px var(--c-sh);*/
    display: none;
}
.span_ask {
	font-size: 3em;
}
.text_homepage_box {
	position: relative;
	margin-left: 31%;
	margin-right: 25%;
}
.ask_2nd {
	position: relative;
	font-weight: 400;
	/*font-size: 2vw;*/
	line-height: 1.2;
	/*color: var(--c-4-20);*/
    color: white;
	text-align: left;
	padding-bottom: 0;
	z-index: 1002;
    display: none;
}
.answer_1st {
	position: relative;
	margin-top: 0.5em;
	font-weight: 900; 
	/*font-size: 4vw;*/
	line-height: 1.2;
	color: var(--c-terra-light);
	border-bottom: 1px solid var(--c-terra-light);
	z-index: 1003;
}
.answer_2nd {
	position: relative;
	margin-top: 0.5em;
	font-weight: 400;
	/*font-size: 20px;*/
	color: var(--c-6);
	z-index: 1005;
}
.wrap_text_paint {
	
}
.answer_wrap {
    position: relative;
    /*left: 1000px; left: 0; Значения до и после анимации с плавным переходом*/
    padding-left: 2em;
	border-left: 1px solid var(--c-terra-light);
    display: none;
}
@media screen and (max-width: 680px) {
    .answer_wrap {
	    padding-left: 1em;
    }
    .ask_1st {
		/*margin-left: 13%; Значения после анимации с плавным переходом от нуля*/
		margin-left: 13%;
        margin-right: 13%;
	}
	.text_homepage_box {
		margin-left: 18%;
		margin-right: 18%;
	}
	.ask_2nd {
		font-weight: 400;
	}
	.answer_1st {
		/*font-size: 6vw;*/
	}
	.answer_2nd {
		/*font-size: 16px;*/
	}
}
.span_strong_1 {
	font-weight: 700;
	color: var(--c-6);
}
.span_strong_2 {
	font-weight: 800;
	color: var(--c-6);
}
/**************************************************************
/* ABOUT
/* iPhone 7: 1334 x 750 (667 x 375) */
/* iPad 6: 2048 x 1536 (1024 x 768) */
/**************************************************************/
.wrap_about, .wrap_contact {
    position: fixed;
    width: 100%;
    top: 0;
    display: flex;
    flex-direction: column;
 	justify-content: center;
	align-items: center;
}
/*.wrap_about {
    background-image: url("../pict/about_1.png");
    background-repeat: no-repeat;
    mix-blend-mode: screen;
}*/
.content_about, .content_contact {
	position: relative;
	width: 50%;
    color: #dddddd;
    font-weight: 400;
    font-size: 16px;
    margin: 0 auto;
    text-shadow: 4px 4px 16px #000000;
    /*display: none;*/
}
.content_about {
    visibility: hidden;
}
.content_contact {
	position: relative;
	width: fit-content;
    color: white;
    font-weight: 400;
    font-size: 32px;
    line-height: 2.2;
    margin: 0 auto;
    text-shadow: 4px 4px 8px #000000;
    display: none;
}

.back_about {
    position: absolute;
    top: 0px;
    /*right: 0px;*/
    width: 100%;
    height: 100%;
    z-index: 0;
}
.img_about {
	width: 100%;
	min-height: 100%;
	object-fit: cover;
    /*position: absolute;*/
	/*z-index: 800;*/
}
.wrap_img_about {
    position: absolute;
    top: 0;
    right: 0;
    /*float: right;*/
    width: 75%;
    transform: rotate(30deg);
    opacity: 0.5;
    display: none;
}
/*@media only screen and (orientation: portrait) {
    .content_about {
        width: 80%;
    }
}*/
/*@media only screen and (orientation: portrait) {
    .content_about {
        width: 80%;
        top: auto;
        transform: none;
        font-size: 16px;
        margin: 90px auto;
    }
}*/
.myname {
    border-bottom: 1px solid white;
    margin-bottom: 0.5em;
    font-weight: 800;
    /*font-size: 0.8em;*/
    /*font-style: italic;*/
    color: /*#dddddd*/var(--c-terra-light);
}
.para_note {
    text-align: right;
    font-weight: 600;
    font-size: 0.6em;
    font-style: italic;
    line-height: 0.1;
    margin-bottom: 0.2em;
}
.span_icon_contact {
    color: var(--c-terra);
    font-size: 1.2em;
}
.span_contact {
    color: var(--c-terra-light);
}
.icon_cont {
    width: 40px;
    vertical-align:middle;
}
.span_tel {
    color: var(--c-terra-light);
}
.content_about > p {
    margin-bottom: 1em;
    position: relative;
}
.zag {
    color: var(--c-terra);
    font-weight: 900;
    font-size: 2.5em;
    padding-bottom: 0.2em;
    border-bottom: 1px solid var(--c-terra);
    margin-bottom: 0.7em;
    margin-left: -1em;
}
.span_about {
    font-weight: 800;
    /*color: white;*/
}
.span_last {
    border-bottom: 6px solid var(--c-terra);
    padding-bottom: 0.5em;
}
.lead {
	color: var(--c-terra-light);    
	font-size: 1.4em;
    font-weight: 400;
	margin-bottom: 0.2em;
}
@media screen and (max-width: 680px) {
    .content_about {
        font-size: 14px;
    }
    .content_contact {
        font-size: 20px;
    }
    .zag {
       margin-left: 0;
    }
}
/**************************************************************/
/* CATEGORY
/**************************************************************/


/**************************************************************
/* MEDIA QUERY
/**************************************************************/
@media screen and (max-width: 800px) {
	.title_text {
		font-size: 20px;
	}
	.ask_1st {
		/*font-size: 40px;*/
	}
}
@media screen and (max-width: 680px) {
	.title_text {
		font-size: 16px;
	}
}
/**************************************************************/


