body, html {
  font-family: Tahoma, Verdana, Arial, sans-serif;
  color: rgb(245, 191, 191);
  background-color: #000000;
  height: 100%;
  margin: 0;
  padding: 0;
}

a {
  color: rgb(255, 241, 241);
  text-decoration: none;
  text-shadow: black 0.1em 0.1em 0.2
}

a:hover {
  font-weight: bold;
}

.bg {
  /* The image used */
  background-image: url("michael-dam-1xpnPZJJHuM-unsplash.jpg?2023072600");

  /* Full height */
  height: 100%; 

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  border: 1px solid rgb(0, 0, 0);
}

.content {
  margin: 3em auto 0 auto;
  max-width: 35em;
  background-color: rgba(0, 0, 0, 0.42);
  padding: 3em 3em 1em 3em;
}

.graph {
  margin: 3em auto;
  max-width: 90%;
  background-color: rgba(0, 0, 0, 0.67);
  padding: 3em;
}

.caption {
  margin: 1em auto;
  max-width: 35em;
  background-color: rgba(0, 0, 0, 0.42);
  padding: 1em 3em 3em 3em;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 1.6em;
  background-color: rgba(0, 87, 183, 0.42);
  color: rgba(255, 221, 0, 0.42);
  text-align: center;
  font-size: 0.8em;
  padding: 1em;
  opacity: 0;  /* Initially hide the footer */
  transition: opacity 2s;  /* Slow fade out */
}

footer:hover,footer.visible {
  opacity: 1;  /* Show the footer when hovered over */
  transition: opacity 0.5s;  /* Fast fade in */
}

footer a {
  color: rgba(255, 221, 0, 0.42);
  text-decoration: none;
  text-shadow: black 0.1em 0.1em 0.2em;
}

footer a:hover {
  font-weight: bold;
}

.tooltip {
  position: absolute;
  text-align: center;
  width: 120px;
  height: 60px;
  padding: 1em;
  background: rgba(0, 0, 0, 0.42);;
  border: 0px;
  border-radius: 8px;
  pointer-events: none;
}

#flags {
position: absolute;
right: 0;
top: 0;
padding: 10px;
}

#sound-icon {
position: absolute;
left: 50%;
top: 10px;
transform: translateX(-50%);
cursor: pointer;
}

#sound-icon img {
display: none;  /* Hide both images by default */
}
