/* root styling */

@import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP&display=swap");


:root {
  --header-image:url('longheader.png');
  --body-bg-image:url('papertileseamless.jpg');
  --light: #ffeebc;
  --secondary : #8f5e5f;
  --dark: #340000;
}



/*----------font-----------*/

@font-face {
    font-family: 'metacopyplain';
    src: url('metacopyplain-epol-webfont.woff2') format('woff2'),
         url('metacopyplain-epol-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
  font-family: 'minamoji04';
  src: url('minamoji04-webfont.woff2') format('woff2'),
       url('minamoji04-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

body {
  font-family: metacopyplain;
  font-size: large;
  background-image: url("papertileseamless.jpg");
  background-position: center center;
  background-repeat: repeat;
  background-size: 30%;
  background-color: #ffeebc;
  font-color: #632427;
  display: grid;
}

* {
  box-sizing: border-box;
}

#container {
  max-width: 1200px;
  margin: 0 auto;
  margin:0 auto;
  justify-content: center;
  align-content: flex-start;
}

#container a {
  color: #632427;
  font-family: 'minamoji04';
  font-weight: bold;
  text-decoration: none;
}

.flex-container {
  display: flex; /* Makes the container a flex container */
  justify-content: space-around; /* Distributes items with space around them */
  align-items: center; /* Vertically centers items */
  gap: 20px; /* Adds space between items */
}

.item {
  display: inline-block;
  float: left;
  padding: 20px;
}

#header {
 height: 250px;
 filter: drop-shadow(0 0 20px #121212);
 display: block;
 margin-left: auto;
 margin-right: auto;
}

#navbar {
  font-weight: 400;
  font-size: x-large;
  height: 90px;
  width: 100%;
}


#navbar ul {
  font-family: 'minamoji04';
  display: flex;
  padding: 0;
  margin: auto;
  list-style: none;
  justify-content: space-evenly;
}
#navbar li {
  padding: 0.5em 0.5em 0.5em 2em;
}

#navbar li::before {
  content: '';
  display: inline-block;
  height: 2.8em;
  width: 2.8em;
  background-image: url('crackledhead.png');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

/*navigation links*/
#navbar li a {
  color: #340000;
  font-weight: 800;
  vertical-align: text-top;
  margin: auto;
  text-decoration: none; /*this removes the underline*/
}
/*navigation link when a link is hovered over*/
#navbar li a:hover {
  color: #340000;
  text-decoration: none;
}

#navbar a:hover:not(.active) {
  background-color: rgb(143, 94, 95, 0.5);
  size: auto;
  color: #ffeebc;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }
#flex {
  display:flex;
}

aside {
  background-color:#6F5338;
  background-image: url(antique-lace-print-paper.jpg);
  background-position: center;
  width:300px;
  padding:20px;
  font-size:smaller;
  font-color: #632427;
  height:600px;
  overflow:auto;
}

/*this is the color of hte main content area, between the sidebars!*/
main {
  font-family: 'minamoji04';
  padding:20px;
  order:2;
  height:600px;
  overflow: auto;
  margin: 0 auto;
  width: 100%;
}

*/
.leftSidebar {
  order: 1;
}

footer {
  background: linear-gradient(to bottom, #b3994d -99%, #ffeebc 44%);
  background-image: url(95.png);
  background-position: center;
  font-family: 'Special Elite', cursive;
  width:100%;
  height:100px;
  padding:10px;
  bottom: 0px;
  margin-top: auto;
  text-align:center; /* this centers the footer text */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
h1, h2, h3 {
  color: ##632427;
}
h1 {
  font-size: 25px;
}
strong { /*this styles bold text*/
   color:#E5D6A8;
    }
/*this is just a cool box, it's the darker colored one*/
.box {
  background-color: #362D1E;
  border:1px solid #665D46;
  padding: 10px;
  margin: 0 auto;
}

.inner-text {
  font-family: metacopyplain;
  color: var(--dark);
  margin: auto;
}

#topBar {
  width:100%;
  height:30px;
  padding:10px;
  font-size:smaller;
  background-color:#13092D;
}

/* so you wanna change the width of your page? 
by default, the container width is 900px.
in order to keep things responsive, take your new height,
and then subtrack it by 100. use this new number as the 
"max-width" value below
*/

@media only screen and (max-width: 800px) {
  #flex {
    flex-wrap:wrap;
  }
  aside {
    width:100%;
  }
  /* the order of the items is adjusted here for responsiveness!
  since the sidebars would be too small on a mobile device.
  feel free to play around with the order!
  */
  main {
    order:1;
  }
  #leftSidebar {
    order:2;

  #navbar ul {
    flex-wrap:wrap;
  }
}
