/* 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 {
  background: black;
  background-image: url("graphic_assets/BG_BLUE.png");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: bottom;
  background-attachment: fixed;
  color: white;
  font-family: arial;
  box-sizing: border-box;
}

a {
   color: #B6B6B6;
}

h1 {
    padding: 0px;
}

h2 {
    color: #53A9C3;
}
    
ul {
  display: flex;
  list-style-type: none;
  padding: 0px;
  background-color: black;
  border: solid white;
  width: 800px;
  margin: auto;
  justify-content: center;
}

ul li {
  float: left;
}

ul li a {
  display: block;
  color: white;
  padding: 15px;
  text-decoration: none;
}

ul li a:hover {
  background-color: #53A9C3;
  color: black;
}
    
.header {
  background-color: black;
  border: solid white;
  padding: 10px;
  font-size: 25px;
}

.charactercontainer {
  display: grid;
  grid-template-areas:
    "header header"
    "content side"
    "footer footer";
  grid-template-columns: 550px 250px;
  height: auto;
  padding-top: 0px;
}

.charactercontainer div {
  background-color: black;
  border: solid white;
  padding: 10px;
  padding-top: 0px;
  font-size: 15px;
  height: auto;
}

.charactercontainer div.header {
  grid-area: header;
  text-align: left;
}

.charactercontainer div.content {
  grid-area: content;
  text-align: left;
  border-right: none;
  padding-top: 0px;
}

.charactercontainer div.side {
  grid-area: side;
  text-align: left;
  border-left: none;
  padding-top: 0px;
}

.characterside {
  display: flex;
  flex-direction: column;
  background-color: black;
  font-size: 15px;
  align-items: flex-end;
  padding-top: 0px;
}
.characterside div {
  background-color: black;
  border: solid white;
  border-left: none;
  padding: 10px;
  padding-top: 0px;
  font-size: 15px;
  width: 150px;
  align-items: flex-end;
}

/*mobile stuff*/

  @media screen and (max-width: 500px) {
    ul {
      display: inline-block;
      float: none;
      width: auto;
      justify-content: center;
      text-align: center;
      align-content: center;
    }
    
    ul li {
      float: none;
      justify-content: center;
      text-align: center;
      align-content: center;
    }
    
    div {
      display: flex;
      float: none;
      width: auto;
      flex-direction: column;
    }
    
    .charactercontainer {
      display: flex;
      height: auto;
      width: auto;
      float: left;
      flex-direction: column;
    } 
    
    .charactercontainer div.content {
      grid-area: content;
      text-align: left;
      width: auto;
      border-right: solid white;
    }
    
    .charactercontainer div.side {
      grid-area: side;
      width: auto;
      text-align: left;
      align-content: center;
      border-left: solid white;
      border-bottom: none;
    }
    
    body {
      background-repeat: repeat;
      background-size: 500%;
      background-attachment: fixed;
    }
}