@charset "utf-8";

/* === FONTS === */
@font-face {
  font-family: Bauhaus Demi;
  src: url("fonts/Bauhaus Demi.ttf");
}

/* === GLOBAL RESETS === */
* {
  box-sizing: border-box; /* (fixed typo from 'border-sizing') */
}

html {
  margin: 0;
  padding: 0;
  min-height: 100%;
  position: relative;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: "montserrat", sans-serif;
  color: #F5DAA7;
  background-color: black;
  position: relative;
}

/* Background canvas styling */
#background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index:-1;
  background: #000;
}

/* === ROADMAP CONTAINER === */
.roadmap-container {
  color: #F5DAA7;
  padding: 2em;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.roadmap-container header {
  font-family: "montserrat", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #FFD93D;
  text-align: center;
  font-size: 45px;
  margin-bottom: 0;
}

.roadmap-container header h1 {
  margin-bottom: -.3em;
  font-family: "Bauhaus Demi", sans-serif;
}

.roadmap-container header p {
  margin-bottom: -.75em;
  color: #D9D9D9;
  font-size: 28px;
}

.roadmap-container header a {
  text-decoration: none;
  font-weight: bold;
  color: #FFD93D;
  opacity: 100%;
  font-size: 20px;
}

/* === ROADMAP GRID === */
.roadmap-grid {
  display: grid;
  grid-template-columns: auto auto auto auto; /* 4 milestones per row */
  grid-auto-rows: auto; /* automatic row height */
  gap: 6em; /* horizontal spacing between columns */
  justify-items: center; /* center milestones */
  margin-top: 3em;
}

.lore-master-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 5em;
  justify-items: center;
  margin-top: 3em;
  color: #D9D9D9;
}

.lore-horizontal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  align-self: start; /* ensures all milestones align at top */
}

.lore-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  margin-bottom: -10px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .lore-master-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4em;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .lore-master-grid {
    grid-template-columns: 1fr;
    gap: 3em;
  }
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .roadmap-grid {
    grid-template-columns: auto auto; /* 2 per row */
    gap: 4em;
  }
}

@media (max-width: 600px) {
  .roadmap-grid {
    grid-template-columns: auto; /* 1 per row */
    gap: 3em;
  }
}

/* === MILESTONES === */
.milestone-horizontal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  align-self:start;
}

.milestone-icon {
  width: 50px;
  height: 50px;
  background-color: rgb(255, 212, 59, 0.7);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  margin-bottom: 10px;
  box-shadow: 0 0 10px rgb(255, 212, 59, 0.7);
}

.milestone-date {
  font-weight: bold;
  color: #FFD93D;
  margin-bottom: -5px;
  font-size: 16px;
}

.milestone-content {
  background-color: rgb(30 30 30 / 90%);
  padding: 10px 15px;
  border-radius: 12px;
  width: 180px;
  box-shadow: 0 0 8px rgba(255, 218, 167, 0.5);
}

.milestone-content h3 {
  font-family: "Bauhaus Demi", sans-serif;
  font-size: 18px;
  color: #FFD93D;
  margin-bottom: 5px;
}

.milestone-content p {
  font-size: 14px;
  color: #F5DAA7;
  margin: 0;
}

/* === LOGOS (if used) === */
.logo-image1 {
  max-width: 1.2em;
  float: right;
  margin: auto auto auto 5px;
  src: url("../graphics/logo.png");
}

.logo-image2 {
  width: 250px;
  float: left;
  margin: 0 auto 0 50px;
}

/* === CONTENT BOX === */
.contentbox {
  display: flex;
  flex-direction: column; /* stack header and main */
  align-items: center;
  width:100%;
  max-width: 1000px;
  margin: 10px auto 0px;
  border: outset thick rgb(255 255 255 / 0%);
  border-radius: 25px;
  background-color: rgb(30 30 30 / 0%);
  padding: 2em;
  box-sizing: border-box;
}

/* === HEADER === */
header {
  font-family: "montserrat", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #FFD93D;
  text-align: center;
  font-size: 45px;
  margin-bottom: 0;
}

header h1 {
    margin-bottom: -.3em;
    font-family:"Bauhaus Demi", sans-serif;
}

header p {
    margin-bottom: -.75em;
    color: #D9D9D9;
    font-size: 28px;
}

header a {
  text-decoration: none;
  font-weight: bold;
  color: #FFD93D;
  opacity: 100%;
  font-size: 20px;
}

/* === MAIN CONTENT === */
main {
  display: flex;
  flex-direction: column; /* stack h1 above .articles */
  align-items: center;
  gap: 2em;/* spacing between heading and articles */
  margin: 75px auto 0 auto;
  max-width: 1000px;
  padding: 0 1em 1em;
  box-sizing: border-box;
}

main h1 {
  font-family: "Bauhaus Demi";
  text-align: center;
  color: #FFD93D;
  margin-bottom: 0;
}

/* === ARTICLES CONTAINER === */
.articles {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2em;
  width: 100%;
}

/* === ARTICLE CARDS === */
.articles article {
  flex: 1 1 calc(50% - 2em); /* 2 per row */
  background-color: rgb(30 30 30 / 75%);
  border: 5px outset rgb(255 255 255 / 35%);
  border-radius: 25px;
  color: #F5DAA7;
  font-size: 17px;
  padding: 1.5em;
  box-sizing: border-box;
  transition: all 0.3s ease;
  text-align: center;
}

.articles article h2 {
  color: #FFD93D;
  font-family: "Bauhaus Demi", sans-serif;
  text-align: center;
}

.articles article:hover {
  border: 5px outset rgb(255 255 255 / 100%);
  box-shadow: 0 0 15px 2px rgba(255, 255, 255, 0.4);
  transform: translateY(-5px);
}

.articles article a {
  text-decoration: none;
  font-weight: bold;
  color: #FFD93D;
}

.articles article a:hover {
  background-color: rgb(60 60 60 / 25%);
  color: #FFD93D;
  text-decoration: underline;
  font-weight: bold;
}

/* === RESPONSIVE: SINGLE COLUMN ON MOBILE === */
@media (max-width: 700px) {
  .articles article {
    flex: 1 1 100%;
  }
}

/* === FOOTER === */
.footer {
  width: 100%;
  background-color: rgb(30 30 30);
  text-align: center;
  color: #F5DAA7;
  padding: 1em 0;
  margin-top: 20px;
}

.footer a {
  color: #F5DAA7;
  text-decoration: none;
  font-weight: bold;
}

.footernav {
    word-spacing: 28px;
    font-family: "Bauhaus Demi", sans-seriff;
}

.footernav a {
  font-size: 18px;
  color: #F5DAA7;
  text-decoration: none;
  font-weight: bold;
  word-spacing: 28px;
  display: inline-block; /* required for translateY to work */
  transition: transform 0.3s ease, font-size 0.3s ease, color 0.3s ease;
}

.footernav a:hover {
    color: #FFD93D;
    transform: translateY(-5px);
    font-size: 1.3em; /* about 2px larger on most screens */
}

.footer h2 {
  color: #FFD93D;
  font-family: "Bauhaus Demi", sans-serif;
  text-align: center;
}

.footer-logo {
  display: block;
  margin: 0 auto 1em auto; /* center horizontally + small space below */
  width: 80px; /* adjust to desired size */
  height: auto;
  border-radius: 12px; /* optional: slightly rounded edges */
  opacity: 0.9; /* optional: subtle transparency to blend in */
  transition: transform 0.3s ease, opacity 0.3s ease;
}
/* === Tooltip Styles === */
.tooltip {
  position: relative;
  cursor: pointer;
  font-weight: bold;
  color: #FFD93D; /* matches your color scheme */
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: max-content;
  background-color: rgb(60, 60, 60); /* dark gray, fits theme */
  color: #F5DAA7; /* your light gold text */
  text-align: center;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-family: Arial, sans-serif; /* matches body font */

  /* Positioning above the text */
  position: absolute;
  bottom: 125%; 
  left: 50%;
  transform: translateX(-50%);

  /* Fade-in effect */
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1000;
  white-space: nowrap; /* prevents wrapping */
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 100%;
}

.fh-logo {
  display: block;
  margin: 0 auto 0 auto; /* center horizontally + small space below */
  width: 100px; /* adjust to desired size */
  height: auto;
  border-radius: 12px; /* optional: slightly rounded edges */
  opacity: 0.9; /* optional: subtle transparency to blend in */
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-dir {
    word-spacing: 5px; 
    color: #FFD93D;
}

.footer-dir span {
    color:white; 
    opacity: 50%;    
}

.footer-dir a {
    color: #FFD93D;
    font-weight: normal;
}

.footer-dir a:hover {
    text-decoration: underline;
}


/* === NEW NAVBAR === */
.navbar {
  background-color: rgb(30, 30, 30);
  color: #FFD93D;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5em 1em;
  position: relative;
  z-index: 1000;
  font-family: "montserrat", sans-serif;
}

.navbar button {
    background: rgb(40, 40, 40);
    border: rgb();
    color: #FFD93D;
    font-family: "montserrat", sans-serif;
    font-size: 1.1em;
}

/* Logo */
.nav-logo a {
  color: #FFD93D;
  font-size: 1.6em;
  text-decoration: none;
  font-weight: bold;
  font-family: "Bauhaus Demi", sans-serif;
}

/* Toggle (Hamburger) */
.nav-toggle {
  display: none;
  font-size: 1.8em;
  color: #FFD93D;
  cursor: pointer;
}

/* Menu */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 1em;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  text-decoration: none;
  color: #FFD93D;
  font-size: 1.1em;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.3s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  background-color: rgb(60, 60, 60);
}

/* Social Icons */
.nav-icons a {
  color: #FFD93D;
  margin-left: 8px;
  font-size: 1.3em;
}

.nav-icons a:hover {
  color: #F5DAA7;
}

/* === Responsive Dropdown with Animation === */
@media (max-width: 800px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    background-color: rgb(30, 30, 30);
    position: absolute;
    top: 100%;
    left: 0;
    border-top: 1px solid rgb(60, 60, 60);
    overflow: hidden;
    max-height: 0;                /* Collapsed by default */
    opacity: 0;                   /* Hidden */
    transition: max-height 0.4s ease, opacity 0.3s ease;
  }

  .nav-menu.show {
    max-height: 650px;            /* Large enough for all links */
    opacity: 1;
  }

  .nav-menu li {
    text-align: center;
    margin: 0em 0 0.2em;
  }

  .nav-menu li a {
    display: block;
    padding: 10px;
  }

  .nav-icons {
    display: flex;
    justify-content: center;
    gap: auto;
    margin-top: 0em;
  }
}

.loreLine {
  border: solid 15px;
  border-color:rgb(30, 30, 30, 0.7);
  border-radius: 5px;
}

/* width */
::-webkit-scrollbar {
  width: 5px;
  border-radius: 20px;
}

::-webkit-scrollbar-button {
    display:none;
}

/* Track */
::-webkit-scrollbar-track {
  background-color: rgb(30,30,30);
  border-radius: 20px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(255, 217, 61, 0.4); 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgb(255, 217, 61); 
}

#theme-btn {
    position: fixed;
    right: 1em;
    background: none;
    border: none;
    color: #FFD93D;
    font-size: 1.6em;
    padding: 0.6em 0.8em;
    border-radius: 12px;
    cursor: pointer;
    z-index: 2000; /* above canvas */
    transition: transform 0.3s ease, color 0.3s ease;
}

#theme-btn:hover {
    transform: translateY(-3px);
    color: #FFE066;
}