@font-face {
  font-family: "MCFont";
  src: url(../Fonts/Minecraftia-Regular.ttf) format("truetype");
}

* {box-sizing: border-box;}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  color: rgba(255, 255, 255, 1);
  background-color: rgba(0, 0, 0);
  background: linear-gradient(rgba(0, 0, 0, 0.5)), url("../Images/The Nether/NetherBackground.jpg") center / cover fixed;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1000;
  justify-content: center;
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 10px 20px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(rgba(0, 0, 0, 0.8));
}

.nav-button {
  padding: 8px 16px;
  border: 2px solid rgba(255, 255, 255);
  border-radius: 999px;
  background-color: rgba(0, 0, 255, 0.3);
  color: rgba(255, 255, 255);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.nav-icon {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  cursor: pointer;
}

.nav-button:hover,
.nav-button:focus-visible {
  background-color: rgba(130, 220, 90, 0.4);
}

img,
iframe {
  max-width: 100%;
}

.nether-page {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 40px 0 56px;
}

.page-intro {
  padding: 40px 24px;
}

.page-intro h1 {
  margin: 0;
  color: rgb(130, 220, 90);
  font-family: "MCFont";
  font-size: 42px;
  line-height: 1;
}

.guide-section {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background-color: transparent;
}

.guide-section h2 {
  margin: 0 0 12px;
  color: rgba(130, 220, 90);
  font-size: 33px;
}

.guide-section h3 {
  margin: 0 0 12px;
  color: rgba(150, 100, 80);
  font-size: 28px;
}

.guide-section h4 {
  margin: 28px 0 12px;
  color: rgba(150, 100, 80);
  font-size: 25px;
}

.guide-section p,
.guide-section li {
  font-size: 20px;
  line-height: 1.6;
}

.guide-section p {
  margin-top: 0;
}

.guide-card {
  margin: 18px 0 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background-color: transparent;
}

.guide-card ul,
.guide-section ol {
  padding-left: 22px;
}

.guide-card li + li,
.guide-section ol li + li {
  margin-top: 8px;
}

.guide-image {
  display: block;
  width: 100%;
  max-height: 520px;
  margin: 14px 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  object-fit: contain;
  background-color: transparent;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 20px;
}

.link-list a {
  display: inline-block;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background-color: rgba(0, 0, 255, 0.3);
  color: rgba(255, 255, 255);
  font-weight: 700;
  text-decoration: none;
}

.link-list a:hover,
.link-list a:focus-visible {
  background-color: rgba(130, 220, 90, 0.4);
}


/* Embedded videos */

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 12px 0 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background-color: transparent;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.credits-section {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background-color: transparent;
  font-size: 15px;
  line-height: 1.6;
}

.credits-section h5 {
  margin: 0 0 12px;
  color: rgba(255, 255, 255);
  font-size: 20px;
}

.credits-section p {
  margin: 0 0 12px;
}

.credits-section p:last-child {
  margin-bottom: 0;
}

.credits-section a {
  color: rgba(130, 220, 90);
}
