/* p,
span {
  font-size: var(--fs-md);
  line-height: 1.33;
  color: rgb(47, 47, 47);
}

.small-text {
  font-size: var(--fs-sm);
}

.caption {
  font-size: var(--fs-xs);
} */

.home-body {
  font-family: "Open Sans", sans-serif;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 40px;
  margin: 24px;
  background-color: rgb(255, 255, 255);
}

::selection {
  background: #000;
  color: #fff;
}
/* Font/Text */
/* h1 {
  font-size: 1.5rem;
  font-weight: 400;
}
.title {
  font-style: italic;
}
h2 {
  font-size: 1.25rem;
  font-weight: 400;
}
h3 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.33;
  color: rgb(47, 47, 47);
} */

/* Links */
.p-link {
  text-decoration-skip-ink: auto;
  color: currentColor;
}
.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}
.about-links {
  /* padding: 8px;
  border-bottom: 1px solid #000;
  width: 200px;
  border-radius: 8px; */
  border-bottom: 1px solid #000;
  max-width: 500px;
  width: 100%;
  margin-bottom: 16px;
}
.list-links {
  display: flex;
  gap: 8px;
}
.list-link {
  border: 1px solid #000;
  color: #000;
  text-decoration: none;
  padding: 0 12px;
  border-radius: 8px;
  transition: all 0.3s;
}
.list-link:hover {
  background-color: #000;
  color: #fff;
}
/* Lists */
.list-links {
  margin: 8px 0 16px 0;
  padding: 0;
  list-style-type: none;
}
ul {
  margin: 0;
}

/* Nav */
.header-sticky {
  border: 1px solid #000;
  max-width: 500px;
  width: 100%;
  padding: 8px;
  height: auto;
  background-color: rgba(228, 255, 196, 0.6);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  z-index: 99;
}
.header-sticky:hover {
  background-color: rgba(228, 255, 196, 1);
}
.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* gap: 24px; */
  max-width: 500px;
  width: 100%;
}
.case-study {
  max-width: 100%;
}
.current {
  background-color: #000;
  color: #fff;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  padding: 0 12px;
  /* margin-top: 8px; */
  border-radius: 8px;
}
/* Header */
.header-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 24px;
  left: 24px;
}

/* About */
.about-p {
  width: 100%;
  max-width: 500px;
  margin: 16px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #000;
}
/* Work */
.work {
  display: flex;
  flex-direction: row-reverse;
}

.work-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.work-tile {
  border: 1px solid #000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  text-decoration-skip-ink: auto;
  color: currentColor;
  text-decoration: none;
}
.work-tile-img {
  width: 100%;
  max-width: 700px;
  height: fit-content;
  border-radius: 4px;
  transition: all 0.3s;
}
.work-tile-img:hover {
  scale: 1.015;
}

.work-tile-experiments {
  background-color: rgb(252, 243, 243);
}

/* Modal */
.modal {
  border-radius: 16px;
}
/* Footer */
footer {
  position: fixed;
  bottom: 16px;
  left: 24px;
}

/* Media Queries  */

/* Tablet */
@media (max-width: 768px) {
  .home-body {
    grid-template-columns: 1fr;
  }
  .header-nav {
    max-width: 100%;
  }
  .header-sticky {
    max-width: 100%;
  }
  .work-container {
    margin-top: 32px;
  }
  .hide {
    display: none;
  }
  .work {
    display: block;
  }
  footer {
    position: static;
    margin-top: 32px;
  }
  .about-links,
  .about-p {
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .home-body {
    margin: 16px;
  }
}
@media (max-width: 400px) {
  /* h1,
  h2 {
    font-size: 16px;
  }
  .nav-links,
  .list-link,
  .work-tile,
  p,
  li {
    font-size: 14px;
  } */
  .nav-links {
    flex-direction: column;
  }
  .current {
    background-color: transparent;
    color: #000;
  }
  .header-nav {
    align-items: baseline;
  }
}
