:root {
  --red: #ff3c3c;
  --tf2red: #bd3b3b;
  --yellow: #e2e25a;
  --lightgreen: #ebfffc;
  --green: #25b893;
  --blue: #56d5ff;
  --lightblue: #92b6b6;
  --tf2blue: #5b7a8c;
  --gorlblue: #34386e;
  --pink: #e9008c;
  --gorlpink: #c54264;
  --purple: #704381;
  --lightpurple: #c493f5;
  --darkgray: rgba(39, 35, 37, 1);
  --cream: rgba(255, 246, 230, 1);
  --babyblue: #c5e7ed;
}


#wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

#content {
  max-width: 1000px;
  width: 90%;
  height: auto;
  display: flex;
  flex-direction: column;
  margin: auto;
  margin-bottom: 3%;
  margin-top: 1%;
  padding: 3%;
  padding-top: 2%;
  min-height: 5vh;
  background-color: var(--cream);
  border: 3px dashed var(--tf2blue);
  outline: 3px solid var(--cream);
  border-radius: 12px;
}

#content2 {
  margin: auto;
  line-height: 120%;
  border: 1px solid #eff5fb;
  color: #395c78;
  padding: 10px;
  margin: 5px;
  border-radius: 10px;
}

#content3 {
  max-width: 800px;
  width: 90%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  margin-top: 25px;
  margin-bottom: 25px;
}

#contenttab {
  width: 96%;
  display: flex;
  flex-direction: column;
  margin: auto;
  margin-bottom: 15px;
  min-height: 5vh;
  background-color: #f9f9f9;
  border-radius: 0 0 12px 12px;
  padding: 2%;
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

body {
  cursor: url("../images/maplestory2.gif"), auto;
  background-attachment: fixed;
  height: 100%;
  width: 100%;
  background-size: 120px 120px;
  background-image: linear-gradient(to right,
      var(--tf2blue) 1px,
      transparent 1px),
    linear-gradient(to bottom, var(--tf2blue) 1px, transparent 1px);
  background-color: var(--darkgray);
  font-family: "Anonymous Pro", "Consolas", "Courier New", "Lucida Console",
    Monospace, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 125%;
  text-align: left;
  color: var(--darkgray);
}

p {
  margin-bottom: 16px;
}

spoilers {
  background: #000;
  color: #000;
  text-decoration: none;
}

spoilers:hover {
  color: #fff;
}

strong {
  color: var(--tf2blue);
  padding: 2px 4px;
  border-radius: 5px;
  font-size: 110%;
  line-height: 170%;
}

i {
  font-family: Tahoma, "MS Sans Serif", "Courier New", Monospace, Arial,
    Helvetica, sans-serif;
  font-size: 90%;
}

/*link*/

a img {
  border: 0 none;
}

.image-link {
  text-decoration: none;
}

a:-webkit-any-link {
  cursor: pointer;
  text-decoration: underline dotted 1px;
}

a:link {
  background-color: transparent;
  text-decoration: underline dotted 1px;
}

a:visited {
  color: #e9008c;
  background-color: transparent;
  text-decoration: underline dotted 1px;
}

a:hover {
  cursor: url("../images/maplestory.png"), auto;
  color: #e9008c;
  transition: 0.5s color ease;
  background-color: transparent;
  text-decoration: underline;
}

a:active {
  color: #b8383b;
  background-color: transparent;
  text-decoration: none;
}

.button {
  font-family: "Lobster", "Lucida Console", "Courier New", Monospace, Arial,
    Helvetica, sans-serif;
  background-color: #eff5fb;
  color: #296fa8;
  padding: 15px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  border-radius: 22px;
  margin: 4px 2px;
  border: 1px solid #296fa8;
  cursor: url("https://scumsuck.com/images/maplestory.png"), auto;
  transition: all ease 0.3s;
}

.button:hover {
  background-color: #c2e1ff;
  transition: all ease 0.3s;
}

.buttonpink {
  font-family: "Lobster", "Lucida Console", "Courier New", Monospace, Arial,
    Helvetica, sans-serif;
  background-color: #fabbbb;
  color: white;
  padding: 15px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  border-radius: 22px;
  margin: 4px 2px;
  border: 2px solid #de9191;
  /* red */
  box-shadow: 0 5px 0 0.5px #d59b9b, 0 8px 0 0px #de9191, 0 0.625em 0 0 #e8dede;
  cursor: url("https://scumsuck.com/images/maplestory.png"), auto;
  transition: all ease 0.5s;
}

.buttonpink:hover {
  color: black;
  background-color: rgb(255, 226, 226);
  transition: background ease 0.5s, box-shadow ease 0.5s, color ease 0.5s,
    padding 0.5s;
  box-shadow: 0 5px 0 0.5px #d59b9b, 0 8px 0 0px #de9191, 0 10px 5px 4px #e8dede;
  cursor: url("https://scumsuck.com/images/maplestory.png"), auto;
}

.crop {
  max-width: 100%;
  max-height: 50%;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.toc {
  max-width: 50%;
  border: 1px dotted #a2a9b1;
  background-color: #f8f9fa;
  padding: 7px;
  font-size: 95%;
}

.infobox {
  flex: 24%;
  max-width: 24%;
  padding: 0px 10px;
  font-size: 12px;
  float: right;
  clear: right;
  border: 1px dotted #b1b1b1;
  height: 100%;
  margin-left: 5px;
  background-color: #fffcf7;
}

.wiki {
  float: left;
}

.wikitext {
  width: 100%;
}

.inline {
  display: -ms-flexbox;
  /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap;
  /* IE10 */
  justify-content: center;
  text-align: left;
}

.row {
  display: -ms-flexbox;
  /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap;
  /* IE10 */
  justify-content: center;
}

/*header nav code*/

nav {
  background-color: var(--tf2red);
  z-index: 99;
  max-width: 100%;
  flex-wrap: wrap;
  padding: 0px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: relative;
}

.navlink a {
  color: white;
  text-decoration: none;
}

.navlink a:visited {
  color: white;
  text-decoration: none;
}

.navlink a:hover {
  color: rgb(0, 0, 0);
}

.navlink {
  font-size: 17px;
  text-align: center;
  color: white;
  display: block;
  margin: 5px 15px 10px 10px;
  font-weight: bolder;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .navlink {
    font-size: 14px;
    display: block;
    margin: 5px 10px 5px 5px;
    text-decoration: underline;
  }

  .topimg {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 5px;
  }
}

.dotted {
  border-top: 2px dotted #bbb;
  margin: 3%;
}

.dottedthin {
  border-top: 1px dotted #bbb;
  margin: 1px;
  opacity: 50;
}

summary {
  font-weight: bold;
  font-size: 120%;
  line-height: 170%;
  border-radius: 12px;
  background: transparent;
  color: #296fa8;
  padding: 10px 5px 5px 15px;
  transition: all 0.2s ease-out;
}

summary:hover {
  color: #79c3ff;
  transition: all 0.2s ease-in;
}

details {
  color: #79c3ff;
  border: 1px solid #c5e7ed;
  text-align: left;
  border: 1px solid #c5e7ed;
  background-color: white;
  border-radius: 12px;
}

details[open] summary~* {
  animation: open 0.3s ease-in;
}

@keyframes open {
  0% {
    opacity: 0%;
  }

  100% {
    opacity: 100%;
  }
}

#summarycontent {
  border-top: 1px solid #c5e7ed;
  padding: 15px;
  font-weight: 300;
  line-height: 1.5;
}

.summarycontent {
  border-top: 1px solid #c5e7ed;
  padding: 15px;
  font-weight: 300;
  line-height: 1.5;
}

figcaption {
  font-style: italic;
  color: gray;
}

figure {
  font-style: none;
}

h1 {
  width: 100%;
  text-align: center;
  color: var(--cream);
  font-size: 13vw;
  line-height: 12vw;
  margin: 20px 0px;
  font-weight: normal;
  text-shadow: 2px 2px 0px var(--tf2blue);

  font-family: "Mr Dafoe", "Lobster", Arial, Helvetica, sans-serif;
}

h2 {
  background: var(--tf2blue);
  color: var(--cream);
  width: 100%;
  font-size: 20px;
  line-height: 20px;
  font-weight: bolder;
  margin: auto;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 12px;
  margin-bottom: 10px;
  font-family: "Lobster", "Courier New", Monospace, Arial, Helvetica, sans-serif;
}

h3 {
  color: #222;
  padding: 10px;
  margin: 0 auto;
  text-align: center;
  font-size: 35px;
  line-height: 35px;
  font-weight: normal;
}

#more {
  display: none;
}

footer {
  font-family: "Courier New", Courier, monospace;
  color: rgb(255, 255, 255);
  max-width: 100%;
  height: 100%;
  background-color: var(--tf2blue);
  color: #f9f9f9;
  text-align: center;
  line-height: 100%;
  margin-top: auto;
  padding: 10px;
  margin: 0rem;
  overflow: hidden;
}

ul.ascii,
ul.ascii ul {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

ul.ascii li {
  margin: 0;
  padding: 0;
}

/* level 1 */
ul.ascii>li::before {
  content: "";
}

/* level 2 */
ul.ascii>li>ul>li::before {
  content: "├──\00a0";
  color: lightblue;
}

ul.ascii>li>ul>li:last-child::before {
  content: "└──\00a0";
}

/* level 3 */
ul.ascii>li>ul>li>ul>li::before {
  content: "│\00a0\00a0\00a0├──\00a0";
  color: lightblue;
}

ul.ascii>li>ul>li>ul>li:last-child::before {
  content: "│\00a0\00a0\00a0└──\00a0";
}

ul.ascii>li>ul>li:last-child>ul>li::before {
  content: "\00a0\00a0\00a0\00a0├──\00a0";
}

ul.ascii>li>ul>li:last-child>ul>li:last-child::before {
  content: "\00a0\00a0\00a0\00a0└──\00a0";
}

ul {
  list-style-position: inside;
}

ol {
  list-style-position: inside;
}

li {
  list-style-position: inside;
}

img {
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.img-responsive {
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.imgblock {
  max-width: 48%;
  height: auto;
  margin: 15px;
}

/*table*/

table {
  width: 100%;
  word-wrap: break-word;
  text-align: left;
  padding: 8px;
  background-color: #f9f9f9;
  border-collapse: collapse;
}

td,
tr {
  border-collapse: collapse;
  border: 1px dotted #eaecee;
  padding: 8px;
  background-color: #f9f9f9;
}

th {
  color: white;
  border-collapse: collapse;
  border: 1px dotted white;
  background-color: #296fa8;
  padding: 12px;
  min-width: 25px;
}

/*quotes*/

blockquote {
  background: rgba(255, 255, 255, 1);
  border-left: 5px solid #e9008c;
  margin: 20px 10px 30px 10px;
  padding: 15px 15px;
  quotes: "\201C" "\201D" "\2018" "\2019";
  position: relative;
  width: auto;
  border-radius: 12px;
  padding: 18px;
}

blockquote:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 24px solid rgba(255, 255, 255, 1);
  border-right: 12px solid transparent;
  border-top: 12px solid rgba(255, 255, 255, 1);
  border-bottom: 20px solid transparent;
  box-shadow: #000;
  left: 120px;
  bottom: -24px;
}

blockquote p {
  font-style: italic;
  font-family: Tahoma, "MS Sans Serif";
  display: inline;
  font-size: 18px;
  line-height: 20px;
}

blockquote span {
  display: block;
  text-align: left;
  font-size: 24px;
  line-height: 24px;
  margin-top: 10px;
  text-transform: uppercase;
  font-weight: bold;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* And set the max-width of the parent element */
.video-wrap {
  display: inline-block;
}