/* General page setup */

@media print {
  .paper {
    padding-top: 0.5in;
  }
}

body {
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  background-color: #eaeaea;
  color: #000;
}

body,
  .paper, 
  .paper p, 
  .paper h1, 
  .paper a, 
  nav a {
    color: #333333; /* dark gray */
}

/* Navigation bar */
nav {
  display: flex;
  gap: 15px;
  background-color: #333;
  padding: 10px;
}

nav a {
  color: white;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

.paper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0.5in 0.5in 1in 0.5in; /* top 0.5", right 0.5", bottom 1", left 0.5" */
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border: 1px solid gray;
  border-radius: 4px;
  box-sizing: border-box;
  min-height: 100vh;
}

/* Flex container for bordered/center content */
.flex-container {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 0px;
  box-sizing: border-box;
  width: 100%;
  flex-wrap: wrap;  /* <-- Allow wrapping */
}

.box {
  border: 1px solid gray;
  padding: 5px 20px;
  flex: 0 1 auto;  /* <-- shrink and grow based on content */

  display: flex;
  justify-content: center;  /* horizontal center */
  align-items: center;      /* vertical center */
  text-align: left;        /*  text alignment inside the paragraph */
  box-sizing: border-box;
  height: 80px;            /* set a fixed height so vertical centering works */
}

.warn-box {
  border: 1px solid gray;
  padding: 10px 10px;
  flex: 0 0 auto;  /* <-- shrink and grow based on content */

  display: flex;
  justify-content: center;  /* horizontal center */
  align-items: center;      /* vertical center */
  text-align: left;        /*  text alignment inside the paragraph */
  box-sizing: border-box;
  height: 120px;            /* set a fixed height so vertical centering works */
}

.center {
  flex: 1;
  text-align: center;
  border: none;
}

/* Image inside the paper */
.paper img {
  margin-top: 0.5in;
  border: 2px solid gray;
  padding: 0.75in 0.5in; /* restored 1" top/bottom */
  margin-bottom: 10px;
  border-radius: 4px;
  box-sizing: border-box;
}

 .outlined-text {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 38px;
    color: transparent;               /* hollow inside */
    -webkit-text-stroke: 2px black;   /* black outline */
    /* For Firefox (partial support) */
    text-stroke: 2px black;
  }

/* Mobile adjustments */
@media (max-width: 600px) {
  .flex-container {
    flex-direction: column;
  }
  .paper {
    padding: 0.75in 0.4in;
  }
  .paper img {
    width: 40%;
  }
}