<section>
  <h2>Pizza pockets</h2>
</section>

<section>
  <p>Tagline</p>
  <a href="#0">Taco party</a>
</section>
section {
  padding: 1rem 2rem;
  margin: 0 0 2rem;
  
  background: hsl(var(--clr-dark));
}

section:has(a:hover) {
  background: hsl(var(--clr-main));
  
  color: hsl(var(--clr-dark));
  
  a {
    color: currentcolor;
  }
}

:root {
	--clr-bg: 220 39% 15%;
  --clr-dark: 220 39% 10%;
  --clr-main: 0 100% 67%;
  --clr-light: 44 100% 88%;
  --clr-bright: 43 100% 65%;
  --clr-link: 199 100% 65%;
  --clr-text-base: 220 39% 95%;
}

* {
	box-sizing: border-box;
}
body {
	padding: 10px;

	background: hsl(var(--clr-bg));
  color: hsl(var(--clr-text-base));
	font: 400 1rem / 1.5 sans-serif;
}

p {
	margin: 0;
}

.main {
  padding: 2rem;

  background: hsl(var(--clr-dark));
}

.article {
  margin-top: 1rem;
  
  padding: 1.5rem;
  
  background: hsl(var(--clr-bg));
}

a {
  color: hsl(var(--clr-bright));
  text-underline-offset: 0.3rem;
  text-decoration-thickness: 0.2rem;
}

footer {
  margin-top:2rem;
  padding: 2rem;
  
  background: hsl(var(--clr-dark));
}

View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.