/* Global styles */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f4f4f4;
  display: flex;
  justify-content: center;
}

.container {
  max-width: 1200px; /* Limits the width of the entire page */
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.welcome-banner {
  background-color: #0056b3; /* Solid color background */
  color: white;
  text-align: center;
  padding: 30px 20px 10px 20px; /* Reduced bottom padding to 40px */
  margin-bottom: 40px; /* Adds space after the banner */
  border-radius: 10px; /* Soft corners */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

.welcome-banner h1 {
  font-size: 3.5em; /* Larger font for the name */
  margin: 0;
  font-weight: bold;
}

.welcome-banner p {
  font-size: 1.7em;
  margin-top: 10px;
}

/* Sections styling */
section {
  background-color: white;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

section h2 {
  color: #0056b3;
  font-size: 2em;
  margin-top: 0px;
  margin-bottom: 10px;
}

section p {
  font-size: 1.2em;
  line-height: 1.8;
}

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1em;
  padding: 20px;
  background-color: #0056b3;
  color: white;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Link Container Styling */
.footer-left {
  text-align: left;
  flex: 1; /* Stellt sicher, dass der Link links bleibt */
}

.footer-right {
  text-align: right;
  flex: 1; /* Stellt sicher, dass der Link rechts bleibt */
}

footer a {
  color: #ffeb3b; /* Bright link color */
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Style for unordered lists in the examples and Projects sections */
.examples-list,
.projects-list {
  list-style-type: none; /* Remove default bullet points */
  padding: 0;
  margin: 0;
}

.examples-list li,
.projects-list li {
  background-color: #f4f4f4; /* Light gray background for list items */
  margin-bottom: 10px; /* Add space between items */
  padding: 10px;
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
  transition: background-color 0.3s ease; /* Smooth hover effect */
}

.examples-list li:hover,
.projects-list li:hover {
  background-color: #e0e0e0; /* Darker gray on hover */
}

.projects-list li a {
  color: #0056b3; /* Link color */
  text-decoration: none; /* Remove underline */
  font-weight: bold; /* Make links bold */
}

.projects-list li a:hover {
  text-decoration: underline; /* Underline on hover */
}

.examples-list li,
.projects-list li {
  font-size: 1.1em; /* Slightly larger text for readability */
}

/* Cookie consent banner styles */
/* Cookie consent banner styles */
.cookie-banner {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #009900;
  color: white;
  padding: 15px;
  text-align: center;
  box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.cookie-banner p {
  margin: 0;
  display: inline-block;
}

.cookie-banner button {
  background-color: #ffeb3b;
  color: #0056b3;
  border: none;
  padding: 10px 20px;
  margin-left: 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.cookie-banner button:hover {
  background-color: #e0c600;
}

.certification-container {
  display: flex;
  justify-content: center; /* Centers the group of images */
  align-items: center; /* Vertically centers the images */
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  gap: 10px; /* Reduces the space between the images */
  margin-top: 30px;
}

.certification-container img {
  max-width: 20%; /* Adjusts the image size to ensure all fit in one row */
  height: auto; /* Keeps the aspect ratio of the images */
  border-radius: 8px; /* Optional: Adds rounded corners to the images */
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .certification-container img {
    max-width: 45%; /* Two images per row on smaller screens */
  }
}

@media (max-width: 480px) {
  .certification-container img {
    max-width: 100%; /* Single image per row on very small screens */
  }
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .examples-list li,
  .projects-list li {
    font-size: 1em; /* Slightly smaller font on mobile */
  }
}

/* Media queries for responsiveness */
@media (max-width: 600px) {
  .welcome-banner {
    padding: 50px 20px;
  }

  .welcome-banner h1 {
    font-size: 2.5em;
  }

  .welcome-banner p {
    font-size: 1.3em;
  }

  section,
  footer {
    padding: 15px;
  }
}
