/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  font-family: 'Nunito', sans-serif;
  margin: 0;
  background-image: url('https://ditties.neocities.org/images/ditties_bg.jpg');
  background-color: #e9e0c1;
  background-size: 400px;
  color: #3c3133;
  }
  
* {
  box-sizing: border-box;
  }

#main {
  background-color:whitesmoke;
  border: 16px solid;
  border-color: #D479AA;
  border-radius: 35px;
  color:#333333;
  padding: 0px 20px 20px 20px;
  width: 60%;
  height:auto;
  margin-left: 20%;
  margin-right: 20%;
  }

.jacquard-24-regular {
  font-family: "Jacquard 24", system-ui;
  font-weight: 400;
  font-style: normal;
}

h1,
h2,
h3 {
  font-family: 'Jacquard 24', system-ui;
  color: #a24234;
}

h1 {
  font-size: 45px;
}

strong {
  /* this styles bold text */
  color: #1f354d;
}

/* this is just a cool box, it's the darker colored one */
.box {
  background-color: #e0c093;
  border: 6px solid #e9b454;
  padding: 10px;
}

@font-face {
  font-family: Nunito;
  src: url('https://sadhost.neocities.org/fonts/Nunito-Regular.ttf');
}

@font-face {
  font-family: Nunito;
  src: url('https://sadhost.neocities.org/fonts/Nunito-Bold.ttf');
  font-weight: bold;
}

@font-face {
  font-family: Nunito;
  src: url('https://sadhost.neocities.org/fonts/Nunito-Italic.ttf');
  font-style: italic;
}

@font-face {
  font-family: Nunito;
  src: url('https://sadhost.neocities.org/fonts/Nunito-BoldItalic.ttf');
  font-style: italic;
  font-weight: bold;
}


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

}

/* all links EXCEPT for the navigation */
#container a {
  color: #a24234;
  font-weight: bold;
  text-decoration:none;
}

#header {
  width: 100%;
  background-color: #e0c093;
  /* header color here! */
  height: 150px;
  /* 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%;*/
}


/* navigation section!! */
#navbar {
  height: 40px;
  background-color: #95b991;
  /* navbar color */
  width: 100%;
}

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

#navbar li {
  padding-top: 10px;
}

/* navigation links*/
#navbar li a {
  color: #1f354d;
  /* navbar text color */
  font-weight: 800;
  text-decoration: none;
}

/* navigation link when a link is hovered over */
  #navbar li a:hover {
  color: #495e89;
  text-decoration: none;
}

#flex {
  display: flex;
}

/* this colors sidebar */
aside {
  background-color: #ba6338;
  width: 200px;
  padding: 20px;
  font-size: smaller;
  /* this makes the sidebar text slightly smaller */
}

/* this is the color of the main content area, right of the the sidebar */
main {
  background-color: #e9e0c1;
  flex: 1;
  padding: 20px;
  order: 2;
}

footer {
  background-color: #d6b0a9;
  /* background color for footer */
  width: 100%;
  height: 40px;
  padding: 10px;
  text-align: center;
}

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


/* BELOW THIS POINT IS MEDIA QUERY */

    /* 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;
                }

                #rightSidebar {
                    order: 3;
                }

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