* {
  padding: 0;
  margin: 0;
  /*cursor: none;*/
}
html {
  scroll-behavior: smooth;
  cursor: none;
}
body {
  text-align: center;
  box-sizing: border-box;
  overflow-x: hidden;
  background-color: #0a0a0a;
  color: white;
  font-family: "Lucida Console", Monaco, monospace;
  margin: 0;
}
h1, h2, h3, p, a {
  color: white;
}
.land {
  display: flex;
  flex-direction: column;
  align-content: center;
  min-height: 100vh;
}
.landh {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
}
.container {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5rem;
}
.id {
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}
h1 {
  overflow: hidden;
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20vw;
  letter-spacing: 0.05em;
  text-indent: 0.05em;
  line-height: 1em;
}
h1 span {
  display: inline-block;
  transform: translateY(100%);
  will-change: transform;
}
.idh.in-view span {
  animation: revealUp 2s cubic-bezier(0,0.2,0,1) 0.25s forwards;
}
@keyframes revealUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
h2 {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2rem, 2.5vw, 3rem);
  letter-spacing: 0.0em;
  line-height: 1em;
  text-align: left;
}
p {
  font-size: 14px;
}
.pt1 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
}
.pt2 {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 90%;
}
h2 span {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  will-change: transform, opacity;
}
.pt2.in-view span {
  animation: revealUp 1s cubic-bezier(0,0.2,0,1) forwards;
}
.pt2.in-view span:nth-child(1) {
  animation-delay: 0.2s;
}
.pt2.in-view span:nth-child(2) {
  animation-delay: 0.35s;
}
.pt3 {
  margin: 0;
  opacity: 0.25;
}
.flexrow {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transform: translateY(-100%);
  width: 85%;
  will-change: transform, opacity;
}
.flexrow.in-view {
  animation: revealDown 1s cubic-bezier(0,0.2,0,1) 0.3s forwards;
}
@keyframes revealDown {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.nav-links {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.nav-links p {
  margin: 0;
}
.wireframeScroll {
  position: relative;
  z-index: -9999;
  -webkit-filter: filter(1);
  filter: invert(1);
  opacity: 0;
  transform: scale(25%);
  animation: revealUp 1s cubic-bezier(0,0.2,0,1) 0.3s forwards;
}
.wireframeScroll img {
  width: 30%;
  height: auto;
}
.player {
  display: flex;
  flex: none;
  flex-direction: column;
  width: 85%;
  min-height: 100vh;
  overflow: hidden;
  margin: 0;
  position: relative;
  gap: 5rem;
}
.player iframe{
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  margin-left: 0;
}
.library {
  display: flex;
  flex: none;
  flex-direction: column;
  width: 85%;
  min-height: 100vh;
  gap: 5rem;
}
.lib1 {
  display: flex;
  flex: none;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-height: 100vh;
}
.libfigure img{
  opacity: 0;
  transform: translateY(50%);
  will-change: opacity, transform;
}
.libfigure.in-view img{
  animation: revealUp 1s cubic-bezier(0,0.2,0,1) forwards;
}
.libflex1 {
  display: flex;
  height: 100%;
  opacity: 0;
  transform: translateY(50%);
  will-change: opacity, transform;
}
.libflex1.in-view {
  animation: revealUp 1s cubic-bezier(0,0.2,0,1) forwards;
}
.libgrid1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /*margin-left: 6rem;*/
  border: 1px solid rgba(255, 255, 255, 0.5);
  max-width: 640px;
  
  background:
  linear-gradient(to right, white 2px, transparent 2px) 0 0,
  linear-gradient(to right, white 2px, transparent 2px) 0 100%,
  linear-gradient(to left, white 2px, transparent 2px) 100% 0,
  linear-gradient(to left, white 2px, transparent 2px) 100% 100%,
  linear-gradient(to bottom, white 2px, transparent 2px) 0 0,
  linear-gradient(to bottom, white 2px, transparent 2px) 100% 0,
  linear-gradient(to top, white 2px, transparent 2px) 0 100%,
  linear-gradient(to top, white 2px, transparent 2px) 100% 100%;

  background-repeat: no-repeat;
  background-size: 40px 40px;
}
.libgridcontent {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 2rem;
  cursor: none;
}
.libgridcontent img {
  z-index: 1;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  opacity: 1;
  transition: 0.5s;
  will-change: opacity;
}
.libgridcontent:hover {
  .libtext .listen {
    bottom: -2rem;
    opacity: 1;
  }
  img {
    opacity: 0.5;
  }
}
.libtext {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  width: 100%;
  z-index: auto;
}
.libtext p {
  margin: 0;
}
.libtext .title {
  z-index: 2;
  position: absolute;
  text-align: right;
  background: #0a0a0a;
  padding: 0.5rem;
  bottom: 0;
  right: 0;
  border-radius: 20px 0 0 0;
}
.libtext .title::before {
  content: '';
  position: absolute;
  bottom: 0px;
  left: -19px;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 0 0, 
    transparent 0, 
    transparent 20px, 
    #0a0a0a 20px
  );
}

.libtext .title::after {
  content: '';
  position: absolute;
  top: -20px;
  right: 0;
  width: 20px;
  height: 20px;

  background: radial-gradient(circle at 0 0, 
    transparent 0, 
    transparent 20px, 
    #0a0a0a 20px
  );
}

.libtext .listen {
  z-index: 0;
  position: absolute;
  text-align: left;
  padding: 0.5rem 0;
  opacity: 0;
  bottom: 0;
  transition: 0.5s;
  will-change: bottom, opacity;
}
.gallery {
  display: flex;
  flex: none;
  flex-direction: column;
  width: 85%;
  min-height: 100vh;
  gap: 5rem;
}
.gallerysub {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  background: linear-gradient(to right, #0a0a0a, transparent 15%, transparent 85%, #0a0a0a);
}
.gallerysub::-webkit-scrollbar {
  display: none;
}
.showcase {
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  animation: spin 30s infinite linear;
  padding-right: 1em;
}
@keyframes spin {
  from {
    transform: translate(0%);
  } to {
    transform: translate(-100%);  
  }
}
.card {
  flex: 0 0 40em;
  height: 40em;
  border-radius: 20px;
  align-content: center;
  overflow: hidden;
}
.card img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.editing {
  display: flex;
  flex: none;
  flex-direction: column;
  width: 85%;
  min-height: 100vh;
  overflow: hidden;
  margin: 0;
  position: relative;
  gap: 5rem;
}
.editing iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  margin-left: 0;
}
.edits {
  display: flex;
  justify-content: center;
  width: 100%;
}
.footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  margin: 5rem 0;
  gap: 3rem;
}
.footup {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.footup.in-view span {
  animation: revealUp 1s cubic-bezier(0,0.2,0,1) forwards;
}
.foottext {
  font-size: 0.9rem;
  position: relative;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
#backToTop {
  z-index: 20;
  width: 2rem;
  height: 2rem;
  background: rgba(0, 0, 0, 0.6);
  color: white; 
  transition: 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: none;
}
#backToTop svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: white;
}
#backToTop:hover {
  background: white;
  color: black;
}
#backToTop:hover svg {
  fill: black;
}
.wireframeBg {
  position: absolute;
  z-index: -1;
}
.wireframeBg img {
  width: 80vw;
  height: auto;
  opacity: 0.6;
}
/* Framer-like inverted cursor */
/* Minimal framer-style cursor */
#fw-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 5ms transform 180ms cubic-bezier(.2,.9,.3,1);
  will-change: transform, opacity;
  opacity: 1;
  mix-blend-mode: difference;
  cursor: none;
}

#fw-cursor .fw-cursor-inner {
  width: var(--fw-size, 22px);
  height: var(--fw-size, 22px);
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  transform-origin: center;
  transition: transform 180ms cubic-bezier(.2,.9,.3,1);
}

#fw-cursor.fw-clicked .fw-cursor-inner {
  transform: scale(0.7);
}

#fw-cursor.fw-hover .fw-cursor-inner {
  transform: scale(2);
}

#fw-cursor.fw-hidden {
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.8);
}

.links-menu-modal {
  cursor: none;
  position: fixed;
  inset: 0; /* (top, bottom, left, right = 0) */
  z-index: 1000;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(100%);
  transition: transform 1s cubic-bezier(0.2, 1, 0.3, 1);
}
.links-menu-modal.visible {
  transform: translateY(0);
}
.links-menu-content {
  position: relative;
  padding: 3rem;
  padding-top: 2rem;
  width: 90%;
  max-width: 400px;
}
.links-menu-modal.visible .links-menu-content {
  transform: translateY(0);
}
#closeLinksMenu {
  z-index: 20;
  width: 2rem; 
  height: 2rem;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  transition: all 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  /* border-radius: 50%;  */
  cursor: none;
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
}
#closeLinksMenu svg {
  width: 1.5rem; 
  height: 1.5rem; 
  fill: white;
  transform: rotate(180deg); 
  transition: fill 0.2s;
}
#closeLinksMenu:hover {
  background: white;
  color: black;
  transform: translateX(-50%) scale(1.1);
}
#closeLinksMenu:hover svg {
  fill: black;
}
/* Lista de Links */
.links-menu-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
.links-menu-list a {
  background: black;
  color: white;
  text-decoration: none;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);;
  transition: background 0.2s ease;
  font-family: "Lucida Console", Monaco, monospace;
  cursor: none;
}
.links-menu-list a:hover {
  background: white;
  color: black;
}
nav {
  width: 70vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  margin: auto;
}
nav a {
  position: relative;
  text-decoration: none;
  cursor: none;
}
nav a:after {
  content: "";
  position: absolute;
  background-color: white;
  height: 2px;
  width: 0;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
}
nav a:hover:after {
  width: 100%;
}
.contact {
  position: relative;
  text-decoration: none;
  cursor: none;
  transition: 0.5s;
  padding: 2.5rem;
}
.contact::before {
  content: "contact";
  position: absolute;
  left: 0;
  bottom: 200%;
  transition: 0.5s;
  /* padding: 2.5rem; */
}
.contact:hover:before {
  bottom: 0;
}
.library, .gallery, .editing {
  content-visibility: auto;
  contain-intrinsic-size: 600px;
}
@media (max-width: 769px) {
  #fw-cursor {
    display: none;
  }
  .wireframeScroll img {
    width: 100%
  }
  nav {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
  }
  .player, .editing, .library, .lib1, .gallery {
    min-height: 0;
  }
  .libfigure {
    display: none;
  }
  .card {
    flex: 0 0 70vw;
    height: 70vw;
  }
  .lib1 {
    justify-content: center;
  }
}