html {
  scroll-behavior: smooth;
  scroll-padding-top: 700px;
}

#announcementStripe {
  width: 100%;
  height: 50px;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "HK-reg", sans-serif;
  font-size: 24px;
  color: #fff;
}

#announcementStripe a {
  color: #fff !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#announcementStripe a:hover {
  text-decoration: underline;
}
.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Don't delete this */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "HK-reg", serif;
}

body {
  background-color: white;
  font-size: var(--genFontSize);
}

html,
body {
  margin: 0;
  padding: 0;
  height: auto;
}

address {
  all: initial;
}

.desktopElem {
  display: block;
}

.mobileElem {
  display: none;
}

button {
  /* all: unset; */
  display: inline-block;
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: inherit;
  background: none;
  background-color: inherit;
}

.langHolder button,
.mobileLangHolder button {
  color: black;
}

button:focus {
  outline: 2px solid #fff;
  outline-offset: -2px;
  box-shadow: 0 0 0 3px red;
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: normal;
}

.h1 {
  font-family: "Garamond-reg", sans-serif;
  font-size: clamp(var(--bigFontMob), 5vw, var(--bigFont));
  font-weight: normal;
  margin-bottom: 2rem;
  line-height: 1em;
}

.h2 {
  font-family: "HK-semibold", sans-serif;
  font-size: 32px;
  font-weight: normal;
  margin-bottom: 1rem;
}

.h3,
.module_headline h2 {
  font-family: "HK-semibold", sans-serif;
  font-size: var(--h3FontSize);
  font-weight: normal;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.h4 {
  font-family: "Garamond-reg", sans-serif;
  font-size: var(--h4FontSize);
  font-weight: normal;
  margin-bottom: 2rem;
  margin-top: 14px;
}

a {
  color: black !important;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

li {
  list-style: none;
}

.basicButton {
  border-radius: 30px;
  background-color: black;
  color: white;
  padding: 4px 30px;
  width: fit-content;
  font-family: "Garamond-italic", sans-serif;
  font-size: 20px;
}

.basicButtonInner {
  border-radius: 30px;
  width: fit-content;
  font-family: "Garamond-italic", sans-serif;
  font-size: 20px;
}

#container {
  /* background-color: lightgrey; */
  min-height: calc(100vh - var(--headerHeight) - var(--footerHeight));
}

.genPadding {
  padding: var(--genPadding);
}

.smallContainerWidth {
  /* border: 1px solid black; */
  background: white;
  width: 100%;
  max-width: var(--detWidth);
  margin: auto;
  margin-bottom: 100px;
  min-height: var(--minBodyHeight);
}

.largeContainerWidth {
  /* border: 1px solid black; */
  background: white;
  width: 100%;
  /* max-width: var(--catWidth); */
  margin: auto;
  margin-bottom: 100px;
  min-height: var(--minBodyHeight);
}

/* PROJECTS */

.allFilters {
  margin-bottom: 50px;
}

.projectTags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.projectFilterButton {
  cursor: pointer;
  white-space: nowrap;
}

.projectTags.filtering .projectFilterButton {
  /* opacity: 0.6; */
  background-color: #cccccc;
}

.projectTags.filtering .projectFilterButton.active,
.unfilterButton {
  /* opacity: 1 !important; */
  background-color: black;
}

/* .projectFilterButton {
  display: inline;
} */

.projectContainer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 10px;

  max-height: 60vw;
  overflow: hidden;
  transition: all 400ms ease;
}

.noResults {
  display: none;
}

.projectContainer.opened {
  max-height: 20000px;
}

.projectLoadMore {
  margin-bottom: 100px;
  margin-top: 50px;
  text-align: center;
  cursor: pointer;
  z-index: 1;
}

.loadMoreTrigger {
  margin: auto;
  width: fit-content;
  cursor: pointer;
  font-family: "Garamond-reg", sans-serif;
}

.outerProjElem {
  transition: all 300ms ease;
}

/* .outerProjElem:hover {
  box-shadow: 5px 10px 0 rgba(0, 0, 0, .8);
  transform: translate(-5px, -5px);
  transition: all 300ms ease;
} */

/* .outerProjElem:nth-child(2n+1) {
  background-color: var(--colorViolet);
}

.outerProjElem:nth-child(2n) {
  background-color: var(--colorBeige);
} */

.pImage {
  padding-bottom: 0;
  aspect-ratio: 1/1;
}

.pImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pName {
  display: flex;
  gap: 10px;

  padding: 10px 0;
  min-height: 80px;
  word-wrap: break-word;
}

.pName .linkArrow {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
}

/* SERVICES */

.servicesContainer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 10px;
  margin-bottom: 100px;
}

.serviceElem {
  margin-bottom: 50px;
}

.h1.serviceName {
  margin-bottom: 0.5em;
}

.h3.subserviceName {
  margin-bottom: 0;
}

.youwannabook {
  font-family: "Garamond-reg", sans-serif;
  font-size: clamp(var(--bigFontMob), 5vw, var(--bigFont));
  text-align: center;
  margin-bottom: 100px;
}

.microServiceBlock {
  margin-bottom: 30px;
}

/* TEAM */

#officeTeam {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: lightgray;

  display: flex;
  justify-content: center;
  align-items: center;
}

.officeHolder {
  margin-bottom: 100px;
}

.teamContainer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 20px;
}

.outerTeamElem {
}

.colleagueElem {
  padding: 10px;
}

.colleagueName {
  margin-bottom: 5px;
}

.colleagueImage {
  display: block;
  border-radius: 5px;
  aspect-ratio: 16/22;
  margin-bottom: 10px;
}

.colleagueImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.colleagueJobtitle {
  margin-bottom: 10px;
}

.poem {
  position: relative;
  font-size: clamp(var(--bigFontMob), 5vw, var(--bigFont));
  margin-bottom: 100px;
  font-family: "Garamond-reg", sans-serif;
}

.poemSpan {
  position: relative;
  font-weight: normal;
  font-family: "Garamond-reg", sans-serif;
  /* cursor: pointer; */
  text-decoration: underline;
}

/* .poemSpan::after {
  position: absolute;
  content: '';
  bottom: 0.15em;
  left: 0;
  width: 100%;

  border-bottom: 3px solid black;

} */

.poemNote {
  position: absolute;
  display: none;
  /* width: 50vh; */
  /* max-width: 500px; */
  padding: 30px;
  /* height: 300px; */
  background-color: green;
  font-size: 20px;
  z-index: 1;
}

.poemSpan .poemNote {
  position: fixed;
  /* top: 30vh; */
  /* left: 100vw; */
  display: block;
}

.poemTitle {
  width: fit-content;

  position: relative;
  font-size: 64px;
  margin: 0 auto 20px;
  text-align: center;
  font-family: "Garamond-reg", sans-serif;
  font-weight: 300;
  line-height: 1em;
  text-decoration: underline;
}

.poemDesc {
  font-family: "Garamond-reg", sans-serif;
  white-space: nowrap;
}

/* .poemTitle::after {
  position: absolute;
  content: '';
  bottom: 0.15em;
  left: 0;
  width: 100%;
} */

/* .poemHover {
  position: relative;
  font-family: serif;
  text-decoration: underline;
  cursor: pointer;
}

.poemHover.note {
  display: none;
}

.poemHover.note.noteVisible {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  background-color: white;
  border: 1px solid black;
  z-index: 1;
} */

/* featured slick slider */

.featuredSection {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 20px;

  margin-bottom: 100px;
}

.featElem {
  position: relative;
  width: 100%;
  /* aspect-ratio: 4/3; */
}

a:hover .featElem .featTitle {
  text-decoration: none;
}

.featImage,
.featVideo {
  aspect-ratio: 4/3;
}

.featImage img,
.featVideo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featVideo video {
  display: block;
}

.cornerPlay.featured {
  position: absolute;
  bottom: 0px;
  right: 0px;
  font-size: 14px;
  font-family: "HK-semibold", sans-serif;
  padding: 4px 10px;
  background-color: white;
  z-index: 1;
}

.featTags {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.featTags .basicButton,
.projectTags .basicButton,
.serviceElems .basicButton {
  padding-bottom: 8px;
}

.featTag {
  /* border-radius: 30px;
  background-color: black;
  color: white;
  padding: 6px 30px; */
}

.jobsSectionHeader {
  margin-top: 80px;
}

.updatesSection {
  border-top: 1px solid black;
  margin-bottom: 100px;
}

.jobsSection {
  border-top: none;
}

.updateElem {
  display: flex;
  padding-right: 20px;
  gap: 20px;
  font-family: serif;
  font-size: 48px;
  padding: 10px 0;
  border-bottom: 1px solid black;
  align-items: flex-end;
}

.jobsSectionElem {
  border-bottom: none;
}

.linkArrow {
  flex: 0 0 20px;
}

.updateName {
  font-family: "Garamond-reg", sans-serif;
  font-size: clamp(var(--bigFontMob), 5vw, var(--bigFont));
  /* flex: 1 0 300px; */
}

.packageContainer {
  margin-bottom: 100px;
  border-top: 1px solid black;
}

.packageElem {
  display: flex;
  gap: 30px;
  padding: 20px;
  border-bottom: 1px solid black;

  transition: all 200ms ease;
  cursor: pointer;
}

.packageElem span {
  color: black !important;
}

.leftPackage {
  font-size: 48px;
  font-family: "Garamond-reg", sans-serif;
  flex: 0 0 300px;
}

.rightPackage {
  flex: 1 0 400px;
}

.packageButton {
  border-radius: 30px;
}

.packageForm {
  margin-top: 50px;
  margin-bottom: 20px;
}

.packageForm input {
  border: none;
  border-bottom: 1px solid black;
  width: 100%;
  margin-bottom: 20px;
  font-size: 18px;
  padding: 5px;
  background-color: transparent;
}

.packageForm input::placeholder {
  color: black;
}

.form-error {
  font-size: 18px;
  color: red;
}

.border-red {
  border: 1px solid red !important;
}

.packageContent {
  height: auto;

  margin-bottom: 20px;
}

.packageTeaser {
  margin-bottom: 50px;
}

.packageText {
  display: none;
  overflow: hidden;

  max-height: 0px;
  transition: all 300ms ease;
}

.packageElem.opened .packageText {
  display: block;
  max-height: 3000px;
}

.form_response {
  margin-bottom: 10px;
  font-size: 20px;
}

.serviceElems {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.seeServicesElem {
  display: flex;
  gap: 20px;
  font-family: "Garamond-reg", sans-serif;
  font-size: clamp(var(--bigFontMob), 5vw, var(--bigFont));
}

/* memory game */

.memoryGame {
  width: 100%;
  margin-bottom: 100px;
}

.memoryBoard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  /* 4 cols x 3 rows of square cards is ~0.75x as tall as wide; cap the width
     so the board fits the viewport height instead of overflowing vertically. */
  max-width: min(100%, 90vh);
  max-width: min(100%, 90svh);
  margin: 0 auto;
}

.memoryCard {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.memoryCard.is-matched {
  cursor: default;
}

.memoryCardInner {
  position: absolute;
  inset: 0;
  transition: transform 400ms ease;
  transform-style: preserve-3d;
}

.memoryCard.is-flipped .memoryCardInner,
.memoryCard.is-matched .memoryCardInner {
  transform: rotateY(180deg);
}

.memoryCardFace {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.memoryCardBack {
  background-color: #000;
}

.memoryCardBack img {
  width: 55%;
  height: auto;
  /* render the treat logo white on the black card back */
  filter: brightness(0) invert(1);
}

.memoryCardFront {
  transform: rotateY(180deg);
  background-color: #f5f5f5;
}

.memoryCardFront img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.memoryCard:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

@media screen and (max-width: 768px) {
  .memoryBoard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: min(100%, 60vh);
    max-width: min(100%, 60svh);
    margin: 0 auto;
  }
}

canvas {
  width: 100%;
  aspect-ratio: 16/9;
  /* background-color: lightgray; */
}

/* newsletter */

.marqueeNL {
  white-space: nowrap;
  overflow: hidden;
}

.marqueeElem {
  gap: 0 !important;
}

.marqueeNL .marqueeName {
  width: fit-content;
  flex: unset;
  padding-right: 20px;
  animation-name: marquee;
  animation-duration: 6s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes marquee {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100%, 0);
  }
}

.submitForm {
  position: relative;
  border-bottom: 1px solid black;
}

.nlAnswer {
  position: absolute;
  top: 100%;
  padding-top: 10px;
}

.newsletterSection {
  margin-bottom: 100px;
}

.marqueeNL {
  cursor: pointer;
}

.subscribeFlex {
  display: flex;
  align-items: center;
  gap: 20px;
}

.submitForm {
  display: none;
  padding: 10px 0;
}

.subscribeFlex .labelInput {
  flex: 1 0 200px;
}

#subscribeInput::placeholder {
  color: black;
  font-family: "Garamond-reg", sans-serif;
}

#subscribeInput:focus::placeholder {
  color: transparent;
}

.subscribeFlex input {
  width: 100%;
  border: none;
  font-size: clamp(var(--bigFontMob), 5vw, var(--bigFont));
}

.subscribeFlex button {
  flex: 0 0 50px;
}

.subscribeButton2 {
  width: fit-content;
  height: fit-content;
  font-family: "Garamond-reg", sans-serif;
}
