@font-face {
    font-family: mcFont;
    src: url("../Assets/fonts/minecraft-font/MinecraftRegular-Bmg3.otf");
    font-weight: normal
}
@font-face {
    font-family: mcFont;
    src: url("../Assets/fonts/minecraft-font/MinecraftBold-nMK1.otf");
    font-weight: bold
}
@font-face {
  font-family: mcTitle;
  src: url("../Assets/fonts/minecraft-font/MinecraftTen-VGORe.ttf");
}


/* === Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: mcFont;
  background-color: #f0f0f0;
  line-height: 1.5;
  color: #222;
}

body {
  background-color: #f0f0f0; /* Light gray */
}

/* === Header === */
#mainHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-image: url("../Assets/Images/refined-radiance-pad.png");
  background-repeat: repeat-x;
  background-size: auto 100%;
  image-rendering: pixelated;
  height: 120px;
  gap: 1rem;
}

#returnButton {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 150px;
  transition: transform 0.5s ease;
}

#returnButton:hover{
    transform: scale(1.05);
}

#backImage {
  height: 60px;
  object-fit: contain;
}

#returnButton h2 {
  margin: 0;
  font-size: 1.5rem;
  white-space: nowrap;
}

#titleImage {
  height: 100%;
  max-width: 60%;
  object-fit: contain;
  transition: transform 0.5s ease
}

#titleImage:hover {
    transform: scale(1.05);
}

/* === Subtitle === */
#subtitleBox {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}



#subtitle {
  max-width: 400px;
  width: 50%;
}

#subtitleText{
  font-family: mcTitle;
  font-size: 80px;
  text-shadow: -3px -3px 0 #b1b1b1;
  margin: 20px;
  text-align: center;
}

/* === Main Grid === */
.contentGrid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  padding: 20px;
}

.leftColumn {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.infoSection, .tableSection {
  background-color: #ffffff;
  padding: 15px;
  border: 1px solid #8d8b8b;
  border-radius: 8px;
}



table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 8px;
  border: 1px solid #ccc;
  text-align: left;
}

/* === Gallery === */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.galleryImage {
  width: 100%;
  border-radius: 8px;
}

/* Gallery container style */
.galleryContainer {
  background-image: url("../Assets/Images/blueprint_tilable.png");
  background-repeat: repeat;
  background-size: 20%; /* 4x bigger tiles */
  image-rendering: pixelated;

  padding: 15px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1.1px solid #159b67;
}

/* === Footer === */
#mainFooter {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 10px;
  background-image: url("../Assets/Images/refined-radiance-pad.png");
  background-repeat: repeat-x;
  background-size: auto 100%;
  margin-top: 20px;
}

#gitHubIcon {
  width: 40px;
  height: 40px;
}

#gitHubLink {
  text-decoration: none;
  font-weight: bold;
  color: #222;
  transition: color 0.3s ease;
  font-family: sans-serif
}
#gitHubLink:hover {
    color: #1841b2;
}

/* === Responsive === */
@media (max-width: 768px) {
  .contentGrid {
    grid-template-columns: 1fr;
  }

  #mainHeader {
    flex-direction: column;
    height: auto;
    text-align: center;
  }

  #returnButton {
    justify-content: center;
  }

  #mainFooter {
    flex-direction: column;
    text-align: center;
  }
}
