#messages {
  font-size: 16px;
  display: flex;
  flex-direction: column;
}

.message {
  display: flex;
  flex-flow: flex-start;
  align-items: center;
  width: 100%;
  margin: auto;
  height: 150px;
  margin-top: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid grey;
}

.message_user {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100px;
}

.message_picture {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.message_picture img {
  max-width: 100%;
}

.message_username {
  padding-top: 5px;
}

.message_content {
  width: 500px;
  font-size: 24px;
}

.vote_button {
  width: 64px;
  height: 60px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50%;
  text-align: center;
}

.icon {
  width: 50px;
  height: 50px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 75%;
}

.delete-icon {
  background-image: url("../media/delete-icon.png");
}

.upvote-icon {
  margin-left: auto;
  background-image: url("../media/upvote-icon.png");
}

.downvote-icon {
  background-image: url("../media/downvote-icon.png");
}

.next-icon {
  background-image: url("../media/right-icon.png");
  cursor: pointer;
}

.previous-icon {
  background-image: url("../media/left-icon.png");
  cursor: pointer;
}


.image{
  display: inline-block;
  object-fit: contain;
  border-radius: 12px;
  border: 6px solid hsl(220, 94%, 69%);
  margin: 3px auto;
  padding: 10px;
  align-items: center;

}

.image .main_image{
  max-width: 55%;
}

.image_title{
  font-size: 34px;
  font-weight: bold;
}

#images{
  text-align: center;
}

.image_author{
  font-size: 32px;
  font-weight: bold;
  color: rgb(4, 4, 4);
}

.post_actions{
  justify-content: space-between;
  display:flex;
}

.comment{
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  color: #ffffff;
  background-color: hsl(220, 94%, 69%);
  border-bottom: 1px solid grey;
  margin-top: 10px;
  padding-bottom: 11px;
  padding-top: 11px;
  border-radius: 18px;
}

.header_btn {
  position: absolute;
  right: 25px;
  border-radius: 7px;
  text-align: center;
  font-size: 26px;
  background: #000000;
  color: hsl(220, 94%, 69%);
  border: 2px #010101 solid;
  padding: 13px 25px;
  transition: background-color 0.8s, color 0.8s, transform 0.5s;
  cursor: pointer;
}

#signout_button{
  background: #ffffff;
  color:hsl(220, 94%, 69%);
}
