/* DESKTOP CSS for the hero section */
.hero-headline {
  font-family: monospace;
  font-size: clamp(5vh,4vw,4vw);
  white-space: pre;             /* preserve spaces/newlines */
  display: inline-block;
}

.hero-headline .caret {
  display: inline-block;
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
  100% { opacity: 1; }
}

.hero {
	color: white;
	font-size: 4vw;
	text-align: center;
	background: url("../../media/black-and-gold-hex-grid.png") center/cover fixed no-repeat;
	z-index: 5;
}

.hero::before {
	content: "";
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background-color: rgba(0, 0, 0, 0.4); /* 40% black overlay */
	z-index: 0;
}

.hero > div {
	position: relative; /* ensures content stays above overlay */
	z-index: 1;
}

.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4); /* 40% black overlay */
	z-index: 0;
}

.hero > div {
	position: relative;
	z-index: 1; /* Keeps text content above the overlay */
}