@font-face {
  font-family: "Space Grotesk Bold";
  src: local("Space Grotesk Bold"), url("./SpaceGrotesk-Bold.ttf") format("truetype");
}

:root {
  --cool-cologne:   #00CAF9;
}

body {
  color: var(--cool-cologne);
  font-family: "Space Grotesk Bold";
  background: url("./old-joy.jpg") fixed center no-repeat;
  background-size: cover;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

@media(min-width: 1250px) {
  main {
    min-height: 100%;
  }
}

#blur-behind {
  z-index: -1;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  animation: add-blur 2s ease forwards;
}

@keyframes add-blur {
  to {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

#layout {
  flex-grow: 3;
}

header {
  text-align: center;

  font-size: 96pt;
  text-transform: uppercase;

  flex-grow: 0;
  flex-shrink: 0;
}

header a {
  color: var(--cool-cologne);
  text-decoration: none;
}

footer {
  text-align: center;

  font-size: 44pt;
  text-transform: uppercase;

  flex-grow: 0;
  flex-shrink: 0;
}

footer a {
  color: var(--cool-cologne);
  text-decoration: none;
}

nav {
  font-size: 24pt;

  flex-grow: 0;
  flex-shrink: 0;
}

nav li {
  list-style-type: none;
  background: black;

  padding: 1em;
  margin: 1em;
}

nav a {
  color: white;
  text-decoration: none;
}

nav li.current {
  background: white;
}

nav li.current a {
  color: black;
}
