/* HEADER */
header {
  width: 100%;
  border-bottom: 4px solid black;
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
}

header h1 {
  margin: 0;
  padding: 20px 0;
  padding-left: 5px;
  font-style: italic;
  font-size: clamp(2rem, 2.5vw, 3rem);
  overflow-x: hidden;
  grid-column: 1;
}

nav {
  width: 100%;
  grid-column: 2 / 3;
  border-left: 4px solid black;
  height: 100%;
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  list-style-type: none;
  width: 100%;
  padding: 0;
}

nav a {
  font-weight: bold;
  font-size: clamp(1rem, 1.25vw, 2rem);
}

/* FIGURES */
figcaption {
  font-style: italic;
}

/* FOOTER */
footer {
  border-top: 4px solid black;
  font-size: .8rem;
}

/* HEADINGS */
h2 {
  background: linear-gradient(to right, darkred, white);
  color: white;
  margin-top: 0;
  padding-left: .5vw;
  text-transform: uppercase;
}

h2:before {
  content: "☆ "
}

/* LINKS */
a {
  color: black;
  text-decoration: underline wavy darkred 1.55px;
}

a:hover {
  text-decoration: none;
  font-style: italic;
}

a[href^='http']:after {
  content: " ↪";
}

/* LISTS */

/* MAIN */
main {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
}

section {
  grid-column: 2;
  border-left: 4px solid black;
}

section p {
  padding-left: 1vw;
}
