/* Define @font-face for custom font */
@font-face {
  font-family: 'MagicialGame';
  src: url('lib/font/Magicial-Game.woff');
  /* Add other formats (e.g., woff, woff2) for better browser compatibility */
}

/* Ensure html and body take up the full height of the viewport */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Set background and styles for body */
body {
  background: url('lib/img/ozarks.jpeg') no-repeat center center fixed;
  background-size: cover;
  color: white;
  /* font-family: 'MagicialGame', Georgia, serif; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow-x: hidden; /* Hide horizontal overflow */
  overflow-y: auto; /* Allow vertical scrolling if necessary */
}

/* Style the container for the p5.js sketch */
#sketch-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1; /* Ensure the canvas is behind other content */
}

/* Additional style for the button */
.button-container {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Style the content container */
.content {
  position: relative; /* Ensure relative positioning for children */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px;
  margin: 50px;
}

.buttons {
  margin-top: 30px;
  flex-direction: column;
}

/* Style headings and links */
h1, h4 {
  font-family: 'MagicialGame'; /* Apply custom font to headings */
  margin: 5px;
  padding: 10px;
  border-radius: 8px;
}

h1 {
  margin-top: 300px;
  margin-bottom: 30px;
  font-size: 50px;
}

h4 {
  z-index: 2;
  font-size: 15px;
}

a {
  color: #f2ff00; 
  text-decoration: none;
  z-index: 1;
}

a:hover {
  text-decoration: underline;
}

/* Style the table overlay */
.table-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px; /* Adjust padding as needed */
  box-sizing: border-box;
  overflow: auto; /* Allow table to scroll if it exceeds container */
}

/* Style links on hover */
a:hover {
  text-decoration: underline; /* Add underline on hover */
}
