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

body {
  width: 100%;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
}

h1 {
  font-size: 32px;
  font-family: "Space Grotesk";
	font-weight: 700;
	font-style: normal;
  line-height: 150%;
}

h2 {
	font-size: 18px;
  font-family: "Space Grotesk";
	font-weight: 700;
	font-style: normal;
  line-height: 150%;
}

h3 {
	font-size: 24px;
  font-family: "Space Grotesk";
	font-weight: 700;
	font-style: normal;
  line-height: 150%;
}

h4 {
  font-size: 16px;
  font-family: "Space Mono";
  font-weight: normal;
	font-style: normal;
  line-height: 150%;
}

p {
	font-size: 14px;
  font-family: "Space Mono";
}

a {
  color: black;
}

.white-text {
	color: white;
}

.primary-button {
  color: inherit;
  position: relative;
	padding: 7px 14px;
  border: 1px solid black;
  border-radius: 4px;
  font-family: "Space Mono";
  font-size: 14px;
	font-weight: 700;
	font-style: normal;
  background-color: white;
  z-index: 2;
  text-decoration: none;
  text-align: center;
}

.primary-button:hover {
	background-color: #eee;
}

.button-container {
  position: relative;
	display: flex;
  flex-direction: column;
  width: fit-content;
}

.dark-button {
  color: white;
	position: relative;
	padding: 7px 14px;
  border: 1px solid white;
  border-radius: 4px;
  font-family: "Space Mono";
  font-size: 14px;
	font-weight: 700;
	font-style: normal;
  background-color: black;
  z-index: 2;
  text-decoration: none;
  text-align: center;
}

.dark-button:hover {
	background-color: #1a1a1a;
}

.dark-button-container {
	position: relative;
  display: flex;
  flex-direction: column;
  width: fit-content;
}

.dark-button-shadow {
  height: 6px;
  position: absolute;
  bottom: -4px;
  z-index: 1;
}

/** Sticky Header & Nav Dropdown **/

.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: url("../images/header-bg.png") repeat center center;
    background-size: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 15px 20px;
}

.nav-back {
  position: absolute;
  top: 19px;
  left: 30px;
}

.nav-dropdown {
  position: absolute;
  width: 190px;
  top: 7px;
  right: 70px;
}

.dropdown-select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    font-size: 16px;
    border: 1px solid #000000;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
}

.dropdown-toggle {
    width: 100%;
    padding: 12px 16px 12px 16px;
    font-size: 16px;
    border: 1px solid #000000;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    color: #333;
    gap: 16px;
}

.dropdown-toggle:hover {
    border-color: #007bff;
    background: #f8f9fa;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    color: #000000;
    font-size: 12px;
    width: 10px;
    height: 5px;
}

.dropdown-toggle.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #000000;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-height: 300px;
    overflow-y: auto;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-option {
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
    border-bottom: 1px solid #000000;
}

.dropdown-option:last-child {
    border-bottom: none;
}

.dropdown-option:hover {
  background-image: url("../images/DD-bg.png");
}

.dropdown-nav-text {
  font-size: 14px;
  font-family: "Space Mono";
  margin: 0;
}

.dropdown-option-text {
  font-size: 14px;
  font-family: "Space Mono";
}

.dropdown-backdrop {
  display: none;
}

.dropdown-backdrop.active {
  display: block;
}

.section-border {
  border-bottom: 2px solid black;
}

.second-paragraph {
  margin-top: 0;
}

/** Page-specific CSS **/

.relative {
  position: relative;
}

.hero-container {
  display: block;
}

.hero-button {
  position: absolute;
  top: 60px;
  left: 30px;
}

.hero {
  display: flex;
  height: 80vh;
  align-items: center;
  justify-content: flex-start;
  padding: 0 20px;
}

.hero-content {
  position: relative;
  display: flex;
	width: 100%;
  height: 320px;
  gap: 60px;
  justify-content: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
}

.hero-copy-buttons {
  width: 450px;
	display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-card {
  border: 1px solid black;
  border-radius: 6px;
  padding: 0 14px;
  background-color: #ffffff;
  position: relative;
  z-index: 2;
}

.hello {
	width: 22px;
}

.home-header-buttons {
  position: relative;
	display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 auto;
  width: 100%;
}

.work {
	display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  background-color: black;
  gap: 60px;
  margin: 0 auto;
  padding: 80px 0;
}

.work-section {
	display: flex;
  gap: 36px;
  margin: auto;
}

.work-image {
	width: 361px;
}

.work-text-container {
	display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.title-container {
  width: fit-content;
  position: relative;
}

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

.work-icon {
  width: 18px;
  height: 18px;
  padding-right: 12px;
}

.work-title {
  position: relative;
  background-color: white;
	padding: 7px 14px;
  border-radius: 4px;
  z-index: 2;
  margin: 0px;
  width: fit-content;
}

.work-shadow {
  height: 6px;
  position: absolute;
  bottom: 2px;
  z-index: 1;
}

.work-middle {
  width: 340px;
}

.uline-shadow {
  height: 6px;
  position: absolute;
  bottom: 2px;
  z-index: 1;
}

.footer-bg {
	background-color: black;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 60px 30px 30px 30px;
  gap: 50px;
}

.footer-section {
	display: flex;
  flex-direction: column;
  margin: auto;
  justify-content: center;
  align-content: center;
  gap: 50px;
}

.card-btn-container {
	display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.footer-card {
  position: relative;
	display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.card-text {
  font-size: 16px;
  position: relative;
  background-color: white;
  border-radius: 6px;
  width: 483px;
  z-index: 2;
  margin: 0px;
  padding: 16px;
}

.cat-image {
	width: 80px;
  margin: auto;
  display: flex;
}

.thanks-text {
  font-size: 16px;
	font-family: "Space Mono";
	font-weight: 400;
	font-style: normal;
  color: white;
  margin-bottom: 50px;
  text-align: center;
}

.footer-shadow {
  height: 9px;
  position: absolute;
  bottom: -4px;
  z-index: 1;
}

/* CASE STUDY */

.CS-hero-section {
  position: relative;
  margin: 0 auto;
  top: -30px;
}

.work-hero {
  width: 100%;
  margin-bottom: -60px;
  justify-content: center;
  align-items: center;
  object-fit: cover;
}

.CS-hero-card {
  width: 450px;
  border: 1px solid black;
  border-radius: 6px;
  padding: 0 14px;
  background-color: #ffffff;
  position: relative;
  z-index: 2;
}

.CS-hero-card-drop {
  width: 480px;
  position: absolute;
  bottom: -4px;
  z-index: 1;
  align-items: center;
}

.brief-title {
  margin: 14px 0;
}

.brief-container {
  width: 100%;
}

.brief-text {
  margin: 0 auto;
  width: 640px;
  padding: 30px 0 100px 0;
  text-align: center;
}

.CS-section {
  width: 100%;
  background-color: white;
  position: relative;
  display: flex;
  flex-direction: column;
}

.CS-dark-section {
  width: 100%;
  background-color: black;
  position: relative;
}

.title {
  width: fit-content;
  position: relative;
  margin: 0 auto;
  top: -30px;
}

.CS-title-container {
  width: fit-content;
  position: relative;
  background-color: white;
  border: 2px solid black;
  border-radius: 6px;
  padding: 0 14px;
  white-space: nowrap;
  z-index: 2;
}

.CS-card-shadow {
  width: fit-content;
  position: relative;
  margin: 0 auto;
}

.home-title-container {
  width: fit-content;
  position: relative;
  background-color: white;
  border: 2px solid black;
  border-radius: 6px;
  padding: 0 14px;
  white-space: nowrap;
  z-index: 2;
}

.title-text {
  font-size: 20px;
  display: flex;
  margin: 11px 0;
}

.home-title-text {
  font-size: 20px;
  display: flex;
  margin: 11px 0;
}

.drop-shadow {
  background-image: url("../images/drop-shadow.webp");
  position: absolute;
  bottom: -4px;
  z-index: 1;
  background-size: cover;
  width: 100%;
  height: 6px;
  border-radius: 0 0 6px 6px;
}

.dark-drop-shadow {
  background-image: url("../images/dark-drop-shadow.webp");
  position: absolute;
  bottom: -4px;
  z-index: 1;
  background-size: cover;
  width: 100%;
  height: 6px;
  border-radius: 0 0 6px 6px;
}

.research-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  width: 100vw;
  max-width: 1000px;
  padding: 30px 0 60px 0;
  gap: 30px;
  margin: 0 auto;
}

.research {
  display: flex;
  flex-direction: column;
  width: 40vw;
  padding: 40px 60px;
}

.research-image-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100vw;
  max-width: 1000px;
  gap: 60px;
  padding-bottom: 60px;
  margin: 0 auto;
}

.uline-research {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 40vw;
}

.research-icon {
  width: 32px;
  height: 32px;
}

.research-title {
  color: white;
  margin: 0;
  padding-top: 14px;
  font-size: 16px;
}

.research-title-light {
  color: black;
  margin: 0;
  padding-top: 14px;
  font-size: 16px;
}

.research-bullets {
  color: white;
  margin: 0;
}

.research-bullets-light {
  color: black;
  margin: 0;
}

.research-text {
  color: white;
}

.wireframe-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  margin-bottom: 30px;
}

.wireframe-image {
  width: 60%;
  margin: 0 auto;
}

.wireframe-copy {
  display: flex;
  flex-direction: row;
}

.WF-card {
  width: 30%;
  margin: 40px auto 60px auto;
  max-width: 380px;
}

.WF-title {
  margin: 14px;
  font-size: 16px;
}

.WF-text {
  margin: 14px;
}

.Design-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  border-bottom: 2px solid black;
  padding-bottom: 60px;
}

.slideshow-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding-bottom: 60px;
}

.wrapper-full {
  width: 100vw;
}

.wrapper-half {
  width: 40vw;
}

.slideshow {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.slideshow-full {
  width: 80vw;
  height: 580px;
}

.slideshow-half {
  width: 30vw;
  height: 290px;
}

.slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  will-change: opacity;
  transition: opacity 0.3s ease-in-out;
}

.slideshow img.active {
  opacity: 1;
}

.prev, .next {
  background: none;
  border: none;
  cursor: pointer;
}

.prev img, .next img {
  width: 30px;
  height: 30px;
}

.final-image {
  width: 35vw;
  margin: auto 0;
}

.uline-image {
  width: 35vw;
  margin: auto 0;
}

.back-container {
  width: 100%;
  height: 114px;
  background: url("../images/back-bg.webp") repeat center center;
  background-size: auto;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.text-paragraph {
  margin: 14px 0;
  padding: 0;
  gap: 0;
}

@media screen and (max-width: 760px) {

  html {
      scroll-padding-top: 90px;
  }

  body {
    width: 100vw;
  }

  .nav-dropdown {
    display: none;
  }

  .nav-back {
    display: none;
  }

  .hero-copy-buttons {
    width: 80vw;
    max-width: 450px;
    min-width: 340px;
    gap: 32px;
  }

  .hero-content > .hero-image {
    display: none;
  }

  .work {
    padding: 40px 0;
  }

  .home-title-container {
    width: 80vw;
    padding: 0;
  }

  .home-title-text {
    justify-content: center;
  }

  .work-section {
    flex-direction: column;
    gap: 10px;
  }

  .work-image {
    width: 80vw;
    margin: 0 auto;
  }

  .work-middle {
    width: 80vw;
  }

  .work-button {
    width: 80vw;
    margin-top: 10px;
  }

  .card-text {
    width: 70vw;
    max-width: 483px;
    padding: 5vw;
  }

  .CS-hero-card {
    width: 70vw;
    margin: 0 auto;
  }

  .brief-text {
    width: 80vw;
    padding: 20px 0 70px 0;
  }

  .research-container {
    flex-direction: column;
    width: 100vw;
    padding: 0;
  }

  .research-image-container {
    flex-direction: column;
    width: 100vw;
    padding: 0;
    gap: 0;
  }

  .research {
    width: 80vw;
    padding: 0;
    margin: 0 auto;
  }

  .wireframe-image {
    width: 100%;
  }

  .wireframe-copy {
    flex-direction: column;
    padding-bottom: 30px;
    padding-top: 20px;
  }

  .WF-card {
    width: 80vw;
    margin: 0;
  }

  .prev, .next {
    display: none;
  }

  .slideshow-full {
    width: 100%;
  }

  .slideshow-wrapper {
    padding-bottom: 0;
  }

  .final-image {
    width: 100%;
  }

  .uline-image {
    width: 80vw;
    margin: 0 auto;
  }

  .upside {
    flex-direction: column-reverse;
  }

  .bottom-pad {
    padding-bottom: 60px;
  }

  .bottom-pad-half {
    padding-bottom: 30px;
  }

  .uline-research {
    width: 80vw;
    padding-bottom: 28px;
    margin: 0 auto;
  }

}
