/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
    max-width: 700px;
    max-height: 900px;
        margin: 0 auto;
        padding: 5px 20px;
        background: linear-gradient(black, midnightblue);
        min-height: 100vh;
        color: white;
        font-family: "Georgia", serif, "Nimbus Roman", "Courier New", monospace;
        font-size: 14px;
        background-image: url("backgroundimage.png");
        height: 100%;
        background-position: center;
        background-repeat: repeat;
        text-align: justify;
        
}

img {
  width: 100%;
  object-fit: contain;
  
}

h1 {
        text-align: center;
        color: white;
}

h2 {
        text-align: center;
        color: gold;
}

h4 {
        color: white;
        font-family: "Georgia", serif, "Nimbus Roman", "Courier New", monospace;
        text-align: end;
        margin: 0;
        padding: 5px;
        font-size: 14px;
}

h5 {
        color: white;
        font-family: "Nimbus Roman", "Courier New", monospace;
        text-align: end;
        margin: 0;
        padding: 5px;
        font-size: 15px;
}
blockquote {
  color: white;
  font-family: "Nimbus Roman", "Courier New", monospace;
}

p {
  text-indent: 5%;
}

.blogindex ul {
  list-style-type: none;
  margin: 0;
  padding: 5px;
  background: rgba(155, 115, 75, 0);
  display: list-item;
  justify-content: center;
}

.blogindex ul li h4 a {
  background: rgba(51,51,51,0.5);
  color: white;
  font-family: "Georgia", serif, "Nimbus Roman", "Courier New", monospace;
  font-size: 14px;
  border: 2px solid white;
  border-radius: 3px;
  margin: 5px;
  padding: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-decoration: none;
}

.blogindex ul li h4 a:hover {
  background: rgba(102, 102, 153,0.5);
}
        
.blogbox {
    background: rgba(51,51,51,0.5);
        color: white;
        border: 2px solid white;
        border-radius: 3px;
        padding: 5px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      }

.pagefooter {
        color: white;
        border: 2px grey;
        border-radius: 3px;
        padding: 5px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        font-size: 12px;
        text-align: justify;
        text-indent: 0;
      }
      
      .pagefooter p {
          color: white;
        font-size: 12px;
        text-align: center;
        text-indent: 0;
        margin: 5px;
        font-family: "Courier New", monospace;
      }
      
ul {
  list-style-type: none;
  margin: 0;
  padding: 5px;
  background: rgba(155, 115, 75, 0);
  display: flex;
  justify-content: flex-end;
}

ul li a {
  display: block;
  background: rgba(51,51,51,0.5);
  color: white;
  font-family: "Nimbus Roman", "Courier New", monospace;
  font-size: 16px;
  border: 2px solid white;
  border-radius: 3px;
  margin: 5px;
  padding: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-decoration: none;
}

ul li a:hover {
  background: rgba(102, 102, 153,0.5);
}