@import url("https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

/* @import url("https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap"); */

/* @import url("https://fonts.googleapis.com/css2?family=National+Park:wght@200..800&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");*/

/* @import url("https://fonts.googleapis.com/css2?family=Yrsa:ital,wght@0,300..700;1,300..700&display=swap");  */

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap"); 

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "DM Sans", sans-serif;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  font-family: "Inter", sans-serif;
}

h1 {
  font-size: 4rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 300ms ease-out;
  /* color: #000; */
  font-weight: 300;
  font-weight: 400;
}

p,
a {
  color: #fff;
  text-decoration: none;
  /* text-transform: uppercase; */
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  display: inline-block;
  font-family: "Inter", sans-serif;
}

nav,
footer {
  position: fixed;
  width: 100%;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  mix-blend-mode: difference;
  z-index: 2;
  /* text-transform: uppercase; */
}

nav .nav-links {
  display: flex;
  gap: 0.75rem;
}

footer {
  bottom: 0;
}

.clients {
  position: relative;
  width: 100%;
  /* height: 100svh; */
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 2rem;
  overflow: hidden;
}

.clients-preview {
  /* position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  z-index: 0;
  pointer-events: none; */

  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  will-change: transform;

  max-width: 40%;
  max-width: 900px;
  width: 100%;
  aspect-ratio: 16/9;
}

.client-img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%);
  will-change: clip-path;
  overflow: hidden;
}

.client-img-wrapper img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform, opacity;
}

.clients-header p {
  position: relative;
  color: #acacac;
  z-index: 1;
}

.clients-list {
  position: relative;
  /* width: 80%; */
  /* margin-bottom: 8rem; */
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1rem;
  /* mix-blend-mode: difference; */
  z-index: 2;
  flex-direction: column;
  margin: 8rem auto;
  text-align: center;
  font-family: "DM Sans", sans-serif;
  align-items: center;
  font-family: "Inter", sans-serif;
}

.client-name {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.client-name a {
  color: black;
  /* font-family: "DM Sans", sans-serif; */
}

.client-name a:hover {
  color: white;
}

/* .client-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.15rem;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms ease-out;
}

.client-name:hover::after {
  transform: scaleX(1);
  transform-origin: left;
} */

/* .client-name:hover h1 {
  color: white;
} */

/* @media (max-width: 1000px) {
  h1 {
    font-size: 2rem;
  }

  .clients-preview {
    width: 100%;
    height: 100%;
  }

  .clients-list {
    width: 100%;
  }
} */




a.btn-magnetic {
  padding: 0.5rem;
  display: block;
  text-decoration: none;
  color: white;
  position: relative;
}

a.btn-magnetic span {
  position: relative;
}

a.btn-magnetic span::after {
    bottom: 0;
    width: 100%;
    height: 1px;
    border-radius: 0;
    background: white;
    transform: translate(-50%, -50%) scale(0, 1) rotate(0.001deg);
    display: block;
    content: "";
    position: absolute;
    bottom: -.25em;
    left: 50%;
    display: block;
    transition: all .3s cubic-bezier(.7, 0, .3, 1);
}

a.btn-magnetic:hover span::after {
 transform: translate(-50%, -50%) scale(1) rotate(0.001deg)
}


#loading {
 background: black;
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100vh;
 overflow: hidden;
 z-index: 800;
 pointer-events: none;
 align-items: center;
 justify-content: center;
 display: flex;
 pointer-events: none;
 /* display: none; */
}

.intro {
  position: relative;
  font-size: 3rem;
  font-weight: 500;
  z-index: 2;
  color: white
}

.btn-magnetic, .client-name {
  opacity: 0;
}

.line {
  padding-bottom: 4px;
  margin-bottom: -4px;
}