/* alternate style sheet for birdylion.neocities.org */

/* colors used: 
#808000; dark golden (text)
#330000; dark brown-red (background)
#4d0000; slightly lighter brown red (navbar)
*/

 body {
  background-color: #330000;
  color: #808000;
  font-family: Garamond, Georgia, serif;
}

#container {
  max-width: 1000px;
  margin: 0 auto;
  /* this centers the entire page */
  background-color: #800000;
  /* border: 10; */
  /* border-color: #808000; */
  /* border-style: groove; */
  /* padding: 20; */
  position: sticky;
  top: 1;

}

#container a {
  color: #808000;
}

#header {
  width: 100%;
  /* background-color: #4d0000; */
  height: 50px;
  /* this is only for a background image! */
  /* if you want to put images IN the header, 
  you can add them directly to the <div id="header"></div> element! */
  /* background-image: var(--header-image); */
  background-size: 100%;
  }
  
#navbar {
  height: 40px;
  background-color: #4d0000;
  width: 100%;
  }

#navbar ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
  justify-content: space-evenly;
  }

#navbar li {
  padding-top: 10px;
  }
  
#navbar li a {
  color: #808000;
  font-weight: 800;
  text-decoration: none;
  }

#navbar li a:hover {
  color: #808000;
  font-weight: 800;
  text-decoration: underline;
  }

/* https://css-tricks.com/snippets/css/a-guide-to-flexbox/ */
#flex {
  display: flex;
}


main {
  flex: 1;
  padding: 10px;
  margin: 5px 10px 5px;
  border-style: double;
  border-width: 5px;
  border-color: grey;

}

footer {
  background-color: #4d0000;
  width: 100%;
  height: 60px;
  text-align: center;
}

h1 {
  text-align: center;
}


/* playground for grids and flex boxes */

/* resource: https://css-tricks.com/snippets/css/a-guide-to-flexbox/
* https://www.w3schools.com/css/css3_flexbox_container.asp */
.flex-container {
  display: flex;
  flex-flow: row wrap; /* items should behave/wrap as rows */
  justify-content: space-evenly; /* depending on page size items use up remaining space evenly */
  padding: 5px;
  margin: 5px;
  list-style: none;
  border: solid brown; /* how do I use hex codes here? border-color? */
}

.flex-item {
  background: beige;
  padding: 5px;
  width: 200px;
  height: 150px;
  margin: 5px;
  line-height: 150px;
  font-weight: bold;
  font-size: 1em;
  text-align: center;
  border-radius: 1rem;
}

/* https://css-tricks.com/snippets/css/complete-guide-grid/
* https://www.w3schools.com/css/css_grid.asp */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 15px;
  justify-content: center;
  
  
  padding: 5px;
  margin: 5px;
  border: solid black;
}

.grid > div {
  background: white;
  padding: 5px;
  width: 200px;
  height: 150px;
  margin-top: 5px;
  line-height: 150px;
  font-weight: bold;
  font-size: 3em;
  text-align: center;
  border-radius: 1rem;
  
}

.intro > div {
  grid-column: 1 / span 3;
}
.maintext > div {
  grid-column: 2 / span 2;
}
.aside > div {
  grid-column: 1 / span 1;
}
.outtro > div {
  grid-column: 1 / span 3;
}