/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

@font-face {
    font-family: 'IBM_VGA_8x16'; /*a name to be used later*/
    src: url('./Web437_IBM_VGA_8x16.woff'); /*URL to font*/
}

body {
  background-color: black;
  color: grey;
  font-family: 'IBM_VGA_8x16', monospace;
  font-weight: normal;
  font-style: normal;
}

/*⃣ Make the flex container fill the viewport */
.centerpiece {
  display: flex;
  align-items: center;      /* vertical centering */
  justify-content: center;  /* horizontal centering */
  min-height: 100vh;         /* full height of the viewport */
}

/* ️⃣ Styling for the inner box */
.tableau {
  background-color: rgb(69, 164, 181);
  border-radius: 5px;
  padding: 10px;
  color: #fff;
  text-align: center;       /* center the caption text */
}

/* 3⃣ Image – keep it responsive but don’t overflow the box */
.hero-img {
  max-width: 90%;           /* shrink if container is smaller */
  height: auto;
  display: block;           /* removes bottom whitespace */
  margin: 0 auto;           /* extra safety for older browsers */
}

.caption {
  margin-top: 8px;
}