body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
}

body {
  font-family: "Times New Roman", serif;
  background-color: #ffffff;
  background-image: linear-gradient(45deg, #ffffff 47.22%, #e6e6e6 47.22%, #e6e6e6 50%, #ffffff 50%, #ffffff 97.22%, #e6e6e6 97.22%, #e6e6e6 100%);
  background-size: 25.46px 25.46px;
  color: black;
}

h1,
h2 {
  color: #0091ea;
  font-weight: normal;
}

h1 {
  font-size: 22px;
}

h2 {
  font-size: 18px;
}

a {
  text-decoration: underline;
  color: #bf0095;
  transition: 0.2s;
  display: inline-block;
  cursor: pointer;
}

p {
  font-family: sans-serif;
}

header {
  padding-top: 30px;
  width: 100%;
  background-color: #e9f4fd;
  background-image: linear-gradient(#ffffff, #7bd7e6);
  box-shadow: 0px 0px 100px 100px #7bd7e6;
  color: #371db8;
  text-align: center;
}

header h1,
header h2 {
  font-family: "trash hand", serif;
  color: black;
  font-size: 62px;
  margin: 0px;
}

#header-inner {
  display: flex;
}

#header-inner div {
  margin: 0px 80px 20px 80px;
}

#header-inner div:nth-of-type(1) {
  flex: 2;
  text-align: left;
}

#header-inner div:nth-of-type(1) h1 {
  color: #e7ad59;
}

#header-inner div:nth-of-type(2) {
  flex: 1;
  text-align: right;
  padding-right: 20px;
  position: relative;
}

#header-inner div:nth-of-type(2) h2 {
  color: #864cff;
}

#header-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 24px;
}

footer {
  clear: both;
}

a:hover {
  transform: rotate(3deg);
}

.block-icons a {
  display: inline;
}

.block-icons a:hover {
  transform: none;
}

/* General Class Styles */
.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

.gray {
  color: gray;
}

.twist {
  transition: 1s;
}

.twist:hover {
  transform: rotate(360deg);
}

.tilt {
  transition: 0.2s;
}

.tilt:hover {
  transform: rotate(3deg);
}

/* General ID Styles */
#plot {
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}

#plot p {
  font-family: sans-serif;
}

#plot h1,
#plot h2 {
  font-weight: bolder;
  text-shadow: none;
}

#plot-inner {
  width: 90%;
  margin: 0 auto;
  padding: 30px 30px 100px 30px;
}

/* +++ Result Blocks +++ */

.result {
  padding: 10px;
  margin-bottom: 40px;
  min-height: 210px;
  width: 100%;
  clear: both;
  border: double 6px;
  outline: dashed 4px;
  background-color: white;
  border-radius: 10px;
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  background-blend-mode: hard-light;
}

.result-screenshot {
  width: 200px;
  height: 200px;
  position: absolute;
  overflow: hidden;
  border-radius: 15%;
  top: -22px;
  left: -22px;
  transform: rotate(-8deg);
  border: 4px double;
}

.result-screenshot a {
  display: inline;
}

.result-screenshot a:hover {
  transform: none;
}

.result-screenshot img {
  height: 100%;
  display: block;
  transition: 0.3s;
}

.result-screenshot img:hover {
  height: 150%;
  margin-top: -25%;
  margin-left: -25%;
}

.result-info {
  margin-left: 220px;
  padding: 10px;
  outline: 3px double;
}

.result h2 {
  display: inline;
  font-size: 28px;
  margin: 0;
}

.result .site-url {
  font-size: 0.82em;
  opacity: 0.75;
  margin: 4px 0 6px 0;
}

.result .description {
  margin-bottom: 8px;
  font-size: 0.95em;
}

.result .meta {
  font-size: 0.85em;
  border-top: 1px dashed currentColor;
  padding-top: 6px;
  margin-top: 8px;
  opacity: 0.9;
}

.result .meta-icon {
  vertical-align: middle;
  margin-right: 4px;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
}

.result .signature {
  margin-bottom: 10px;
  max-height: 100px;
  overflow-y: scroll;
}

.result .signature-filler {
  height: 30px;
}

.result .links {
  list-style-type: none;
  padding: 0;
  margin: 4px 0 0 0;
  font-family: monospace;
  font-size: 14px;
}

.result .links a {
  padding-right: 10px;
}

.result .links .guilds {
  margin-left: 30px;
  display: inline-block;
}

.result .links .guilds a {
  padding-right: 0px;
}

/* BBCode */

.result blockquote {
  border-left: 3px solid currentColor;
  margin: 6px 0 6px 10px;
  padding: 4px 10px;
  opacity: 0.85;
  font-style: italic;
}

.result blockquote cite {
  display: block;
  font-size: 0.85em;
  font-style: normal;
  font-weight: bold;
  margin-bottom: 4px;
}

.result pre {
  background: rgba(0, 0, 0, 0.08);
  padding: 6px 10px;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 0.85em;
  white-space: pre-wrap;
}

.result details {
  border: 1px dashed currentColor;
  border-radius: 4px;
  padding: 4px 8px;
  margin: 4px 0;
}

.result details summary {
  cursor: pointer;
  font-weight: bold;
}

.bbcode-mod {
  background: #ffccdd;
  color: #333;
  border: 1px solid #ff99bb;
  border-radius: 4px;
  padding: 6px 10px;
  font-family: sans-serif;
  font-size: 0.9em;
}

.bbcode-tart {
  font-family: monospace;
  white-space: pre;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-size: 0.85em;
}

/* +++ IDs +++ */

#search-top,
#search-end {
  color: black;
  font-size: 1.5em;
  text-align: center;
}

#search-top {
  padding: 0 0 30px 0;
}

#search-end {
  padding: 30px 0 0 0;
  clear: both;
}

#widgets p {
  margin: 0px;
}

#widgets input {
  height: 35px;
  margin: 2px;
  display: inline-block;
}

#widgets textarea {
  height: 20px;
  margin-top: 5px;
  resize: none;
  display: inline-block;
}

/* +++ Mobile Modifications +++ */
@media (max-width: 1100px) {
  #plot-inner {
    width: 90%;
    padding: 30px 0 100px 0;
  }
}

/* +++ Mobile Modifications +++ */
@media (max-width: 850px) {
  #header-inner div {
    margin-left: 40px;
    margin-right: 40px;
  }

  #header-inner div:nth-of-type(2) {
    display: none;
  }

  .result {
    width: 95%;
    min-height: 100px;
  }

  .result-screenshot {
    display: none;
  }

  .result-info {
    margin-left: 0px;
  }
}
