html {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

canvas {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

body {
  min-height: 200vh;
  overflow-x: hidden;
  background: #191919;
  color: rgb(255, 245, 233);
  font-family: "JetBrains Mono", monospace;
}


/* HEADER */

#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: flex-end; 
  align-items: center;
  padding: 0 5%;
  box-sizing: border-box;
  z-index: 1000;
  background-color: #191919;
  opacity: 0; 
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.logo {
  color: rgb(255, 245, 233);
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: -1px;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-link {
  color: rgb(255, 245, 233);
  text-decoration: none;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}

.nav-menu > .nav-link {
  margin-left: 40px;
}

.nav-link:hover {
  text-decoration: underline;
}


/* CONTAINER */

#container {
  display: flex;
  width: 100vw;
  height: calc(100vh - 60px);
  padding-top: 60px;
  box-sizing: border-box;
  overflow: hidden;
  background-color: #191919;
}

#sketch-container {
  flex: 1;
  position: relative;   
}

#sketch-container canvas {
    top: 80px !important;
}


/* CORPO */

#title-container {
  position: relative;
  margin-top: 40vh;
  width: 100%;
  text-align: center;
}

#title {
  font-size: 5rem;
  font-weight: 400;
  margin-bottom: 20px;
  white-space: nowrap;
}

#arrow {
  font-size: 3.5rem;
  color: red;
  margin-top: 20px;
  animation: blink 1.2s infinite alternate;
  cursor: pointer;
}

@keyframes blink {
  from { opacity: 1; }
  to { opacity: 0.3; }
}

#intro-container {
  position: relative;
  margin-top: 40vh;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

#intro-text {
  opacity: 0;
  min-height: 100px;
  width: 750px;
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: center;
  transition: opacity 0.6s ease;
}

#button {
  margin: 15px auto;
  padding: 12px 28px;
  background-color: #8B0000;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 60px;
  border: 1px solid red;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s ease;
  width: fit-content;
  display: block;
}

#button:hover {
  background-color: #cc0000;
}

