@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

:root {
  --bg: #c3c3c3;
  --dark: #808080;
  --light: #fdffff;
  --blue: #010081;
  --shadow: #ffffff19;
}

html {
    font-family: "VT323", monospace;
    font-size: x-large;
    color:black;
    background-color: var(--bg);
    background-image: 
    linear-gradient(var(--shadow) 1px, transparent 2px),
    linear-gradient(90deg, var(--shadow) 1px, transparent 2px);
    background-size: 20px 20px;
    min-height: 100vh;
}

body {
    padding: 0;
    display: flex;
}

h1 {
  margin-block: 0.67em;
  font-size: 2em;
}


nav {
    display: flex;
    flex-shrink: 0;
    text-align: center;
    flex-direction: column;
    background-color: var(--blue);
    box-sizing: border-box;
    padding: 0 0.5rem;
    color: white
}

nav ul {
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}

nav li {
  width: 100%;
}


nav li a {
  display: block;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s;
  flex: 1;
}

nav li a:hover {
    background-color: var(--dark);
}

a {
  color: black;
  text-decoration: none;
  transition: text-shadow 0.1s ease-in-out;
}

a:hover {
    text-shadow: 2px 2px 4px black;
    text-decoration: underline;
}

nav a {
  background: var(--bg);
  border: 2px solid var(--dark);
  box-shadow: inset -1px -1px var(--dark),
              inset 1px 1px var(--light);
  margin: 0.1rem 0.1rem;
}

@media (min-width: 639px) {
    nav{
        height: 100%;
    }
}

@media (max-width: 639px) {
  body{
    flex-direction: column;
  }
}

ul {
    list-style: none;
    padding: 1rem 0;
}

li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bold {
  text-shadow: 4px 4px 8px black;
  border-color: black;
  border-style: inset;
}

.container {
    align-items: start;
}

p, ul {
  margin: 0
}

.right-arrow::before {
  content: "";
  display: inline-block;
  width: 60px;
  height: 40px;
  background-image: url('arrowright.gif');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 0.5em;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

section{
    margin: 1rem;
    flex-direction: column;
    display: none;
}

footer {
    background-image: url("city.gif");
    background-repeat: repeat-x;
    background-position: right top;
    margin: auto 0 0 0;
    height: 223px;
}