:root {
  --bg-colour: #121212;
  --pg-colour: #ffe6fa;
  --accent: #121212;
  --text-colour: #301934;
  --neon-green: #00ff00;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  font-family: "Courier New", monospace;
  font-size: 0.85em;
  color: var(--text-colour);
}

body {
  background-color: var(--bg-colour);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#outer {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  width: 100%;
}

nav {
  background-color: var(--accent);
  width: 200px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

article {
  line-height: 1.7em;
  font-family: "Courier New", monospace;
  animation: flicker 2s infinite alternate;
}

#container {
  background-color: var(--pg-colour);
  width: 100%;
  padding: 30px;
  flex-grow: 1;
  font-family: "Courier New", monospace;
}

footer {
  background-color: var(--accent);
  color: white;
  padding: 20px;
  width: 100%;
  text-align: center;
  font-family: "Courier New", monospace;
}

h1 {
  font-size: 40px;
  font-family: "Lugrasimo", serif;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: break-word;
  padding-bottom: 10px;
}

h2 {
  font-size: 20px;
  padding-bottom: 8px;
  font-weight: normal;
}

h3 {
  font-size: 18px;
  color: white;
  margin-bottom: 10px;
  text-align: center;
}

h4 {
  font-size: 24px;
  color: black;
  text-align: center;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 8px;
}

h5 {
  font-size: 40px;
  line-height: 40px;
  overflow-wrap: break-word;
  text-align: center;
  display: none;
}

p {
  font-size: 17.5px;
  padding-bottom: 8px;
}

hr {
  border: none;
  border-top: 1px solid var(--accent);
  margin: 15px 0;
}

nav hr {
  border: none;
  border-top: 2px solid white;
  margin: 15px 0;
}

ul {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

ul > li {
  margin-bottom: 10px;
  text-align: center;
}

ul > li > a {
  font-size: 14px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

ul > li > a:hover {
  color: var(--neon-green);
  text-shadow: 0 0 10px var(--neon-green);
}

@media only screen and (max-width: 850px) {
  #outer {
    flex-direction: column;
  }

  h5 {
    display: inherit;
  }

  nav {
    display: none;
  }

  #container {
    width: 100%;
  }
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.2) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
  opacity: 0.6;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr));
  gap: 40px;
  justify-items: center;
  margin: 0 auto;
  max-width: 1000px;
}

.art-item img {
  width: 100%;
  height: auto;
  display: block;
}

.art-item {
  text-align: center;
}

#container {
  border-radius: 20px;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8);
  filter: contrast(1.2) brightness(0.9);
  position: relative;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}