* {
  /* border-top: 5px solid #1098ad; */
  /* this is demo */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: #444;
  font-family: sans-serif;
  border-top: 5px solid #1098ad;
  position: relative;
}

.main-header {
  background-color: #f7f7f7;
  /* shorthand property below */
  padding: 20px 40px;
  margin-bottom: 60px;
  height: 80px;
}
.post-header {
  margin-bottom: 40px;
}
nav {
  font-size: 18px;
}
article {
  margin-bottom: 60px;
}
aside {
  background-color: #f7f7f7;
  border-top: 5px solid #1098ad;
  border-bottom: 5px solid #1098ad;
  padding: 50px 40px;
}

h1,
h2,
h3 {
  color: #1098ad;
}
h1 {
  font-size: 26px;
  text-transform: uppercase;
  font-style: italic;
}
h2 {
  font-size: 35px;
  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;
  margin-bottom: 30px;
}
p {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 15px;
}
ul,
ol {
  margin-left: 50px;
  margin-bottom: 20px;
}
li {
  font-size: 20px;
  margin-bottom: 10px;
}
li:last-child {
  margin-bottom: 0;
}
/*
footer p {
  font-size: 16px;
}*/
.copyright {
  font-size: 20px;
}
.related-author {
  font-size: 18px;
  font-weight: bold;
}
.related {
  list-style: none;
  margin-left: 0;
}

/* body {
  background-color: azure;
} */
/* .fist-li {
  font-weight: bold;
} */

li:first-child {
  font-weight: bold;
}
li:last-child {
  font-style: italic;
}
/* li:nth-child(odd) {
  color: red;
} */
/* article p:last-child {
  color: red;
} */

/* styling link now */

a:link {
  color: #1098ad;
  text-decoration: none;
}
a:visited {
  color: #1098ad;
}
a:hover {
  color: orangered;
  font-weight: bold;
  text-decoration: underline dotted orangered;
}
a:active {
  background-color: black;
  font-style: italic;
}
/* LVHA */
.post-img {
  width: 100%;
  height: auto;
}
.container {
  width: 1200px;
  /* margin-left: auto;
  margin-right: auto; */
  margin: 0 auto;
}
nav a:link {
  margin-right: 30px;
  margin-top: 10px;
  display: inline-block;
}
nav a:link:last-child {
  margin: 0;
}
button {
  font-size: 15px;
  padding: 10px;
  cursor: pointer;
  position: absolute;
  bottom: 50px;
  right: 50px;
}
h1::first-letter {
  font-style: normal;
  margin-right: 5px;
}
h2::after {
  content: "TOP";
  background-color: #444;
  font-size: 16px;
  font-weight: bold;
  display: inline-block;
  padding: 5px 5px;
  position: absolute;
  top: -10px;
  right: -25px;
}
/* Floats */
.author-img {
  float: left;
  margin-bottom: 20px;
}
.author {
  /* padding-left: 80px; */
  margin-top: 10px;
  float: left;
  margin: 20px;
}
h1 {
  float: left;
}
nav {
  float: right;
}
.clearfix::after {
  clear: both;
  content: "";
  display: block;
}
article {
  width: 700px;
  float: left;
}
aside {
  width: 350px;
  float: right;
}
footer {
  clear: both;
}
