@font-face {
    font-family: "Inter";
    src: url(fonts/Inter-Regular.ttf);
    font-weight: normal;
}

@font-face {
  font-family: "Inter";
  src: url(fonts/Inter-Medium.ttf);
  font-weight: medium;
}

@font-face {
  font-family: "Inter";
  src: url(fonts/Inter-Bold.ttf);
  font-weight: bold;
}

  @font-face {
    font-family: "Space Grotesk";
    src: url(fonts/SpaceGrotesk-Light.ttf);
    font-weight: light;
  }
  
  @font-face {
    font-family: "Space Grotesk";
    src: url(fonts/SpaceGrotesk-Regular.ttf);
    font-weight: normal;
  }

  @font-face {
    font-family: "Space Grotesk";
    src: url(fonts/SpaceGrotesk-Medium.ttf);
    font-weight: medium;
  }

  @font-face {
    font-family: "Space Grotesk";
    src: url(fonts/SpaceGrotesk-SemiBold.ttf);
    font-weight: semibold;
  }

  @font-face {
    font-family: "Space Grotesk";
    src: url(fonts/SpaceGrotesk-Bold.ttf);
    font-weight: bold;
  }

:root {
  --min-width: 640px;
  --med-width: 960px;
  --max-width: 1280px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 140%;
  scroll-behavior: smooth;
}

body {
  padding: 24px;
  font-family: "Inter";
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 140%;
}

header {
  width: 100%;
  max-width: 1280px;
  display: flex;
  justify-content: center;
  align-items: center;
  /*   border: 2px solid #dadada;
    padding: 24px;
    border-radius: 12px; */
}

.header-items-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.profile-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.profile-container > a {
  text-decoration: none;
}

.profile-container > a:first-child {
  color: black;
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 0.5px;
  font-size: clamp(1rem, 0.9565rem + 0.2174vi, 1.125rem);
}

.profile-name {
  font-weight: bold;
}

.profile-job {
  color: #7d7d7d;
}

nav {
  display: flex;
  background-color: #f3f3f3;
  border-radius: 12px;
  padding: 8px;
}

nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-decoration: none;
  list-style-type: none;
  gap: 8px;
}

nav ul li {
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav ul a {
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  color: #7d7d7d;
  padding: 8px 12px;
  text-align: center;
}

nav > ul > li:first-child {
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

main {
  width: 100%;
  max-width: 1280px;
  margin-block: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 16px;
  line-height: 160%;
}

main h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: var(--med-width);
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 24px;
  text-align: center;
  line-height: 140%;
  font-family: "Space Grotesk";
}

.tags-container {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
  gap: 8px;
}

.tag {
  font-size: clamp(0.6944rem, 0.6772rem + 0.0553vi, 0.72rem);
  font-weight: bold;
  border-radius: 24px;
  border: 2px solid #dcdcdc;
  padding: 4px 8px;
  color: #7d7d7d;
}

main img {
  width: 100%;
  max-width: var(--med-width);
  border-radius: 24px;
  aspect-ratio: 16/9;
}

.intro-text {
  margin-block: 12px 60px;
  width: 100%;
  max-width: var(--min-width);
}

.key-info-container {
  width: 100%;
  max-width: var(--min-width);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 42px;
  margin-bottom: 60px;
}

.key-info-container span {
  display: block;
}

.key-info-container span:first-child {
  font-size: 22px;
  font-weight: bold;
  color: orange;
  margin-bottom: 8px;
  font-family: "Space Grotesk";
}

.key-info-container span:nth-child(2) {
  font-size: 16px;
}

.key-info-item > ul > li {
  font-size: 16px;
  margin-left: 20px;
  list-style-type: square;
}

.overview-container {
  width: 100%;
  max-width: var(--med-width);
  padding: 36px 16px;
  background-color: #f3f3f3;
  border-radius: 24px;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.overview-container > span {
  display: block;
  width: 100%;
  max-width: var(--min-width);
  font-size: 18px;
  font-weight: bold;
  color: orange;
  margin-bottom: 12px;
  font-family: "Space Grotesk";
}

.overview-item {
  margin-block: 26px;
  width: 100%;
  max-width: var(--min-width);
}

.overview-item:first-of-type {
  margin-top: 0px;
}

.overview-item li {
  margin-left: 20px;
  list-style-type: square;
}

.overview-item h2 {
  margin-bottom: 8px;
}

.overview-item p {
  padding-inline: 0;
}

.research-container {
  margin-bottom: 36px;
  width: 100%;
  max-width: var(--min-width);
}

.research-container > span {
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: orange;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-family: "Space Grotesk";
}

.research-container > h2 {
  margin-bottom: 14px;
}

.research-container > p {
  margin-bottom: 24px;
}

.demo-button {
  text-decoration: none;
  color: #5c5c5c;
  padding: 9px 12px;
  border-radius: 12px;
  border: 2px solid #7d7d7d;
}

.demo-button:hover {
  background-color: #f1f1f1;
}

main > img {
  margin-bottom: 36px;
  object-fit: cover;
}

.personas-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
  width: 100%;
  max-width: var(--med-width);
}

.personas-item {
  background-color: #ffe8d6;
  padding: 24px;
  border-radius: 24px;
}

.persona-info {
  margin-bottom: 24px;
}

.persona-info-head span {
  display: block;
  color: #c0a28a;
  font-weight: 300;
}

.persona-info-head span:first-child {
  font-weight: bold;
  font-size: 18px;
  color: #614733;
}

.pain-point-headline > span {
  font-weight: bold;
  color: #c0a28a;
}

.pain-point-headline > p {
  padding: 0;
  font-size: 16px;
  color: #614733;
}

.design-container ul li{
  margin-left: 18px;
  list-style-type: square;
}

.project-teaser {
  width: 100%;
  max-width: var(--med-width);
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 24px;
  height: 100%;
  background-color: #f3f3f3;
  border-radius: 20px;
}

.project-teaser img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 20px 0 0 20px;
}

.project-teaser h4 {
  margin-top: 24px;
}

.on-page-nav {
  position: fixed;
  bottom: 24px;
}

.on-page-nav > nav {
background: rgba(0, 0, 0, 0.73);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(0.9px);
-webkit-backdrop-filter: blur(0.9px);
  padding: 12px 24px;
  border-radius: 45px;
  box-shadow: 0px 3px 30px rgba(0, 0, 0, 0.07);
}

.on-page-nav > nav:hover {
  background-color: rgb(54, 54, 54);
  box-shadow: 0px 3px 30px rgba(0, 0, 0, 0.07);
  transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}

.on-page-nav > nav > a {
  padding: 4px 12px;
  color:#b3b3b3;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
}



.on-page-nav > nav > a:hover {
  color: white;
}

.on-page-nav > nav > a:active {
  color: black;
}

@media (max-width: 750px) {
  .header-items-container {
    display: flex;
    flex-direction: column;
  }

  header {
    height: auto;
  }

  nav {
    margin-top: 24px;
    justify-content: center;
  }

  nav ul {
    width: -webkit-fill-available;
  }

  body {
    padding: 24px;
  }

  .on-page-nav {
    display: none;
  }
}

@media (max-width: 850px) {
  .key-info-container {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
    .personas-container {
        display: grid;
        grid-template-columns: 1fr;
      }
  }