:root {
  --Crimson: "Crimson Pro", serif;
  --WorkSans: "Work Sans", sans-serif;
  --beige: #f3ede4;
  --copygray: #606060;
  --blue: #177acc;
  --yellow: #f1b200;
  --beige: #f9f4ee;
}

body {
  background-color: var(--beige);
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow-x: hidden !important;
}
body p {
  font-family: var(--Crimson);
}
/* Globals */

.section {
  width: 100vw;
  height: 100vh;
}

/* Skip to Section */
#skipTo {
  z-index: 9999;
  position: fixed;
  display: flex;
  flex-direction: column;
  margin-left: 3%;
  margin-top: 15%;
  align-content: center;
  justify-content: center;
  text-align: center;
}

#skiptoP {
  font-size: 1.2vw;
  font-family: "Work Sans", sans-serif;
  color: #685d77;
}

#skip1 {
  margin-top: 2%;
}

.skipButt {
  font-family: "Work Sans", sans-serif;
  font-size: 0.9vw;
  color: #685d77;
  width: 2vw;
  height: 2vw;
  border-radius: 2vw;
  border-color: #685d77;
  background-color: transparent;
  cursor: pointer;
  margin-top: 8%;
  margin-left: 30%;
}

.skipP {
  position: absolute;
  margin-left: 60%;
  font-family: "Work Sans", sans-serif;
  width: 15vw;
  font-size: 1vw;
  line-height: 1.4vw;
  text-align: left;
  background-color: rgba(249, 244, 238, 0.85);
  color: #685d77;
  padding: 3% 0% 3% 3%;
  display: none;
}

#skip1p {
  margin-top: 2%;
}

#skip2p {
  margin-top: 63%;
}

#skip3p {
  margin-top: 122%;
}

/* Landing Page */
.title {
  width: 100vw;
  height: 69vh;
}
#bar {
  position: absolute;
  background-color: #867d92;
  width: 100vw;
  height: 45vh;
}
#heading {
  position: absolute;
  width: 61.4vw;
  top: 37%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.s1Copy {
  text-align: center;
  width: 45vw;
  margin-left: 27.5vw;
}
.s1Copy p {
  font-family: var(--WorkSans);
  text-align: center;
  line-height: 1.5vw;
  margin: 0;
  padding: 0;
  color: var(--copygray);
}
#p1p1 {
  font-family: "Work Sans", sans-serif;
  font-weight: 500;
  font-size: 1.1vw;
  color: var(--yellow);
}

#p1p2 {
  font-weight: 500;
  font-size: 1vw;
  margin-top: 3%;
}

#p1p2 a {
  font-weight: 500;
  font-size: 1vw;
  color: var(--copygray);
}

#p1p3 {
  font-weight: 300;
  font-size: 1vw;
  text-align: center;
  z-index: 99;
  padding: 0;
  margin: 0;
  margin-top: 2%;
}

#p1prompt {
  justify-content: center;
  width: 62%;
  margin-left: 19%;
  margin-top: 3%;
}

#p1p4 {
  font-weight: 300;
  font-size: 0.9vw;
  padding: 1.25vh;
  background-color: rgba(255, 188, 0, 0.5);
}

/* Section 2 */
#two {
  height: 140vh;
}
.s2Copy {
  width: 58vw;
  margin-left: 21vw;
}

.s2Copy p {
  font-family: var(--Crimson);
  font-weight: 300;
  font-size: 1.25vw;
  color: var(--copygray);
  line-height: 32px;
}

#p2p1 {
  font-family: "Work Sans", sans-serif;
  color: var(--yellow);
  font-weight: 400;
  line-height: 28px;
}

#p2p2 {
  font-weight: 500;
}

#p2p3 a {
  font-family: "Crimson Pro", serif;
  font-weight: 300;
  font-size: 1.25vw;
  color: var(--copygray);
  line-height: 32px;
}

#p2p3_1 {
  font-weight: 500;
}

#p2p4 {
  padding-bottom: 5%;
}

.louis {
  display: flex;
  flex-direction: row;
  margin-top: 4%;
  width: 100%;
}

#louisImg {
  width: 45%;
}

#lImg {
  background-color: var(--yellow);
  border-radius: 50%;
  width: 77%;
}

#louisTxt {
  font-family: var(--Crimson);
  width: 55%;
  overflow: hidden;
}

#lTxt {
  font-family: var(--Crimson);
  font-size: 2.45vmax;
  font-weight: 400;
  /* Change color */
  color: var(--yellow);
  line-height: 2.75vmax;
}

/* Section 3 */
#three {
  height: 100vh;
  display: flex;
  flex-direction: row;
}
#three p {
  color: var(--copygray);
}
#p3p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: inline;
}

#p3h {
  font-size: 2vw;
  font-weight: 500;
  margin: 0;
  padding: 0;
}

#p3p1 {
  margin: 0;
  padding: 0;
  font-size: 1.5vw;
  line-height: 2.25vw;
  text-align: left;
  font-weight: 200;
}
#p3p1 a {
  text-decoration: none;
  color: #606060;
}

#p3p1 span {
  font-weight: 500;
}

.p3left {
  width: 50vw;
}

#p3LeftCopy {
  position: relative;
  top: 45%;
  left: 60%;
  transform: translate(-50%, -50%);
  width: 50%;
}

#p3LeftCopy p {
  font-family: "Work Sans", sans-serif !important;
  color: var(--yellow);
  text-align: center;
  font-size: 1.5vw;
  line-height: 1.75vw;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

#p3LeftCopy span {
  font-weight: 600;
}

#p3p2_1 {
  font-family: var(--Crimson) !important;
  color: #443d4f !important;
  font-size: 0.9vw !important;
  line-height: 1vw !important;
  margin-top: -7% !important;
  margin-bottom: 2% !important;
}
#WID {
  text-decoration: none;
  color: var(--yellow);
  font-family: var(--Crimson);
  text-align: center;
  font-size: 0.9vw;
  margin-left: 27.5%;
}
#p3p3 {
  margin-top: -21% !important;
}

#p3p4 {
  margin-top: -21% !important ;
}
.p3right {
  width: 50vw;
  order: 2;
}

.peepContainer {
  position: relative;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-between;
  width: 80%;
}
.peeps {
  width: 25%;
}
#poorest {
  z-index: 99;
}
#middle {
  z-index: 98;
}

#richest {
  width: 26%;
}
#middlePer {
  font-size: 2vw;
  font-weight: 500;
  font-family: "Crimson Pro", serif !important;
  position: absolute;
  margin-left: 47%;
  margin-top: 25.5%;
  z-index: 100;
}
#bottomPer {
  font-size: 2vw;
  font-weight: 500;
  font-family: "Crimson Pro", serif !important;
  position: absolute;
  margin-left: 10%;
  margin-top: 25.5%;
  z-index: 100;
}
#bottomPer2 {
  font-size: 2vw;
  font-weight: 500;
  font-family: "Crimson Pro", serif !important;
  position: absolute;
  margin-left: 7%;
  margin-top: 25.5%;
  z-index: 100;
}
#topPer {
  font-size: 2vw;
  font-weight: 500;
  font-family: "Crimson Pro", serif !important;
  position: absolute;
  margin-left: 83.5%;
  margin-top: 27%;
}
#topPer_2 {
  font-size: 2vw;
  font-weight: 500;
  font-family: "Crimson Pro", serif !important;
  position: absolute;
  margin-left: 81%;
  margin-top: 27%;
}
.peepTitles {
  font-family: "Work Sans", sans-serif;
  color: #4e4659;
  font-size: 1.25vw;
  position: absolute;
  font-weight: 500;
  margin-top: -6.5%;
}
#middleTitle {
  margin-left: 42.5%;
}
#TopTitle {
  margin-left: 80%;
}
#bottomTitle {
  margin-left: 2%;
}
#bottomTitle2 {
  margin-left: 2%;
}

/* Section 4 (Scalling People) */
#four {
  overflow-x: hidden;
  overflow-y: hidden;
}
#crazy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2vw;
  color: #443d4f;
  opacity: 0;
  z-index: 9999;
}

#scaleTitle {
  position: absolute;
  font-size: 1.5vw;
  color: #443d4f;
  text-align: center;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.scaleP {
  font-size: 1.5vw;
  text-align: center;
  width: 45vw;
  position: absolute;
  left: 50%;
  margin-top: 41.7%;
  transform: translate(-50%);
  color: #443d4f;
  opacity: 1;
}
#scalep1 {
  color: #443d4f;
  font-size: 1.25vw;
  line-height: 1.35vw;
  width: 62%;
  text-align: left;
}

#table {
  position: absolute;
  margin-top: 27%;
  left: 2%;
}
#table table tr td {
  border: 1.5px solid #443d4f;
}

#table tr {
  height: 2.2vw;
}
#table table {
  width: 15vw;
  font-family: "Crimson Pro", serif;
  font-size: 1.35vw;
  font-weight: 400;
  color: #443d4f;
  text-align: center;
  border-collapse: collapse;
}
.scaleAmounts {
  padding: 0;
  margin: 0;
  font-weight: 500;
}
.Amounts {
  position: absolute;
  margin-top: -8%;
  font-weight: 500;
  margin-left: 3.2%;
  opacity: 0;
  color: red;
}

#sc1 {
  margin-left: 3.2%;
}

#sc2 {
  margin-left: 3.2%;
}

#sc3 {
  margin-left: 3.6%;
}

#sc4 {
  margin-left: 2.6%;
}

#sc5 {
  margin-left: 0.9%;
}
.scaledPeeps {
  width: 2vw;
  position: absolute;
  margin-top: 31.5%;
}
.scaledPeeps p {
  font-size: 0.9vw;
  width: 270%;
  line-height: 1.1vw;
  text-align: center;
  color: #443d4f;
  font-family: "Work Sans", sans-serif;
  margin-top: 2%;
  margin-left: -65%;
}

#bottScale {
  left: 25%;
}

#midScale {
  width: 2.22vw;
  left: 50%;
}
#topScale {
  width: 2.75vw;
  left: 75%;
  z-index: -99;
}

#ts2 {
  position: absolute;
  top: 79.5%;
  opacity: 0;
}

#ts3 {
  position: absolute;
  top: 79.5%;
  opacity: 0;
}

/* Section 5 (Workers and CEOs) */

#five {
  overflow-x: hidden;
}

#ass {
  position: absolute;
  height: 30vh;
  width: 58vw;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: row;
  z-index: 99;
}

#assImg1 {
  width: 50%;
}

#assImg2 {
  width: 60%;
}

#p4p1 {
  z-index: 98;
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 300;
  font-size: 1.25vw;
  line-height: 1.75vw;
  width: 58vw;
  color: #606060;
}
.inv1 {
  position: absolute;
  margin-top: 23%;
  width: 58vw;
  margin-left: 21vw;
}
#invisi {
  width: 85%;
  margin-left: 7.75%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#invisi div {
  width: 14vw;
  height: 14vw;
}

#invisi img {
  width: 100%;
  height: auto;
}

#inv1 {
  order: 1;
  transition: transform 1s;
  transform-style: preserve-3d;
  cursor: pointer;
}

#inv1 div {
  margin: 0px;
  position: absolute;
}

#inv2 div {
  margin: 0px;
  position: absolute;
}

#inv3 div {
  margin: 0px;
  position: absolute;
}

.card__face {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.card__face--back {
  transform: rotateY(180deg);
}

.card1.is-flipped {
  transform: rotateY(180deg);
}

.card2.is-flipped {
  transform: rotateY(180deg);
}

.card3.is-flipped {
  transform: rotateY(180deg);
}

#inv2 {
  order: 2;
  transition: transform 1s;
  transform-style: preserve-3d;
  cursor: pointer;
}

#inv3 {
  order: 3;
  transition: transform 1s;
  transform-style: preserve-3d;
  cursor: pointer;
}

#coinPrompt {
  position: absolute;
  /* background-color: rgba(255, 188, 0, 0.7); */
  text-align: center;
  width: 27.5vmax;
  top: -15%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#coinPrompt p {
  padding: 0;
  margin: 0;
  padding-right: 1%;
  padding-left: 1%;
  padding-top: 1%;
  padding-bottom: 1%;
}

#cpTxt1 {
  font-weight: 500;
  font-size: 1.75vmax;
  color: #685d77;
}

#cpTxt2 {
  font-weight: 400;
  font-size: 1.25vmax;
  color: #f1b200;
}

#story {
  display: none;
  position: absolute;
  width: 50vw;
  top: 88%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 1%;
}

#sp {
  color: #606060;
  font-size: 1.25vw;
  font-weight: 500;
  padding-right: 2%;
  padding-left: 2%;
  line-height: 1.75vw;
}

/* Section 6 */
#six {
  height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
}
#p6p1 {
  opacity: 0;
  margin-left: 21%;
  margin-right: 21%;
  margin-top: 5%;
  color: #606060;
  font-weight: 300;
  font-size: 1.25vw;
}

#p6p1 span {
  font-weight: 500;
}

#p6p2 {
  opacity: 0;
  width: 130vw;
  margin-top: -35%;
  margin-left: -11.5%;
}
#endingRule {
  position: absolute;
  background-color: var(--copygray);
  height: 1px;
  width: 58vw;
  margin-left: 21vw;
  margin-top: 22%;
}
#endingCopy {
  position: absolute;
  top: 88%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 1vw;
  color: #606060;
  font-family: "Work Sans", sans-serif;
  z-index: 9999;
}

#endingCopy a {
  font-weight: 500;
  font-size: 1vw;
  text-align: center;
  color: #606060;
  z-index: 99;
  margin-top: 1%;
}
#copyright {
  position: absolute;
  top: 92%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 1vw;
  color: #606060;
  font-family: "Work Sans", sans-serif;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 812px) {
  #skipTo {
    display: none;
  }
  /* Landing */
  .title {
    height: 56vh;
  }
  #bar {
    height: 40vh;
  }
  #heading {
    width: 96vw;
    top: 34.5%;
  }
  .s1Copy {
    width: 95vw;
    margin-left: 2.5vw;
  }
  #p1p1 {
    font-size: 5vw;
    line-height: 5.5vw;
  }
  #p1p2 {
    font-size: 3.7vw;
    line-height: 4.25vw;
    margin-top: 10%;
  }
  #p1p2 a {
    font-size: 3.7vw;
  }
  #p1p3 {
    margin-top: 5%;
    font-size: 3.7vw;
    line-height: 4.25vw;
  }
  #p1prompt {
    width: 100%;
    margin-left: 0%;
    margin-top: 10%;
  }
  #p1p4 {
    font-size: 2.6vw;
    line-height: 4vw;
  }
  /* Section 2 */
  #two {
    overflow-x: hidden;
    overflow-y: hidden;
    height: 240vh;
  }
  .s2Copy {
    width: 90vw;
    margin-left: 5vw;
    margin-top: 17%;
  }
  .s2Copy p {
    font-size: 5.5vw !important;
    line-height: 6.5vw !important;
  }
  #p2p3 a {
    font-size: 5.5vw !important;
  }
  .louis {
    flex-direction: column;
    margin-top: 10%;
  }
  #louisImg {
    width: 100%;
  }
  #lTxt {
    font-weight: 500;
  }
  #p2p1 {
    font-weight: 500;
  }

  #lImg {
    background-color: var(--yellow);
    border-radius: 50%;
    width: 50%;
    margin-left: 25%;
  }

  #louisTxt {
    font-family: var(--Crimson);
    width: 100%;
    overflow: hidden;
  }

  /* Section 3 */
  #three {
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: hidden;
  }
  #p3p {
    width: 90vw;
    top: 50%;
  }
  #p3h {
    font-size: 6.5vw;
  }
  #p3p1 {
    margin-top: 1%;
    font-size: 5.5vw;
    line-height: 6.5vw;
  }
  .p3left {
    order: 2;
    width: 100vw;
  }
  #p3LeftCopy {
    top: 75%;
    left: 50%;
    width: 80%;
  }
  #p3LeftCopy p {
    font-size: 4.5vw;
    line-height: 5vw;
  }
  #p3p2_1 {
    font-family: var(--Crimson) !important;
    color: #443d4f !important;
    font-size: 3vw !important;
    line-height: 3.5vw !important;
    margin-top: 2% !important;
  }
  .p3right {
    margin-top: 67%;
    width: 100vw;
    order: 1;
  }
  .peepContainer {
    left: 50%;
    width: 85%;
  }
  #middlePer {
    font-size: 6vw;
    margin-left: 45%;
    margin-top: 24.5%;
  }
  #bottomPer {
    font-size: 6vw;
    margin-left: 8.5%;
    margin-top: 24.5%;
  }
  #bottomPer2 {
    font-size: 6vw;
    margin-left: 5%;
    margin-top: 24.5%;
  }
  #topPer {
    font-size: 6vw;
    margin-left: 82%;
    margin-top: 25.5%;
  }
  #topPer_2 {
    font-size: 6vw;
    margin-left: 79%;
    margin-top: 25.5%;
  }
  .peepTitles {
    font-size: 3vw;
  }
  #p3p2_1 {
    font-size: 2.5vw !important;
    line-height: 2.5vw !important;
  }
  #WID {
    font-size: 2.5vw !important;
    margin-left: 34%;
  }
  /* Section 4 (Scalling People) */
  #crazy {
    font-size: 15vw;
    top: 40%;
  }
  #table {
    display: none;
  }
  #scaleTitle {
    font-size: 5.5vw;
    width: 75%;
    top: 5%;
  }
  .scaleP {
    font-size: 5.5vw;
    line-height: 6vw;
    font-weight: 500;
    background-color: rgba(249, 244, 238, 0.25);
    width: 75%;
    margin-top: 15%;
    color: var(--yellow);
    z-index: 999;
  }
  .scaledPeeps {
    width: 7vw;
    margin-top: 145%;
  }
  .scaledPeeps p {
    font-size: 3vw;
    width: 270%;
    line-height: 1.1vw;
    text-align: center;
    color: #443d4f;
    font-family: "Work Sans", sans-serif;
    margin-top: 5%;
    margin-left: -65%;
  }

  #bottScale {
    left: 15%;
  }

  #midScale {
    width: 7.65vw;
    left: 47%;
    z-index: -98;
  }
  #topScale {
    width: 9.5vw;
    left: 75%;
    z-index: -99;
  }
  #ts2 {
    top: 87%;
  }
  #ts3 {
    top: 87%;
  }

  /* Section 5 (Workers and CEOs) */

  #ass {
    top: 32%;
    width: 95vw;
    z-index: -99;
    flex-direction: column;
  }
  #assImg1 {
    margin-left: 10%;
    width: 80%;
  }

  #assImg2 {
    margin-left: 10%;
    width: 80%;
  }
  #p4p1 {
    top: 50%;
    width: 75vw;
    font-size: 5.5vw;
    line-height: 6.5vw;
    z-index: -99 !important;
  }
  .inv1 {
    position: absolute;
    width: 75vw;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0%;
    margin-left: 0%;
    z-index: 99;
  }
  #invisi {
    width: 100%;
    margin-top: -3%;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 25%;
  }

  #invisi div {
    width: 35vw;
    height: 35vw;
  }

  #invisi img {
    width: 100%;
    height: auto;
  }

  #coinPrompt {
    position: absolute;
    text-align: center;
    width: 90vw;
    top: -10%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  #coinPrompt p {
    padding: 0;
    margin: 0;
    padding-right: 1%;
    padding-left: 1%;
    padding-top: 1%;
    padding-bottom: 1%;
  }

  #cpTxt1 {
    font-weight: 500;
    font-size: 6vw;
    color: #685d77;
  }

  #cpTxt2 {
    font-weight: 400;
    font-size: 4vw;
    color: #f1b200;
  }

  #story {
    display: none;
    position: absolute;
    width: 85vw;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 1%;
    z-index: 99 !important;
  }

  #sp {
    color: #606060;
    background-color: rgba(249, 244, 238, 0.5);
    font-size: 4.75vw !important;
    line-height: 5vw !important;
    font-weight: 500;
    padding-right: 2%;
    padding-left: 2%;
    line-height: 4.5vw;
  }

  /* Section 6*/
  #six {
    height: 150vh;
  }
  #p6p1 {
    font-size: 5.5vw;
    line-height: 6.5vw;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 15%;
  }
  #p6p2 {
    width: 170vw;
    margin-left: -34.5%;
  }
  #endingRule {
    width: 75vw;
    margin-left: 12.5vw;
    margin-top: 52%;
  }
  #endingCopy {
    top: 93%;
    width: 70vw;
    font-size: 3vw;
  }
  #endingCopy a {
    font-size: 3vw;
  }
  #copyright {
    top: 96%;
    font-size: 2vw;
  }
}
