/* CSS for homepage */

.header-text {
  color: var(--color-neutral-white);
  font-family: raleway, sans-serif;
  font-size: 15px;
  line-height: 2.8em;
  text-align: center;
  position: relative;
  cursor: default;
}

#bannertext {
  min-width: 700px;
  text-align: center;
}

#text {
  padding-top: 140px;
  max-width: 500px;
  margin: 0 auto;
}

.header-link:link {
  color: var(--color-neutral-white);
  text-decoration: underline;
  font-family: raleway, sans-serif;
  font-size: 15px;
  font-weight: bolder;
  line-height: 2.8em;
  text-align: center;
  position: relative;
  cursor: pointer;
}

.header-link:visited {
  color: var(--color-neutral-white);
}

.header-link:hover {
  color: rgb(251 215 139 / 100%);
}

/***** Sections and subsection text ******/
.section-title-and-subtitle {
  position: relative;
  top: 0;
  margin: auto;
  max-width: 600px;
  text-align: center;
  padding-top: 50px;
  font-family: raleway, sans-serif;
  letter-spacing: 0;
  font-style: normal;
  font-variant: normal;
  color: var(--color-asphalt-500);
}

.section-title {
  font-size: 45px;
  line-height: 40px;
  margin-bottom: 25px;
}


.section-subtitle {
  max-width: 450px;
  margin: auto;
  font: var(--text-subtitle-regular);
}

/**** Banner *****/
#banner {
  width: 100%;
  height: 100%;
  max-width: 1000px;

  position: relative;
  margin-left: auto;
  margin-right: auto;
}

/*** Instructional Video ***/
.tab-word {
  margin: auto;
  text-align: center;
}

.tab-word.div {
  background-color: #f1f1f1;
}

.activetab {
  font-family: Raleway-bold, sans-serif;
  background-color: var(--color-pine-500);
  overflow: hidden;
}

.activetab #word3 {
  background-color: transparent;
}

#greenbar {
  background-color: var(--color-pine-500);
  max-width: 680px;
  min-height: 5px;
  position: relative;
  left: 60px;
}

#numbersrow {
  cursor: pointer;
  width: 630px;
  margin: auto;
}

.stepword {
  position: relative;
  left: -10px;
  padding-left: 25px;
  font-family: Raleway, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-variant: normal;
  font-weight: bold;
  line-height: 10px;
  color: var(--color-asphalt-500);
}

.stepnumber {
  font: var(--text-h1-xl-bold);
  color: var(--color-asphalt-400);
}

#bigtext {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}


/* Video banner */
video#bgvid {
  min-width: 1100px;
  width: 100%;
  inset: var(--navbar-height) 0 0 0;
  backface-visibility: hidden;
  background: url("../images/psmockup.jpg") no-repeat scroll 0 0 var(--color-neutral-black);
  background-size: cover;
  height: auto;
  perspective: 1000px;
  position: fixed;
  z-index: -1;
}

#vidbanner {
  position: relative;
  overflow: hidden;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  max-height: 770px;
  height: 770px;
  left: 0;
  transition: background-color 300ms ease;
}

/* Translucent tint layered over the hero background video. */
#overlay-top {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgb(192 190 207 / 40%);
}

/* Full-width wrapper for the "how you help" content section (overrides the Bootstrap .container max-width). */
.home-content-container {
  width: 100%;
  position: relative;
}

#skyline-title {
  margin-top: 50px;
  margin-bottom: 10px;
}

#skyline-subtitle {
  margin-top: 0;
}

/**
 * CSS for landing heading
*/

.tagline {
  font-family: raleway-bold, sans-serif;
  font-size: 50px;
  letter-spacing: 0.05em;
  font-style: normal;
  font-variant: normal;
  font-weight: bold;
  line-height: 1em;
  color: var(--color-neutral-white);
}

.instructional-video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: auto;
  padding-top: 20px;
}


#instructionvideo {
  position: relative;
  top: 3px;
  max-width: 300px;
}

/* One instructional video is shown at a time; homepage.js toggles .ps-hidden to swap between them. */
#instructionvideo video {
  display: block;
}

#landing-legend {
  display: block;
  position: relative;
  left: 15px;
  bottom: 80px;
  background: rgb(255 255 255);
  width: 325px;
  font-family: Raleway, sans-serif;
  padding: 8px 8px 0;
}

#landing-legend strong {
  font-size: 17px;
}

/***** Skyline styling ********/
.ps-skyline {
  position: relative;
  padding: 15px;
}

.ps-skyline-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}

.ps-skyline-overlay > * {
  align-self: center;
  margin-top: 20px;
}

#skyline-spacing {
  margin: 0 auto;
  width: fit-content;
  margin-top: 135px;
}

.ps-skyline-overlay > .row {
  background-color: var(--color-neutral-white);
  opacity: 0.9;
  padding: 5px;
  border-radius: 15px;
  max-width: 100%;
  font-style: normal;
  font-variant: normal;
  line-height: 1.1em;
  color: var(--color-asphalt-500);
}

.ps-skyline-container {
  display: flex;
  flex-direction: column;
}

.ps-skyline-container > img {
  width: 1400px;
  align-self: center;
}

.ps-skyline-container > img.skyline-img-offset {
  padding-top: 75px;
}

.skyline-cloud-overlay {
  margin-top: -68px;

  /* Height of Cloud .png */
}

.ps-skyline-stats-holder {
  margin: -35px auto 0;
  min-width: 800px;
  max-width: 1400px;

  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 8px;

  text-align: center;
}

.ps-skyline-stats-holder-stat-number {
  font-size: 60px;
  font-family: raleway-extrabold, sans-serif;
}

.ps-skyline-stats-holder-stat-label {
  font-size: 30px;
}

.ps-skyline-stats-holder > a {
  color: var(--color-asphalt-500);
}

.ps-skyline-stats-holder > a:hover {
  text-decoration: none;
}

@media (width <= 835px) {
  .ps-skyline-stats-holder {
    display: none;
  }
}

p#conditional-text {
  margin: 5px;
}

/**** ML Section -- What do we do with your data? *****/

#machinelearning-container {
  background-color: rgb(249 241 227 / 100%);
  width: 100%;
  min-height: 800px;
}

.ml-gif-header-1 {
  position: absolute;
  text-align: center;
  font-size: 35px;
  transform: translate(-50%, 0);
  bottom: -450px;
}

.ml-gif-header-2 {
  position: absolute;
  font-size: 21px;
  transform: translate(-50%, 0);
}

.ml-gif-header-3 {
  position: absolute;
  font-size: 18px;
  max-width: 100px;
  transform: translate(-50%, 0);
}

.gif-container {
  position: relative;
  text-align: left;
  max-width: 340px;
  margin: auto;
  font-weight: bold;
  font-variant: small-caps;
  line-height: 0.8;
  top: 30px;
}

/* ML Gif assets and styling */
#mlgif {
  position: absolute;
  left: 50%;
  width: 980px;
  margin-left: -490px;
}

#mlgif-bottom-text-1 {
  left: -285px;
  max-width: 50px;
}

#mlgif-bottom-text-2 {
  left: -20px;
  max-width: 500px;
}

#mlgif-bottom-text-3 {
  left: 395px;
  max-width: 200px;
}

#mlgif-label-text-1 {
  text-align: center;
  bottom: -170px;
  left: -285px;
  max-width: 160px;
}

#mlgif-label-text-2 {
  bottom: -30px;
  left: -20px;
  max-width: 250px;
}

#mlgif-semicircle-text-1 {
  bottom: -240px;
  left: 258px;
}

#mlgif-semicircle-text-2 {
  bottom: -210px;
  left: 388px;
}

#mlgif-semicircle-text-3 {
  bottom: -225px;
  left: 527px;
}

#mlgif-semicircle-text-4 {
  bottom: -320px;
  left: 500px;
  transform: translate(0, 0);
}

.ps-news-ribbon {
  position: fixed;
  top: 100px;
  right: -40px;
  width: 200px;
  background-color: #ff7300;
  color: var(--color-neutral-white);
  text-align: center;
  line-height: 35px;
  letter-spacing: 1px;
  transform: rotate(45deg);
  transform-origin: top right;
  font-family: Arial, sans-serif;
  box-shadow: 2px 2px 3px rgb(0 0 0 / 30%);
  z-index: 2000;

  /* Adjust the value as needed */
}

.ps-news-ribbon:hover, .ps-news-ribbon:focus {
  background-color: #ff3300;
  color: var(--color-neutral-white);
  text-decoration: none;
}

/****** Collab div ******************/

.collaborator-images-container {
  display: grid;
  grid-auto-flow: column;
  gap: 20px 50px;
  align-items: center;
}

.collaborator-image {
  padding: 15px 3%;
}

.collaborator-image img {
  width: 100%;
}

#collaborators-row {
  padding-bottom: 10px;
  width: 100%;
  text-align: center;
  display: inline-block;
  vertical-align: middle;
}

#collaborators-title {
  font-size: 40px;
  margin-bottom: 20px;
}

#collaborators-container {
  position: relative;
  max-width: 900px;
  top: -20px;
  min-height: 300px;
}
