@charset "UTF-8";

:root {
  --margin-top: 20px;
  --margin-side: 40px;
  --margin-bottom: 32px;
  --font-size-abt: 1.375rem;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
  font-family: "Hanken Grotesk", sans-serif;
  font-style: normal;
  font-weight: 400;
}

body {
  scroll-behavior: smooth;
  background-color: #757171;
  overflow-y: auto;
}

h1,
h2,
p {
  margin: 0;
}

a {
  color: currentColor;
  text-decoration: none;
}

img,
svg,
figure {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: start;
  grid-template-rows: auto 1fr auto;
  max-width: 95vw;
  width: 100%;
  margin: 0 auto;
}

.header {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(6, 1fr);
  align-items: start;
  width: 100%;
  padding-top: var(--margin-top);
}

.wrapper {
  position: sticky;
  top: 0;
  z-index: 9999;
  margin-inline: auto;
}

.frame-logo {
  grid-column: 1;
  align-self: start;
  width: 160px;
}

.frame-logo svg {
  width: 100%;
  height: auto;
  display: block;
}

.footer {
  position: sticky;
  bottom: 32px;
  grid-column: 1 / -1;
  width: 100%;
  z-index: 9999;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

/* ...... content......  */

.main {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-column: 1 / -1;
  gap: 0rem;
  width: 100%;
  margin-inline: auto;
}

.wrp-about {
  grid-column: 5 / 7;
}

.about {
  margin-top: 2.8rem;
  margin-bottom: 2.8rem;
}

.about p {
  /* font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400; */
  color: #e6e6e6;
  font-size: var(--font-size-abt);
  padding-bottom: 2rem;
  overflow-wrap: break-word;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  hyphens: none;
}

.about a {
  transition: all 0.015s ease-out;
  border-bottom: solid 0.125rem transparent;
}
.about a:hover,
.about a:focus {
  color: #e6e6e6;
  border-bottom-color: #e6e6e6;
}

.img-about {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100svh;
  min-height: 100vh;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.img-about img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.references {
  grid-column: 2 / 6;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(60px, 15vw, 120px);
  min-height: 0;
  overflow-y: auto;
  padding: 3rem 0;
  gap: clamp(2rem, 3vw, 6rem) clamp(1rem, 2vw, 10rem);
}

.ref-items {
  display: flex;
  justify-content: center;
  align-items: center;
  grid-column: span 2;
}

.ref-items:nth-child(5n + 4) {
  grid-column: span 3;
}

.ref-items:nth-child(5n + 5) {
  grid-column: span 3;
}
.ref-items:nth-child(5n + 1) {
  justify-content: flex-start;
}

.ref-items:nth-child(5n + 2) {
  justify-content: center;
}

.ref-items:nth-child(5n + 3) {
  justify-content: flex-end;
}
.ref-items img {
  width: clamp(90px, 18vw, 160px);
  height: auto;
}

.social {
  display: flex;
  justify-content: left;
  gap: 1.5rem;
  grid-column: 5;
}

.social svg {
  width: clamp(35px, 3vw, 40px);
  aspect-ratio: 1 / 1;
  max-width: 45px;
}

@media screen and (max-width: 1660px) {
  .about {
    margin-right: 4rem;
  }
}

@media screen and (max-width: 1560px) {
  .about {
    margin-right: 3.5rem;
  }
}

@media screen and (max-width: 1260px) {
  .about {
    margin-right: 0rem;
  }
  .about p {
    /* font-family: "Hanken Grotesk";
    font-style: normal;
    font-weight: 400; */
    color: #e6e6e6;
    font-size: var(--font-size-abt);
    padding-bottom: 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
  }
  .references {
    padding: 2rem 0;
    margin-right: 0rem;
  }

  .ref-items img {
    height: auto;
  }
}

@media screen and (max-width: 1025px) {
  .header {
    grid-template-columns: repeat(6, 1fr);
  }
  .main {
    grid-template-columns: repeat(6, 1fr);
  }

  .wrp-about {
    grid-column: 5 / -1;
  }

  .about {
    margin-top: 2rem;
    padding: 2rem 0;
  }

  .references {
    grid-column: 2 / 6;
    grid-template-columns: repeat(6, 1fr);
    padding: 2rem 0;
  }

  .ref-items {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  .ref-items:nth-child(5n + 4),
  .ref-items:nth-child(5n + 5) {
    grid-column: span 3;
  }

  /* .ref-items img {
  } */

  .social {
    justify-content: left;
    margin-left: 0;
    grid-column: 5 / 6;
  }
}

@media screen and (max-width: 950px) {
  .about p {
    padding-left: 0.59vw;
  }
  .social {
    padding-left: 0.59vw;
  }
}

@media screen and (max-width: 820px) {
  :root {
    --margin-bottom: 16px;
  }
  .grid {
    max-width: 86vw;
  }
  .header,
  .main {
    grid-template-columns: 1fr 1fr;
    padding-inline: 0rem;
  }

  .wrp-about {
    grid-column: 1 /-1;
  }

  .about {
    margin-top: 4.5rem;
  }

  .about p {
    /* font-family: "Hanken Grotesk";
    font-style: normal;
    font-weight: 400; */
    font-size: var(--font-size-abt);
  }

  .references {
    grid-column: 1 / -1;
    grid-template-columns: repeat(6, 1fr);
    padding: 0rem 0;
    margin-top: 4rem;
    margin-bottom: 4rem;
  }

  .ref-items {
    display: flex;
    justify-content: center;
  }

  .ref-items img {
    max-width: 100%;
  }

  .social {
    grid-column: 1;
    justify-content: start;
    margin-left: 0rem;
    padding-top: 3rem;
    align-self: end;
    padding-left: 0;
    gap: 0rem;
  }
  .social svg {
    aspect-ratio: 1 / 1;
    width: 66%;
    height: auto;
  }

  .frame-logo {
    width: 120px;
    z-index: 6;
  }

  .footer {
    grid-template-columns: 1fr;
    grid-column: 1 / -1;
    justify-self: start;
    margin-bottom: var(--margin-bottom);
    position: fixed;
    bottom: 0;
  }
}

@media screen and (max-width: 580px) {
  .references {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin-top: 4.6rem;
  }
}

@media screen and (max-width: 380px) {
  .references {
    grid-column: 1 / -1;
    grid-template-columns: repeat(6, 1fr);
    margin-top: 5.5rem;
  }

  /* .ref-items img {
  } */
}
