/* 

  tan: #F3EFEB
  yellow: #F6D003
  green: #436D57
  blue: #077DDF
  pink: #F2337B
  beige-4: #C8BBAE;

*/

:root {
  --tan: #F3EFEB;
  --beige: #F3EFEB;
  --green: #436D57;
  --pink: #F2337B;
  --yellow: #F6D003;
  --blue: #077DDF;
  --beige2: #EDE4D8;
  --beige4: #C8BBAE;
  --beige5: #514539;
  --beige-underline: #CAC4BF;
  --bounce-soft: cubic-bezier(.2,.37,.25,1.15);
  --bounce-mid: cubic-bezier(.2,.37,.16,1.34);
}

@font-face {
  font-family: "Zangezi";
  font-weight: 500;
  font-style: italic;
  src: url("https://cdn.glitch.com/db90b961-cddb-4fca-ad7b-3bf419cbb408%2FZangeziSans09-Italic.woff?v=1616652212348") format("woff");
}

@font-face {
  font-family: "Zangezi";
  font-weight: 500;
  src: url("https://cdn.glitch.com/f82a6f58-b4aa-43e1-b562-7e2c037fc191%2FZangeziSans09-Regular.woff?v=1630901273386") format("woff");
}

@font-face {
  font-family: "Zangezi";
  font-weight: 500;
  font-style: italic;
  src: url("https://cdn.glitch.com/f82a6f58-b4aa-43e1-b562-7e2c037fc191%2FZangeziSans09-Italic.woff?v=1630901273238") format("woff");
}

@font-face {
  font-family: "Zangezi";
  font-weight: 400;
  src: url("https://cdn.glitch.com/f82a6f58-b4aa-43e1-b562-7e2c037fc191%2FZangeziSans09-Text.woff?v=1630901273356") format("woff");
}

@font-face {
  font-family: "Zangezi";
  font-weight: 600;
  src: url("https://cdn.glitch.com/f82a6f58-b4aa-43e1-b562-7e2c037fc191%2FZangeziSans09-Black.woff?v=1630901273260") format("woff");
}

@font-face {
  font-family: "Ideal Sans";
  font-weight: 500;
  src: url("https://cdn.glitch.com/f82a6f58-b4aa-43e1-b562-7e2c037fc191%2FIdealSans-Book-Pro.otf?v=1630901131672") format("opentype");
}

@font-face {
  font-family: "Ideal Sans";
  font-weight: 500;
  font-style: italic;
  src: url("https://cdn.glitch.com/f82a6f58-b4aa-43e1-b562-7e2c037fc191%2FIdealSans-BookItalic-Pro.otf?v=1630901131741") format("opentype");
}

@font-face {
  font-family: "Ideal Sans";
  font-weight: 600;
  font-style: italic;
  src: url("https://cdn.glitch.com/f82a6f58-b4aa-43e1-b562-7e2c037fc191%2FIdealSans-MediumItalic-Pro.otf?v=1631223847402") format("opentype");
}

@font-face {
  font-family: "Ideal Sans";
  font-weight: 700;
  src: url("https://cdn.glitch.com/f82a6f58-b4aa-43e1-b562-7e2c037fc191%2FIdealSans-Semibold-Pro.otf?v=1630901131834") format("opentype");
}

@font-face {
  font-family: "Ideal Sans";
  font-weight: 700;
  font-style: italic;
  src: url("https://cdn.glitch.com/f82a6f58-b4aa-43e1-b562-7e2c037fc191%2FIdealSans-SemiboldItalic-Pro.otf?v=1630901131775") format("opentype");
}

@font-face {
  font-family: "Theodor";
  font-weight: 500;
  src: url("https://cdn.glitch.com/f82a6f58-b4aa-43e1-b562-7e2c037fc191%2FTheodorTestv03-UprightA.otf?v=1630901358146") format("opentype");
}

@font-face {
  font-family: "Theodor";
  font-weight: 500;
  font-style: italic;
  src: url("https://cdn.glitch.com/f82a6f58-b4aa-43e1-b562-7e2c037fc191%2FTheodorTestv03-SlantedA.otf?v=1630901358146") format("opentype");
}




html {
  line-height: 150%;
  background: #F3EFEB;
  font-family: "Ideal Sans", sans-serif;
  font-weight: 500;
  font-size: 16px;
  height: 100%;
  -webkit-font-smoothing: antialiased !important;
}

body {
  margin: 0;
  font-size: 1.5rem;
  line-height: 150%;
  height: 100%;
  overflow-x: hidden;
}

html.role-definition {
  margin: 0;
}

html.role-definition body {
  margin: 0;
  height: fit-content;
}

/* Type scales */

h1 {
  font-size: 5.375rem;
  font-family: "Zangezi";
  text-align: center;
  line-height: 100%;
  margin: 0;
  margin-bottom: 1rem;
}


h2 {
  font-family: "Zangezi";
  font-size: 4.375rem;
  font-weight: 600;
  line-height: 110%;
  margin: 0;
  margin-bottom: 1rem;
}

h3 {
  font-family: "Zangezi";
  font-size: 2rem;
  font-weight: 600;
  line-height: 150%;
  margin: 0;
  margin-bottom: 1rem;
}

.theory h3 {
  font-family: "Ideal Sans";
/*   font-style: italic; */
}

.theory ul + h3,
.theory ol + h3,
.theory p + h3 {
  margin-top: 7rem;
}

.theory p + ol,
.theory p + ul {
  margin-top: -1rem;
}

.theory .title {
  width: 100%;
  text-align: center;
}

.title h3 {
  font-weight: 400;
  font-style: italic;
}

p.large {
  font-size: 2rem;
  line-height: 150%;
  margin: 1rem 0;
}


p {
  font-size: 1.5rem;
  line-height: 150%;
  margin-top: 0;
}

p.small {
  font-size: 1.375rem;
  line-height: 150%;
}

ul.small {
  font-size: 1.375rem;
  line-height: 150%;
  margin-top: 0;
}

.important {
  font-style: italic;
  font-weight: 600;
}

h4 {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0;
}

h5 {
  font-size: 1.25rem;
  font-weight: 500;
  font-style: italic;
}

h6 {
  font-size: 1.25rem;
  letter-spacing: 0.18rem;
  margin: 0;
  font-weight: 300;
  font-variant: all-small-caps;
  margin-bottom: 0.2rem;
  line-height: 150%;
}

h7 {
  font-family: "Theodor";
  font-style: normal;
  font-weight: normal;
  font-size: 11.4rem;
  line-height: 105%;
  white-space: nowrap;
}

h7.small {
  font-size: 10rem;
  line-height: 105%;
}

h7.slanted {
  transform: rotate(-6.86deg);
  font-style: italic;
  display: inline-block;
  margin-bottom: 3rem;
  margin-top: -2rem;
}

a {
  text-decoration: none;
  position: relative;
  color: #222222;
  z-index: 10;
}

a::before {
  height: 3px;
  content: '';
  display: block;
  background: var(--beige-underline);
  width: 100%;
  position: absolute;
  bottom: 0px;
  left: 0;
  z-index: -1;
  transition: all 200ms ease-in-out;
}

a:hover {
  color: var(--beige5);
}

a:hover::before {
  background: var(--green);
  transform: translateY(2px);
}

a.no-line {
  text-decoration: default;
}
  
a.no-line::before {
  display: none;
}

hr {
  background: var(--beige5);
}




/* tbd on if these are used */ 

.callout {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 120%;
  margin-bottom: 1rem;
}


details {
  padding: 1rem;
  border: 1px solid rgba(0,0,0,0.2);
  margin-bottom: 2rem;
}


.role-container {
  display: flex;
  justify-content: center;
}

.role {
  max-width: 1240px;
  width: 90vw;
}

.role h4 {
  margin-bottom: 0;
}

.role .meta {
  border-top: 1px solid var(--beige5);
  border-bottom: 1px solid var(--beige5);
  display: flex;
  flex-wrap: wrap;
  padding: 1.5rem 0 0.5rem 0;
  margin-bottom: 2.5rem;
  color: var(--beige5);
}

.role .meta div {
  display: flex;
  align-items: baseline;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.role .meta div h6 {
  margin-top: 0;
  margin-right: 0.4rem;
}

.role .meta div p {
  margin-bottom: 0;
}

.role .meta a {
  color: var(--beige5);
}



.columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, 45%);
  grid-gap: 5%;
}

.tool {
  border-radius: 8px;
  background: var(--beige2);
  padding: 1.5rem; 
  margin-bottom: 1.5rem;
}

.tool iframe {
  border-radius: 4px;
}

.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
}


iframe {
  max-width: 100%;
}

.role .header-container {
  display: flex;
  justify-content: center;
}

.role .header {
  text-align: center;
  margin: 4rem 0;
  max-width: 1050px;
}

.role .header h6 {
  margin-bottom: 1rem;
}

.role .header .description {
  color: #363534;
  margin-top: 3.5rem;
}

img {
  max-width: 100%;
  max-height: 600px;
  width: auto;
  border-radius: 20px;
  margin-bottom: 1rem;
}


a:hover {
  text-decoration: none;
}



/* MOvely buttons */ 

.buttons svg {
  --color: #F6D003;
  transform-origin: center center;
  transition: all 100ms ease-in-out;
  overflow: visible;
}

.buttons svg:hover {
  cursor: pointer;
}

.buttons svg #color {
  transition: all 150ms ease-in-out;
  opacity: 0;
}

.buttons svg #color,
.buttons svg #pizazz,
.buttons svg #color path,
.buttons svg #pizazz path{
  fill: var(--color);
}

.buttons svg:hover #color {
 opacity: 1; 
}

.buttons svg #pizazz {
  opacity: 0;
  transform-origin: top center;
  transition: all 100ms ease-in-out;
}

.buttons svg:active {
  transform: scale(0.9);
}

.buttons svg:active #pizazz {
  opacity: 1;
  /*   transform: scale(1.2); */
}

.buttons svg.is-filled #outline,
.buttons svg.is-filled #outline path {
  opacity: 1;
  fill: var(--color);
}

.buttons svg.is-filled #color {
  opacity: 1;
}

.buttons svg.is-filled #cutout,
.buttons svg.is-filled #cutout path {
  opacity: 1;
  fill: var(--beige);
}

.buttons svg.is-filled #outline path {
  fill: var(--color);
  opacity: 0;
}

.movelys {
  width: 100%;
  height: 100%;
  position: absolute;
}

.movelys svg {
  z-index: 1000;
}

.movely-carousel {
  position: absolute;
  bottom: -22rem;
  right: 1vw;
  margin-right: -200px;
  animation: rotater 55s linear infinite;
}

.movely-cuddly {
  position: absolute;
  animation: float-left 8s ease-in-out infinite;
  top: 4rem;
  left: 7vw;
}

.movely-sleuthin {
  position: absolute;
  animation: float-right 12s ease-in-out infinite;
  top: 6rem;
  right: -2vw;
}

.movely-train {
  position: absolute;
  bottom: -1.8rem;
  left: -4vw;
}

.movely-train svg {
/*       transform: scale(0.8);
    margin-bottom: -30px; */
}

.movely-train #puff-bottom,
.movely-train #puff-bottom_2 {
  -webkit-animation: bob-up-abit 7s ease-in-out infinite;
  animation: bob-up-abit 7s ease-in-out infinite;
}

.movely-train #puff-middle,
.movely-train #puff-middle_2 {
  -webkit-animation: bob-up-alot 13s ease-in-out infinite;
  animation: bob-up-alot 13s ease-in-out infinite;
}

.movely-train #puff-top,
.movely-train #puff-top_2 {
  -webkit-animation: bob-up-alot 9s ease-in-out infinite;
  animation: bob-up-alot 9s ease-in-out infinite;
}

.theory .before-read .movely-conductor {
  position: absolute;
  bottom: -70px;
  left: 10vw;
}

.movely-button {
  position: absolute;
  left: 32vw;
  top: 2rem;
}

.movely-button-2 {
  position: absolute;
  z-index: 1000;
  right: 7vw;
  top: 21rem;
}

.movely-loon {
  position: absolute;
  left: 8vw;
  top: 0rem;
  -webkit-animation: float-up-and-away 14s ease-in-out infinite;
  animation: float-up-and-away 14s ease-in-out infinite;
}

.movely-aire {
  position: absolute;
  top: 25vh;
  left: 8vw;
  -webkit-animation: float-left 9s ease-in-out infinite;
}

@keyframes rotater {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

@keyframes float-left {
  0% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }

  50% {
    -webkit-transform: translateX(-12px);
    transform: translateX(-12px);
  }

  100% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
}

@keyframes float-right {
  0% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }

  50% {
    -webkit-transform: translateX(14px);
    transform: translateX(14px);
  }

  100% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
}

@keyframes bob-up-alot {
  0% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }

  50% {
    -webkit-transform: translateY(14px);
    transform: translateY(14px);
  }

  100% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
}

@keyframes bob-up-abit {
  0% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }

  50% {
    -webkit-transform: translateY(7px);
    transform: translateY(7px);
  }

  100% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
}

@keyframes float-up-and-away {
  0% {
    -webkit-transform: translateY(110vh);
    transform: translateY(110vh);
  }
  
  100% {
    -webkit-transform: translateY(-400px);
    transform: translateY(-400px);
  }
}

@media only screen and (max-width: 1500px) {
  .movely-train svg {
    transform: scale(0.8);
    margin-bottom: -30px;
  }
}

@media only screen and (max-width: 600px) {
  
  
  
  .buttons svg {
    transform: scale(0.5);
    transform-origin: center center;
  }
  
  .movelys {
    overflow: hidden;
  }
  
  .movely-carousel {
    bottom: -37rem;
    right: -14rem;
    z-index: 9;
  }
  
  .movely-train svg {
    transform: scale(0.4);
  }
  
  .movely-train {
    left: -350px;
    bottom: -9rem;
    z-index: 10;
    width: fit-content;
  }
  
  .movely-cuddly {
    top: 0.5rem;
    left: -6rem;
  } 
  
  .movely-sleuthin {
    right: -24vw;
    display: none;
  }
  
  .theory .before-read .movely-conductor {
    bottom: -230px;
    left: 4vw;
  }
  
  .movely-button {
    left: 45vw;
    top: 0.75rem;
  }
  
  .movely-button-2 {
    right: -2vw;
    top: 33rem;
  }
  
  .movely-loon {
    left: -2rem;
  }
  
  .movely-aire {
    left: -8rem;
    top: 32vh;
  }
}






/* 

  Role Carousel styles 

*/ 


.carousel {
  min-height: 90px;
  display: grid;
  grid-template-columns: 60px 1fr 60px;
}

.carousel .left,
.carousel .center,
.carousel .right {
  --color: #C8BBAE;
  --next-color: #F2337B;
  display: grid;
  grid-template-rows: 16px 1fr 16px;
}

.carousel .left:hover,
.carousel .right:hover {
  cursor: pointer;
}

.carousel .middle svg {
  transition: transform 300ms var(--bounce-mid);
}

.carousel .left:hover .middle svg {
  transform: translate(-6px);
}

.carousel .right:hover .middle svg {
  transform: translate(6px);
}

.carousel .left h6 {
  position: absolute;
}

.carousel .left[disabled="true"],
.carousel .center[disabled="true"],
.carousel .right[disabled="true"],
.carousel .left[disabled="true"]:hover,
.carousel .center[disabled="true"]:hover,
.carousel .right[disabled="true"]:hover {
  opacity: 0.5;
  cursor: default;
  transition: opacity 300ms ease-in-out;
}

.carousel .right[disabled="true"]:hover .middle svg,
.carousel .left[disabled="true"]:hover .middle svg {
  transform: none;
}

.carousel .top,
.carousel .bottom {
  background: var(--color);
  position: relative;
}

.carousel .middle svg path { 
  stroke: var(--color);
}

.carousel .top::after,
.carousel .bottom::after {
  right: 0;
  width: 0;
  height: 100%;
  content: '';
  display: block;
  position: absolute;
  background: var(--next-color);
  transition: width 1000ms ease-in-out, background 1ms ease-in-out;
}

.carousel .moving-left .top::after,
.carousel .moving-left .bottom::after {
  left: 0;
  width: 100%;
}

.carousel .moving-right .top::after,
.carousel .moving-right .bottom::after {
  right: 0;
  width: 100%;
}

.carousel .middle {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease-in-out;
}

.carousel .middle h3 {
  font-weight: 500;
  font-style: italic;
  margin: 1.5rem 0 1rem 0;
}

.carousel-info {
  opacity: 1;
}

.carousel-info.initial-hide {
  opacity: 0;
  transition-duration: 0ms;
}

.carousel-info.show {
  opacity: 1;
}

.hide-left.hide {
  transform: translate(100vw);
  opacity: 1;
}

.hide-right.hide {
  transform: translate(-100vw);
  opacity: 1;
}

.show-right {
  transform: translate(100vw);
}

.show-right.show {
  transform: translate(0rem);
  opacity: 1;
}

.show-left {
  transform: translate(-100vw);
}

.show-left.show {
  transform: translate(0rem);
  opacity: 1;
}

.carousel-info.transition-duration {
  transition: all 1000ms ease-in-out;
}

.publish-footer {
  display: flex;
  align-items: center;
  flex-direction: column;
  border-top: 1px solid var(--beige5);
  border-bottom: 1px solid var(--beige5);
  padding: 2.5rem 0;
}

.publish-footer .lil-liney {
  width: 150px;
  height: 1px;
  background: var(--beige5);
}

.publish-footer h7 {
  margin-top: 4rem;
}

.publish-footer p.large {
  max-width: 1200px;
  margin: 0 4rem;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.publish-footer p {
  max-width: 600px;
  margin: 0 4rem;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 5rem;
}

a.last-button::before {
  display: none;
}

.publish-footer a.remix::before {
  display: none; 
}

.publish-footer .remix,
.last-button {
  padding: 1rem 2rem;
  border-radius: 8px;
  background: #E7E1DB;
  transition: all 400ms var(--bounce-mid);
}

.last-button {
  padding: 1rem 1.5rem;
}

.publish-footer .remix .text {
  font-size: 2rem;
  font-style: italic;
}

.publish-footer .remix:hover,
.last-button:hover {
  transform: scale(1.1);
  color: var(--green);
}

.last-button:hover {
 transform: scale(1.3); 
}

.carousel-info.publish-ad .publish-footer {
  border: 4px dashed #C6B49A;
  margin: 0 10vw;
  border-radius: 10px;
}

.carousel-info.publish-ad .publish-footer .lil-liney {
  display: none; 
}

.carousel-info.publish-ad .role-iframe {
  margin-bottom: 6rem;
}




.carousel-spacer-large {
  height: 7rem;
  width: 100%;
}


.chapter-label {
  position: fixed;
  left: 28px;
  width: 100vh;
  transform: translate(-50%, 50%) rotate(-90deg);
  top: calc(50% - 56px);
  text-align: center;
  height: 56px;
  display: flex;
  align-items: center;
  color: var( --green);
  z-index: -1;
}

.chapter-label h6 {
  white-space: nowrap;
  margin: 0;
  position: absolute;
  width: inherit;
  opacity: 0;
  transition: opacity 200ms ease-in-out;
}

.chapter-label h6.here {
  opacity: 1;
}



.full-center {
  width: 100%;
  display: flex; 
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0 0.5rem 0;
}

h6 a {
  padding: 0.5rem 1rem 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  color: var(--beige5);
  background: transparent;
  transition: all 200ms ease-in-out;
}

h6 a:hover {
  background: #EDE4D8;
  cursor: pointer;
}

h6 a::before {
  display: none;
}

.role-iframe {
  border: none;
  width: 100%;
  margin-bottom: 10rem;
  box-sizing: border-box;
}

.chapter .header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--beige2);
  z-index: 10;
  position: relative;
}

.chapter .header .liney {
  height: 2px; 
  width: 70vw;
  max-width: 600px;
  background: #C6B49A;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.chapter .header h6 {
  margin-top: 1.5rem;
  margin-bottom: 5rem;
  color: var(--beige5);
  text-align: center; 
}

.chapter .header .count {
  font-size: 2rem;
  line-height: 150%;
}

.chapter .header .subnav {  
  font-family: "Ideal Sans";
  font-style: italic;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 150%;
  margin-bottom: 2.5rem;
  margin-top: 3.2rem;
  margin-left: 4rem;
  margin-right: 4rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.chapter .header .subnav .divider {
  height: 14px;
  background: #A69583;
  width: 2px;
  margin: 0 12px;
}

.chapter .header .subnav a {  
  color: #222222;
  text-decoration: none;
}

.chapter .header .subnav a:hover {  
  cursor: pointer;
  color: #436D57;
}

.chapter .header .subnav a::before {
  display: none;
}

.chapter .header .marquee {
  margin-top: 0;
  
}

.stop {
  display: flex;
  justify-content: center;
}

.chapter .header .stop {
  margin-bottom: 2.5rem;
  position: relative;
}

.stop .dot {
  position: relative;
  width: 24px;
  height: 24px;
  background: #222222;
  z-index: 10;
  border-radius: 100px;
  transition: all 500ms var(--bounce-mid);
}

.stop .dot::after {
  position: absolute;
  border-radius: 100px;
  display: block;
  content: '';
  z-index: 20;
  width: 12px;
  height: 12px;
  background: #F3EFEB;
  margin-top: 6px;
  margin-left: 6px;
  transition: all 400ms var(--bounce-mid);
}

.stop .dot::before {
  position: absolute;
  border-radius: 100px;
  display: block;
  content: '';
  z-index: 30;
  width: 10px;
  height: 10px;
  transform: scale(0);
  transform-origin: center center;
  background: var(--green);
  margin-top: 7px;
  margin-left: 7px;
  transition: all 400ms var(--bounce-mid);
}

.stop .stem {
  position: absolute;
  z-index: 0;
  height: 28px;
  width: 2px;
  background: #222222;
  margin-top: 12px;
  transition: all 500ms var(--bounce-mid);
}

.stop.stop--is-first .stem {
  margin-top: 12px;
}

.stop.stop--is-second .stem {
  height: 56px;
  margin-top: -15px;
}

.stop.stop--is-third .stem {
  bottom: 0;
  margin-bottom: 12px;
}

#choo-choo.at-chapter-one #stop-chapter-one .dot,
#choo-choo.at-chapter-one #nav-chapter-one .dot,
#choo-choo.at-chapter-one #mobile-nav-chapter-one .dot,
#choo-choo.at-chapter-two #stop-chapter-two .dot,
#choo-choo.at-chapter-two #nav-chapter-two .dot,
#choo-choo.at-chapter-two #mobile-nav-chapter-two .dot,
#choo-choo.at-chapter-three #stop-chapter-three .dot,
#choo-choo.at-chapter-three #nav-chapter-three .dot,
#choo-choo.at-chapter-three #mobile-nav-chapter-three .dot {
  background: var(--green);
  transform-origin: center center;
  transform: scale(1.2);
}

#choo-choo.at-chapter-one #stop-chapter-one .dot::after,
#choo-choo.at-chapter-one #nav-chapter-one .dot::after,
#choo-choo.at-chapter-one #mobile-nav-chapter-one .dot::after,
#choo-choo.at-chapter-two #stop-chapter-two .dot::after,
#choo-choo.at-chapter-two #nav-chapter-two .dot::after,
#choo-choo.at-chapter-two #mobile-nav-chapter-two .dot::after,
#choo-choo.at-chapter-three #stop-chapter-three .dot::after,
#choo-choo.at-chapter-three #nav-chapter-three .dot::after,
#choo-choo.at-chapter-three #mobile-nav-chapter-three .dot::after {
  transform: scale(1.4);
  transform-origin: center center;
}

#choo-choo.at-chapter-one #stop-chapter-one .dot::before,
#choo-choo.at-chapter-one #nav-chapter-one .dot::before,
#choo-choo.at-chapter-one #mobile-nav-chapter-one .dot::before,
#choo-choo.at-chapter-two #stop-chapter-two .dot::before,
#choo-choo.at-chapter-two #nav-chapter-two .dot::before,
#choo-choo.at-chapter-two #mobile-nav-chapter-two .dot::before,
#choo-choo.at-chapter-three #stop-chapter-three .dot::before, 
#choo-choo.at-chapter-three #nav-chapter-three .dot::before, 
#choo-choo.at-chapter-three #mobile-nav-chapter-three .dot::before {
  transform: scale(1);
  transform-origin: center center;
}

#choo-choo.at-chapter-one #stop-chapter-one .stem,
#choo-choo.at-chapter-one #nav-chapter-one .stem,
#choo-choo.at-chapter-one #mobile-nav-chapter-one .stem,
#choo-choo.at-chapter-two #stop-chapter-two .stem,
#choo-choo.at-chapter-two #nav-chapter-two .stem,
#choo-choo.at-chapter-two #mobile-nav-chapter-two .stem,
#choo-choo.at-chapter-three #stop-chapter-three .stem, 
#choo-choo.at-chapter-three #nav-chapter-three .stem, 
#choo-choo.at-chapter-three #mobile-nav-chapter-three .stem {
  background: var(--green);
}

#choo-choo.at-chapter-one #nav-chapter-one .nav-label,
#choo-choo.at-chapter-two #nav-chapter-two .nav-label,
#choo-choo.at-chapter-three #nav-chapter-three .nav-label {
  color: var(--green); 
}

#choo-choo.at-chapter-one #label-chapter-one,
#choo-choo.at-chapter-two #label-chapter-two,
#choo-choo.at-chapter-three #label-chapter-three {
  opacity: 1;
  transition-delay: 100ms;
}




/* 

  Theory Train styles 

*/ 


.theory .schedule-container {
  display: flex;
  justify-content: center;  
} 

.theory .schedule {
  max-width: 806px;
  width: 90vw;
}

.theory .before-read {
  height: 20vh;
  position: relative;
  width: 100%;
}

.theory figure svg {
  max-width: 100%;
}

.theory figure.smaller-55 svg {
  max-width: 60%;
}

.theory figure.smaller-75 svg {
  max-width: 80%;
}

.theory figure {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.theory figure figcaption {
  font-size: 1rem;
  color: #4A4A4A;
  margin-top: 1.5rem;
  line-height: 150%;
  text-align: center;
}

.theory figure img {
  max-height: 300px;
  max-width: 512px;
}

.theory figure.figure--is-image figcaption {
  margin-top: 0.5rem;
}

.figure--is-waypoints .top-line,
.figure--is-waypoints .bottom-line,
.figure--is-ladders .top-line,
.figure--is-ladders .bottom-line {
  height: 1px;
  background: var(--beige4);
}

.figure--is-waypoints .top-line {
  margin-bottom: -38px;
  margin-top: 4rem;
}


.figure--is-waypoints .bottom-line {
  margin-top: -45px;
  margin-bottom: 4rem;
}

.figure--is-ladders .top-line {
      margin-bottom: -107px;
  margin-top: 4rem;
}

.figure--is-ladders .bottom-line {
  margin-top: -1px;
}



.mobile-show figure {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.theory .material .spacer-one {
  height: 2rem;
  width: 100%;
}

.theory .material .spacer-three {
  height: 6rem;
  width: 100%;
}

.theory .material .spacer-five {
  height: 10rem;
  width: 100%;
}

.theory .material .spacer-ten {
  height: 20rem;
  width: 100%;
}


.whistle-container {
  z-index: 100;
  top: 0;
  height: 1200px;
  /*   margin-top: -350px; */
  margin-top: -456px;
  position: absolute;
  right: 12vw;
}

.whistle-message {
  text-align: center;
  color: var(--beige5);
  line-height: 120%;
  margin-top: 1rem;
}

.whistle {
  display: flex;
  flex-direction: column;
  align-items: center;
  
  animation: auto-1 5s ease-in-out infinite;
}

@keyframes auto-1 {
  50% {
    transform: translateY(6px);
  }
  100% {
    transform: translateY(0px);
  }
}

.whistle .string {
  
}
  
.whistle .handle {
  margin-top: -15px;
  position: relative;
  cursor: grab;
}

.whistle .handle #bottom-fill, 
.whistle .handle #top-fill {
  transition: all 200ms ease-in-out;
}

.whistle .handle:hover #bottom-fill, 
.whistle .handle:hover #top-fill {
  fill: var(--yellow);
}

.whistle .handle:active {
  cursor: grabbing;
}

.whistle-container h6 {
  color: var(--beige5);
  text-align: center;
}

.marquee {
  position: relative;
  width: 100vw;
  overflow: hidden;
  --offset: 20vw;
  --move-initial: calc(-20% + var(--offset));
  --move-final: calc(-40% + var(--offset));
}

.marquee__inner {
  width: fit-content;
  display: flex;
  position: relative;
  transform: translate3d(var(--move-initial), 0, 0);
  animation: marquee 10s linear infinite;
  animation-play-state: running;
}

.marquee h7 {
  padding: 0 1.5vw;
}

@keyframes marquee {
  0% {
      transform: translate3d(var(--move-initial), 0, 0);
  }

  100% {
      transform: translate3d(var(--move-final), 0, 0);
  }
}


.chapter .to-read-container {
  display: flex;
  justify-content: center;
  padding-top: 8rem;
  padding-bottom: 12rem;
}

.chapter .to-read-container.less-padding {
  padding-bottom: 0;
}

.chapter .to-read-container.for-figure {
  padding-top: 0;
  padding-bottom: 12rem;
  width: 100%;
}

.chapter .to-read-container.for-figure .full-width-figure {
  width: 100%;
}

.chapter .to-read {
  max-width: 1200px;
  width: 90vw;
  display: grid;
  grid-template-columns: 507px 1fr;
  grid-gap: 4rem;
}

.chapter .to-read-single {
  max-width: 1200px;
  width: 90vw;
  display: grid;
  grid-template-columns: 1fr;
}


.chapter .to-read .text {
  
}


.chapter .to-read-container.chapter-end {
  padding: 0;
  margin-bottom: 5rem;
}

.chapter-end .to-read-single {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid #C6B49A;
  position: relative;
}

.chapter-end .liney {
  width: 120px;
  margin-bottom: 1.5rem;
  height: 1px;
  background: #C6B49A;
}

.chapter-end h6 {
  margin: 0 2vw;
  text-align: center;
  max-width: 600px;
  margin-bottom: 12rem
}

.chapter-end svg { 
  width: 65%;
  height: auto;
  position: absolute;
  bottom: -1px;
  right: 0;
}

.chapter.theory-end .to-read-container {
  padding: 0;
}

.theory-end .footer {
  border-top: 1px solid #C6B49A;
  padding-top: 2rem;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 10rem;
}

.theory-end .footer .note {
  text-align: right;
}

.theory-end .footer .teal {
  display: flex;
  font-family: 'EB Garamond';
}

.theory-end .footer .teal .message {
  margin-left: 1.5rem;
  margin-top: 4px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.theory-end .footer .teal .message a {
  margin-left: -4px;
}


.stop-nav {
  position: fixed;
  right: 16px;
  z-index: 0;
  transform: translate(0, -50%);
  top: 50%;
  width: 310px;
  padding: 1rem;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease-in-out;
}

.stop-nav.show {
  pointer-events: all;
  opacity: 1;
}

.stop-nav .row::before {
  display: none;
}

.stop-nav .row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
  align-items: center;
}

.stop-nav .row .nav-label {
  font-size: 1rem;
  transform: translate(8px);
  opacity: 0;
  text-align: left;
  transition: all 400ms var(--bounce-mid);
  transition-delay: 0ms;
}

.stop-nav .row .dot,
.stop-nav .row .stem {
  background: var(--beige4);
}

.stop-nav .row .stop.stop--is-second .stem { 
  margin-top: 12px;
  height: 28px;
}


.stop-nav .background {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin-left: -1rem;
  margin-top: -1rem;
  transform: translate(5px);
  border-radius: 8px;
  background: var(--beige2);
  transition: all 400ms var(--bounce-mid);
}

.stop-nav .row:hover {
  cursor: pointer;
}

.stop-nav .row:hover .stop .dot,
.stop-nav .row:hover .stop .stem {
  background: var(--green);
}

.stop-nav:hover .background, 
.stop-nav:hover .row .nav-label {
  opacity: 1;
  transform: translate(0);
}


.stop-nav:hover .row .nav-label.nav-label--is-one {
  transition-delay: 25ms;
}

.stop-nav:hover .row .nav-label.nav-label--is-two {
  transition-delay: 75ms;
}

.stop-nav:hover .row .nav-label.nav-label--is-three {
  transition-delay: 125ms;
}



.mobile-stop-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 0;
  background: var(--beige);
  align-items: center;
  width: 100%;
  position: fixed;
  border-bottom: 1px solid #A39B93;
  top: 0;
  z-index: 1000;
  transform: translateY(-90px);
  transition: all 300ms ease-in-out;
}

.mobile-stop-nav a::before {
  display: none;
}

.mobile-stop-nav .sideways-stops {
  display: flex;
  flex-direction: row;
}

.mobile-stop-nav .sideways-stops .stop {
  position: relative;
} 

.mobile-stop-nav .sideways-stops .dot,
.mobile-stop-nav .sideways-stops .stem {
  background: var(--beige4);
} 

.mobile-stop-nav .sideways-stops .stop--is-first,
.mobile-stop-nav .sideways-stops .stop--is-second {
  margin-right: 1.5rem;
}
  
.mobile-stop-nav .sideways-stops .stop--is-first .stem, 
.mobile-stop-nav .sideways-stops .stop--is-second .stem {
  height: 2px;
  width: 47px;
  left: 13px;
  margin-top: 12px;
}

.mobile-chapter-label {
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--green);
}

.mobile-chapter-label h6 {
  position: absolute;
  opacity: 0;
  transition: opacity 250ms ease-in-out;
  transition-delay: 0ms;
}

.mobile-stop-nav.show {
  transform: translateY(0);
}



.top-nav {
  border: 7px double var(--beige4);
  border-radius: 10px;
  padding: 1.5rem 2rem 2rem 2rem;
  background: var(--beige);
  position: relative;
  z-index: 10;
}

.top-nav h6 {
  margin-bottom: 0.5rem;
  color: var(--beige5);
}

.top-nav .row::before {
  display: none;
}

.top-nav .row {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  position: relative;
  align-items: center;
}

.top-nav .row .dot,
.top-nav .row .stem {
  background: var(--beige4);
}

.top-nav .row .nav-label {
  margin-left: 1.5rem;
  font-size: 2rem;
  line-height: 150%;
}

.top-nav .row:hover .dot,
.top-nav .row:hover .stem {
  background: var(--green);
}

.top-nav .row:hover .dot {
  transform: scale(1.2);
}

.top-nav .row:hover .dot::after {
  transform: scale(0.83333);
}


.top-nav .row .stop--is-first .stem,
.top-nav .row .stop--is-second .stem {
  margin-top: 12px;
  height: 40px;
  width: 2px;
}

.sound-toggle {
  position: fixed;
  top: 2rem;
  right: 2rem;
  border-radius: 100px;
  width: fit-content;
  font-size: 1rem;
  border: 2px solid var(--beige4);
  background: var(--beige);
  padding: 6px 15px 6px 13px;
  z-index: 10000;
  color: var(--beige5);
  opacity: 0;
  transform: scale(0.9);
  transition: border-color 300ms ease-in-out, background 300ms ease-in-out, color 300ms ease-in-out, transform 400ms var(--bounce-mid);
}

.sound-toggle.toggle--is-snug {
  top: 0.3rem;
  right: 0.3rem;
}

.sound-toggle.show {
  opacity: 1;
  transform: scale(1);
}

.sound-toggle .boop {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.sound-toggle .boop svg {
  margin-right: 0.5rem;
  height: 32px;
}

.sound-toggle:hover {
  cursor: pointer;
  border-color: var(--green);
  color: black;
}

.sound-toggle #color {
  transition: fill 300ms ease-in-out;
}

.sound-toggle:hover #color {
  fill: var(--green);
}

.sound-toggle.on #color {
  fill: var(--green);
}

.sound-toggle.on:hover {
  border: 2px solid var(--yellow);
}

.sound-toggle.on:hover #color {
  fill: var(--yellow);
}

.sound-toggle .credit {
  position: absolute;
  width: fit-content;
  right: 0;
  white-space: nowrap;
  background: var(--beige);
  padding: 8px 16px;
  margin-top: 8px;
  border-radius: 20px;
  opacity: 0;
  pointer-events: none;
}

.sound-toggle.on .credit {
  color: black;
}

.sound-toggle:hover .credit {
  opacity: 1;
  transition: opacity 300ms ease-in-out;
}


/* 

  Entrance styles

*/ 

.entrance {
  display: grid;
  grid-template-rows: 15vh 1fr 92px;
  height: 100vh;
  max-height: 100vh;
  box-sizing: border-box;
  opacity: 1;
  transition: opacity 400ms ease-in-out;
}

.entrance.fade-out {
  opacity: 0;
}

.entrance .canopy {
  margin-top: -2px;
  position: relative;
  height: fit-content;
}

.entrance .canopy svg {
  width: 100vw;
  height: auto;
}

.entrance .ground {
  border-bottom: 1px solid #C6B49A; 
  width: calc(100% - 10vw);
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0;
  margin-left: 5vw;
  position: relative;
}

.entrance .ground .lil-bike {
  margin-left: 3.75rem;
  margin-right: 7vw;
}

.entrance .ground .lil-bike svg {
  margin-bottom: -16px;
  width: 100%;
  height: auto;
}

.entrance .ground .door {
  
}

.entrance .ground .door svg {
  margin-bottom: -11px;
  width: 100%;
  height: auto;
  max-height: 62vh;
}

.entrance .ground .door svg:hover {
 cursor: pointer;
}

.entrance .ground .door svg:hover #enter {
/*   transition-delay: 250ms;
  fill: var(--green); */
}


#f,
#a,
#i,
#r,
#g,
#r2,
#o,
#u,
#n,
#d,
#s,
#door,
#door-handle,
#door-f,
#enter,
#building,
#slat-1, 
#slat-2, 
#slat-3,
#slat-4 {
  transition: all 200ms ease-in-out;
}

.entrance .ground .door svg:hover #f,
.entrance .ground .door svg:hover #r2,
.entrance .ground .door svg:hover #u {
/*  fill: var(--pink); */
 fill: var(--blue);
}

.entrance .ground .door svg:hover #a,
.entrance .ground .door svg:hover #g,
.entrance .ground .door svg:hover #n {
/*  fill: var(--blue); */
 fill: var(--blue);
}

.entrance .ground .door svg:hover #i,
.entrance .ground .door svg:hover #o,
.entrance .ground .door svg:hover #s {
/*  fill: var(--green); */
 fill: var(--blue);
}

.entrance .ground .door svg:hover #r,
.entrance .ground .door svg:hover #d {
/*  fill: var(--yellow); */
 fill: var(--blue);
}

.entrance .ground .door svg:hover #g,
.entrance .ground .door svg:hover #o {
  transition-delay: 60ms;
} 

.entrance .ground .door svg:hover #r,
.entrance .ground .door svg:hover #u {
  transition-delay: 90ms;
} 

.entrance .ground .door svg:hover #i,
.entrance .ground .door svg:hover #n {
  transition-delay: 120ms;
} 

.entrance .ground .door svg:hover #a,
.entrance .ground .door svg:hover #d {
  transition-delay: 150ms;
} 

.entrance .ground .door svg:hover #f,
.entrance .ground .door svg:hover #s {
  transition-delay: 180ms;
} 

.entrance .ground .door svg:hover #slat-1 {
  transition-delay: 210ms;
  fill: var(--blue);
}

.entrance .ground .door svg:hover #slat-2 {
  transition-delay: 250ms;
  fill: var(--yellow);
}

.entrance .ground .door svg:hover #slat-3 {
  transition-delay: 290ms;
  fill: var(--green);
}

.entrance .ground .door svg:hover #slat-4 {
  transition-delay: 320ms;
  fill: var(--pink);
}


.entrance .ground .door svg:hover #building {
/*   fill: var(--green);
  transition-delay: 250ms; */
} 

.entrance .ground .door svg:hover #door-handle {
  fill: var(--pink);
  transition-delay: 320ms;
}

.entrance .ground .door svg:hover #door {
/*   fill: var(--green);
  transition-delay: 250ms; */
}

.entrance .ground .door svg:hover #door-f {
  fill: var(--pink);
  transition-delay: 320ms;
}

.entrance .ground .lil-train {
  margin-right: 4.5rem;
}

.entrance .ground .lil-train svg {
  margin-bottom: -14px;
  width: 100%;
  height: auto;
}

.entrance .ground a {
  text-decoration: none;
}

.footer {
  font-size: 1.5rem;
  text-align: center;
  width: 100%;
  padding: 1.6rem 0;
  box-sizing: border-box;
  color: #39342F;
}

.footer a {
  color: #39342F;
  padding: 4px 4px;
  border-radius: 4px;
  transition: all 200ms ease-in-out;
  text-decoration: none;
}

.footer a::before {
   content: '';
  display: block;
  background: var(--beige-underline);
  position: absolute;
  bottom: 0;
  height: 2px;
  width: calc(100% - 6px);
  margin-left: 3px;
  transition: all 200ms ease-in-out;
}

.footer a:hover {
  color: var(--tan);
  background: #222222;
}

.footer a:hover::before {
  transform: translateY(2px);
  opacity: 0;
}




/* Fairgrounds area */ 

.fairgrounds-environment {
  position: absolute;
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

.fairgrounds-environment div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fairgrounds {
  height: 100%;
  width: 100%;
  overflow: hidden;
}


.welcome-container {
  display: flex;
  justify-content: center;
  padding-top: 3rem;
  z-index: 100;
}

.welcome-columns {
  max-width: 1000px;
  width: 63vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 4rem;
}

.welcome-sign {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.welcome-sign h1 {
  margin-bottom: 0.75rem;
}

.welcome-sign h6 {
  margin-left: -55px;
  margin-bottom: -8px
}

.welcome-sign p.large {
  margin-top: 0;
}

.where-to-go a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--beige5);
}

.where-to-go a::before {
  display: none;
}

.where-to-go a p {
  margin: 0;
}
  
.where-to-go a h3 {
  margin: 0;
  transition: all 500ms var(--bounce-mid);
  color: black;
}

.where-to-go a:hover p {
  color: black; 
}

.where-to-go a:hover h3 {
  transform: scale(1.2);
  transform-origin: center center;
  color: var(--green);
}

.mobile-show {
  display: none;
}



@media only screen and (max-width: 600px) {
  html {
    font-size: 10px;
  }
  
  h6 {
    font-size: 1.5rem;
  }
  
  .theory p,
  .theory ul,
  .theory ol {
    font-size: 1.75rem;
    line-height: 150%;
  }
  
  p.large {
    font-size: 2.25rem;
  }
  
  .carousel { 
    grid-template-columns: 40px 1fr 40px;
  }
  
  .columns { 
    grid-template-columns: 1fr;
    grid-gap: 3rem;
  }
  
  .welcome-container {
    padding-top: 2rem;
  }
  
  .welcome-columns {
    grid-template-columns: 1fr;
    grid-gap: 3rem;
  }
  
  .welcome-sign h6 {
    margin-left: -38px;
    margin-bottom: -4px;
  }  
  
  .door svg {
    max-height: 65vh;
  }
  
  .chapter-label {
    display: none;
  }
   
  .stop-nav {
    display: none;
  }
  
  .chapter .to-read {
    grid-template-columns: 1fr;
  }
  
  .entrance {
    height: 100%;
    min-height: 100%;
  }
  
  .entrance .ground .door svg {
    margin-bottom: -8px;
  }
  
  .entrance .ground .lil-bike svg {
    margin-bottom: -10px;
  }
  
  .entrance .ground .lil-train svg {
    margin-bottom: -8px;
  }
  
  .entrance .ground .lil-train {
    margin-right: 1.5rem;
    margin-left: 1rem;
  }
  
  .entrance .ground .lil-bike {
    margin-left: 3rem;
  }
  
  .whistle-container {
    right: 2vw;
/*     height: 60vh;
    margin-top: 25vh; */
    transform: scale(0.8);
    transform-origin: top center;
  }
  
  .mobile-show {
    display: inline;
  }
  
  .mobile-hide {
    display: none;
  }
  
  .sound-toggle {
    padding: 6px 6px 6px 10px;
  }
  
  .to-read .material {
    display: none;
  }
  
  .chapter-end svg { 
    width: 75%;
  }
  
  .theory-end .footer {
    justify-content: center;
  }
  
  
  .chapter .header .subnav {
    flex-direction: column;
  }
  
  .chapter .header .subnav .divider {
    display: none;
  }
  
  .theory-end .footer .teal .emblem svg {
    width: 4rem;
    margin-top: -10px;
  }
  
  .theory-end .footer .note {
    text-align: center;
    margin-top: 2rem;
    margin-left: 4rem;
    margin-right: 4rem;
  }
  
  .theory-end .footer .teal .message {
    text-align: left;
  }
  
  .theory figure figcaption {
    font-size: 1.5rem;
  }
  
  .theory figure img {
    max-width: 100%;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  
  .mobile-stop-nav {
    display: flex;
  }
  
  .top-nav .row .nav-label {
    margin-left: 1rem;
    font-size: 1.5rem;
    line-height: 250%;
  }
  
  .theory .figure--is-waypoints svg {
      max-width: 85%;
  }
  
  .figure--is-waypoints .top-line {
    margin-bottom: -138px;
    margin-top: 6rem;
  }
  
  .figure--is-waypoints .bottom-line {
    margin-top: -141px;
    margin-bottom: 2rem;
  }
  
  .theory .figure--is-ladders svg {
      max-width: 85%;
  }
  
  .figure--is-ladders .top-line {
    margin-bottom: -163px;
    margin-top: 8rem;
  }
  
  .figure--is-ladders .bottom-line {
    margin-top: -116px;
  }

}



@media only screen and (max-width: 600px) {
  
  .role p,
  .role ol,
  .role ul {
    font-size: 1.75rem;
    line-height: 150%;
  }
  
  .role .header h2 {
    font-size: 3.7rem;
  }
  
  .role .header .description {
    margin: 2.5rem 1.4rem 0 1.4rem;
  }
  
  .role-iframe {
    margin-bottom: 2rem;
  }
  
  .publish-footer p {
    margin: 2rem 2.2rem;
    margin-bottom: 5rem;
  }
  
  .publish-footer p.large {
    font-size: 1.8rem;
    margin: 2rem 2rem;
  }
  
  .publish-footer h7.small {
    font-size: 9rem;
  }
  
  .carousel-info.publish-ad .publish-footer {
    margin: 2rem 4vw;
  }
  
  .carousel-info.publish-ad .publish-footer h7.small {
    font-size: 8rem;
    margin-top: 1rem;
  }
  
  .carousel-info.publish-ad .role-iframe {
    margin-bottom: 0rem;
  }
}