@font-face {
  font-family: 'freesans';
  src: url("/fonts/FreeSans.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'freesansbold';
  src: url("/fonts/FreeSansBold.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

body {
  background-color: #FAB217;
  image-rendering: pixelated;
  color: black;
  font-family: "Impact", sans-serif;
  font-size: 60px;
  line-height: .9;
}

.rain-poem {
background-image: url("/images/rain.gif"); 
background-size: 1600px;
background-repeat: repeat;
}

.layout {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 20px;
  align-items: start;
}

.left {
  margin-left: 30px;
}

.left-m {
  font-family: "freesans" !important;
  font-size: 30px;
  line-height: 1.2;
  margin-left: 30px;
  max-width: 1200px; margin-left: auto; margin-right: auto;
}

.right {
  background: transparent;
  padding: 3rem;
  border: 7px solid #686868; 
  border-radius: 1px;
  margin-right: 30px;
}

//REAL text 

.document-text {
  font-family: 'chikarego', sans-serif;
  color: white;
  width: 100%;
  max-width: none;
  margin-left: 30px;
  
}

.document-text-b {
  font-family: 'chikarego', sans-serif;
  font-size: 80px;
  color: white;
  padding-left: 30px;
}

.cent-b { font-size: 80px; text-align: center; margin-bottom: 1rem; max-width: 1200px; margin-left: auto; margin-right: auto;}
.cent-m { font-family: "freesansbold" !important;
  font-size: 50px;
  line-height: 1.2; text-align: center; margin: 0.5rem 0; max-width: 1200px; margin-left: auto; margin-right: auto;}
.cent-s { font-size: 20px; text-align: center; margin: 0.2rem 0; max-width: 1200px; margin-left: auto; margin-right: auto;}


//blog

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.blog-card {
  width: 400px;
  max-width: 100%;
  text-align: center;
}

.blog-card img.thumb {
  width: 100%;
  height: 400px;
  object-fit: cover;
  image-rendering: pixelated;
}

.blog-card a, .text-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}
.text-link:hover { text-decoration: underline; }

@media (max-width: 420px) {
  .blog-card { width: 100%; }
  .blog-card img.thumb { height: 160px; }
}

/* --- Blog grid override fix --- */

main.document-text {
  width: 100% !important;
  max-width: none !important;   /* removes narrow page constraint */
  display: block !important;
}

.blog-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr)) !important;
  gap: 2rem !important;
  justify-items: center !important;
  width: 100% !important;
}

.blog-card {
  width: 400px;
  max-width: 100%;
  text-align: center;
}


img {
  image-rendering: pixelated;
}

<!--
Source - https://stackoverflow.com/a
Posted by Allain Lalonde
Retrieved 2025-12-08, License - CC BY-SA 2.5
-->

.left, .right {
  width: 50%; /* Floated elements technically need a width specified. */
}

.leftmost {
  float: left;
}

.rightmost {
  float: right;
}

.scrolling-container {
  width: 100%;
  overflow: hidden; /* Hides the text when it's outside the container */
  white-space: nowrap; /* Prevents the text from wrapping to a new line */
  box-sizing: border-box;
}

.scrolling-container span {
  display: inline-block;
  padding-left: 100%; /* Starts the text off-screen to the right */
  animation: scroll 10s linear infinite; /* Applies the animation */
}

@keyframes scroll {
  0% {
    transform: translateX(0); /* Start position */
  }
  100% {
    transform: translateX(-100%); /* Moves the text completely off-screen to the left */
  }
}

.jp {
  font-family: "pc-9800" !important;
  font-size: 50px;
  line-height: 1.2;
}

.main-layout {
  display: flex;
  align-items: flex-start; 
  gap: 32px;
}

.button-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.featured-img {
  width: 256px;
  height: auto;
}

.es {
  font-family: "pc-9800" !important;
  font-size: 50px;
  line-height: 1.2;
}