/*система*/
@font-face {font-family:'Involve-Regular'; src:url('fonts/Involve-Regular.ttf') format('truetype');}
@font-face {font-family:'Involve-Medium'; src:url('fonts/Involve-Medium.ttf') format('truetype');}
@font-face {font-family:'Involve-Bold'; src:url('fonts/Involve-Bold.ttf') format('truetype');}
@font-face {font-family:'Caveat-SemiBold'; src:url('fonts/Caveat-SemiBold.ttf') format('truetype');}
@font-face {font-family:'Caveat-Regular'; src:url('fonts/Caveat-Regular.ttf') format('truetype');}

* {margin:0; padding:0; box-sizing:border-box; font-family:'Involve-Medium'; font-weight:500; font-style:normal; color:#544A49; outline:none}
a {text-decoration:none;}

/*структура*/
html, body {height:100%; width:100%; overflow-x:hidden; scroll-behavior:smooth; background-color:#F9F8F7}
body::-webkit-scrollbar {display:none}

main {width:100%}

	.breadcrumbs {display:flex; justify-content:center; width:100%; margin-top:30px; padding:0 60px;}
	.breadcrumbs > div {display:flex; border-radius:15px; background-color:#FFF; height:44px; padding:0 20px; align-items:center; gap:5px; width:100%; max-width:1600px;}
		.breadcrumbs > div > .home {display:flex; justify-content:center; align-items:center; height:24px; width:24px}
		.breadcrumbs > div > a {font-size:14px; color:#544a49; font-weight:500; line-height:20px;}
			.breadcrumbs > div > .home > img {height:20px; width:20px; opacity:0.3;}
		.breadcrumbs > div > .arrw {display:flex; justify-content:center; align-items:center; height:15px; width:15px}
			.breadcrumbs > div > .arrw > img {height:8px; width:4px}
		.breadcrumbs > div > .point {font-size:14px; font-weight:500; line-height:20px; color:#544A49; opacity:0.4;}
		.breadcrumbs > div > .current {font-size:14px; color:#544a4974; font-weight:500; line-height:20px;}

	.projects {display:flex; justify-content:center; width:100%; margin-bottom:184px}
		.projects > div {display:flex; flex-direction:column; align-items:center; gap:26px; padding:0 60px; width:100%;  max-width:1600px}
			h1 {font-size:30px; font-weight:700; line-height:30px; margin:50px 0 45px 0}
			
.grid {display:flex; flex-wrap:wrap; gap:40px}
	.grid > a {display:flex; flex-direction:column; gap:10px; height:400px; width:calc(33.3% - 27px)}
		.grid > a > .photo {height:340px; border-radius:16px; overflow:hidden;}
			.grid > a > .photo > img {height:100%; width:100%; object-fit:cover; border-radius:16px;}
		.grid > a > .data {display:flex; flex-direction:column; gap:10px;}
			.grid > a > .data > .h1, .grid > a > .data > .desc {display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; font-size:16px; color:#544A49;}
			.grid > a > .data > .desc {opacity:0.5}
			.grid > a > .data > span {font-size:14px; color:#544A49; opacity:0.5}
.artstruct {width:70%}
.artstruct .img > img {height:100%; width:100%; object-fit:cover;}

.photos {display:flex; flex-wrap:wrap; gap:40px; margin-top:60px;}
	.photos > .photo {height:300px; width:calc(33.3% - 30px); border-radius:16px;}
		.photos > .photo > img {height:100%; width:100%; object-fit:cover; border-radius:16px;}

/* mobile */
@media (max-width:768px) {
	.breadcrumbs {padding:0 20px;}
	.grid > a {width:100%}
	.projects > div {padding:0 20px}
	.grid {gap:60px}
	.breadcrumbs > div > .current {white-space:nowrap; width:120px; overflow:hidden; text-overflow:ellipsis}
	.artstruct {width:100%}
	.img {max-width:100%;}
	.photos {gap:20px}
	.photos > .photo {width:100%}
}