@font-face {
  font-family: "Pixel";
  src: url("/Font/deltarune.ttf") format('truetype');
}

.pixel-text {
  font-family: "Pixel", sans-serif;
}

/* STRUCTURE */
.page-container {
    margin: 20px auto; 
    border: 44px solid transparent;
    padding: 15px; 
    width: 2000px;
    max-width: 95vw;
    min-height: 75vh; 
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
}

.content-box {
  width: 100%;
  background-color: #fafafa;
  background-clip: border-box;
  border: 30px solid transparent;
  padding: 15px;
  border-image:url("https://i.postimg.cc/BQbgpZ3w/IMG-8837.png") 20 round;
  border-radius: 35px;
  overflow: hidden;
}



.columns-wrapper {
    display: flex;
    gap: 20px;
    margin: 15px 0 0 0; 
    flex: 1;
    min-height: 0; 
}

.about-img {
  float: left;
  width: 200px;        /* adjust to whatever size looks good */
  height: auto;
  margin: 0 15px 10px 0; /* space between image and wrapping text */
  border-radius: 10px;   /* optional, matches your cozy aesthetic */
}

/* GRID */

.box {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto; 
    grid-gap: 16px;
    margin: 0px;
    width: 100%;
}

/* lists */

.list-scroll {
  max-height: 350px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right:8px;
}

.list-section {
  margin-bottom: 20px;
}

.list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 10px;
  gap: 10px;
}

.list div {
  padding: 10px;
  text-align: center;
}

.list img {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: 5px;
  display: block;
  margin: 0 auto;
}

.list img:hover {
  transform: scale(1.5);
}

.list img.quiz-img {
  width:100%;
  max-width:300px;
  aspect-ratio: 1/1;
  object-fit: contain;
  border-radius: 5px;
  display: block;
  margin: 0 auto;
}

.badge-list {
  grid-template-columns: repeat(auto-fit, minmax(88px, max-content));
  justify-content: center;
}

.badge-list img {
  width: auto;
  height: auto;
  max-width: none;
  aspect-ratio: auto;
  object-fit: unset;
}

/* HEADER */

header {
    width: 100%;
    display: flex;
    justify-content: center;
}

.header-gif {
  width: 100%;
  max-width: 1500px;
  height: auto;
  display: block;
}


/* END */


/* SCROLLING PIXELS */

.scrolling-bar {
  grid-row: 2;
  width: 100%;
  overflow: hidden;
  background-color: white;
  padding: 8px 0;
  display: flex;
  align-items: center;
  border-radius: 15px;
}

.scrolling-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scroll-pixels 15s linear infinite;
}

.scrolling-track img{
  height: 35px;
  width: auto;
  object-fit: contain;
}

@keyframes scroll-pixels {
  0% {
    transform: translatex(0);
  }
  100% {
    transform: translatex(-50%);
  }
}

/* END */

.main-content {
  grid-row: 3;
  display: block;
  width: 100%;
}

/* FOOTER */

.bottom-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: max-content;
  margin: 15px auto 0 auto;
}

.bottom-nav img{
  height: 40px;
  width: auto;
  display: block;
}

.bottom-nav a img:hover {
  transform: translateY(-4px);
}


footer {
    grid-row: 4/5;
    grid-column: 1/4;
}