:root {
	--text-colour: hsl(210, 5%, 30%);
}

html, body, h1, h2, h3, p, a, ul, li, button {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

ul, li {
	list-style: none;
	text-decoration: none;
	
}

a {
	text-decoration: none;
}



body {
	margin: auto;
	padding: 0 1em;
	max-width: 540px;
	background-color: hsl(210, 5%, 90%);
	
	font: 1em/1.5em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
		
}


header {
	display: grid;
	grid-template-columns: auto auto;
	align-items: center;
	padding: 2em 0;
	margin-top: 1em;
	
	font-size: .8em;
	
	color: var(--text-colour);
	
	
}

header h1 {
	font-weight: normal;
	cursor: default;
}


#social {
	/*display: grid;
	grid-template-columns: auto auto;
	grid-auto-flow: column;
	grid-auto-rows: 1.6em;
	justify-content: end;*/
	
	/*grid-gap: 2em;*/
	/*background-color: pink;*/
	height: 1.8em;
	
	vertical-align: middle;
}

#social li {
	display: inline-block;
	float: right;
	padding-left: 2.2em;
	/*background-color: lime;*/
	height: 100%;
	
}

#social li:first-child {
	/*height: 40%;*/
}

#social img {
	position: relative;
	display: inline-block;
	width: auto;
	height: 100%;
	opacity: .7;
	/*background-color: bslue;*/
}

img.icon-linkedin {
	box-sizing: border-box;
	padding: 2px;
	border: 2px solid hsl(210, 5%, 0%);
	border-radius: 4px;
	
	transform: scale(.85);
	
	/*height: calc(100%-4px);*/
}

/*img.icon-imdb {
	transform: scale(.55);
}*/

#content-wrapper section {
	display: grid;
	grid-auto-flow: row;
	grid-row-gap: 3em;
	
	margin-top: 3em;
	padding-bottom: 3em;
	/*background-color: gold;*/
}


h2 {

	text-align: center;
	color: var(--text-colour);
	font-size: 2em;
	font-weight: normal;
	
	cursor: default;
}







article a{
	
	position: relative;
	/*background-color: steelblue;*/
	color: var(--text-colour);
	display: grid;
	grid-auto-flow: row;
	grid-row-gap: .3em;
	
	
	/*border-right: 1px solid hsl(210, 5%, 70%);*/
	
}

article a::before {
	content: "";
	position: absolute;
	/*inset: -1em;*/
	top: -.5em;
	bottom: -.7em;
	left: -1em;
	right: -1em;
	
	border-radius: .8em;
	background-color: hsl(210, 5%, 94%);
	z-index: -1;
	opacity: 0;
}

article a::after {
	content: "";
	position: absolute;
	top: 2em;
	left: auto;
	right: 1px;
	bottom: 0;
	
	width: 1px;
	
	background-color: hsl(210, 5%, 70%);
	z-index: 1;
}

article a:hover::before {
	opacity: 1;
}

article a:hover::after {
	width: 2px;
}

article h3 {
	font-size: 1.5em;
	line-height: 1.2em;
	padding-right: 10px;
}


article p {
	font-size: 1.2em;
	padding-right: 10px;
	/*white-space: pre-line;*/
}

article p:last-child {
	font-size: 1.1em;
	font-style: italic;
}

article aside {
	text-align: right;
	/*position: absolute;
	top: 0;
	right: 0;*/
}

footer {
	text-align: center;
	
	/*background-color: red;*/
	
	margin: 2em 0 1em 0;
	
	cursor: default;
}


@media only screen and (max-width: 550px) {
	
	body {
		font-size: .84em;
		/*padding: 0 20px;*/
	}
	
	#social {
		/*margin-right: .4em;*/
		/*height: 1.9em;*/
	}
	
	#social li {
		
		padding-left: 2.4em;
				
	}
	
}


