@font-face {
  font-family: "Wremena";
  src: url("../font/Wremena Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #E8E6DF;
  --big-txt: clamp(24px, 2.2vw, 45px);
  --medium-txt: clamp(16px, 1.5vw, 32px);
  --small-txt: clamp(12px, 1vw, 21px);
}

html, body {
  background-color: #101419;
}

html {
  overflow-y: scroll;
}

body {
  color: var(--white);
  font-family: "Wremena", "Times New Roman", serif;
}

a, a:link, a:visited, a:hover, a:active, a:focus { color: var(--white); }

a {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-skip-ink: auto;
  text-underline-offset: 9%;
  text-decoration-thickness: 3%;
}
a:hover{
  text-decoration: none;
}

main {
  width: 100%;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  align-items: start;
}

main > .left-col{
  position: sticky;
  top: 0;
  align-self: start;
  height: 100dvh;
  padding: 26px 0 30px 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: var(--big-txt);
  line-height: 100%;
  letter-spacing: -2%;
}

.working-across-container{
  display: flex;
}

.filter{
  display: flex;
  flex-direction: column;
}

.bottom{
  display: flex;
  flex-direction: column;
}

main > .main-col{
  display: flex;
  padding: 26px 30px 30px 0;
  flex-direction: column;
  gap: 30px;
}

a.project-card{
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-decoration: none;
}

a.project-card:hover {
  text-decoration: underline;
  text-decoration-skip-ink: auto;
  text-underline-offset: 9%;
  text-decoration-thickness: 3%;
}

a.project-card p {
  font-size: var(--medium-txt);
  line-height: 90%;
}

.project-image {
  display: block;
  position: relative;
}

.project-image > img {
  display: block;
  width: 100%;
  height: auto;
}

.project-image > .project-image-alt {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 250ms ease;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  /* Use native hover before the page receives pointer coordinates. */
  html:not(.tracks-project-hover) .project-image:hover > .project-image-alt,
  .project-image.is-hovered > .project-image-alt {
    opacity: 1;
  }
}

img {
  max-width: 100%;
}


/* ===================PROJECT============= */

h1.project-title{
  font-size: var(--big-txt);
  letter-spacing: -2%;
  margin-bottom: clamp(70px, 16%, 220px);
}

section.project-info{
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 10px;
  font-size: var(--medium-txt);
  line-height: 105%;
}

section.project-info > :last-child{
  font-size: var(--small-txt);
  line-height: 105%;
}

section.project-images{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

section.project-images .paired-imgs{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  place-items: center;
}

img.smaller-img {
  display: block;
  width: 100%;
  height: auto;
  scale: 0.68;
}

section.project-credits{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  font-size: var(--small-txt);
  line-height: 105%;
  margin-bottom: 120px;
}