@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700;800&display=swap');

*, html, body, a, button {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Inconsolata, sans-serif;
  font-weight: 400;
  letter-spacing: 0em;
  text-align: left;
  color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}

/* Demonstração de uma barra de rolagem personalizada
  * (não será visível ao menos que a largura/altura seja especificada) */
*::-webkit-scrollbar {
  width: 2px;
  height: 2px;
  background-color: transparent; /* ou que isso seja adicionado ao "caminho" da barra */
}

/* Adiciona a barra arrastável */
*::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 1rem;
}

body {
  display: block;
  background-color: #101010;
  font-family: sans-serif;
  width: 100vw;
}

html {
  overflow-y: auto;
  overflow-x: clip;
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  max-height: 100%;
  max-width: 100%;
  min-height: 100%;
  min-width: 100%;

  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;

  font-size: 1.5vw;
}

@media (max-width: 750px) {
  html {
    font-size: 20px;
  }
}

#menu-input {
  display: none;
  position: fixed;
  top: 0;
  z-index: 100;
}

#menu-icon {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  cursor: pointer;
  width: 2rem;
  height: 1.6rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  opacity: 0.8;
  transition: opacity 180ms ease;
}

#menu-icon:hover {
  opacity: 1;
}

#menu-icon span {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 280ms ease, opacity 200ms ease, background 260ms ease;
  transform-origin: center;
}

#menu-input:checked ~ #menu-icon {
  opacity: 1;
}

#menu-input:checked ~ #menu-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: #EB4468;
}

#menu-input:checked ~ #menu-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#menu-input:checked ~ #menu-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: #EB4468;
}

@media (max-width: 750px) {
  #menu-icon {
    display: flex !important;
  }

  #menu-input:not(:checked) ~ #nav {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
  }

  #nav {
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(16, 16, 16, 0.93);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    flex-direction: column;
    gap: 0.25rem;
  }
}

nav {
  z-index: 99;
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  transition: opacity 260ms ease, transform 260ms ease;
}

.nav-item {
  padding: 1rem;
  text-decoration: none;
  transition: color 180ms ease;
}

@media (max-width: 750px) {
  .nav-item {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.7rem 2.5rem;
    border-left: 2px solid transparent;
    transition: color 180ms ease, border-color 180ms ease, padding-left 200ms ease;
  }

  .nav-item:hover {
    border-left-color: #EB4468;
    padding-left: 3rem;
  }
}

.nav-item:hover {
  color: #EB4468;
}

#access {
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  --icon-size: 2.5rem;
  text-decoration: none;
  position: fixed;
  top: calc(50% - (var(--icon-size) + 2rem) / 2);
  left: 2rem;
}

#access > a > img {
  width: var(--icon-size);
}

@media (max-width: 750px) {
  #access {
    display: none !important;
  }
}

a > img {
  width: 1.5rem;
  margin-left: .5rem;
}

section {
  scroll-snap-align: start;
  position: relative;
  height: 100vh;
  height: 100dvh;
}

/* ── Section transition arrows ── */
.section-arrow {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  border: none;
  padding: .25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  animation: sectionArrowBounce 1.8s ease-in-out infinite;
  transition: opacity 200ms ease;
}

.section-arrow:hover {
  animation-play-state: paused;
  opacity: 0.7;
}

.section-arrow svg {
  width: 1rem;
  height: 1rem;
  stroke: #EB4468;
  filter: drop-shadow(0 0 5px rgba(235, 68, 104, 0.55));
}

@keyframes sectionArrowBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.65;
  }
  50% {
    transform: translateX(-50%) translateY(6px);
    opacity: 1;
  }
}

/* ── Go to top button ── */
.go-top-btn {
  position: absolute;
  bottom: 1.25rem;
  right: 2rem;
  background: transparent;
  border: none;
  padding: .25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  opacity: 0.45;
  transition: opacity 200ms ease, transform 200ms ease;
}

.go-top-btn:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.go-top-btn svg {
  width: 1rem;
  height: 1rem;
  stroke: #EB4468;
  filter: drop-shadow(0 0 5px rgba(235, 68, 104, 0.55));
}