
/* ==========================================================
   GREENOPOLIS — PAGE-SPECIFIC STYLES
   ========================================================== */

/*
   Shared introduction styling is controlled by:
   project-intro.css

   This stylesheet contains only Greenopolis-specific
   colours and website preview styling.

   Technology logo layout, sizing and animations
   are controlled globally by project-intro.css.

   Load AFTER project-intro.css.
*/


/* ==========================================================
   01 — COLOUR TOKENS
   ========================================================== */

/* Dark mode */

.green-project {

  /* Shared introduction */

  --project-highlight: #86CBA9;
  --project-highlight-text: #171822;
  --project-description: #D1CDD5;

  /* Outcome / website preview */

  --green-outcome-bg: #20212A;
  --green-outcome-text: #F0EFF1;
  --green-outcome-line: #484651;
}


/* Light mode */

html[data-theme="light"] .green-project {

  /* Shared introduction */

  --project-highlight: #BAEDD1;
  --project-highlight-text: #171822;
  --project-description: #494650;

  /* Outcome / website preview */

  --green-outcome-bg: #ECECEE;
  --green-outcome-text: #28212D;
  --green-outcome-line: #B0A5AB;
}


/* ==========================================================
   02 — THE OUTCOME / WEBSITE PREVIEW
   ========================================================== */

/* Website preview container */

.green-project #play {
  padding: 25px var(--pad) 35px;

  background: var(--green-outcome-bg);
  color: var(--green-outcome-text);
}


/* Section heading */

.green-project #play .section-head {
  border-color: var(--green-outcome-line);
  margin-bottom: 10px;
}


/* Outcome text */

.green-project #play > p {
  color: var(--green-outcome-text);
}


/* Fullscreen button */

.green-project #play .pill {
  border: 1px solid #FFFFFF;
  color: #28212D;
  background: #FFFFFF;
}


/* Fullscreen button hover */

.green-project #play .pill:hover {
  border-color: #171822;
  color: #FFFFFF;
  background: #171822;
}


/* Website demonstration frame */

.green-project #play .demo-frame {
  display: block;
  width: 100%;
}


/* ==========================================================
   03 — MOBILE
   MAX WIDTH: 650px
   ========================================================== */

@media (max-width: 650px) {

  /* Outcome — original mobile spacing */

  .green-project #play {
    padding: 38px var(--pad) 30px;
  }

}
