
@font-face {
  font-family: 'Quicksand';
  src: url('/static/fonts/Quicksand-Regular.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Quicksand';
  src: url('/static/fonts/Quicksand-Bold.otf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Quicksand';
  src: url('/static/fonts/Quicksand-Medium.otf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Quicksand';
  src: url('/static/fonts/Quicksand-Italic.otf') format('truetype');
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: 'Dosis';
  src: url('../fonts/Dosis-VariableFont_wght.ttf') format('truetype');
  font-style: normal;
}

/* General Styles */ 
body {
  font-family: 'Dosis', sans-serif;
  margin: 0;
  background-color: #f0f0f0; /* Light grey background for contrast */
  font-size: 18px;
}

.container {
  background-color: #ffffff; /* White background for the content block */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 90%; /* Adjust the width as needed */
  max-width: 1200px; /* Maximum width of the content block */
  margin: 20px auto; /* Center the container */
}

nav {
  position: relative;
}

nav ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  justify-content: space-around;
  background-color: #333;
  border-radius: 8px 8px 0 0;
  margin: 0;
}

nav ul li {
  margin: 0;
}

nav ul li a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: white;
}

nav ul li a:hover {
  background-color: #575757;
}

h1, h2, h3 {
  text-align: center;
}

h3 i {
  margin-right: 8px;
}

.content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.block {
  flex: 1;
  min-width: 280px; /* Minimum width before wrapping */
  max-width: 48%; /* Maximum width for each block */
  background-color: #f9f9f9;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
  .block {
    max-width: 100%; /* Make blocks full width on smaller screens */
  }

  nav ul {
    display: none; /* Hide the menu */
    flex-direction: column;
    width: 100%;
  }

  nav ul.show {
    display: flex; /* Show the menu when toggled */
  }

  .burger-menu {
    display: block;
    background-color: #333;
    padding: 10px;
    cursor: pointer;
    color: white;
    text-align: center;
    border-radius: 8px;
  }
}

/* Styles for larger screens */
@media (min-width: 769px) {
  .burger-menu {
    display: none;
  }
}





/* Styles for the index page */
.index-body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

.index-container {
  max-width: 600px; /* Maximum width of the content block */
  text-align: center;
}

.index-logo {
  width: 240px;
  height: 320px;
  margin-bottom: 20px;
}

.index-login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.index-login-form input {
  padding: 10px;
  margin: 10px 0;
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
}

.index-login-form button {
  padding: 10px 20px;
  margin-top: 10px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.index-login-form button:hover {
  background-color: #575757;
}

.index-error-message {
  color: red;
  margin-bottom: 20px;
}

summary{
  font-weight: bold;
}
.ideas{
  font-style: italic;
}

p em{
  font-style: normal;
  font-weight: bold;
}
.invitation{
  text-align: center;
}
/* Centering the image */
.center-image {
  text-align: center;
}

.center-image img {
 max-width: 100%; /* Ensures the image scales down if needed */
  height: auto; /* Maintains the aspect ratio */
}

/* Media query for desktops (screens wider than 768px) */
@media only screen and (min-width: 768px) {
  .center-image img {
      width: 70%; /* Adjust this as needed */
      height: auto;
  }
}

.trennlinien {
  text-align: center;
}
.trennlinien img {
  max-width: 100%; /* Ensures the image scales down if needed */
  height: auto; /* Maintains the aspect ratio */
}
/* Media query for desktops (screens wider than 768px) */
@media only screen and (min-width: 768px) {
  .trennlinien img {
      width: 50%; /* Adjust this as needed */
      height: auto;
  }
}

.hzwo {
  text-align: center;
}
.hzwo img {
  max-width: 100%; /* Ensures the image scales down if needed */
  height: auto; /* Maintains the aspect ratio */
}
/* Media query for desktops (screens wider than 768px) */
@media only screen and (min-width: 768px) {
  .hzwo img {
      width: 40%; /* Adjust this as needed */
      height: auto;
  }
}

.unterschrift img {
  max-width: 100%; /* Ensures the image scales down if needed */
  height: auto; /* Maintains the aspect ratio */
}
/* Media query for desktops (screens wider than 768px) */
@media only screen and (min-width: 768px) {
  .unterschrift img {
      width: 40%; /* Adjust this as needed */
      height: auto;
  }
}
.footer {
  text-align: center;
  padding: 10px;
  margin-top: 10px;
}

.footer img.footer-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100px; /* Adjust width as needed */
  height: auto;
}

.footer p {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

a {
  font-weight: normal;  /* Normal font weight */
  color: inherit;  /* Inherit color from parent element */
}

a:hover {
  font-weight: bold;  /* Make the link bold on hover */
  text-decoration: none;  /* Ensure underline is removed */
}

button {
  background-color: #4CAF50; /* Green background */
  border: none; /* Remove borders */
  color: white; /* White text */
  padding: 15px 32px; /* Some padding */
  text-align: center; /* Center the text */
  text-decoration: none; /* Remove underline */
  display: inline-block; /* Make the button inline */
  font-size: 16px; /* Increase font size */
  margin: 4px 2px; /* Add some margin */
  cursor: pointer; /* Pointer/hand icon */
  border-radius: 8px; /* Rounded corners */
}

button:hover {
  background-color: #45a049; /* Darker green on hover */
}
.mail{
  font-style: italic;
  font-size: 12px;
}

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

.bild {
  flex: 1 1 calc(50% - 10px); /* Takes up 50% of the container width minus margin */
  margin: 5px;
  text-align: center; /* Center align the text */
}

.bild img {
  width: 100%; /* Make sure images are responsive */
  height: auto;
}

@media (max-width: 768px) {
  .bild {
    flex: 1 1 100%; /* Stack items on top of each other on smaller screens */
  }
}

.info-box {
  padding: 15px;
  margin-bottom: 20px;
  background-color: #cdffcd;
  border: 1px solid #b3d4fc;
  border-radius: 5px;
  color: #31708f;
}

.info-box p {
  margin: 0;
  font-size: 14px;
}

.flash-message {
  background-color: #dff0d8; /* Light green background */
  color: #3c763d; /* Dark green text */
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}


textarea {
    width: 100%;
    height: 200px;
    padding: 10px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Styles for mobile devices */
@media (max-width: 768px) {
  textarea {
      height: 150px;
      font-size: 14px;
  }
}

@media (max-width: 480px) {
  textarea {
      height: 120px;
      font-size: 12px;
  }
}

.flash-error {
  color: red;
  background-color: #f9e7e7;
  border: 1px solid red;
  padding: 10px;
  margin: 10px 0;
}
.flash-area {
  position: relative;
  width: 100%;
}