/* user styles */

:root {
  --header-image: url('https://sadhost.neocities.org/images/layouts/wp.jpeg');

  /* colors */
  --content: #43256E;
}

@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;
}

body {
  font-family: 'Nunito', sans-serif;
  margin: 0;
  background-color: #A9D3FF;
  background-size: 65px;
  color: #000000;
}

* {
  box-sizing: border-box;
}

/* the "container" is what wraps your entire website */
#container {
  max-width: 900px;
  margin: 0 auto;   /* this centers the entire page */
}

/* all links EXCEPT navigation */
#container a {
  color: #25283d;
  font-weight: bold;
}

#header {
  width: 100%;
  background-color: #f2f4ff;
  height: 150px;
  background-size: 100%;
}

#header h1 {
  justify-content: center;
  align-items: center;
}

/* navigation section */
#navbar {
  height: 40px;
  background-color: #0071c5;
  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: #f2f4ff;
  font-weight: 800;
  text-decoration: none;
}

#navbar li a:hover {
  color: #a49cba;
  text-decoration: underline;
}

#flex {
  display: flex;
}

aside {
  background-color: #0071c5;
  width: 200px;
  padding: 20px;
  font-size: smaller;
}

main {
  background-color: #f2f4ff;
  flex: 1;
  padding: 20px;
  order: 2;
}

#leftSidebar {
  order: 1;
}

#rightSidebar {
  order: 3;
}

footer {
  background-color: #13092D;
  width: 100%;
  height: 40px;
  padding: 10px;
  text-align: center;
}

h1,
h2,
h3 {
  color: #25283d;
}

h1 {
  font-size: 25px;
}

h2 {
  font-size: 20px;
}

strong {
  color: #ED64F5;
}

.box {
  background-color: #a9d3ff;
  border: 1px solid #2f283d;
  padding: 10px;
}

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

/* MEDIA QUERY — if you change #container max-width, set this to (new width − 100) */
@media only screen and (max-width: 800px) {
  #flex {
    flex-wrap: wrap;
  }

  aside {
    width: 100%;
  }

  main {
    order: 1;
  }

  #leftSidebar {
    order: 2;
  }

  #rightSidebar {
    order: 3;
  }

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