html {
  background-color: #d6d7d8;
}

body {
  /*width: 600px;*/
  margin: 0 auto;
  background-color: #0077ff18;
  padding: 0 20px 20px 20px;
  border: 5px solid black;
}

.Pike {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  border-radius: 30%;
  width: 550px;
  height: auto;
}

h1 {
    text-align: center;
    font-size: 100px;
    margin: 0;
    padding: 20px 0;
    color: #00539f;
    text-shadow: 5px 5px 3px black;
}

.Caption-list {
    text-align: center;
    font-size: 35px;
    font-weight: 100;
}

.centered-list {
  list-style-position: outside;
  display: table;
  margin: 0 auto;
  padding: 1em;
  border: 1px solid black;
  border-radius: 10px;
  text-align: left;
  font-size: 20px;
  font-weight: 900;
}

.Example-API {
    text-align: center;
    font-size: 20px;
}

.image-container {
    text-align: center;
    display: inline-block;
    margin-right: 0;
}

.waterlevel-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 30%;
    box-shadow: 30px 10px 20px rgba(0, 0, 0, 0.2);
}

.image-container figcaption {
    font-size: 1.2em;
    font-weight: 600;
    margin-top: 0.5em;
}

.right-align-waterlevel {
    text-align: right;
}

.left-align-icons {
  text-align: left;
}

.icon-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.icon-row {
  display: flex;
  gap: 0.5em;
  justify-content: flex-start;
}

.icon-row img {
  width: 60px;
  height: auto;
}

.icon {
  transition: transform 0.3s ease, /*box-shadow 0.3s ease*/;
  cursor: pointer;
  margin: 0;
  padding: 0;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

.icon:hover {
  transform: translateY(-8px) scale(1.1);
  /*box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);*/
}

/* NEW: wrap the icon row and caption in a tight box */
.icon-caption-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;  /* center figcaption under the row */
}

.icon-container figcaption {
  margin-top: 0.5em;
  font-size: 1.2em;
  font-weight: 600;
  text-align: center;
}

