/* Multiple Selectors  */
* {
  margin: 0;
  padding: 0;
}

body {
  border-top: 10px solid #1098ad;
  font-family: sans-serif;
  color: #444;
  position: relative;
}

.container {
  width: 800px;
  margin: auto;
}

.main-header {
  background-color: #f7f7f7;
  padding: 20px 40px;
  margin-bottom: 60px;
  height: 80px;
}
.post-header {
  margin-bottom: 40px;
}
.post-img {
  width: 100%;
  height: auto;
}

/* h1,
h2,
h3,
h4,
li {
  
} */

/* Element Selector  */
h1 {
  text-transform: uppercase;
  font-style: italic;
  /* color: #1098ad; */
}
h1,
h2,
h3 {
  color: #1098ad;
}
/* Decendent selector  */
/* article header p {
  font-style: italic;
} */

/* Id selectors  */
#author {
  font-style: italic;
}

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

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

article {
  margin-bottom: 60px;
}

aside {
  background-color: #f7f7f7;
  border-top: 5px solid #1098ad;
  border-bottom: 5px solid #1098ad;
  margin-top: 50px;
  margin-bottom: 50px;
  width: 500px;
}
nav a:link {
  margin-right: 30px;
  margin-top: 10px;
  display: inline-block;
}

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

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;
}
li:first-child {
  font-weight: bold;
}
li:last-child {
  font-style: italic;
  margin-bottom: 0;
}

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

/* HyperLinks  */

a {
  color: #1098ad;
  text-decoration: none;
}
a:visited {
  color: #1098ad;
}
a:hover {
  color: orangered;
  font-weight: bold;
  text-decoration: underline orangered;
}
/* Hyperlinks  */
a:active {
  background-color: #000;
  font-style: italic;
}

/* Decendent Selector  */
/* footer p {
  font-size: 16px;
} */

#copyright {
  font-size: 16px;
}

/* Class Selector  */

.related-author {
  font-weight: bold;
}
.related-list {
  list-style: none;
}
button {
  font-size: 22px;
  padding: 20px;
  cursor: pointer;
  position: absolute;
  bottom: 50px;
  right: 50px;
}
h1::first-letter {
  font-style: normal;
  margin-right: 5px;
}

h2::after {
  content: "TOP";
  background-color: #ffe70e;
  font-size: 16px;
  font-weight: bold;
  padding: 5px 10px;
  position: absolute;
  right: -25px;
  top: -10px;
  color: #444;
}
