@import url('https://fonts.googleapis.com/css2?family=Yantramanav:wght@300;400;700&display=swap');

*,
*::before,
*::after {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	line-height: 1.6;
	font-family: 'Yantramanav', sans-serif;
	font-size: 1rem;
	font-weight: 300;
}

html {
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
}

img {
	max-width: 100%;
	display: block;
}

ul, ol {
	list-style-position: inside;
	margin-bottom: 1rem;
}

ul {
	list-style-type: square;
}

p {
	margin-bottom: 1rem;
}

strong {
	font-weight: 700;
}

.btn {
	padding: .5rem 1.5rem;
	color: #FF6122;
	border: 1px solid #FF6122;
	border-radius: 3rem;
	font-size: .9rem;
	text-transform: uppercase;
	text-decoration: none;
	display: inline-block;
	margin-top: 1rem;
	transition: .3s;
}

.btn:hover {
	background-color: #FF6122;
	color: white;
}

.btn_footer {
	border: 1px solid white;
	display: inline-flex;
	gap: .5rem;
	align-items: center;
	color: white;
	margin-right: 1rem;
}

button {
	background-color: transparent;
	cursor: pointer;
	max-width: fit-content;
	margin: 2rem auto;
	grid-column: span 3;
}

header {
	padding: .5rem;
	max-width: 1200px;
	margin: .5rem auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo img {
	height: 3.5rem;
	width: auto;
}

nav {
	display: flex;
	gap: 2.5rem;
}

nav a {
	text-transform: uppercase;
	text-decoration: none;
	font-weight: 400;
	font-size: .9rem;
	color: #333;
}

.nav_lang {
	gap: 0;
}

.nav_lang a {
	padding: 0 .5rem;
}

a.active {
	color: #FF6122;
}

.nav_lang a:nth-of-type(2) {
	border-left: 1px solid #666;
	border-right: 1px solid #666;
}

.burger {
	display: none;
	position: fixed;
	top: 1.5rem;
	right: 1rem;
	cursor: pointer;
	padding: .5rem;
	transition: .3s;
	border-radius: 50%;
	height: 3rem;
	width: 3rem;
	z-index: 4;
	background-color: #FF6122;
}

.burger:hover {
	transform: rotate(90deg);
}

.menu_pop {
	background-color: white;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	flex-direction: column;	
    align-items: center;
    gap: 2rem;
	padding: 2rem;
	z-index: 2;
}

.menu_pop .close {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	cursor: pointer;
}

.menu_pop nav {
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.menu_pop a {
	font-size: 1.5rem;
}

.menu_pop .nav_lang {
	flex-direction: row;
	gap: 0;
	margin-top: 2rem;
}

.page_title {
	max-width: 1200px;
	margin: 2rem auto;
	padding: 0 .5rem;
}

.page_title h1 {
	font-size: 3rem;
	color: #333;
	line-height: 1.2;
}

.grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	max-width: 1200px;
	margin: 2rem auto;
	padding: 0 .5rem;
	gap: 2rem;
	grid-auto-flow: dense;
}

.grid_index {
	margin-bottom: 2rem;
}

.grid_index article:first-of-type {
	grid-column: span 2;
}

.grid_index article:first-of-type .image,
.grid_index article:first-of-type .image img {
	aspect-ratio: 16/9;
}

article {
	cursor: pointer;
	color: #666;
}

article .image {
	background-color: #999;
	aspect-ratio: 4/3;
}

article img {
	aspect-ratio: 4/3;
	object-fit: cover;
	width: 100%;
}

article h2 {
	line-height: 1.2;
	font-size: 1.3rem;
	margin: -2rem 0 1rem 0;
	background-color: white;
	width: 90%;
	padding: .5rem;
	color: #333;
	transition: .3s;
	box-shadow: 0 0 #FF6122;
	position: relative;
}

article:hover h2 {
	transform: translate(2px, -2px);
	box-shadow: -2px 2px #FF6122;
}

article p {
	color: #666;
}

.grid_index article:first-of-type h2 {
	font-size: 1.8rem;
}

.grid.post {
	margin-top: 3rem;
}

.post .banner {
	grid-column: span 2;
	aspect-ratio: 4/3;
	background-color: #999;
}

.post .banner img {
	aspect-ratio: 4/3;
	object-fit: cover;
}

.post h1 {
	grid-column: span 2;
	font-size: 2.5rem;
	line-height: 1.2;
	color: #333;
}

.post span {
	font-weight: 400;
	color: #666;
	display: block;
	text-align: right;
}

.post .intro {
	grid-column: span 2;
	font-weight: 400;
	color: #333;
}

.post .body {
	grid-column: span 2;
	color: #666;
}

.post .body h2 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: #333;
}

.post .body p {
	font-size: 1.1rem;
}

.post .body strong {
	font-size: 1.1rem;
	font-weight: 400;
}

.post .body a {
	color: #FF6122;
}

.post aside {
	grid-row: span 5;
	padding: 1rem;
	background-color: #F5F6FC;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-self: start;
}

.post aside h3 {
	font-size: 1.8rem;
	color: #333;
}

.main_banner {
	height: 40vh;
	margin-bottom: 6rem;
	position: relative;
	background-image: linear-gradient(to right, #333, transparent);
}

.main_banner img {
	mix-blend-mode: multiply;
}

.avatar img,
.about_banner img,
.main_banner img,
.second_banner img {
	object-fit: cover;
	height: 100%;
	width: 100%;
}

.main_banner h1 {
	color: white;
	font-size: clamp(2.5rem, 6vw, 3.5rem);
	line-height: 1;
	font-weight: 400;
	max-width: 30ch;
	position: absolute;
	top: 25%;
	left: 10%;
	padding-right: 1rem;
}

.team {
	background-color: #FF6122;
	padding: 2rem;
	color: white;
	margin-bottom: 1rem;
	margin-left: -2rem;
	margin-right: 2rem;
	align-self: start;
}

.team h2,
.team h2 strong {
	font-weight: 700;
	font-size: 1.5rem;
	margin-bottom: 1rem;
	line-height: 1.2;
}

.profile {
	background-color: #F5F6FC;
	padding: 2rem;
	align-self: start;
}

.avatar {
	background-color: #999;
	height: 120px;
	width: 120px;
	border-radius: 50%;
	margin: 0 auto;
	overflow: hidden;
	margin-bottom: 2rem;
}

.about {
	grid-column: span 2;
	columns: 2;
	column-gap: 2rem;
	column-width: 35ch;
	color: #666;
}

.about::first-letter,
.left h2::first-letter {
	color: #FF6122;
	font-size: 4rem;
	font-weight: 400;
	line-height: 0;
}

.second_banner {
	background-color: #999;
	height: 40vh;
	margin-top: 4rem;
}

.about_banner {
	grid-column: span 3;
	background-color: #999;
	height: 40vh;
	margin-left: -20%;
	margin-bottom: 2rem;
}

.latest {
	background-color: #F5F6FC;
	padding: 4rem 0;
}

.latest h1 {
	font-size: 3rem;
	max-width: 1200px;
	margin: auto;
	padding: 0 .5rem;
	color: #333;
	line-height: 1.2;
}

.container_btn {
	max-width: 1200px;
	margin: auto;
	padding: 0 .5rem;
	display: flex;
	gap: 1rem;
	justify-content: flex-end;
}

.solutions_header {
	grid-column: span 3;
	background-color: white;
	padding: 2rem;
	margin-top: -7.5rem;
	margin-left: -2rem;
	display: flex;
	align-items: baseline;
	max-width: 900px;
}

.solutions_header h1 {
	font-size: 3rem;
	color: #333;
	margin-right: 2rem;
	line-height: 1.2;
	white-space: nowrap;
}

.solutions_header p {
	color: #999;
	padding-bottom: 1rem;
	border-bottom: 1px solid #999;
	transition: .3s;
	cursor: pointer;
	font-size: 1.3rem;
}

.solutions_header p:first-of-type {
	padding-right: 1rem;
}

.solutions_header p:last-of-type {
	padding-left: 1rem;
}

.solutions_header p.active {
	color: #FF6122;
	font-weight: 400;
	padding-bottom: calc(1rem - 1px);
	border-bottom: 2px solid #FF6122;
}

.profile h2,
.left h2,
.left h2 strong,
.right h2 strong,
.right h2 {
	font-size: 1.3rem;
	font-weight: 700;
	color: #333;
	line-height: 1.2;
	margin-bottom: 1rem;
}

.profile h2 {
	text-align: center;
}

.post .intro::before {
	content: '';
	height: 1rem;
	width: 1rem;
	background-color: #FF6122;
	display: inline-block;
	margin-right: .5rem;
}

.left p {
	color: #666;
}

.profile p,
.right p {
	color: #333;
}

.solutions_content {
	grid-column: span 3;
	display: flex;
	column-gap: 4rem;
	row-gap: 2rem;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 4rem;
}

.right {
	padding: 2rem;
	background-color: #F5F6FC;
}

footer {
	background-color: #FF6122;
	padding-top: 2rem;
}

.footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
	margin-bottom: 2rem;
	padding: 0 .5rem;
}

.footer a {
	text-decoration: none;
	color: white;
}

.footer p {
	color: white;
	text-align: right;
	margin-top: 1rem;
	margin-bottom: 0;
	font-size: .9rem;
}

.footer img {
	width: 10rem;
	margin-left: 1rem;
	vertical-align: middle;
	display: inline;  
}

.linkedin {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin-top: 1rem;
}

.linkedin span {
	font-size: .9rem;
}

.credit {
	color: white;
	margin: auto;
	font-size: .9rem;
	width: 100%;
	text-align: center;
	padding: .5rem 0;
	border-top: 1px solid white;
}

address {
	display: inline-block;
	font-style: normal;
	font-size: .9rem;
}

.clients {
	background-color: #F5F6FC;
	padding: 2rem 1rem;
}

.logos {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
	margin: 4rem auto;
	align-items: center;
	justify-content: center;
	mix-blend-mode: multiply;
	max-width: 1200px;
}

.logos img {
	max-width: 120px;
	width: 120px;
}

.read_more {
	text-decoration: none;
	color: #FF6122;
	white-space: nowrap;
}

@media (max-width: 800px) {
	.grid {
		grid-template-columns: 1fr;
	}
	.about {
		margin-top: 1rem;
	}
	.profile,
	.about,
	.team,
	.post h1,
	.post .intro,
	.post .banner,
	.post .body,
	.post aside,
	article,
	.grid_index article:first-of-type {
		grid-column: span 3;
	}
	.profile,
	.team {
		padding: 2rem 5%;
		margin: 0;
	}
	.second_banner {
		margin-top: 4rem;
	}
	.solutions_header {
		flex-wrap: wrap;
	}
	.solutions_header p:first-of-type,
	.solutions_header p:last-of-type {
		padding: .5rem;
		margin: .5rem;
	}
	.solutions_content {
		flex-wrap: wrap;
		margin-bottom: 4rem;
	}
	.right {
		padding: 2rem 5%;
	}
	.post h1 {
		line-height: 1;
	}
	.main_nav {
		display: none;
	}
	.burger {
		display: block;
	}
	.linkedin,
	.footer {
		justify-content: center;
	}
	.footer p {
		text-align: center;
	}
	.footer img,
	.btn_footer {
		margin: 0 .5rem;
	}
	.main_banner {
		margin-bottom: 2rem;
	}
	.container_btn {
		justify-content: center;
	}
	.about_banner {
		margin: 0;
	}
}