.hero .image,.portfolio a {
	border-radius: 24px;
	overflow: hidden;
}

body {
	background: url(./assets/logo-pattern.png) right 422px no-repeat #fff;
	font-family: Lato,sans-serif;
	color: #000;
}

* {
	box-sizing: border-box;
}

a,a * {
	transition: .3s ease-in-out;
}

.container {
	width: 740px;
	margin: 0 auto;
	padding: 0 24px;
}

[class^=icon-] {
	background: red;
	display: block;
	width: 24px;
	height: 24px;
}

.icon-linkedin {
	background: url(./assets/icon-linkedin.svg);
}

a:hover .icon-linkedin {
	filter: invert(46%) sepia(92%) saturate(5230%) hue-rotate(179deg) brightness(87%) contrast(101%);
}

.icon-medium {
	background: url(./assets/icon-medium.svg);
}

a:hover .icon-medium {
	filter: invert(62%) sepia(56%) saturate(6433%) hue-rotate(130deg) brightness(100%) contrast(98%);
}

.icon-behance {
	background: url(./assets/icon-behance.svg);
}

a:hover .icon-behance {
	filter: invert(31%) sepia(70%) saturate(3843%) hue-rotate(213deg) brightness(100%) contrast(101%);
}

.icon-dribbble {
	background: url(./assets/icon-dribbble.svg);
}

a:hover .icon-dribbble {
	filter: invert(44%) sepia(49%) saturate(2511%) hue-rotate(309deg) brightness(95%) contrast(93%);
}

.icon-download {
	background: url(./assets/download.svg);
}

.icon-arrow {
	background: url(./assets/arrow-right.svg);
}

.main-header {
	border-bottom: 1px solid #ebebeb;
	margin-bottom: 80px;
}

.header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: 40px 0;
}

.header .socials,.hero {
	flex-direction: row;
	padding: 0;
}

.header .socials {
	list-style: none;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 32px;
}

.logo {
	display: block;
}

.logo:hover {
	opacity: .7;
}

.hero {
	display: flex;
	align-items: flex-start;
	gap: 56px;
	margin-bottom: 120px;
}

.introduction .name {
	font-style: normal;
	font-weight: 800;
	font-size: 64px;
	line-height: 100%;
	letter-spacing: -.03em;
	margin: 0 0 12px;
}

.role {
	font-weight: 700;
	font-size: 24px;
	line-height: 110%;
	margin: 0 0 24px;
}

.get-resume,.intro {
	font-size: 16px;
	line-height: 160%;
}

.intro {
	font-weight: 400;
	color: #555;
	margin-bottom: 16px;
}

.get-resume,.more-link,.person:hover,.portfolio a:hover .project-title {
	color: #5e44c5;
}

.intro p {
	margin: 0 0 8px;
}

.get-resume {
	font-weight: 700;
	font-style: normal;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	padding: 8px 0;
	text-decoration: none;
}

.get-resume:hover {
	opacity: .7;
	gap: 4px;
}

.hero .image {
	width: 277px;
	height: 470px;
	flex: none;
}

.more-link,.portfolio,.testimonial .person {
	display: flex;
	padding: 0;
}

.portfolio {
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	margin-bottom: 120px;
}

.portfolio a {
	background-color: #f5f5f5;
	flex: none;
	width: 100%;
	padding: 32px;
	color: #000;
	text-decoration: none;
	height: 350px;
	position: relative;
}

.portfolio a:hover {
	background-color: #e5e5e5;
}

.portfolio a:hover .more-link {
	gap: 2px;
}

.project-info {
	max-width: 280px;
}

.project-title {
	font-weight: 800;
	font-size: 24px;
	line-height: 120%;
	margin: 0 0 8px;
	flex: none;
}

.project-subtitle {
	font-weight: 400;
	font-size: 16px;
	line-height: 120%;
	flex: none;
}

.more-link {
	flex-direction: row;
	align-items: center;
	gap: 4px;
	position: absolute;
	bottom: 32px;
	left: 32px;
}

.rafiji-pattern {
	background-image: url(./assets/projects/rafiji-pattern.png);
}

.rafiji-pattern .project-image {
	background-image: url(./assets/projects/rafiji.png);
	position: absolute;
	width: 447px;
	height: 308px;
	right: 32px;
}

.project-image {
	bottom: 0;
	display: block;
	background-repeat: no-repeat;
	background-position: bottom right;
}

.qsouq-pattern {
	background-image: url(./assets/projects/qsouq-pattern.png);
}

.qsouq-pattern .project-image {
	background-image: url(./assets/projects/qsouq.png);
	position: absolute;
	width: 422px;
	height: 350px;
	right: 0;
}

.panza-pattern {
	background-image: url(./assets/projects/panza-pattern.png);
	background-size: cover;
}

.panza-pattern .project-image {
	background-image: url(./assets/projects/panza.png);
	background-size: cover;
	position: absolute;
	width: 486px;
	height: 260px;
	right: 0;
}

.toogreen-pattern {
	background-image: url(./assets/projects/toogreen-pattern.png);
}

.toogreen-pattern .project-image {
	background-image: url(./assets/projects/toogreen.png);
	position: absolute;
	width: 374px;
	height: 350px;
	right: 0;
}

@media screen and (max-width:750px) {
	.container {
		width: 100%;
	}

	.hero .image {
		display: none;
	}

	.qsouq-pattern .project-image,.rafiji-pattern .project-image,.toogreen-pattern .project-image {
		width: 200%;
	}

	.project-info {
		max-width: none;
	}

	.more-link {
		position: static;
	}

	.portfolio a {
		height: auto;
		padding-bottom: 350px;
	}
}

@media screen and (max-width:520px) {
	.portfolio a {
		padding-bottom: 320px;
	}

	.qsouq-pattern .project-image,.rafiji-pattern .project-image,.toogreen-pattern .project-image {
		right: 0;
		bottom: -30px;
	}

	.rafiji-pattern .project-image {
		right: 8px;
		bottom: 0;
		width: 100%;
	}
}

@media screen and (max-width:450px) {
	.qsouq-pattern .project-image,.toogreen-pattern .project-image {
		right: -72px;
		bottom: -30px;
	}

	.rafiji-pattern .project-image {
		background-size: 115%;
	}
}

.testimonial {
	height: 650px;
}

.testimonial .recommendation {
	font-weight: 400;
	font-size: 32px;
	line-height: 140%;
	text-align: center;
	position: relative;
	margin: 0 0 40px;
}

.testimonial .recommendation::before {
	content: "";
	position: relative;
	width: 56px;
	height: 56px;
	display: block;
	margin: 0 auto 16px;
	background-image: url(./assets/quote-left.svg);
}

.testimonial .person {
	flex-direction: column;
	align-items: center;
	gap: 0;
	flex: none;
	text-decoration: none;
	color: #000;
	font-weight: 900;
	font-size: 20px;
	line-height: 120%;
}

.testimonial .person img {
	border-radius: 100%;
	width: 64px;
	height: 64px;
	overflow: hidden;
	margin-bottom: 16px;
}

.testimonial .position {
	color: #555;
	font-weight: 400;
	font-size: 16px;
	line-height: 160%;
}

.testimonial .name {
	display: block;
	margin-bottom: 4px;
}

.splide__arrows {
	display: none;
}

.splide__pagination {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	padding: 0;
	gap: 8px;
	bottom: 0;
	position: relative;
}

.splide__pagination__page {
	width: 48px;
	height: 4px;
	background: #ebebeb;
	border-radius: 0;
	margin: 0;
}

.splide__pagination__page.is-active {
	background: #5e44c5;
	transform: scale(1);
}

.testimonial-carousel {
	margin-bottom: 40px;
	overflow: visible;
}

@media screen and (max-width:750px) {
	.testimonial {
		height: auto;
		margin-bottom: 60px;
	}

	.testimonial .recommendation {
		font-size: 24px;
	}
}

.footer {
	border-top: 1px solid #ebebeb;
}

.footer .socials {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	padding: 0;
	list-style: none;
	justify-content: center;
}

.footer .socials li a {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	padding: 32px 48px;
	gap: 8px;
}

@media screen and (max-width:540px) {
	.footer .socials li a {
		padding: 32px 24px;
	}
}