body {  
  background-color: #1f1f1f;
    color: rgb(224, 224, 224);
    font-size: 1rem;
    margin: 0;
    height: 100%;
    padding: 0; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
}

.content {  
  margin: auto;
  margin-top: 60px;
  padding: 0px;
  text-align: center;
}

@media screen and (max-width: 500px) {
  .content {
      padding: 0 40px;
      padding-top: 130px;
      padding-right: 40px;
      padding-bottom: 0px;
      padding-left: 40px;
  }
}

.content_article {  
  max-width: 1040px;
  padding: 130px;
  margin: 0 auto;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
}

@media screen and (max-width: 500px) {
  .content_article {
      padding: 0 40px;
      padding-top: 130px;
      padding-right: 40px;
      padding-bottom: 0px;
      padding-left: 40px;
  }
}

.postpre {  
  max-width: 1040px;
  padding: 30px !important;
  margin: 0 auto;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
}

@media screen and (max-width: 500px) {
  .postpre {
      padding: 0 40px;
      padding-top: 130px;
      padding-right: 40px;
      padding-bottom: 0px;
      padding-left: 40px;
  }
}

a{  
    text-decoration: none;  
    color: rgb(251, 252, 196);
}

.title h1 {
  font-family: Inter;
  font-size: 46px;
  display: block;
  margin-block-end: 0.2em;
  font-weight: bold;
}

icons {
    margin-left: -10px;
}

.second_space {
  margin-block-start: 50px;
}

bio_small {
  font-family: Inter;
}

attributes {
  font-size: 18px;
  font-family: Inter;
}

content_text {
  font-size: 18px;
  font-family: Inter;
}

.content p {
  font-size: 18px;
  font-family: Inter;
  max-width: 500px;
}

.footer{  
  display: flex;  
  align-items: center;  
  justify-content: space-between;  
  height: 0px;  
  background: rgb(16, 13, 20);  
  padding: 10px;  
}

.entry-link {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.single_post_pre h2 {
  margin-bottom: 0;
  margin-top: 0;
}

.post-entry {
  position: relative;
  margin-bottom: 14px;
  padding: 14px;
  background: rgb(26, 26, 26);
  border-radius: 8px;
  transition: transform .1s;
  border: 1px solid rgb(51, 51, 51);
}

.post-entry:hover {
  position: relative;
  margin-bottom: 14px;
  padding: 14px;
  background: rgb(36, 36, 36);
  border-radius: 8px;
  transition: transform .1s;
  border: 1px solid rgb(51, 51, 51);
}

@media (min-width: 830px) {
  .posts_center {
    margin-right: 300px;
    margin-left: 300px;
  }

  .single_post_pre {
    margin-right: 300px;
    margin-left: 300px;
  }
}

header {
  padding: 20px;
  margin-left: 10px;
  margin-right: 10px;
}

nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  flex: 1;
  text-align: center;
  margin: 0 20px;
}

nav li:first-child {
  text-align: left;
  margin-left: 0;
}

nav li:last-child {
  text-align: right;
  margin-right: 0;
}


nav a {
  text-decoration: none; /* remove underline by default */
  position: relative;
  font-size: 24px; /* change this to your desired font size */
  color: rgb(224, 224, 224); /* change this to your desired text color */
}

nav a:hover {
  text-decoration: none; /* remove underline on hover */
}

nav a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  bottom: -4px;
  left: 0;
  background-color: rgb(224, 224, 224); /* change this to your desired color */
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* add fancy transition */
}

nav a:hover::before {
  transform: scaleX(1);
}

.title {
  text-align: center;
  margin-top: 80px;
}

.posts-container {
  margin: 150px;
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap; /* add this to wrap the posts onto multiple lines */
  margin-top: 40px; /* decrease this to add less space between the title and posts */
}

.posts-container-pre {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap; /* add this to wrap the posts onto multiple lines */
  margin-top: 40px; /* decrease this to add less space between the title and posts */
}

.post {
  flex-basis: 10%;
  margin-bottom: 20px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-radius: 24px;
  background: #262626;
  margin-left: 5px;
  margin-right: 5px;
  /* Add a transition property for the background-color */
  transition: background-color 0.3s ease-in-out;
}

.post-pre {
  flex-basis: 10%;
  margin-bottom: 20px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-radius: 24px;
  background: #262626;
  margin-left: 5px;
  margin-right: 5px;
  /* Add a transition property for the background-color */
  transition: background-color 0.3s ease-in-out;
}

/* Add a hover selector for the post class */
.post:hover {
  /* Change the background-color to #004a77 */
  background-color: #004a77;
}

.post img {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 200px;
  border-radius: 24px;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: cover;
  overflow: hidden;
  z-index: 1;
}

.post-content {
  flex: 1;
  padding: 20px;
  text-align: initial;
}

.post-content h2 {
  margin: 0 0 10px 0;
}

.post-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.hero-image {
  /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Sebastiano_Ricci_002.jpg/1280px-Sebastiano_Ricci_002.jpg");

  /* Set a specific height */
  height: 50%;

  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* Place text in the middle of the image */
.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
} 

.image-container {
  height: 300px;
  background-image: url(../Rectangle\ 1.png);
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container h1 {
  text-align: center;
  font-size: 56px;
}

footer {
  text-align: center;
}

footer h4 {
  font-size: 20px;
  display: block;
  margin-block-start: 1em;
  margin-block-end: 0.75em;
  color: #b8b8b8;
}
footer p {
  display: block;
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  color: #b8b8b8;
}

footer a {
  color: #b8b8b8;
  text-decoration: underline;
}
hr {
  margin-top: -100px;
}
