/* Styles for page-noirstack.php */
/* Header styles for Scrolls theme */

.site-header {
  background-color: #0c0c0c;
  color: #f4f4f4;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #1a1a1a;
}

.site-header .site-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.site-title {
  font-size: 2rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-family: monospace;
  overflow: hidden;
  white-space: nowrap;
  border-right: 0.15em solid #8cd4ff;
  width: 0;
  animation: typing 3.5s steps(30, end) forwards, blink 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 26ch; /* Adjust to match character count */
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.site-title a {
  color: #8cd4ff;
  text-decoration: none;
}

.site-title a:hover {
  color: #ffffff;
}

.site-description {
  font-size: 1rem;
  color: #aaa;
  margin: 0;
}

@media (max-width: 768px) {
  .site-header {
    padding: 1rem 1.5rem;
  }

  .site-title {
    font-size: 1.5rem;
  }

  .site-description {
    font-size: 0.9rem;
  }
}

#noirstack-onepager {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  background-color: #0c0c0c;
  color: #f4f4f4;
 animation: myAnim 5s ease 0s 1 normal forwards;
}

#noirstack-onepager h1,
#noirstack-onepager h2 {
  color: #8cd4ff;
  margin-bottom: 1rem;
}

#noirstack-onepager p,
#noirstack-onepager ul,
#noirstack-onepager li {
  font-size: 1rem;
  line-height: 1.8;
  color: #e0e0e0;
}

#noirstack-onepager ul {
  padding-left: 1.2rem;
  margin-bottom: 2rem;
}

#noirstack-onepager section {
  margin-bottom: 3rem;
  border-left: 4px solid #1e1e1e;
  padding-left: 1.5rem;
animation: myAnim 5s ease 0s 1 normal forwards;
}

#noirstack-onepager code,
#noirstack-onepager pre {
  background: #1e1e1e;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  color: #8cd4ff;
  display: block;
  overflow-x: auto;
}

#noirstack-onepager a {
  color: #8cd4ff;
  text-decoration: underline;
}

#noirstack-onepager a:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  #noirstack-onepager {
    padding: 2rem 1rem;
  }

  #noirstack-onepager section {
    padding-left: 1rem;
  }
}
@keyframes myAnim {
	0% {
		animation-timing-function: ease-in;
		opacity: 0;
		transform: translateY(-250px);
	}

	38% {
		animation-timing-function: ease-out;
		opacity: 1;
		transform: translateY(0);
	}

	55% {
		animation-timing-function: ease-in;
		transform: translateY(-65px);
	}

	72% {
		animation-timing-function: ease-out;
		transform: translateY(0);
	}

	81% {
		animation-timing-function: ease-in;
		transform: translateY(-28px);
	}

	90% {
		animation-timing-function: ease-out;
		transform: translateY(0);
	}

	95% {
		animation-timing-function: ease-in;
		transform: translateY(-8px);
	}

	100% {
		animation-timing-function: ease-out;
		transform: translateY(0);
	}
}