@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700');

* {
  box-sizing: border-box;
}

body {
  background-image: url('images/wizardbg.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  font-family: Atkinson Hyperlegible;
}

audio {
  display: block;
  margin: auto;
}

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

a {
  color: #ff00ff;
  font-weight: normal;
  text-decoration:none;
}

a:hover{
    text-shadow: 0 0 2px ;
    color: #ff00ff;
}

/*The #flex stuff has something to do with ordering sidebars on mobile.*/

#flex {
  display: flex;
}

header,
main,
footer,
.box {
  background:#002860;
  border: 5px outset #02347a;
  border-radius: 10px;
  margin: 5px;
}

header {
  padding: 0;
  text-align: center;
  vertical-align: middle;
}

main {
  padding: 10px;
  flex: 1;
  order: 2;
}

footer {
  padding: 0;
  text-align: center;
  vertical-align: middle;
}

aside {
  width: 200px;
  font-size: smaller;
  margin-bottom:10px;
}

/*These are for arranging sidebars vertically on mobile.*/

#leftSidebar {
  order: 1;
}

#rightSidebar {
  order: 3;
}

h1,
h2,
h3,
p {
  font-weight: normal;
  color: #ff6ff2;
}

h1 {
  font-size: 25pt;
  text-align: center;
}

h2 {
  font-size: 20pt;
  text-align: center;
}

h3 {
  font-size: 15pt;
  text-align: center;
}

p {
  font-size: 12pt;
}

strong {
color: #ff00ff;
}

/*This is stuff for making tables of contents and other dropdown menus.*/

.box {
  padding: 10px;
}

.showcontent{
    padding: 3px;
    font-weight: bold;
}

.contents{
    background-color: #02347a;
    width: 100%;
    padding: 5px;
    border: 5px outset #013c8f;
    border-radius: 10px;
}

.toc ul{
    list-style: none;
}

#webring {
  width: 100%;
}

#webring ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
  justify-content: center;
}

/*Here's some stuff I made for sidebars.*/

.imagebox {
  position: relative;
  text-align: left;
}

.imagetext {
  position: absolute;
  top: 20%;
  left: 20%;
  width: 60%;
  height: 60%;
  overflow-y: scroll;
}

/*This stuff is for the guestbook. It SHOULD be running its own css but for some reason the page overrides all of that? I wasn't sure how to fix so... It's all here too.*/

#c_widget {
    box-sizing: border-box;
    overflow: auto;
    padding: 20px;
    background-attachment: fixed;
    font-family: 'Atkinson Hyperlegible';
    font-size: 16px;
}

#c_widget button, #c_widget input[type=submit] {
    padding: 4px;
    font-family: 'Atkinson Hyperlegible';
    text-decoration: none;
	  text-align: center;
    text-transform: uppercase;
}

#c_inputDiv {
    margin-bottom: 15px;
    padding: 10px;
    color: white;
}

#c_widgetTitle {
    margin: -10px;
    margin-bottom: 10px;
    padding: 5px;
    text-align: center;
}

.c-inputWrapper {
    display: block;
    text-align: right;
}
.c-input {
    padding: 4px;
    color: #000000;
	  font-family: 'Atkinson Hyperlegible';
}

.c-textInput {
    width: calc(100% - 10px);
    max-width: 900px;
    resize: none;
}
#c_submitButton {
    display: block; 
    margin-left: auto; 
    margin-right: 0;
}
#c_replyingText {
    color: white;
    text-align: right;
}

.c-comment {
    margin-bottom: 15px;
    padding: 10px;
}

.c-reply {
    display: block;
    width: 90%;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: 0;
    padding: 10px;
}
.c-reply:last-child {
    margin-bottom: 0;
}

.c-replyContainer {
    margin: -10px;
    margin-top: 10px;
    padding: 10px;
}

.c-name {
    display: inline-block;
    margin: 0;
    margin-right: 10px;
    padding: 0;
    text-transform: uppercase;
    font-weight: bold;
}
.c-site {
    text-decoration: none;
    color: #FF00FF;
}
.c-site:hover {
    text-shadow: 0 0 2px ;
}
.c-timestamp {
    float: right;
    color: white;
}
.c-text {
    margin: 0;
    margin-left: -10px;
    margin-right: -10px;
    padding: 10px;
    font-family: 'Atkinson Hyperlegible';
    font-size: 12pt;
    text-align: justify;
    color: white;
}

#c_pagination {text-align: center;}
.c-replyButton {
    margin-top: 10px;
    margin-right: 4px;
}
.c-expandButton {
    margin-top: 10px;
    margin-left: 4px;
}
.c-paginationButton {
    margin-right: 4px;
    margin-left: 4px;
}

/*Lastly this stuff is here to arrange sidebars on mobile. Has to be at the end because it's @media...*/

@media only screen and (max-width: 800px) {
  #flex {
    flex-wrap: wrap;
  }
  aside {
    width: 100%;
  }
  main {
    order: 1;
  }
  #leftSidebar {
    order: 2;
  }
  #rightSidebar {
    order: 3;
  }
}