* {
  margin: 0;
  padding: 0;
}

body {
  border-top: 0.5em solid #1b017d;
  font-family: sans-serif;
  background-color: rgb(255, 250, 240);
  color: #333;

  position: relative;
}

.main-header {
  background-color: #f4f4f4;
  padding: 20px 40px;
  padding-bottom: 10px;
  margin-bottom: 60px;
  /* height: 80px; */
}

.post-header {
  margin-bottom: 40px;
}

.nav-links {
  width: 315px;
  margin: 0 auto;
}

.nav-links a:link {
  background-image: linear-gradient(90deg, #01257d 0%, #3000c0 100%);
  text-align: center;
  margin: 0 auto;
}

.nav-links a:hover {
  background-image: linear-gradient(180deg, #3000c0, #01257d);
  font-weight: 700;
}

nav a {
  color: #f4f4f4;
}

nav a:link {
  padding: 7.5px;
  margin-bottom: 12.5px !important;
  display: block;
  width: 300px;
  /* margin-right: 30px;
  margin-top: 10px;
  display: inline; */
}

nav a:hover {
  color: rgb(255, 250, 200);
}

aside {
  background: #f7f7f7;
  border-top: 5px solid #1b017d;
  border-bottom: 5px solid #1b017d;
  /* padding-top: 50px;
  padding-bottom: 50px; */
  padding: 50px 0;
  width: 20em;
  margin: 0 auto;
}

h1,
h2,
h3 {
  color: #01257d;
}

h1 {
  font-size: 34px;
}

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

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

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

/* p:last-child {
  margin-bottom: 0;
} */

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

li {
  font-size: 18px;
  margin-bottom: 10px;
  /* display: inline; */
}

li:last-child {
  margin-bottom: 0;
}

.container {
  width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;

  background-color: rgb(250, 255, 255);
}

.username {
  color: #01257d;
}

.username:link {
  background-color: #00000000;
  padding: 0;
  margin-bottom: 0;
}

.username:hover {
  color: #1b017d;
  list-style: none;
}

.userDetails {
  display: flex;
  align-items: center;
}

.profilePicture {
  margin-right: 10px;
}

.personal-description {
  padding: 0 40px;
}

.gallery {
  padding: 0 40px;
}

.photos {
  list-style: none;
  margin-left: 0;
  width: 100%;
  height: auto;
}

.copyright {
  font-size: 16px;
  text-align: center;
  padding-top: 20px;
}

/* ul,
li {
  list-style: none;
} */

.related {
  list-style: none;
}

.author {
  padding-top: 12.5px;
}

.RelatedGalleries {
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-transform: uppercase;
}

/* h2:first-child {
  padding-bottom: 0.5em;
  border-bottom: 5px solid #01257d;
} */

a:link {
  text-decoration: none;
}

/* a:visited {
  color: #ffcf86;
} */

a:hover {
  color: #01637d;
  font-weight: bold;
  text-decoration: underline #01637d;
}

a:active {
  font-style: italic;
}

.post-img {
  width: 100%;
  height: auto;
}

/* Like Button */
.add-like {
  background-color: #1b017d;
  color: #f4f4f4;
  font-size: 25px;
  line-height: 1.25;
  border: none;
  text-transform: uppercase;
  padding: 3px;
  width: 100px;

  /* postiion */
  position: absolute;
  cursor: crosshair;
  bottom: 50px;
  right: 50px;
}

.add-like:hover {
  background-color: #f4f4f4;
  color: #01637d;
}

.website-url::first-letter {
  font-style: normal;
  margin-right: 5px;
}

/* p::first-line {
  color: red;
} */

/* h3 + p::first-line {
  font-weight: bold;
} */

h2 {
  /* background-color: orange; */
  position: relative;
}

h2::after {
  content: 'Tanzania';
  background-color: #1b017d;
  color: rgb(220, 250, 240);
  font-family: 'Segoe UI';
  font-size: 18px;
  font-weight: bold;
  display: inline-block;
  padding: 3px 10px;
  position: absolute;
  top: -15px;
  right: -25px;
}
