html {
	scroll-behavior: smooth;
	font-size: 1rem;
}

@media (min-width: 1500px){
	html {
	   font-size: 1.1rem;
	}
 }

body {
	font-family: 'Manrope', sans-serif;
	background-color: #d1d6ea16;
	margin-left: 10%;
	margin-right: 10%;
}

header {
	display: block;
}

nav {
	display: flex;
	margin-top: 28px;
	justify-content: space-between;
	align-items: center;
	height: auto;
}

a {
	font-weight: 500;
	color: #121314;
}

a:hover {
	color: #3456ff;
}


.ButtonsGroup {
	display: flex;
	flex-direction: row;
	gap: 32px;
	margin-top: 1rem;
}

.Title {
	display: flexbox;
	padding: 12px 16px 12px 12px;
	border-radius: 8px;
	text-transform: uppercase;
	font-family: 'Manrope';
	font-weight: 500;
	font-size: 1rem;
	letter-spacing: 1px;
	color: #8a8ea0;
	
}

ul {
	display: flex;
	align-items: center;
	list-style-type: none;
  }

  li {
	padding: 4px 20px 4px 20px;
	font-family: 'Manrope', sans-serif;
	font-weight: 700;
	font-size: 0.87rem;
	letter-spacing: 0.75px;
	color: #3456ff;

  }

  .navigation {
	color: #251e32;
	text-decoration: none;
  }

  .navigation:visited {
	color: e7e6e9;
  }

  .navigation:hover {
	color: #3456ff;
  }


  .button {
	text-decoration: none;
	display: flex;
	padding: 0.75rem 1.25rem 0.75rem 1.25rem;
	background-color: rgba(52, 86, 255, 0.1);
	border-radius: 12px;
	color: #3456ff;
  }

  .button:hover {
	background-color: rgba(52, 86, 255, 0.2);
  }


.hero {
	height: 80vh;
	min-height: 500px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.photo {
	height: 13rem;
	transition: none;
}

.photo:hover {
	scale: none;
}

h1 {
	font-size: 2.4rem;
	font-family: 'Manrope', sans-serif;
	font-weight: 700;
	color:#121314;
	letter-spacing: -0.8px;
	text-align: center;
}

.Description {
	font-family: 'Manrope', sans-serif;
	font-weight: 400;
	font-size: 1.12rem;
	color: #585f68;
	text-align: center;
	line-height: 160%;
	margin-top: -12px;
}


.Project {
display: flex;
align-items: center;
justify-content: space-between;
gap: 60px;
height: fit-content;
position: relative;
}

.ProjectInfo {
	visibility: visible;
	width: 40%;
}

.divider {
	border: 0.5px solid rgba(134, 137, 170, 20%);
	margin: 4rem 0 1rem;
}


.ProjectImage {
	border-radius: 12px;
	width: auto;
	justify-content: space-around;
}
.screenshot {
	max-height: 30vw;
	margin-right: 60px;
}


img {
	display: flex;
	max-height: 36vw;
	transition: all 1s ease-in-out;
	align-items: center;
}

img:hover {
scale: 110%;
}

.photo {
	transition: all 1s ease-in-out;
}
.photo:hover {
	scale: 110%
}


.ProjectName {
	font-size: 1.4rem;
	font-weight: 800;
	margin-bottom: 12px;
	color:#121314;
	letter-spacing: -0.4px;
}

.ProjectDates {
	font-size: 0.9rem;
	font-weight: 400;
	margin-bottom: 8px;
	color: #676572;
}

.ProjectDescription {
	font-weight: 400;
	color:#32313b;
	margin: 1rem 0 0 0;
	line-height: 160%;
}

.ProjectPage {
	font-weight: 600;
	color:#102fcd;
	text-decoration: none;
	padding-top: 8px;
	padding-bottom: 4px;
	border-style: none none solid;
	border-width: 2px;
}

.ProjectPage:hover {
	color:#3456ff;
	;
}




p {
	font-size: 1.2rem;
	line-height: 1.5;
}

.Contacts {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.mail {
	text-decoration: none;
	color:#2c3137;
	font-size: 0.87rem;
	font-weight: 700;
}

.mail:hover {
	color:#3456ff;
}

.end {
	font-size: 0.75rem;
	display: flex;
	justify-content: center;
	color:#8a8ea0;

}

footer {
	text-align: center;
}

@media (max-width: 768px){
	html {
	   font-size: 0.9rem;
	}
	
	body{
		margin-right: 5%;
		margin-left: 5%;
	}
	.Project {
		flex-direction: column-reverse;
		align-items: flex-start;
		gap: 32px;
	}
	.ProjectInfo {
		width: 100%;
	}
	img {
		max-height: 65vw;
		margin-right: 0;
	}

	.screenshot {
		max-height: 65vw;
		margin-right: 0;
	}

	ul {
		display: none;
	}
	   .Contacts {
      justify-content: center;
   }

   .hero {
	padding: 70px 0;
   }

   h1 {
	font-size: 2rem;
   }
 }