body, html {
	padding: 0;
	margin: 0;
	font-size: 1.2vw;
	line-height: 1.75;
	font-family: 'Montserrat', sans-serif;
}
section {
	width: calc(100vw - 100px);
	margin: auto;
}
main {
	position: relative;
	background: #f4f4f4;
	min-height: calc(100vh - 5rem);
	margin-top: 5rem;
	margin-left: calc(38.2vw * 0.382);
	padding: 4.03rem 4.03rem 4.03rem 14.59rem;
	box-sizing: border-box;
}

p {
	margin-bottom: 1rem;
	color: #333;
	font-weight: 500px;
}

h1, h2, h3, h4, h5 {
  margin: 3rem 0 1.38rem;
  line-height: 1.3;
  font-weight: 700;
}

h1 {
  margin-top: 0;
  font-size: 3.052rem;
  font-weight: 800;
}

h2 {font-size: 2.441rem;}

h3 {font-size: 1.953rem;}

h4 {font-size: 1.563rem;}

h5 {font-size: 1.25rem;}

small, .text_small {font-size: 0.8rem;}

.intro {
	margin-bottom: 0;
	text-transform: uppercase;
	font-weight: 500;
	color: #999;
}

#profile {
	position: fixed;
	top: 8.09rem;
	left: 9rem;
	width: 17.08rem;
	transition: top 0.5s;
	
}

#photo {
	height: 20rem;
	width: 100%;
	overflow: hidden;
	box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
	border: 1px solid #ddd;
	margin-bottom: 0.5rem;
}

#photo > img {
	width: 100%;
	height: 120%;
	object-fit: cover;
}

.badge {
	display: inline-block;
	background: #444;
	padding: 0 0.5rem;
	margin: 0.5rem 0;
	font-size: 0.8rem;
	border-radius: 0.2rem;
	color: #fff;
}

div#contact {
	display: flex;
}
div#contact > * + * { margin-left: 1rem;}
div#contact > a {
display: flex;
align-items: center;
color: #369;
text-decoration: none;
gap: 0.5rem;
margin-bottom: 0.5rem;
}
div#contact > a > div:first-child {
display: flex;
}
div#contact > a > div:last-child {
display: flex;
flex-direction: column;
font-size: 0.7rem;
line-height: 0.75rem;
}

@media only screen and (min-width: 769px) {
	.first .avatar,
	.mobile-profile {
	  display: none;
	}
  }
@media only screen and (max-width: 768px) {
	html, body {
	  font-size: 16px;
	}
	main {
	  margin: 0;
	  padding: 4vw;
	}
	section {
	  width: 100%;
	}
	#profile {
	  display: none;
	}
	.first {
	  display: flex;
	  
	}
	.first > * + * { margin-left: 1rem;}
	.first .avatar img {
	  width: 26vw;
	  height: auto;
	}
	.first .intro {
	  font-size: 3.3vw;
	}
	.first h1 {
	  font-size: 5vw;
	}
	.mobile-profile .badge {
	  	font-size: 0.8rem;
		font-style: italic;
		margin: 0;
		padding: 0;
		display: inline;
		background: transparent;
		color: #333;
	}
	.mobile-profile .badge:not(:last-child):after {
		content: ",";
	}
	
  }