:root {
  --darkCyan: #1ca6a6;
  --yellow: #ffd876;
  --pink: #ffd8cc;
  --red: #ec6060;
  --blue: #8bdfdd;
  --green: #8ed993;
  --orange: #f8ab41;
  --black: #332b29;

  --headline: "neulis-neue";
}

* {
  padding: 0;
  margin: 0;
}

html {
  font-size: 62.5%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  cursor: default;
}

body {
  background-color: white;
  margin: 0;
  padding: 0;
  font-family: var(--headline);
  color: var(--black);
}

p {
  font-size: 1.6rem;
  margin-bottom: 3.2rem;
  font-weight: 300;
  line-height: 3.8rem;
}

h2 {
  font-weight: 300;
  font-size: clamp(2.2rem, 1.867rem + 0.926vw, 3.2rem);
  line-height: clamp(3.2rem, 2.867rem + 0.926vw, 4.2rem);
}

a {
  text-decoration: none;
  color: var(--black);
}

/* SHOW AND HIDE FOR DESKTOP AND MOBILE */

@media (min-width: 1024px) {
  .mobile {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .desktop {
    display: none !important;
  }
}

.btn {
  padding: 1.2rem 2rem 1rem 2rem;
  background-color: var(--black);
  color: white;
  display: flex;
  flex-direction: row;
  align-items: center;
  float: right;
  font-size: 1.6rem;
  letter-spacing: 0.1rem;
  margin-top: 2rem;
  border: 2px solid var(--black);
}

.logo h2 {
  font-size: clamp(3.3rem, 2.4rem + 2.5vw, 6rem);
  color: white;
  -webkit-text-stroke: 1px var(--black);
  text-shadow: -2px 2px #2b2b2b;
  letter-spacing: 0.3rem;
  font-weight: 900;
}

.swipe {
  width: 66%;
  min-height: 100vh;
  position: absolute;
  z-index: 3;
}

.swiper {
  width: 100%;
  min-height: 100vh;
  position: absolute;
  left: -100%;
  border-right: 2px solid var(--black);
}

.swiperGreen {
  background-color: var(--green);
  z-index: 1;
}

.swiperPink {
  background-color: var(--pink);
  z-index: 3;
}

.swiperOrange {
  background-color: var(--orange);
  z-index: 4;
}

.swiperBlue {
  background-color: var(--blue);
  z-index: 2;
}

.swiperYellow {
  background-color: var(--yellow);
  z-index: 5;
}

.swiperWhite {
  background-color: white;
  z-index: 6;
}

.topbar {
  display: flex;
  flex-direction: row;
  position: fixed;
  min-width: calc(100vw - 4em);
  min-height: 8vh;
  z-index: 7;
  margin-left: 2em;
  margin-top: 2em;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  margin-bottom: 0;
}

.menuSection {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  border: 2px solid var(--black);
  background-color: white;
  opacity: 0;
}

.menu {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.menuItem {
  margin-right: 4rem;
  font-size: 1.8rem;
  line-height: 2.2rem;
  margin-bottom: 0;
  font-weight: 400;
  padding-right: 0rem;
}

.menu:first-child {
  margin-left: 4rem;
}

.contactSection {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--black);
  padding: 0 2rem;
}

.contactSection p {
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 2.2rem;
  margin-bottom: 0;
}

.contactSection a {
  color: white;
}

.section1 {
  width: 100%;
  min-height: 100vh;
  background-color: var(--green);
  position: relative;
  z-index: 1;
  opacity: 0;
}

.section1 .width2-3 {
  background-color: var(--green);
  width: 66%;
  min-height: 100vh;
}

.introSection {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 8;
}

.introContent {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 70vh;
  max-width: 66%;
}

.line {
  display: flex;
  flex-direction: row;
  align-items: center;
  opacity: 0;
  scale: 0.8;
}

.profile-pic {
  max-width: 160px;
  margin-left: 2rem;
  scale: 0;
  opacity: 0;
}

.bold {
  font-weight: 900;
}

.semiBold {
  font-weight: 500;
}

.underline {
  text-decoration: underline;
  text-decoration-color: var(--black);
  text-decoration-thickness: 4px;
  text-underline-offset: 4px;
}

.workWrite {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  padding-top: 1rem;
}

.arrowLeft {
  max-width: 18px;
  margin-right: 2rem;
  margin-bottom: 0;
  transform: rotate(90deg);
}

.arrowRight {
  max-width: 18px;
  margin-left: 2rem;
  margin-bottom: 2px;
}

.button {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 1rem 3rem;
  background-color: var(--yellow);
  border: 2px solid var(--black);
  box-shadow: -4px 4px var(--black);
}

.button p {
  font-size: 2rem;
  letter-spacing: 0.1rem;
}

.button:hover {
  background-color: var(--orange);
}

.slider {
  background-color: white;
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  min-height: 18vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 200%;
}

.sliderContent {
  position: relative;
  width: 200%;
  margin-left: -50%;
  text-align: center;
  display: inline-block;
  padding: 6rem 0;
}

.sliderContent .arrowRight {
  max-width: 25px;
  margin: 0 5rem;
  margin-bottom: -4px;
}

.sliderContent h2 {
  font-size: 5rem;
  font-weight: 300;
  display: inline-block;
}

.section2 {
  min-height: calc(113vh + 4px);
  background-color: white;
}

.show {
  display: none;
}

.widthFull {
  width: 100%;
  min-height: calc(100vh - 4px);
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding-top: 10rem;
  padding-bottom: 10rem;
}

.widthHalf {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: 50%;
  justify-content: center;
}

.widthHalfLeft {
  align-items: flex-end;
  margin-right: 4rem;
}

.widthHalfRight {
  align-items: flex-start;
  margin-left: 4rem;
}

.workWithMe,
.writeWithMe {
  border: 2px solid var(--black);
  padding: 4rem;
  max-width: 80%;

  box-shadow: -8px 8px var(--black);
}

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

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

.wwTitle {
  margin-bottom: 4rem;
}

.wwTitle h2 {
  font-size: 4rem;
  font-weight: 300;
}

.wwImageContainer {
  max-width: 100%;

  overflow: hidden;
  position: relative;
}

.wwImageContainer::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.wwImageContainerOuter {
  border: 2px solid var(--black);
  object-fit: cover;
}

.wwImage {
  transition: 0.5s ease all;
  width: 100%;
  margin-bottom: -10px;
}

.wwImageContainer:hover .wwImage {
  transform: scale(1.05);
}

.wwContent {
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.wwContent p {
  font-weight: 300;
  font-size: 2rem;
  line-height: 2.6rem;
}

.section3 {
  min-height: 98vh;
}
.bookSection {
  width: 100%;
  border-top: 2px solid var(--black);
}

.widthSixty {
  width: 60%;
}

.widthForty {
  min-width: 40%;
  border-left: 2px solid var(--black);
}

.bookSection.widthFull {
  padding: 0;
}

.bookBlurb {
  padding: 4rem;
  margin: 0 auto;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
}

.bookBlurb h2 {
  font-size: 5rem;
  font-weight: 300;
}

.bookBlurb p {
  font-size: 2rem;
  line-height: 2.6rem;
}

.bookImageContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: white;
}

.bookCover {
  max-width: 260px;
  transform: rotate(5deg);
  opacity: 0.8;
  box-shadow: -6px 6px var(--black);
  border: 2px solid var(--black);
  opacity: 0;
  scale: 0.6;
}

h3 {
  font-size: 3rem;
  font-weight: 600;
  margin-top: 3rem;
}

h4 {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

#buyBook {
  float: left;
}

.footer {
  width: 100%;
  background-color: var(--blue);
  border-top: 2px solid var(--black);
}

.footerContent {
  width: 100%;
  display: flex;
  flex-direction: row;
  background-color: var(--blue);
}

.footerSection {
  display: flex;
  flex-direction: column;
  width: 25%;
  min-width: 25%;
  padding: 4rem 0;
  justify-content: center;
  background-color: var(--blue);
}

.footer h2 {
  font-size: 6rem;
  color: white;
  -webkit-text-stroke: 1px var(--black);
  text-shadow: -2px 2px var(--black);
  letter-spacing: 0.3rem;
  font-weight: 900;
  line-height: 6.8rem;
}

.footerLogo {
  text-align: center;
  background-color: var(--blue);
  padding-top: 5rem;
}

.footerMenu .menuItem,
.footerSocial .menuItem {
  margin: 1rem 0;
}

.footerAbout .menuItem {
  margin: 0.5rem 0;
}

.menuItems {
  margin: 0 auto;
}

/* Homepage Video */

.videoThird {
  width: 34%;
  min-height: 100vh;
  position: absolute;
  z-index: 16;
  margin-left: 66%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--green);
}

.videoHolder {
  width: 100%;
  margin: 0 auto;
  height: 100%;
  max-height: 100vh;
  max-width: 100%;
  position: absolute;
  opacity: 0;
}

.section1 video {
  position: absolute;
  top: 0;
  left: 0;
  max-width: 100%;
  max-height: 100vh;
  z-index: 4;
}

.videoThird .videoControls {
  position: absolute;
  z-index: 5;
  width: inherit;
  justify-content: flex-start;
  bottom: 2rem;
  right: 2rem;
  max-width: 6rem;
  max-height: 6rem;
  padding: 0;
  align-items: center;
  opacity: 0;
}

.videoThird .videoIcon {
  width: 4rem;
  padding: 1rem;
}

/*  MOBILE & TABLET (PORTRAIT) */

@media screen and (max-width: 1023px) {
  .logo {
    width: 100%;
    text-align: left;
    z-index: 9;
    margin-bottom: 0;
  }
  .swiper {
    border-right: none;
  }
  .swipe {
    width: 100%;
  }
  .section1 .width2-3 {
    width: 100%;
  }
  .section1 {
    border-bottom: 2px solid var(--black);
    display: flex;
    flex-direction: column;
    background-color: var(--yellow);
  }
  .section2 {
    max-width: 800px;
    margin: 0 auto;
  }
  .width1-3 {
    display: none;
  }
  .introContent {
    max-width: 560px;
    padding: 2rem;
    margin: 0 auto;
  }
  h2 {
    font-size: 2.2rem;
    line-height: 3.2rem;
    font-weight: 400;
  }
  .profile-pic {
    max-width: 120px;
  }
  .slider {
    display: none;
  }
  .widthFull {
    flex-wrap: wrap;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .widthHalf {
    width: 100%;
    margin: 0 2rem;
    padding-bottom: 4rem;
  }
  .widthHalfLeft {
    margin-right: 2rem;
  }
  .wwTitle h2 {
    font-size: clamp(3.2rem, 2.492rem + 1.966vw, 4rem);
  }
  .workWithMe,
  .writeWithMe {
    max-width: 100%;
    padding: 2rem;
  }
  .wwTitle {
    text-align: center;
    margin-top: 2rem;
  }
  .wwContent p {
    font-size: 1.8rem;
    line-height: 2.4rem;
  }
  .buttonSection {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }
  .buttonSection .btn {
    margin-top: 0;
    margin-bottom: 2rem;
  }
  .btn {
    float: none;
  }
  .widthSixty {
    width: 100%;
  }
  .bookBlurb h2 {
    font-size: 4rem;
  }
  h3 {
    font-size: 2.6rem;
    text-align: center;
  }
  .bookBlurb {
    align-items: center;
    padding: 6rem 2rem;
  }
  .bookBlurb p {
    font-size: 1.8rem;
  }
  .bookImageContainer.mobile {
    max-width: 100%;
    background-color: white !important;
    border: none;
    margin-top: 4rem;
    margin-bottom: 4rem;
  }
  .bookCover {
    max-width: 60%;
  }
  .footerContent {
    flex-direction: column;
    padding: 6rem 0;
  }
  .footerSection {
    width: 100%;
    padding: 2rem 0;
    text-align: center;
  }
  .footer h2 {
    font-size: 4rem;
    line-height: 4.8rem;
  }
  .menuItem {
    padding-right: 0;
  }
  .menuSection {
    display: none;
  }
  .videoThird {
    width: calc(100% - 4rem);
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 6rem;
    position: relative;
    order: 2;
    min-height: 0;
    background-color: var(--yellow);
  }
  #beachVideo {
    position: relative;
  }
  .section1 video {
    border: 2px solid var(--black);
    box-shadow: -6px 6px var(--black);
  }
  .videoHolder {
    max-width: 420px;
    position: relative;
  }
  .videoThird .videoIcon {
    max-width: 4rem;
    padding: 1rem;
  }

  .videoThird .videoControls {
    max-width: 6rem;
    max-height: 6rem;
    right: clamp(-1rem, -15.118rem + 39.216vw, 25rem);
    bottom: -1rem;
  }
}

/*  END OF MOBILE & TABLET */

@media screen and (max-width: 1024px) {
  .mobileMenu {
    width: 100%;
    min-height: 100vh;
    position: fixed;
    z-index: 6;
    display: none;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
  }

  .mobileMenuContent {
    width: 100%;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    z-index: 9;
  }
  .mobileMenuItems {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 0;
    opacity: 0;
    position: relative;
    top: 50px;
    scale: 0.8;
  }
  .mobileMenuItems a {
    font-weight: 400;
    margin-bottom: 2rem;
    font-size: 2.2rem;
  }

  .mobileContact {
    display: flex;
    position: relative;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    opacity: 0;
    scale: 0.5;
  }

  .mobileContact .btn {
    margin-top: 0;
  }

  .mobileSocial img {
    max-width: 38px;
    margin: 0 1rem;
  }

  .mobileSocialSection {
    text-align: center;
    opacity: 0;
    position: relative;
    top: 50px;
    scale: 0.8;
  }

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

  .mobileMenu p {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  .arrowRight {
    max-width: clamp(1.2rem, 0.875rem + 0.904vw, 1.8rem);
  }
  .btn {
    padding: 1rem 1.6rem 0.8rem 1.6rem;
    font-size: clamp(1.6rem, 1.492rem + 0.301vw, 1.8rem);
  }
}

.hidden {
  display: none;
}

.mobileButtonIcon {
  width: 40px;
  margin-top: -4px;
}

.mobileButton {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobileMenuSwipe {
  background-color: white;
  position: fixed;
  height: 100vh;
  min-width: 100vw;
  z-index: 9;
  left: 100vw;
  border-left: 2px solid var(--black);
}

.cross {
  opacity: 0;
  scale: 0;
  transform: rotate(-90deg);
}

.noScroll {
  max-height: 100vh;
  overflow: hidden;
}

/* LAPTOP UPWARDS */

@media screen and (min-width: 1023px) and (max-width: 1439px) {
  .logo h2 {
    font-size: 4rem;
    font-size: clamp(4rem, -0.923rem + 4.808vw, 6rem);
    margin-top: 0;
    margin-top: clamp(-1.2rem, -4.154rem + 2.885vw, 0rem);
  }
  .logo {
    margin-bottom: 0rem;
  }
  .menuItem {
    margin-right: 2rem;
    margin-right: clamp(2rem, -2.923rem + 4.808vw, 4rem);
    font-size: 1.7rem;
    font-size: clamp(1.6rem, 1.108rem + 0.481vw, 1.8rem);
  }
  .menu:first-child {
    margin-left: 2rem;
    margin-left: clamp(2rem, -2.923rem + 4.808vw, 4rem);
  }
  .contactSection p {
    font-size: 1.6rem;
    font-size: clamp(1.6rem, 1.108rem + 0.481vw, 1.8rem);
  }
  h2 {
    font-size: 2.6rem;
    font-size: clamp(2.4rem, 0.431rem + 1.923vw, 3.2rem);
    line-height: 3.2rem;
    line-height: clamp(3rem, 0.046rem + 2.885vw, 4.2rem);
  }
  .profile-pic {
    max-width: 140px;
  }
  .slider {
    min-height: 12vh;
  }
  .sliderContent h2 {
    font-size: 4rem;
  }
  .sliderContent {
    padding: 3rem 0;
  }
  .wwContent p {
    font-size: 1.8rem;
    line-height: 2.4rem;
  }
  .widthHalfLeft,
  .widthHalfRight {
    margin-left: 2rem;
    margin-right: 2rem;
  }
  .bookBlurb {
    padding: 6rem 4rem;
  }
  .bookBlurb p {
    font-size: 2rem;
    font-size: clamp(1.8rem, 1.308rem + 0.481vw, 2rem);
    line-height: 2.6rem;
    line-height: clamp(2.4rem, 1.908rem + 0.481vw, 2.6rem);
  }
  h3 {
    font-size: 3rem;
    font-size: clamp(2.6rem, 1.615rem + 0.962vw, 3rem);
    line-height: 3.6rem;
    line-height: clamp(3.2rem, 2.215rem + 0.962vw, 3.6rem);
  }
  h4 {
    margin-top: 3rem;
    margin-bottom: 3rem;
  }
  .footer h2 {
    font-size: 5rem;
    font-size: clamp(5rem, 2.538rem + 2.404vw, 6rem);
    line-height: 5.4rem;
    line-height: clamp(5.4rem, 2.938rem + 2.404vw, 6.4rem);
  }
}

/* Button background when pressed */

.optionsBox {
  position: relative;
  z-index: 4;
  background-color: white;
}

.optionsBox h2 {
  z-index: 5;
  position: relative;
}

.buttonBg {
  width: 100%;
  height: 100%;
  position: fixed;
  margin-top: -1rem;
  margin-left: -2rem;
  outline: 2px solid var(--black);
}

.buttonBg1 {
  z-index: 3;
  background-color: var(--yellow);
}

.buttonBg2 {
  z-index: 2;
  background-color: var(--orange);
}

.buttonBg3 {
  z-index: 1;
  background-color: var(--pink);
}

.buttonBg0 {
  z-index: 4;
  background-color: white;
}

/* Menu links when hovered over  */

#style-2 {
  position: relative;
  transition: color 0.3s ease-in-out;
}

#style-2::before {
  content: "";
  position: absolute;
  top: 100%;
  width: 100%;
  height: 3px;
  background-color: var(--blue);
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

#style-2:hover {
  font-weight: 500;
}

#style-2:hover::before {
  transform: scaleX(1);
}

#style-3 {
  position: relative;
  transition: color 0.3s ease-in-out;
}

#style-3::before {
  content: "";
  position: absolute;
  top: 100%;
  width: 100%;
  height: 3px;
  background-color: white;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

#style-3:hover {
  font-weight: 500;
}

#style-3:hover::before {
  transform: scaleX(1);
}
