/* Reset Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Full Page Layout */
html,
body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1 {
  color: #000;
  margin-bottom: 1rem;
  font-size: 3rem;
}
p {
  color: #333;
  font-size: 1.5rem;
}

/* Header (Sticky to Top) */
header {
  background: #444;
  color: white;
  padding: 10px 0;
  text-align: center;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

/* Navigation Bar */
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav ul li {
  display: inline;
}

nav a {
  color: white;
  font-size: 1.2rem;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background 0.3s ease-in-out;
}

nav a:hover {
  color: #c4c4c4;
}

/* Main Content (Centered Vertically & Horizontally) */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

/* Output */
#triangle,
#chessboard {
  font-family: monospace;
  white-space: pre;
  display: inline-block;
  text-align: left;
  background: white;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.fizzbuzz-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 20px;
}

/* FizzBuzz Columns */
.fizzbuzz-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  min-width: 150px;
}

/* Individual Items */
.fizzbuzz-item {
  font-family: monospace;
  font-size: 0.75rem;
  padding: 1px 0;
}

/* Footer (Sticky to Bottom) */
footer {
  background: #ddd;
  color: #333;
  text-align: center;
  padding: 10px;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
}
