/* style1.css */

@import url('https://fonts.googleapis.com/css?family=Rubik+Dirt&display=swap');
@import url('https://fonts.googleapis.com/css?family=Rubik+Glitch&display=swap');

:root {
  font-family: 'Rubik Glitch', 'Roboto', 'Helvetica', 'Arial', sans-serif;
  font-size: 18px;
  font-size: calc(4px + 1.5vw);
}

@media screen and (max-width: 600px) {
  
  :root {
    font-size: 10px;
    font-size: calc(2px + 1vw);
  }
  
  * { }
  
  footer * { font-size: 200%; }
  
  header * { font-size: 150%; }

  .gridbox a { padding: 2rem; }

}

* {
  border: none;
  box-sizing: border-box;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  margin: 0;
  outline: none;
  padding: 0;
}

a {
  color: currentColor;
  outline: none;
  text-decoration: none;
}

body {
  background-color: black;
  color: white;
  display: grid;
  grid-template-rows: auto 1fr auto;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
}

body > footer {
  border-top: 1px solid currentColor;
  margin-top: .5em;
  text-align: center;
}

body > header {
  border-bottom: 2px solid currentColor;
}

body > header > a {
  display: block;
  margin-right: .5em;
  padding: .25em;
  text-align: right;
  text-transform: lowercase;
}

body > header > nav {
  padding: .25em;
}

body > header > nav a {
  padding: 0 1em;
}

body > header > nav a:focus {
  outline: 2px dashed #ffffffcc;
}

body > header > nav a:hover {
  background-color: #ffffffcc;
  color: black;
}

body > main {
  align-items: center;
  display: grid;
  justify-items: center;
}

body > main > nav {
  display: grid;
  gap: 16px;
  grid-template-areas: 
  "a b b"
  "c c d"
  "e f f";
  grid-template-columns: 3fr, 2fr, 2fr;
  grid-template-rows: repeat(3, 1fr);
  /* outline: 2px solid orange; */
}

body > main > nav > * {
  align-items: center;
  display: grid;
  font-family: 'Rubik Dirt', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  justify-items: center;
}

body > main > nav a { }

body > main > nav a:focus {
}

body > main > nav a:hover {
  background-color: #ffffff33;
  box-shadow: 1px 1px 8px 2px #ffffff33;
  color: #ffff00ff;
}

.item1 { font-size: 4.0rem; grid-area: a; }
.item2 { font-size: 3.8rem; grid-area: b; }
.item3 { font-size: 3.7rem; grid-area: c; }
.item4 { font-size: 4.1rem; grid-area: d; }
.item5 { font-size: 3.2rem; grid-area: e; }
.item6 { font-size: 2.8rem; grid-area: f; }

body > main > nav a:first-child  { font-size: 4.0rem; grid-area: a; }
body > main > nav a:nth-child(2) { font-size: 3.8rem; grid-area: b; }
body > main > nav a:nth-child(3) { font-size: 3.7rem; grid-area: c; }
body > main > nav a:nth-child(4) { font-size: 4.1rem; grid-area: d; }
body > main > nav a:nth-child(5) { font-size: 3.2rem; grid-area: e; }
body > main > nav a:nth-child(6) { font-size: 2.8rem; grid-area: f; }

/* eof - style1.css */
