body {
    background-image: url("grid3.jpg");
    background-size: cover; 
    background-attachment: fixed; 

    font-family: "Space Mono", monospace;
}

h1 {
    font-size: 75px;
    text-align: center;
    font-weight: bold;
}

h2 {
    font-size: 50px;
    text-align: center;
    font-weight: bold;
}

h3 {
    text-align: center;
    font-weight: bold;
    color: grey;
}

p {
    text-align: center;
    font-weight: bold;
    color: grey;
}

.space-mono-regular {
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

.space-mono-bold {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-style: normal;
}

.space-mono-regular-italic {
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-style: italic;
}

.space-mono-bold-italic {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-style: italic;
}

/* Full-screen overlay */
#loading-screen {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    flex-direction: column; /* stacks the spinner and text vertically */
    align-items: center;
    justify-content: center;
}

/* animated spinner */
.loader {
    border: 8px solid #f3f3f3; /* Light grey base */
    border-top: 8px solid #3498db; /* Blue spinning part */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

/* spin animation logic */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    margin-top: 20px;
    font-weight: bold;
    color: grey;
}

.fact-container {
  border: 2px solid lightsteelblue;
  padding: 20px;
  border-radius: 8px;
  background-color: #f9f9f9;
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 4px 4px 10px rgba(0,0,0,0.1);
}

.fact-container h3 {
  margin-top: 0;
  color: navy;
}