* {
  box-sizing: border-box;
}

@font-face {
  font-family: didot;
  src: url(font/Didot\ Regular.ttf);
  font-weight: normal;
}

@font-face {
  font-family: didot;
  src: url(font/Didot\ LT\ Std\ Bold.otf);
  font-weight: bold;
}

@font-face {
  font-family: syne;
  src: url(font/Syne-VariableFont_wght.ttf);
  font-weight: bold;
}

@font-face {
  font-family: Karla;
  src: url(font/Karla-VariableFont_wght.ttf);
}

body {
  font-family: karla;
  margin: 0;
  background-color: whitesmoke;
  color: black;
  background: url(images/dithered-sky.png) center no-repeat;
  background-color: #a3a3e1;
}

#sm {
  background-size: 200%;
}

/* dont forget to change media query */
#container {
  max-width: 845px;
  max-height: fit-content;
  margin-top: 2%;
  margin-left: 15%;
  background: #ffffff;
  background: linear-gradient(0deg,
      rgba(255, 255, 255, 1) 78%,
      rgba(255, 255, 255, 0) 100%);
}

#sitemap {
  max-width: 600px;
  margin-top: 15%;
  margin-left: 15%;
  background: #ffffff;
  background: linear-gradient(0deg,
      rgba(255, 255, 255, 1) 78%,
      rgba(255, 255, 255, 0) 100%);
}

#left {
  order: 1;
}

main {
  order: 2;
  margin-top: 15px;
}

a {
  font-weight: bold;
  text-decoration: none;
  color: #226bbf;
}

a:hover {
  text-decoration: underline dotted;
  color: #4f83d0;
}

a:visited {
  color: #9393dc;
}

h1,
h2,
h3 {
  color: #2d2d8b;
}

header {
  width: auto;
  height: 100px;
  margin: 0 0 -30px 2px;
}

#top {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

mark {
  background: #dedeff;
}

aside {
  width: 240px;
  font-size: smaller;
  padding: 5px;
  margin-top: 25px;
}

#statuscafe {
  border: 1px dotted #a3a3e1;
  margin-top: 5px;
  padding: 5px;
}

#new {
  float: right;
}

#navimg {
  float: left;
  margin: 6px 3px 0 0;
}

nav {
  border: 1px dotted #9393dc;
}

nav h2 {
  font-size: large;
  margin: auto;
  padding: 5px;
  border-bottom: 1px dotted #9393dc;
}

nav div {
  padding: 5px;
  border-bottom: 1px dotted #9393dc;
}

#rainemote {
  float: right;
}

main {
  height: fit-content;
  width: 600px;
  order: 2;
  display: flex;
  flex-wrap: wrap;
}

main h1 {
  margin-top: 5px;
  font-size: 36px;
  padding-left: 5px;
}

main p {
  margin: -25px 0 0;
  padding: 5px;
  border: 1px dotted #9393dc;
}

#todo {
  order: 3;
  width: 235px;
  background: url("images/huuryuu-enpitu0106.gif") bottom 5% right 3% no-repeat;
  border: 1px dotted #9393dc;
  height: 161px;
  overflow: scroll;
  margin-right: 5px;
}

#todo ul {
  margin: 0;
  padding-bottom: 5px;
}

#todo li::marker {
  content: "\2610   ";
  color: #9393dc;
}

#todo h3 {
  margin: 0;
  padding: 5px;
}

#webrings {
  padding: 5px;
  height: 200px;
  width: 265px;
  overflow: scroll;
  order: 2;
  border: 1px dotted #9393dc;
  text-align: center;
}

#updates {
  order: 1;
  width: 330px;
  margin: 0 5px 5px 0;
  border: 1px dotted #9393dc;
}

#updates ul {
  height: 165px;
  overflow: scroll;
  margin: 0;
}

#updates li {
  list-style: none;
  padding-bottom: 2px;
  font-size: small;
}

#updates h3 {
  margin: auto;
  padding: 5px;
}

#updates u {
  text-decoration: underline dotted #9393dc;
}

#currently {
  border-collapse: collapse;
  width: 360px;
  height: fit-content;
  order: 4;
  border: 1px dotted #9393dc;
}

#currently thead {
  color: #2d2d8b;
}

#currently td {
  padding: 5px;
  border: 1px dotted #9393dc;
  border-left: none;
  border-right: none;
  font-size: smaller;
}

#currently th {
  text-align: left;
  padding: 5px;
}

.underline {
  text-decoration: underline dotted #9393dc;
}

#cred h3 {
  display: inline;
}

#cred ul {
  margin: 0;
  list-style: none inside;
  padding-inline-start: 0px;
}

#cred {
  height: 127px;
  padding: 5px;
  overflow: scroll;
  border: 1px dotted #9393dc;
  margin-top: 5px;
}

#latest {
  order: 5;
  margin: 5px 5px 0 0;
  height: 245px;
  width: 370px;
  padding: 5px;
  border: 1px dotted #9393dc;
}

#latest img {
  width: 100%;
}

#latest h3 {
  margin: auto;
  padding: 5px;
}

#statuscafe {
  font-size: small;
  margin: 5px 0 0;
  height: 80px;
  overflow: scroll;
}

#sitebutton {
  padding: 5px;
  height: fit-content;
  text-align: center;
  margin: 5px 0;
  border: 1px dotted #9393dc;
}

#sitebutton p {
  display: inline;
  font-size: medium;
}

textarea {
  word-break: break-all;
}

#divider {
  padding-top: 5px;
  display: block;
  margin: auto;
}

#fanlistings {
  margin-top: 5px;
  height: 245px;
  border: 1px dotted #a3a3e1;
  padding: 5px;
  overflow: scroll;
  text-align: center;
  order: 6;
  width: 225px;
}

#buttons h3 {
  display: inline;
}

#buttons {
  padding: 5px;
  border: 1px dotted #a3a3e1;
}

#buttoninside {
  max-height: 90px;
  overflow: scroll;
  text-align: center;
  padding: 5px;
}

footer {
  width: 100%;
  height: 95px;
  padding: 10px;
  font-size: small;
  text-align: center;
  background: url(images/whimsical80x80bh_cloud1b.gif) repeat-x bottom;
  order: 3;
}

/* MEDIA QUERY 
width-100px=media query max-width */

@media only screen and (max-width: 745px) {

  aside {
    width: 50%;
    order: 1;
  }

  main {
    width: 50%;
    order: 2;
  }

  footer {
    order: 3;
  }
}