body {
  margin: auto;
  background: #ffffff;
  font-family: sans-serif;
  background-color: #f9f9f9;
  margin: auto;
  min-width: 90%;
  font-size: 14px;
  color: #3c3d3f;
  max-width: 90%;
}

p {
  color: #f9f9f9;
  font-weight: bold;
  font-size: large;
}

header {
  display: flex;
  margin-top: 20px;
  height: 50px;
  justify-self: center;
}

header #title {
  color: #262627;
  text-decoration: none;
  margin: 0;
  width: 100%;
  font-size: 48px;
}

h1 {
  display: flex;
  margin: auto;
  text-align: center;
}

footer {
  margin-top: 20px;
  text-align: center;
  height: 50px;
  justify-content: center;
}

.hidden {
  display: none;
}

.toggle_button_container {
  display: flex;
  margin: 20px auto 0;
  justify-content: center;
}

.image_form {
  margin: 5% auto 0;
  padding: 20px 10px 10px;
  display: flex;
  flex-direction: column;
  border-radius: 25px;
  background: #3c3d3f;
  font-family: "Times New Roman", Times, serif;
}

.form_item {
  display: flex;
  flex-direction: column;
  padding: 2%;
  max-width: fit-content;
  margin: auto;
}

.image_button {
  font-weight: bold;
  color: aliceblue;
  background: #1d1d1d;
  padding: 10%;
  border-radius: 15px;
  max-width: fit-content;
  text-align: center;
}

.image_button:hover {
  background: #ffffff;
  color: #1d1d1d;
}

.image_submit_button {
  font-weight: bold;
  color: aliceblue;
  background: #1d1d1d;
  padding: 10%;
  border-radius: 15px;
  max-width: fit-content;
  text-align: center;
}

.image_form_element {
  border-radius: 15px;
  background: hsl(70, 100%, 95%);
  max-width: fit-content;
  max-height: 50px;
  margin: auto;
}

.comment_form {
  margin: 5% auto 0;
  padding: 20px 10px 10px;
  display: flex;
  flex-direction: column;
  border-radius: 25px;
  background: #3c3d3f;
  font-family: "Times New Roman", Times, serif;
}

.comment_form_title {
  font-size: 20px;
  font-weight: bold;
  margin: -20px -10px 20px;
  padding: 10px 0 10px 25px;
  color: white;
  text-align: center;
}

.comment_form_element {
  max-width: 100%;
}

.image_display {
  margin-top: 20px;
  padding: 20px 10px 10px;
  display: flex;
  border-radius: 25px;
  flex-direction: column;
  justify-content: center;
  background: #3c3d3f;
  font-family: "Times New Roman", Times, serif;
}

.display_items {
  padding: 5% 0;
  display: flex;
  flex-direction: column;
  min-width: fit-content;
  max-width: fit-content;
  text-align: center;
  margin: auto;
}

.image_title {
  font-size: 20px;
  font-weight: bold;
  margin: -20px -10px 20px;
  padding: 10px 0 10px 25px;
  color: white;
  text-align: center;
}

img.display_image {
  max-width: 150px;
  max-height: 150px;
}

img.display_image:hover {
  transform: scale(1.05);
}

.image_author {
  font-size: 14px;
  font-weight: bold;
  margin: auto;
  color: white;
  text-align: center;
}

.nav_buttons_box {
  display: flex;
  flex-direction: row;
  margin: auto;
  justify-content: center;
  max-width: fit-content;
}

.nav_button {
  font-size: 15px;
  font-weight: bold;
  color: aliceblue;
  background: #1d1d1d;
  padding: 15%;
  border-radius: 15px;
  max-width: fit-content;
  text-align: center;
}

.nav_button:hover {
  background: #808795;
  color: yellow;
}

.delete_button {
  font-size: 15px;
  font-weight: bold;
  color: #d00000;
  background: #e3e3e3;
  padding: 5%;
  border-radius: 10px;
  text-align: center;
  margin: auto;
}

.delete_button:hover {
  color: #e3e3e3;
  background: #d00000;
}

.blank {
  padding: 0 5%;
}

.comment_item {
  display: flex;
  flex-direction: row;
  background: #808795;
  border-radius: 10px;
  text-align: center;
  justify-content: center;
  margin-top: 10px;
}

.comment_submit_button {
  font-weight: bold;
  color: aliceblue;
  background: #1d1d1d;
  padding: 5%;
  border-radius: 15px;
  max-width: fit-content;
  text-align: center;
}

.delete_comment_button {
  margin-left: auto;
  font-weight: bold;
  color: aliceblue;
  background: #1d1d1d;
  padding: 5%;
  border-radius: 15px;
  max-width: fit-content;
  text-align: center;
}

.login_menu {
  display: grid;
  justify-content: center;
  margin: auto;
  justify-self: center;
  padding: 10px;
}

.login_form {
  margin: 5% auto 0;
  padding: 5px 5px 5px;
  display: grid;
  flex-direction: column;
  justify-content: center;
  border-radius: 5px;
  background: #31508d;
  padding: 10px;
  width: fit-content;
  margin: auto;
  font-family:'Courier New', Courier, monospace
}

.login_form_element {
  border-radius: 5px;
  background: hsl(196, 100%, 86%);
  justify-content: center;
  max-width: fit-content;
  max-height: 100px;
  margin: auto;
  padding: 10px;
  font-family: 'Courier New', Courier, monospace;
}

.login_submit_button, .signup_submit_button {
  font-weight: bold;
  color: aliceblue;
  background: #2a265d;
  padding: 10px;
  border-radius: 5px;
  max-width: fit-content;
  margin:auto;
  text-align: center;
}

.signup_submit_button {
  color: rgb(240, 255, 241);
  background: #265d3d;
}

.logout_button {
  font-weight: bold;
  color: aliceblue;
  background: #a60f0f;
  padding: 10px;
  border-radius: 5px;
  max-width: fit-content;
  margin:auto;
  justify-self: center;
  text-align: center;
}

.logout_button:hover {
  background-color: #fa8181;
}

.login_submit_button:hover {
  background-color: #81bffa;
}

.signup_submit_button:hover {
  background-color: #a5eec4;
}

.hidden {
  display: none;
}