/* -------------------------
   BASIC PAGE
------------------------- */

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f8f7f2;

  color: #111;

  font-family:
    "Helvetica",
    Times,
    serif;
}


/* -------------------------
   GRAPH PAPER
------------------------- */

body {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.06) 1px,
      transparent 1px
    );

  background-size: 24px 24px;
}
/* -------------------------
   WELCOME PAGE — STARS
------------------------- */

body.welcome-body {
  background-color: #000;
  background-image: url("images/bluesky.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* -------------------------
   MAIN CONTAINER
------------------------- */

.homepage {
  width: min(900px, 90%);
  margin: 0 auto;
  padding: 70px 20px 100px;
  text-align: center;
}


/* -------------------------
   ENTRANCE
------------------------- */

.hero {
  position: relative;
  width: 900px;
  max-width: 100%;
  min-height: 650px;
  margin: 30px auto 0;
}


/* -------------------------
   TITLE
------------------------- */

.hero h1 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 60px;
  font-weight: bold;

  letter-spacing: -3px;
  line-height: 0.95;

  text-transform: uppercase;

  margin: 0 0 45px 0;
}


/* -------------------------
   MAIN IMAGE
------------------------- */

.homepage-image {
  display: block;

  width: 500px;
  max-width: 85%;
  height: auto;

  margin-top: -20px;
  margin-left: 180px;
  margin-right: 0;
}

.mmip-image {
  display: block;
  width: 200px;
  max-width: 90%;
  height: auto;

  margin: -220px auto 0;
}
/* -------------------------
   FOUR DIRECTIONS
------------------------- */

.directions {
  margin: 15px auto 0;

  width: fit-content;

  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
}


/* -------------------------
   FOOD / FIBER / MEDICINE
------------------------- */

.medicine {
  margin-top: 45px;
}

.medicine p {
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
}


/* -------------------------
   CENTRAL QUESTION
------------------------- */

.question {
  margin: 75px auto;
  max-width: 600px;
}

.question p {
  font-size: 28px;
  font-style: italic;
  line-height: 1.4;
}
/* ATTENTION LINK */

.question a {
  color: #111;
  text-decoration: none;
  text-underline-offset: 4px;
}

.question a:hover {
  font-style: normal;
  letter-spacing: 1px;
}


/* -------------------------
   NAVIGATION
------------------------- */

.main-navigation {
  display: flex;
  justify-content: center;
  gap: 50px;

  flex-wrap: wrap;
}

.main-navigation a {
  color: #111;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;

  letter-spacing: 3px;
  text-transform: uppercase;

  text-decoration: none;

  border-bottom: 1px solid #111;

  padding-bottom: 4px;
}

.main-navigation a:hover {
  font-style: italic;
}


/* -------------------------
  Welcome - ABOUT PAGE
------------------------- */

.about-page {
  position: relative;

  width: min(950px, 90%);
  min-height: 850px;

  margin: 0 auto;
  padding: 70px 20px 120px;
}


/* -------------------------
   WINDOW BOXES
------------------------- */

.window-box {
  background: #f6f0df;

  border: 1px solid #4b4438;

  box-shadow:
    3px 3px 0 rgba(0, 0, 0, 0.18);

  text-align: left;
}


/* -------------------------
   WINDOW TITLE BAR
------------------------- */

.window-title {
  background: #ded4bc;

  border-bottom: 1px solid #4b4438;

  padding: 6px 8px;

  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;

  letter-spacing: 2px;
  text-transform: uppercase;
}


/* X IN CORNER */

.window-x {
  float: right;

  font-family: Arial, sans-serif;
  font-size: 14px;
}


/* -------------------------
   WINDOW CONTENT
------------------------- */

.window-inner {
  padding: 16px 18px;
}

.window-inner p {
  font-size: 15px;
  line-height: 1.6;

  margin-top: 0;
  margin-bottom: 16px;
}


/* -------------------------
   ABOUT WINDOW
------------------------- */

.about-box {
  width: 460px;
  max-width: 90%;

  margin-left: 80px;
  margin-bottom: -125px;
  
  position: relative; 
  z-index: 2;
}
/* =========================
   RELATIVES
========================= */

.relatives-scene {
  position: relative;

  width: 800px;
  max-width: 100%;
  height: 500px;

  margin: 10px auto 30px;
}


/* -------------------------
   EAGLE — UPPER RIGHT
------------------------- */

.eagle {
  position: absolute;

  width: 530px;
  height: auto;

  top: 50px;
  left: 100px;

  z-index: 5;
}


/* -------------------------
   CONDOR — LOWER LEFT
------------------------- */

.condor {
  position: absolute;

  width: 530px;
  height: auto;

  right: 320px;
  bottom: 240px;

  z-index: 5;
}

/* -------------------------
   PROPHECY WINDOW
------------------------- */

.prophecy-box {
  width: 760px;
  max-width: 90%;
  
  margin-top: -320px;
  margin-left: auto;
  margin-right: 80px;
  
  position: relative;
  z-index: 2;
}


/* -------------------------
   HOME LINK
------------------------- */

.home-link {
  margin-top: 80px;
  text-align: center;
}

.home-link a {
  color: #111;
  text-decoration: none;

  font-family: Helvetica, Arial, sans-serif;
  font-size: 11px;

  letter-spacing: 3px;
  text-transform: uppercase;
}

.home-link a:hover {
  
  /* -------------------------
   MUSIC - Welcome
------------------------- */
  #music-button {
  background: none;
  border: none;
  color: #111;

  font-family: "Times New Roman", Times, serif;
  font-size: 18px;

  cursor: pointer;
}

#music-button:hover {
  transform: scale(1.15);
}
  
  letter-spacing: 4px;
}

/* TEST SAUDADE */

.saudade-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.saudade-box {
  width: 250px;
  padding: 12px 14px;

  background: white;
  border: 2px solid black;
}

.saudade-box h2 {
  font-size: 12px;
}

/* =========================
   SAUDADE PAGE
========================= */

.saudade-page {
  width: min(1000px, 92%);
  margin: 0 auto;
  padding: 60px 20px 120px;
}


/* TITLE */

.saudade-title {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 72px;
  margin: 0 0 40px;

  letter-spacing: -3px;
}


/* BOX AREA */

.saudade-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;

  gap: 16px;
}


/* INDIVIDUAL LIST BOX */

.saudade-box {
  width: 250px;

  padding: 12px 14px;

  background: #fff;

  border: 1px solid #111;

  text-align: left;
}


/* HEADINGS */

.saudade-box h2 {
  margin: 0 0 12px;

  padding-bottom: 5px;

  border-bottom: 1px solid #111;

  font-family: Helvetica, Arial, sans-serif;
  font-size: 12px;

  letter-spacing: 2px;
  text-transform: uppercase;
}


/* LIST TEXT */

.saudade-box p {
  margin: 5px 0;

  font-size: 14px;
  line-height: 1.4;
}


/* BACKGROUND*/
body.saudade-body {
  background-image: url("images/yucatan.jpg");

  background-size: 750px auto;
  background-repeat: repeat;
  background-position: top left;
  background-attachment: fixed;
}

/* =========================
   PACHAMAMA PAGE
========================= */
#smoke-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}