/* loading bits */

.swiperHolder {
  height: 100vh;
  width: 100%;
  min-height: 100vh;
  position: absolute;
  background-color: white;
  z-index: 10;
}

.swipeRight {
  left: 100vw;
  min-height: 100vh;
  height: 100vh;
  min-width: 100%;
  width: 100%;
  border-left: 2px solid var(--black);
}

.swipeRightBlue {
  background-color: var(--blue);
  z-index: 2;
  position: absolute;
}

.swipeRightGreen {
  background-color: var(--green);
  z-index: 3;
  position: absolute;
}

.swipeRightPink {
  background-color: var(--pink);
  z-index: 4;
  position: absolute;
}

.swipeRightWhite {
  background-color: white;
  z-index: 5;
  position: absolute;
}

.page {
  opacity: 0;
  display: none;
}

.topbar {
  margin-top: -3rem;
}

.logo {
  margin-bottom: 2rem;
}

.pageHeader {
  opacity: 0;
  scale: 0.9;
}

.optionsBox {
  scale: 0.8;
  opacity: 0;
  top: 100px;
  position: relative;
}

.workSection {
  opacity: 0;
}

.workSectionContent,
.workSectionImage {
  opacity: 0;
}

/* END OF LOADING BITS */

.pageHeader {
  padding-top: 17rem;
  padding-top: clamp(13rem, 11.333rem + 4.63vw, 18rem);
  text-align: center;
  padding-bottom: 4vh;
}

.page {
  min-height: 100vh;
}

.pageHeader h1 {
  font-size: 8rem;
  font-weight: 300;
}

.optionsBar {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.optionsBox h2 {
  font-size: 2.6rem;
}

.optionsBox {
  border: 2px solid var(--black);
  padding: 1rem 2rem;
  margin: 2rem;
}

.optionsBoxFirst {
  margin-left: 0;
}

.optionsBoxLast {
  margin-right: 0;
}

.workSection {
  max-width: 80%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  border: 2px solid var(--black);
  padding: 4rem;
  margin: 6rem auto;
}

.workSectionBlue {
  background-color: var(--blue);
}

.workSectionYellow {
  background-color: var(--yellow);
}

.workSectionPink {
  background-color: var(--pink);
}

.workSectionGreen {
  background-color: var(--green);
}

.workSectionContent {
  display: flex;
  flex-direction: Column;
  max-width: 66%;
  justify-content: space-around;
  padding-right: 4rem;
}

.workSectionContentFullWidth {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
}

.workSectionTitle {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  display: inline-block;
  margin-bottom: 4rem;
}

.workSectionContent p,
.workSectionBlurb p,
li {
  font-weight: 300;
  font-size: 2rem;
  line-height: 2.6rem;
}

.workSectionImage {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.workSectionBlurb img {
  float: right;
  margin: 0 0 4rem 4rem;
  width: 40%;
  max-width: 500px;
  border: 2px solid var(--black);
  box-shadow: -6px 6px var(--black);
}

.workSectionImage img {
  max-width: 400px;
  border: 2px solid var(--black);
  box-shadow: -6px 6px var(--black);
}

.workSection .btn {
  float: left;
}

.workSectionJournaling .workSectionBlurb img {
  max-width: 300px;
}

.workSectionCreative {
  width: 100%;
}

.workSectionLeft,
.workSectionRight {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.workSectionLeft {
  justify-content: flex-start;
  padding-right: 2rem;
  width: 100%;
}

.workSectionRight {
  align-items: center;
  padding-left: 2rem;
  justify-content: space-around;
  width: 40%;
}

.workSectionRight .btn {
  float: right;
}

.workSectionVideo iframe {
  border: 4px solid var(--black);
  box-shadow: -6px 6px var(--black);
}

li {
  margin-bottom: 1rem;
}

@media screen and (max-width: 1024px) {
  .logo h2 {
    margin-top: -16px;
  }
  .pageHeader h1 {
    font-size: 4rem;
    font-size: clamp(4rem, 2.23rem + 4.658vw, 7rem);
  }
  .optionsBar {
    flex-wrap: wrap;
  }
  .optionsBox {
    margin-right: 1rem;
    margin-left: 1rem;
    padding: 1rem;
    margin-bottom: 0;
  }
  .optionsBox h2 {
    font-size: 1.6rem;
    font-size: clamp(1.6rem, 1.364rem + 0.621vw, 2rem);
    line-height: 2.2rem;
    line-height: clamp(2.2rem, 1.846rem + 0.932vw, 2.8rem);
  }
  .workSectionContent p,
  .workSectionVideo p,
  li {
    font-size: 1.6rem;
    font-size: clamp(1.6rem, 1.492rem + 0.482vw, 1.8rem);
    line-height: 2.2rem;
    line-height: clamp(2.2rem, 2.092rem + 0.482vw, 2.4rem);
  }
  .workSectionTitle {
    font-size: 3.6rem;
    font-size: clamp(3.6rem, 2.841rem + 3.373vw, 5rem);
    margin-top: 4rem;
    line-height: 4.4rem;
  }
  .buttonBg {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  .page {
    margin: 0 1rem;
  }
  .workSectionContent {
    max-width: 100%;
    padding: 0;
  }
  .workSection {
    flex-direction: column;
    flex-wrap: wrap;
    max-width: 800px;
    padding: 1rem;
    text-align: center;
    margin: 6rem auto;
  }
  .workSectionBlurb {
    padding: 0 2rem;
  }
  .workSectionImage {
    max-width: 100%;
    align-items: center;
  }
  .workSectionImage img {
    max-width: 400px;
    width: calc(100% - 4rem);
    margin-bottom: 4rem;
  }
  .workSectionLeft,
  .workSectionRight {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }
  .workSectionRight {
    padding: 0;
  }

  .workSection p {
    font-size: 1.6rem;
    font-size: clamp(1.6rem, 1.492rem + 0.482vw, 1.8rem);
    line-height: 2.2rem;
    line-height: clamp(2.2rem, 2.092rem + 0.482vw, 2.4rem);
    font-weight: 400;
  }
  .workSectionBlurb img {
    float: none;
    width: 100%;
    margin: 0 auto 4rem auto;
    display: block;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1439px) {
  .pageHeader {
    padding-bottom: 3rem;
    /* padding-top: 14rem; */
  }
  .pageHeader h1 {
    font-size: 6rem;
    font-size: clamp(6rem, 1.077rem + 4.808vw, 8rem);
  }
  .optionsBox h2 {
    font-size: 1.8rem;
    font-size: clamp(1.8rem, 0.323rem + 1.442vw, 2.4rem);
  }
  .workSectionImage img {
    width: 100%;
  }
  .workSectionContent p,
  .workSectionVideo p,
  .workSection p,
  li {
    font-size: 1.8rem;
    font-size: clamp(1.6rem, 0.615rem + 0.962vw, 2rem);
    line-height: 2.2rem;
    line-height: clamp(2.2rem, 1.215rem + 0.962vw, 2.6rem);
    font-weight: 500;
  }
  .workSection {
    max-width: 90%;
  }
}

/* Styling for options box hover */

.optionsSwipe {
  height: 100%;
  width: 100%;
  position: fixed;
  margin-left: -2rem;
  margin-top: -1rem;
  z-index: 1;
  display: flex;
  flex-direction: row;
}

.optionsSwipeLeft {
  position: fixed;
  height: 100%;
  width: 32%;
  z-index: 2;
  background-color: var(--yellow);
  margin-top: 8rem;
}

.optionsSwipeMiddle {
  position: fixed;
  height: 100%;
  width: 34%;
  z-index: 2;
  background-color: var(--yellow);
  margin-left: 32%;
  margin-top: 8rem;
}

.optionsSwipeRight {
  position: fixed;
  height: 100%;
  width: 34%;
  z-index: 2;
  background-color: var(--yellow);
  margin-left: 66%;
  margin-top: 8rem;
}
