/* 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: 1;
}

.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;
}

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

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

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

.workSection .btn {
  float: left;
}

.workSectionCreative {
  width: 100%;
}

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

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

.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: 2rem;
  }
}

@media screen and (max-width: 1024px) {
  .workSectionContent {
    max-width: 100%;
    padding: 0;
  }
  .workSection {
    flex-direction: column;
    flex-wrap: wrap;
    max-width: calc(100% - 4px);
    padding: 1rem;
    text-align: center;
    margin: 6rem 1rem;
  }
  .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;
  }
  .workSectionCreative {
    max-width: none;
  }
  iframe {
    margin-bottom: 3.2rem;
    max-width: 310px;
  }
  .workSectionVideo iframe {
    border: 2px solid var(--black);
    box-shadow: -4px 4px var(--black);
  }
  .workSectionOuter {
    max-width: 920px;
    margin: 0 auto;
  }
  .buttonBg {
    display: none;
  }
}

@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,
  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);
  }
  .workSection {
    max-width: 90%;
  }
  iframe {
    width: 420px;
    width: clamp(42rem, 27.231rem + 14.423vw, 48rem);
    height: 275.625px;
    height: clamp(27.563rem, 17.87rem + 9.465vw, 31.5rem);
  }
}
