/* CSS Document */


*{
	font-family: sans-serif;
	color: #444;
	margin: 0;
	padding: 0;
}

body{
	border-top: solid #1098ad 10px; 
	
}

.container{
	width: 1200px;	
	margin: 0 auto;
	position: relative;
	
}

article{
	margin-bottom: 60px;

}

h1, h2, h3{
	color: #1098ad;
}

nav{
	font-size: 18px;
}

nav a:link{	
	margin-right: 30px;
	display: inline-block;
	font-size: 18px;
	text-align: center;
}

nav a:link:last-child{
	margin-right: 0;
}

h1 {
	font-size: 26px;
	text-transform: uppercase;
	font-style: italic;
}

h2{
	font-size: 40px;
	margin-bottom: 30px;
	position: relative;
}

h3{
	font-size:30px;
	margin-bottom: 20px;
	margin-top: 40px;
}

h4{
	font-size:20px;
	text-transform: uppercase;
	text-align: center;
}

p{
	font-size: 22px;
	line-height: 1.5;
	margin-bottom: 15px;
}

ul, ol{
	margin-left: 50px;
	margin-bottom: 20px;
	margin-right: 50px;
}

li{
	font-size: 20px;
}

#author{
	font-style: italic;
	font-size: 18px;
}

#copyright{
	font-size: 16px;
}

.related-author{
	font-size: 14px;
	margin-bottom: 0;
	font-style: italic;
	font-weight: normal;
}

.related{
	list-style: none;
}

.main-header{
	background-color: #f7f7f7;
	padding: 20px 40px;
	margin-bottom: 60px;
}

.topNavBar{
	padding: 5px;
}

aside{
	background-color: #f7f7f7;
	border-top: 5px solid #1098ad;
	border-bottom: 5px solid #1098ad;
	padding: 50px 0;
}

.postHeader{
	margin-bottom: 40px;
}

.codePic{
	width: 100%;
	height: auto;
}

li{
	font-size: 20px;
	margin-bottom: 10px;
}

li:first-child{
	font-weight: bold;
}

li:last-child{
	font-style: italic;
	margin-bottom: 0;
}

a:link{
	color: #1098AD;
	text-decoration: none;
}

a:visited{
	color: #1098AD
}

a:hover{
	color: orangered;
	font-weight: bold;
	text-decoration: underline orangered;
}

a:active{
	background-color: black;
	font-style: italic;
	cursor: grabbing;
}
	
button.like{
	font-size: 20px;
	padding: 10px;
	position: absolute;
	bottom: 50px;
	right: 50px;
	cursor: pointer;
	font-weight: bold;
}

h1::first-letter{
	font-style: normal;
	margin-right: 5px;
}

h2::after{
	content: "Top";
	background-color: #ffe703;
	font-size: 16px;
	font-weight: bold;
	padding: 5px 10px;
	display: inline-block;
	position: absolute;
	top: -20px;
	right: -20px;
	color: #000;
	
}


/* FLEXBOX */
.main-header{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.authorBox{
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	
}

.author{
	margin-bottom: 0;
	margin-left: 15px;
}

.related-post{
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 30px;
	
}

.relatedLink:link{
	font-size: 17px;
	font-weight: bold;
	font-style: normal;
	margin-bottom: 5px;
	display: block;
}

.row{
	display: flex;	
	align-items: flex-start;
	gap: 75px;
	margin-bottom: 60px;
}

article{
	flex: 1;
	margin-bottom: 0;
}

aside{
	flex: 0 0 300px;
}	

