/* 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." */
:root {
  --header-image: url("https://sadhost.neocities.org/images/layouts/wp.jpeg");
  --body-bg-image: url("https://nocturnals.neocities.org/bgstar.gif");

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

* {
  box-sizing: border-box;
}

body {
  color: #fff;
  font-family: "Courier New", Courier, monospace;
  text-align: center;
  background-image: url("https://nocturnals.neocities.org/bgstar.gif");
}

h1 {
  font-size: 2em;
  font-weight: 700;
  border-style: none;
  border-width: 5px;
  border-color: white;
}

h2 {
  font-size: 1.5em;
  font-weight: 500;
}

a {
  text-decoration: none;
}

strong {
  font-style: italic;
  font-weight: 600;
  text-transform: uppercase;
}

ul {
  display: inline-block;
  text-align: left;
}

li {
  text-align: left;
}

#container {
  max-width: 900px;
  /* this is the width of your layout! */
  /* if you change the above value, scroll to the bottom
  and change the media query according to the comment! */
  margin: 0 auto;
  /* this centers the entire page */
}

/*links NOT in the nav bar*/
#container a {
  color: #fff;
  font-weight: bold;
  /* if you want to remove the underline
  you can add a line below here that says:
  text-decoration:none; */
}

#header {
  width: 100%;
  background-color: #5e4e8c;
  /* 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: #13092d;
  /* 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: #fff;
  /* navbar text color */
  font-weight: 800;
  text-decoration: none;
  /* this removes the underline */
}

/* navigation link when a link is hovered over */
#navbar li a:hover {
  background-color: #0c051c;
  color: #ff00d7;
  text-decoration: underline;
}

#flex {
  display: flex;
}

/* this colors BOTH sidebars
if you want to style them separately,
create styles for #leftSidebar and #rightSidebar */
aside {
  background-color: #241445;
  width: 200px;
  padding: 20px;
  font-size: smaller;
  /* this makes the sidebar text slightly smaller */
}

/* this is the color of the main content area,
between the sidebars! */
main {
  background-color: #43256e;
  flex: 1;
  padding: 20px;
  order: 2;
}

#leftSidebar {
  order: 1;
}

#rightSidebar {
  order: 3;
}

footer {
  background-color: #13092d;
  /* background color for footer */
  width: 100%;
  height: 40px;
  padding: 10px;
  text-align: center;
  /* this centers the footer text */
}

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

/* CSS for extras */

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

.dropdown {
  display: inline-block;
  position: relative;
}

button {
  background-color: #13092d;
  color: #fff;
  font-weight: 800;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  /*font-size:smaller;*/
  cursor: pointer;
}

button:hover {
  color: #ff00d7;
  background-color: #0c051c;
  /*text-decoration: underline;*/
}

.dropdown-options {
  display: none;
  position: absolute;
  overflow: auto;
  background-color: #13092d;
  border-radius: 5px;
  box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.4);
}

.dropdown:hover .dropdown-options {
  display: block;
}

.dropdown-options a {
  display: block;
  color: #000000;
  padding: 5px;
  text-decoration: none;
  /*padding:20px 40px;*/
}

.dropdown-options a:hover {
  color: #0a0a23;
  background-color: #0c051c;
  border-radius: 5px;
}

/*Below is media query*/

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