*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

nav {
  background-color: #626262;
  color: white;
  padding: 20px; 
  margin-bottom: 40px; /* Abstand zum Container */
}

.container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;  /* zentriert horizontal */
  padding: 30px;   /* Innenabstand */
  background-color: #4a4a4a;
  border-radius: 15px;
}

h1 {
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 30px;
}

figure {
  margin: 30px auto;
  text-align: center;
}

figure img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
  display: block;
  margin: 0 auto;
}

figcaption {
  margin-top: 10px;
  font-size: 1em;
  line-height: 1.4;
  text-align: left; /* Standard links */
}

figure.center-text figcaption {
  text-align: center !important;
}

figure.center-text figcaption {
  text-align: center !important;
}
