/* these are variables that are being used in the code
these tended to confuse some people, so I only kept 
the images as variables */
:root {
  --header-image: url('jpheg home banner 3 file.jpg');
  --blog-header-image: url('/');
  --body-bg-image: url('Black dots.jpg');
}

@font-face {
  font-family: 'consola';
  src: url('consola.ttf');
}

#container {
  max-width: 1000px;
  margin: 0 auto;
}

body {
  background-image: var(--body-bg-image);
  font-family: consola, Verdana;
}

#header {
  width: 100%;
  background-image: var(--header-image);
  /* header color here! */
  height: 100px;
  background-size: 100%;
  margin: 0px;
}

/*Navigation menu*/

#navbar {
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-rows: 25px;
  grid-auto-flow: column;
  background-color: black;
  width: 100%;
  height: auto;
  justify-content: center;
  text-align: center;
  gap: 1em;
  margin-bottom: 1em;
}

.navitem {
  display: grid;
}


/*Main gallery*/

main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-auto-rows: 220px;
  grid-auto-flow: row;
  justify-content: center;
  gap: 1em;
}

main div {
  background-color: black;
}

p {
  color: white;
}

#scroll {
  overflow: auto;
  white-space: normal;
  padding: 15px;
}

#photo {
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

a:link {
  color: yellow;
  cursor: default;
  }
  
a:hover {
  color: white;
  cursor: pointer;
  }
  
a {
 color: yellow; 
}

.bottomText {
  vertical-align: bottom;
  bottom: 0px;
}

.item1 {grid-area: 1/1/1/3}
.item2 {grid-area: 1/3/1/5}
