  #controls {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    font-family: sans-serif;
  }
#controls button {
  width: 32px;
  height: 32px;
  font-size: 16px;  /* Slightly larger for emoji icons */
  padding: 0;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f8f8f8;
}

#controls button:hover {
  background-color: #e0e0e0;
}

#controls button.small {
  width: 28px;
  height: 28px;
  font-size: 14px;
}

  #controls span {
    font-size: 12px;
  }

  #speedDisplay {
    min-width: 30px;
    text-align: center;
    display: inline-block;
  }

  #counter {
    margin-left: 20px;
  }

  #filename {
    margin-left: 20px;
    font-family: monospace;
  }
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  color: #555;
  margin: 6px 0 2px;
}

.section-header::before,
.section-header::after {
  content: "";
  flex: 1;
  margin: 0 5px;            /* spacing from text */
  /* options: solid, dashed, dotted & double */
  border-bottom: 1px solid #555; /* the lines wrap around a label */
}
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .submenu-title {
  display: block;
  padding-right: 15px;
  position: relative;
  cursor: pointer;
}

.dropdown-submenu .submenu-items {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: #fff;
  border: 1px solid #ccc;
  z-index: 1000;
  white-space: nowrap;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-submenu:hover .submenu-items {
  display: block;
}

.dropdown-submenu .submenu-items a {
  display: block;
  padding: 6px 12px;
  font-size: 12px;
  color: #333;
  text-decoration: none;
}

.dropdown-submenu .submenu-items a:hover {
  background-color: #f2f2f2;
}
footer {
  width: 100%;
  text-align: center;
  background-color: #fff;
  border-top: 1px solid #ccc;
  margin-top: 20px;
}
footer p {
  font-size: 16px;
  color: #555;
  margin: 20px 0 0px 0; /* Space below the text, above the image */
}
footer img {
  max-width: 65%;
  height: auto;
  display: block;
  margin: 10px auto;
  padding: 10px;
}
