@font-face {
  font-family: "FreePixel";
  src: url("https://sadhost.neocities.org/fonts/FreePixel.ttf");
  font-family: "rainyhearts";
  src: url("./fonts/rainyhearts.ttf");
}

@keyframes scroll {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(-1196px);
  }
}

body {
  font-family: "rainyhearts";
  font-size: large;
  margin: 0;
  background-color: white;
  background-image: url("./40105j35lah6jfc.gif");
  color: #333366;
}

a {
  color: #9999FF;
  font-weight: bold;
}

a:hover{
  color: #CC99FF;
  font-weight: bold;
}

* {
  box-sizing: border-box;
}

#container {
  max-width: 1080px;
  margin: auto;
}

#header {
  width: 100%;
  background-color: #FF99FF;
  height: auto;
  background-image: url(https://sadhost.neocities.org/images/tiles/fondo_purplestars.gif);
  background-size: 100px 100px;
}

#navbar {
  height: 40px;
  background-color: #FFCCFF;
  background-image: url(https://sadhost.neocities.org/images/tiles/move_heart.gif);
  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: #CC99FF;
  font-weight: 800;
  text-decoration: none;
}

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

#flex {
  display: flex;
}

aside {
  background-image: url("https://sadhost.neocities.org/images/tiles/pastels2.gif");
  background-color: #FFCCFF;
  text-align: center;
  overflow:hidden;
}

main {
  background-image: url("https://sadhost.neocities.org/images/tiles/rbowlinebg.gif");
  background-color: #FFCCFF;
  flex: 1;
  padding: 16px;
  order: 2;
}

#leftSidebar {
  order: 1;
  margin-right: 6px
}

#rightSidebar {
  order: 3;
  margin-left: 6px;
}

footer {
  background-color: #FF99FF;
  width: 100%;
  height: auto;
  padding: 8px;
  padding-bottom: 0px;
  text-align: center;
}

.box {
  background-color: #9999FF;
  border: 1px solid #FF99FF;
  padding: 10px;
}

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

@media only screen and (max-width: 799px) {
  
  #flex {
    flex-wrap: wrap;
  }

  body {
    font-size: medium;
  }

  main {
    order: 1;
    padding: 8px;
  }

  aside {
    font-size: x-small;
    width: 100%;
  }

  footer {
    font-size: x-small;
  }

  .box {
    padding: 4px;
    font-size: small;
  }

  #leftSidebar {
    order: 2;
    margin: auto;
  }
}
