/* Start General styles */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Poppins', sans-serif;
	line-height: 1.5;

	padding: 0 5%;

	--primary-text-color: #333333;
	--secondary-text-color: #7D7789;
	--color-first: #86A8E7;
	--color-second: #E1BFD3;
	--color-third: #7AE1DB;

	background: linear-gradient(196.1deg, #E1BFD3 20.96%, rgba(134, 168, 231, 0.95) 49.24%, #7AE1DB 73.91%);
}

.container {
	margin: 0px auto;
	max-width: 1310px;
	overflow: hidden;
	min-width: 375px;
}

.resume {
	min-height: 100vh;
	background-color: #fff;
	margin: 5% auto;
	padding: 70px;
	min-width: 375px;
	max-width: 1440px;
	border-radius: 125px;
	box-shadow: 10px 7px 20px rgba(0, 0, 0, 0.05), 7px 1px 15px rgba(0, 0, 0, 0.2);
}

.resume-block:not(:last-child) {
	margin-bottom: 45px;
}

@media screen and (max-width: 576px) {

	.resume {
		padding: 0px 12px 40px 0px;
		border-radius: 54px;
		box-shadow: 10px 7px 20px rgba(0, 0, 0, 0.05);
	}
}

/* End General styles */

/* Start Head Content styles */

.head-content {
	display: grid;
	grid-template-areas:
		"image header"
		"image main"
		"image main";
}

.head-content__image {
	margin-right: 45px;
	grid-area: image;
}

.head-content__image img {
	border-radius: 87px;
	max-width: 100%;
	min-width: 185px;
}

.head-content__header {
	color: var(--primary-text-color);
	font-weight: 600;
	font-style: italic;
	letter-spacing: 0.25em;
	font-size: 2.125rem;
	padding-top: 50px;
	grid-area: header;
	text-transform: uppercase;
}

.head-content__main {
	grid-area: main;
}

.contancts__header {
	margin: 22px 0;
}

.header-line {
	color: var(--color-first);
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	position: relative;
}

.header-line::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 190px;
	width: 565px;
	height: 2px;
	background-color: var(--primary-text-color);
	opacity: 0.2;
}

.header-line--short::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 190px;
	width: 300px;
	height: 2px;
	background-color: var(--primary-text-color);
	opacity: 0.2;
}

.contacts {
	margin-bottom: 22px;
}

.contacts__item {
	display: flex;
	color: var(--primary-text-color);
	font-size: 1.25rem;
	align-items: center;
	text-decoration: none;
}

.contacts__item:not(:last-child) {
	margin-bottom: 12px;
}

.contacts__item img {
	margin-right: 12px;
}

.contacts__item a {
	text-decoration: none;
	color: var(--primary-text-color);
}

.about__header {
	margin: 22px 0;
}

.about__text {
	color: var(--primary-text-color);
	font-size: 1.25rem;
	font-weight: 300;
	font-style: italic;
}

.about__text:not(:last-child) {
	margin-bottom: 10px;
}

@media screen and (max-width: 576px) {

	.head-content {
		grid-template-areas:
			"image header"
			"main main"
			"main main";
	}

	.head-content__image {
		background: var(--color-second);
		padding: 0px 30px 30px 0px;
		border-bottom-right-radius: 24px;
		margin-right: 10px;
	}

	.head-content__image img {
		border-top-right-radius: 24px;
		border-bottom-right-radius: 24px;
		border-bottom-left-radius: 0px;
	}

	.head-content__header {
		font-size: 1rem;
		margin-top: 90px;
	}

	.head-content__header span {
		display: inline-block;
		margin-left: 20px;
	}

	.header-line {
		font-size: 1rem;
	}

	.header-line::after {
		top: 50%;
		left: 145px;
		width: 565px;
	}

	.contacts {
		padding-left: 12px;
	}

	.about {
		padding-left: 12px;
	}

	.about__text {
		font-size: 1rem;
		text-align: center;
	}



}

/* End Head Content styles */

/* Start Primary styles */

.skills {
	display: flex;
}

.list {
	list-style-type: none;
	font-size: 1.25rem;
	color: var(--primary-text-color);
}

.list li:nth-child(1n+1) {
	background: url(./assets/icons/markers/green.svg) left no-repeat;
	padding: 0px 0px 0px 35px;
}

.list li:nth-child(2n+1) {
	background: url(./assets/icons/markers/blue.svg) left no-repeat;
	padding: 0px 0px 0px 35px;
}

.list li:nth-child(3n+1) {
	background: url(./assets/icons/markers/pink.svg) left no-repeat;
	padding: 0px 0px 0px 35px;
}

.skills__header {
	margin-bottom: 22px;
}

.skills__list li:not(:last-child) {
	margin-bottom: 12px;
}

.skills__hard {
	flex: 0 0 470px;
	margin-right: 90px;
}

.main-info {
	display: flex;
}

.education {
	flex: 0 0 516px;
	margin-right: 45px;
}

.education__header {
	margin-bottom: 45px;
}

.education__timeline {
	padding: 0px 12px;
}

.outer {
	border-left: 2px solid rgba(51, 51, 51, 0.2);
}

.item {
	display: flex;
	align-items: baseline;
}

.item:not(:last-child) {
	margin-bottom: 45px;
}

.item__date{
	flex: 0 0 187px;
	margin: 0px 45px 0px 15px;
	padding: 5px 23px;
	color: #FFFFFF;
	border-radius: 28px;
	background: var(--color-third);
	position: relative;
	font-weight: 300;
}

.item__date--blue {
	flex: 0 0 187px;
	margin: 0px 45px 0px 15px;
	padding: 5px 23px;
	color: #FFFFFF;
	border-radius: 28px;
	background: var(--color-first);
	position: relative;
	font-weight: 300;
}

.item__date--pink {
	flex: 0 0 187px;
	margin: 0px 45px 0px 15px;
	padding: 5px 23px;
	color: #FFFFFF;
	border-radius: 28px;
	background: var(--color-second);
	position: relative;
	font-weight: 300;
}

.item_title {
	color: var(--primary-text-color);
	font-size: 1.25rem;
	margin-bottom: 5px;
}

.item_info p{
	color: var(--secondary-text-color);
}

.item__date::before {
	content: "";
	position: absolute;
	width: 20px;
	height: 20px;
	background: white;
	border-radius: 50%;
	left: -28px;
	border: 2px solid var(--color-second);
}

.item__date--blue::before {
	content: "";
	position: absolute;
	width: 20px;
	height: 20px;
	background: white;
	border-radius: 50%;
	left: -28px;
	border: 2px solid var(--color-first);
}

.item__date--pink::before {
	content: "";
	position: absolute;
	width: 20px;
	height: 20px;
	background: white;
	border-radius: 50%;
	left: -28px;
	border: 2px solid var(--color-third);
}

.additional-info {
	max-width: 649px;
}

.experience {
	margin-bottom: 22px;
}

.experience__timeline {
	padding: 0px 12px;
}

.experience__header {
	margin-bottom: 45px;
}

.item__description {
	font-weight: 300;
}

.languages__header {
	margin-bottom: 22px;
}

.languages__list li {
	font-weight: 300;
	color: var(--secondary-text-color);
}

.languages__list li span{
	font-weight: 400;
	color: var(--primary-text-color);
}

@media screen and (max-width: 576px) {
	.skills {
		flex-direction: column;
		padding-left: 12px;
	}

	.skills__hard {
		flex: 1;
		margin: 0px 0px 45px 0px;
	}

	.main-info {
		padding-left: 12px;
		flex-direction: column;
	}

	.item {
		flex-direction: column;
	}

	.item__date {
		flex: 0 0 36px;
		margin-bottom: 12px;
	}

	.education__header {
		margin-bottom: 24px;
	}

	.experience__header {
		margin-bottom: 24px;
	}
}

/* End Primary styles */

/* Start Secondary styles*/

.hobbies__wrapper {
	margin: 0px -22px;
	display: flex;
}
.hobbies__header {
	margin-bottom: 45px;
}

.hobbies__item {
	padding: 0px 22px;
	flex: 1 1 33.333%;
	display: flex;
	align-items: flex-start;
}

.hobbies__item img {
	margin-right: 12px;
}

.hobbies__item__title {
	color: var(--primary-text-color);
}
.hobbies__item__info p{
	color: var(--secondary-text-color);
}

.timeline-block__header {
	margin-bottom: 44px;
}

.timeline-block_wrapper {
	display: flex;
}

.timeline-block__timeline {
	padding: 0px 12px;
}

@media screen and (max-width: 576px) {
	.hobbies {
		padding-left: 12px; 
	}
	.hobbies__wrapper {
		flex-direction: column;
	}
	.hobbies__header {
		margin-bottom: 24px;
	}
	.timeline-block_wrapper {
		flex-direction: column;
	}

}

/* End Secondary styles */