body {
  margin: 0;
  background-color: rgb(235, 215, 192) !important;
  font-family: "Roboto", sans-serif;
  padding-top: 10px;
  padding-bottom: 50px;
  overflow-x: hidden;
  overflow-y: auto;
  }
  
  .top-bar,
  .footer-bar {
  background-color: #333;
  padding: 20px 0;
  position: fixed;
  width: 100%;
  }
  
  .top-bar {
  top: 0;
  }
  
  .footer-bar {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 1000;
  }
  
  .container,
  .footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  flex-wrap: wrap;
  }
  
  .footer-container {
  flex-direction: row;
  }
  
  .menu-link:hover,
  .footer-link:hover
  .category-navigation button:hover {
  text-decoration: underline;
  }
  
  .menu-link,
  .footer-link {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  font-weight: bold;
  }
  
  .menu-link.button {
  background-color: darkgoldenrod;
  border-radius: 5px;
  font-weight: bold;
  }
  
  img {
  height: 125px;
  }
  
  .category-navigation {
  margin-bottom: 20px;
  }
  
  .posts-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  }
  
  .post-item {
  flex: 1 1 calc(33.333% - 40px);
  box-sizing: border-box;
  margin: 10px;
  margin-top: -10px;
  background-color: #333;
  padding: 10px;
  border: 3px solid darkgoldenrod;
  }
  
  .post-item img {
  max-width: 100%;
  height: auto;
  }
  
  .home-container {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 3px solid darkgoldenrod;
  background-color: #333;
  padding: 10px;
  box-sizing: border-box;
  margin-bottom: 15px;
  width: 90vw;
  max-width: 1200px;
  min-width: 300px;
  }
  
  .home-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45vw;
  padding-right: 10px;
  margin-top: 10px;
  margin-left: 10px;
  }
  
  .home-image-container img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
  }
  
  .home-text-content {
  flex: 1;
  width: 45vw;
  padding: 10px;
  color: white;
  box-sizing: border-box;
  background-color: #333;
  margin-top: 10px;
  }
  
  .horizontal-line {
  width: 100%;
  height: 5px;
  background-color: darkgoldenrod;
  margin: 10px 0;
  }
  
  .image-contact {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 300px;
  border: 3px solid darkgoldenrod;
  background-color: #333;
  padding: 10px;
  box-sizing: border-box;
  margin-top: 20px;
  margin-bottom: 150px;
  width: 90vw;
  }
  
  .image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-right: 10px;
  margin-top: 10px;
  margin-left: 10px;
  }
  
  .image-contact img {
  max-width: 100%;
  width: 50%;
  height: auto;
  margin-bottom: 10px;
  }
  
  .image-footer-container {
  display: flex;
  flex-direction: column; 
  align-items: center;
  }
  
  .image-footer img {
  width: 40px;
  height: auto;
  gap: 20px;
  }
  
  .text-field {
  flex: 1;
  border: none;
  padding: 10px;
  color: white;
  box-sizing: border-box;
  background-color: #333;
  width: 100%;
  margin-top: 10px;
  }
  
  textarea {
  width: 100%;
  box-sizing: border-box;
  }
  
  .form-section {
  min-width: 300px;
  margin-right: 20px;
  }
  
  .info {
  width: 100%;
  box-sizing: border-box;
  margin-top: 20px;
  text-align: center;
  }
  
  .post-image {
  width: 300px;
  height: auto;
  margin: 10px;
  cursor: pointer;
  }
  
  #backButton {
  align-self: flex-start;
  border-radius: 5px;
  font-weight: bold;
  padding: 7px 14px;
  display: inline-block; 
  }
  
  .button-container {
  text-align: center;
  }
  
  .content {
  background-color: rgb(235, 215, 192);
  border: 3px solid darkgoldenrod;
  width: 80%;
  max-width: 1200px;
  box-sizing: border-box;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 30px;
  margin: 0 auto;
  }
  
  .post-image-2 {
  margin-top: 20px !important;
  width: 300px;
  height: auto;
  margin: 10px auto;
  display: block;
  }
  
  .post-text {
  text-align: left;
  max-width: 1200px;
  min-width: 300px;
  margin-bottom: 10px;
  }
  
  body.custom-background {
  background-color: rgb(85, 85, 85) !important;
  }
  
  #main-content {
  min-height: 100vh;
  box-sizing: border-box;
  }
  
  @media (max-width: 768px) {
  body,
  html {
  overflow-x: hidden;
  }
  
  .top-bar,
  .footer-bar {
  padding: 5px 0;
  }
  
  .container,
  .footer-container {
  padding: 0px 20px;
  margin: 0 auto;
  align-items: center;
  max-width: 100%;
  overflow-x: hidden;
  justify-content: space-between;
  justify-content: center;
  flex-direction: column;
  }
  
  .menu-link,
  .menu-link.button,
  .footer-link {
  text-align: center;
  width: 100%;
  display: block;
  padding: 5px;
  margin: 1px 0;
  font-size: 14px;
  }
  
  .form-section,
  .image-contact,
  .text-field {
  min-width: 100%;
  margin-bottom: 10px;
  margin-left: 0px;
  }
  
  .form-section {
  margin-bottom: 10px;
  }
  
  .image-container {
  padding-top: 20px;
  }
  
  .image-contact {
  margin-top: -60px;
  padding: 0 20px;
  flex-direction: column;
  margin-bottom: 100px;
  margin-left: -12px;
  }
  
  .text-field {
  margin-top: 0px;
  }
  
  img {
  height: 80px;
  }
  
  .image-footer img {
  width: 25px;
  margin-bottom: 10px;
  }
  
  .section {
  margin-top: 180px;
  }
  
  .pen-paper-button  {
  margin-bottom: 35px !important; 
  }
  
  .headline {
  font-size: 30px !important;
  margin-top: 20px;
  padding-top: 10px;
  font-weight: normal !important;
  text-shadow: 0px 0px 0px !important;
  }
  
  .description {
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  margin-top: 0;
  margin-left: 5px !important;
  margin-right: 10px;
  margin-bottom: -10px;
  }
  
  .text {
  width: 100%;
  margin: 0;
  padding: 10px 20px;
  text-align: center;
  overflow-x: hidden;
  margin-bottom: 20px !important;
  }
  
  .text h2 {
  font-size: 22px;
  margin-bottom: 5px;
  }
  
  .text p {
  font-size: 16px;
  margin-left: 12px !important;
  }
  
  .info {
  display: block;
  overflow-x: visible;
  margin-top: 10px;
  margin-left: 25px !important;
  width: 90%;
  margin-bottom: 100px !important;
  }
  
  form {
  align-items: center;
  margin-left: 0px !important;
  }
  
  .home-container {
  flex-direction: column;
  margin-left: 12px !important;
  margin-bottom: 20px !important;
  margin-right: 10px !important;
  }
  
  .home-image-container,
  .home-text-content {
  width: 100%;
  font-size: 16px !important;
  }
  
  .imprint .text p,
  .imprint .text {
  font-size: 16px;
  font-weight: normal !important;
  }

  .privacy-policy .text p,
  .privacy-policy .text {
  margin-bottom: 35px !important;
  font-size: 16px;
  font-weight: normal !important;
  }
  
  .category-navigation {
  margin-bottom: 55px;
  }

  .posts-container {
  margin-bottom: 25px;
  }

  .post-item {
  flex: 1 1 calc(50% - 40px);
  margin-bottom: 10px;
  }
  
  #backButton {
  position: static;
  transform: none;
  margin: 10px auto;
  margin-top: -10px;
  margin-bottom: -10px;
  font-weight: normal;
  padding: 6px 12px;
  }
  
  .content {
  margin-bottom: 55px !important;
  }
  
  .post-image {
  width: 195px;
  margin: 10px 5px !important;
  }
  
  .post-image-2 {
  width: 195px;
  margin: 10px auto !important;
  padding: 10px;
  }
  
  .headline img {
  margin-bottom: -5px !important;
  }
  
  .welcome-text {
  font-size: 18px !important;
  font-weight: bold;
  }
  
  .category-navigation button {
  font-size: 16px !important;
  font-weight: normal !important;
  padding: 8px 16px !important;
  }
  
  .form-section input[type="submit"] {
  display: block;
  margin: 0 auto;
  }
  
  .post-text {
  padding-left: 10px;
  padding-right: 0px;
  }
  }
  
  .headline {
  text-align: center;
  display: flex;
  justify-content: center;
  text-decoration: underline;
  width: 100%;
  color: darkgoldenrod;
  text-shadow: 5px 1px 5px rgba(0, 0, 0, 0.8);
  font-size: 50px;
  font-weight: bold;
  margin-top: 140px;
  padding-top: 20px;
  }
  
  .description {
  display: flex;
  justify-content: center;
  padding: 10px 0;
  margin-top: -20px;
  }
  
  .text {
  flex-basis: 45%;
  text-align: justify;
  margin: 0 10px;
  padding: 20px;
  font-size: 20px;
  text-align: center;
  }
  
  .text h2 {
  margin-bottom: 10px;
  }
  
  .text p {
  margin-top: 0;
  }
  
  .price {
  font-weight: bold;
  }
  
  .info {
  font-size: 12px;
  margin-left: 20px;
  display: block;
  margin-bottom: 40px;
  }
  
  form label {
  font-weight: 550;
  }
  
  label[for="summary"] {
  display: block;
  margin-bottom: 5px;
  }
  
  form {
  margin-left: 100px;
  }
  
  .hidden {
  display: none;
  }
  
  .notification {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #4caf50;
  color: white;
  padding: 15px;
  border-radius: 5px;
  z-index: 1000;
  }
  
  .notification.error {
  background-color: #f44336;
  }
  
  .notification.show {
  display: block;
  }
  
  a:link {
    color: white;
    }
    a:hover {
    color: rgb(138, 206, 218);
    }
    a:active {
    color: red;
  }
  
  .headline img {
  margin-top: 5px;
  max-width: 100%;
  height: auto;
  width: 50%;
  margin-bottom: 30px;
  }
  
  .welcome-text {
  font-size: 24px;
  font-weight: bold;
  }
  
  .category-navigation button {
  background-color: #333;
  color: white;
  border-radius: 5px;
  font-weight: bold;
  font-size: 18px;
  padding: 10px 20px;
  margin-bottom: 20px;
  }
  
  .category-navigation button:hover {
  cursor: pointer;
  color: rgb(138, 206, 218);
  }
  
  .category-navigation button:active {
  color: red;
  }
  
  button:hover {
  cursor: pointer;
  color: red;
  }
  
  .post-image:hover {
  box-shadow: 0 0 15px rgba(255, 255, 0, 0.8);
  }
  
  .form-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  }
  
  .form-section form {
  width: 100%;
  max-width: 600px;
  }
  
  textarea {
  width: 90%;
  box-sizing: border-box;
  }
  
  .form-section input[type="submit"] {
  font-weight: bold;
  border: 3px solid #000;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  }
  
  .form-section input[type="submit"]:hover {
  background-color: #f0f0f0;
  }
  
  .form-section input:hover {
  color: red;
  }
  
  .post-image-2-container {
  display: flex;
  justify-content: center;
  }

  .file-upload {
    border: 2px dashed #ccc;
    padding: 20px;
    border-radius: 5px;
    background-color: #f9f9f9;
    text-align: center;
    cursor: pointer;
    z-index: 1;
}

.file-upload.dragover {
    border-color: #333;
    background-color: #eee;
}

#fileList {
  list-style-position: inside;
  padding-left: 0;
}
#fileList li {
  margin: 5px 0;
  padding-left: 10px;
}

.form-section {
  flex: 1 1 45%;
  max-width: 45%;
}

.image-contact {
  flex: 1 1 45%;
  max-width: 45%;
}

@media (max-width: 768px) {
  .form-section, .image-contact {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.file-upload {
  margin-top: 10px;
}

.document {
  border: 1px solid #ccc;
  padding: 10px;
  margin: 10px 0;
  cursor: pointer;
}

.file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
  border: 1px solid #ccc;
  margin-top: 5px;
}

.file-upload:hover {
  background-color: #e6e6e6;
  border-color: #666;
}

.file-upload.error {
  border-color: red;
  background-color: #ffe6e6;
}

.file-upload.success {
  border-color: green;
  background-color: #e6ffe6;
}

.hidden-link {
  display: none;
}

.email-link, .errorlink-style {
  color: blue;
  text-decoration: none;
}

.email-link:hover, .errorlink-style:hover {
  color: red;
}

.email-link:active, .errorlink-style:active  {
  color: green;
}

.image-row {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.image-row img {
    max-width: 100%;
    height: auto;
    width: 48%;
    object-fit: cover;
}

main.content-container {
  padding-top: 200px;
  padding-bottom: 50px;
}