:root 
{
  --main-bg-color: #95afd6;
}

@font-face 
{
    font-family: Raleway; /* Èìÿ øðèôòà */
    src: url(/templates/fonts/Raleway-VariableFont_wght.ttf); /* Ïóòü ê ôàéëó ñî øðèôòîì */
}

.imgsList
{
	grid-area: imgsList;
	width:100%;
	margin:0;
	padding:0;
	height:auto;
	transform: translateY(20px);
}

.imgsList>div
{
	display:flex;
}

.bigImg
{
	grid-area: bigImg;
	margin:0;
	padding:0;
	width:100%;
}

.bigImg>div{
	position: relative;
    height: 100%;
	display: flex;
    justify-content: center;
    align-items: center;
}

.bigImgItem
{
	z-index:1;
}

h1.title
{
	grid-area: hOne;
	margin:0;
	padding:50px 0;
	display: flex;
    justify-content: center;
    align-items: center;
	transform: translateX(10px);
	font-size: 3em;
    font-weight: 600;
	word-break: break-word;
}

h1,div,p,a
{
	font-family: Raleway; /* Èìÿ øðèôòà */
    src: url(/templates/fonts/Raleway-VariableFont_wght.ttf); /* Ïóòü ê ôàéëó ñî øðèôòîì */
}

html, body 
{
    height:100%;
	width:100%;
	margin:0 auto;
}

.contactsWrapper
{
	grid-area: contactsWrapper;
	width:100%;
	height:100%;
	margin:0;
	padding:0;
}

.links
{
	grid-area: links;
	width: 100%;
	margin:0;
	padding:0;
}

.contactsWrapper
{
	height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
	flex-wrap: wrap;
}

.links>div
{
	height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.text
{
	grid-area: text;
	width: calc(95% - 20px);
    margin:0;
	padding:50px 20px 20px;
	text-align:justify;
	transform: translateX(10px);
	overflow:auto;
}

.text::-webkit-scrollbar { width: 0; }

.text { -ms-overflow-style: none; }

.text { overflow: -moz-scrollbars-none; }

main
{
	position:relative;
	display:grid;
	grid-template-areas:
		"sotialWrap sotialWrap"
		"hOne hOne"
		"contactsWrapper contactsWrapper"
		"bigImg text"
		"imgsList text"
		". text";
	grid-template-columns: 50% 50%;
	grid-template-rows: auto auto auto 70vh auto auto;
	grid-gap: 20px;
	padding:0;
	min-height:100%;
	margin: 30px auto 0;
	width:95%;
	height:auto;
}

main>.sotialWrap
{
	margin: 0 auto;
    height: auto;
}

.imgsList>div.whiteScroll
{
	display:none;
}

.imgsList>div
{
	overflow:auto;
}

.hideScroll>div::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #e9e9e9;
}

/* ???????? ?????????? */
.hideScroll>div::-webkit-scrollbar-thumb {
    background-color: #979797;
}

.hideScroll>div::-webkit-scrollbar-thumb:hover {
    background-color: #5c5c5c;
}

.imgsList>div>div
{
	border:none;
}

.imgItem
{
	width:150px;
	height:150px;
	border-radius: 50% 50% 0 0;
}

.img-zoom-result
{
	display:none;
}

.contactItem
{
	padding: 10px 30px 10px 10px;
}

.contactItem>div
{
	padding: 0 0 0 25px;
}

.text:before
{
	content:'';
	width: 30px;
    height: 30px;
    background-color:var(--main-bg-color);
    position: absolute;
	border-radius:50%;
	bottom:100%;
	left:0;
}

.bigImgItem
{
	top: 50%;
    transform: translateY(-50%);
}

.img-zoom-container:before
{
	content:'';
	width: 80%;
    height: 80%;
    background-color:var(--main-bg-color);
    position: absolute;
	border-radius:30px;
	top:0;
	left:0;
	transform: rotate(-2deg);
}

.imgsList>div>div:before
{
	content: '';
    width: 150px;
    height: 150px;
    background-color: var(--main-bg-color);
    position: absolute;
    border-radius: 30px;
    transform: rotate(-2deg);
    z-index: -1;
}

.links:before
{
	content:'';
	width: 30px;
    height: 30px;
    background-color:var(--main-bg-color);
    position: absolute;
	border-radius:50%;
	top:0;
	left:0;
}

.links:after
{
	content:'';
	width: 30px;
    height: 30px;
    background-color:var(--main-bg-color);
    position: absolute;
	border-radius:50%;
	top:0;
	right:0;
}

.contactItem>div:before
{
	content:'';
	width: 30px;
    height: 30px;
    background-color:var(--main-bg-color);
    position: absolute;
	border-radius:50%;
	top: 50%;
    left: 0;
    transform: translateY(-50%);
}

figure.zoom
{
	position: relative;
    top: 0;
    max-height: 70vh;
    transform: none;
    width: auto;
    left: 0;
}

#myimage
{
	position: relative;
    transition: opacity .5s;
    display: block;
    width: auto;
    max-height: calc(70vh - 20px);
    top: auto;
    transform: none;
}

.sotialWrap>.sotial
{
	justify-content: center;
	padding: 0;
}

.bold{
	width: auto;
}

.sclNtwrClass>a>img
{
	height: 20px;
}

.sclNtwrClass>a
{
	display: flex;
}

@media screen and (max-width: 1200px)
{
	main
	{
		grid-template-areas: 
			"sotialWrap"
			"hOne"
			"contactsWrapper"
			"bigImg"
			"imgsList"
			"text";
		grid-template-columns: 100%;
		grid-template-rows: auto auto auto 40vh  auto auto;
		margin: 0 auto;
	}
	
	#myimage
	{
		display:inline-block;
	}
	
	figure.zoom
	{
		min-width:auto;
		width:auto;
		max-height: calc(40vh - 20px);
	}
	
	#myimage
	{
		max-height: calc(40vh - 20px);
	}
	
	.text:before
	{
		display:none;
	}
	
	.contactsWrapper
	{
		overflow:hidden;
	}
	
	.links
	{
		height: 100%;
		text-align: center;
	}
	
	.links>div
	{
		display: block;
	}
	
	.sotialWrap
	{
		flex-wrap:wrap;
	}
}