* {
  box-sizing: border-box;
}
body {
  background: var(--black);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14pt;
  height: 100vh;
}
#container {
  display: flex;
  width: 70%;
  max-width: 1008px;
  color: var(--black);
}
.flex {
  display: flex;
}
.filter {
  filter: sepia(100%) hue-rotate(35deg);
}
.filter2 img {
  filter: sepia(100%) hue-rotate(35deg);
  transition: 0.2s;
}
.filter2 img:hover {
  filter: none;
  transform: scale(105%);
}
section,
main,
nav,
section > div,
main > div {
  margin: 0.5rem;
}
section {
  max-width: 150px;
  background: var(--accent);
}
nav,
#stats,
#follow,
#status {
  box-shadow: 0.2rem 0.2rem var(--black);
}
nav {
  background: var(--fouracc);
  padding: 0.5rem;
  font-weight: bold;
}
nav a {
  color: var(--secondacc);
  transition: 0.2s;
  font-weight: normal;
}
nav a:hover {
  font-style: italic;
  padding-left: 0.5rem;
  color: var(--accent);
  font-weight: bold;
}
.inactive a {
  font-style: italic;
  text-decoration: line-through;
  color: var(--accent);
}
nav p {
  margin: 0;
}
nav ul,
nav li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#stats {
  padding: 0.5rem;
  font-size: 9pt;
  background: var(--thirdacc);
}
#follow {
  background: var(--secondacc);
  padding: 0.2rem;
}
main {
  background: var(--tertiary);
  color: var(--black);
}
header h1 {
  margin: 0;
  font-family: "Underground";
  color: var(--fouracc);
  text-shadow: 0.1rem 0.2rem var(--black);
  margin-left: 1rem;
}
#intro {
  background: var(--base);
  padding: 0.5rem;
  border: 0.2rem solid var(--black);
}
#crt {
  background: url(./crt.png);
  height: 325px;
  width: 320px;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
#crt iframe {
  width: 245px;
  margin-top: -3.6rem;
  height: 195px;
  border: none;
}
#sitedoll {
  background: url(./sitedoll.png);
  background-size: contain;
  min-height: 200px;
  min-width: 400px;
  background-repeat: no-repeat;
  background-position: 0 1rem;
  image-rendering: pixelated;
}
#status {
  padding: 0.5rem;
  margin: 0.5rem;
  background: var(--thirdacc);
  height: 225px;
  width: 100%;
}
.status,
#mood {
  padding: 0.5rem;
  background: var(--accent);
}
#statuscafe {
  padding: 0.5rem;
  margin: 0.5rem;
  background: var(--fouracc);
}
#statuscafe a {
  color: var(--secondacc);
  text-decoration: none;
  transition: 0.2s;
}
#statuscafe a:hover {
  color: var(--accent);
}
#button {
  width: 560px;
  padding: 0.5rem;
  text-align: center;
}
#button textarea {
  resize: none;
  background: var(--secondacc);
  border: 0.15rem solid var(--black);
  padding: 0.5rem;
  height: 70px;
}
#button textarea:focus {
  outline: 0.15rem solid var(--fouracc);
  box-shadow: inset 0 0 0.5rem var(--white);
}
#buttons {
  background: var(--base);
  padding: 0.5rem;
  height: 120px;
  overflow: auto;
  border: 0.2rem solid var(--black);
  text-align: center;
}
/* discord widget */
#status-blob {
  border-radius: 50%;
  height: 10px;
  width: 10px;
  margin-top: 5px;
}
#status-details {
  margin: 0;
  padding-right: 5px;
}
.status {
  display: flex;
  flex-direction: row;
}
.status a {
  color: var(--black);
  transition: 0.2s;
}
.status a:hover {
  font-style: italic;
}

/* end discord widget */

/* marquee */
@keyframes scroll-r2l {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.scroll-r2l {
  animation: scroll-r2l 20s linear infinite;
}
@keyframes scroll-l2r {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(100%);
  }
}
.scroll-l2r {
  animation: scroll-l2r 20s linear infinite;
}
.marquee {
  overflow: hidden;
  display: flex;
  flex-wrap: nowrap;
  box-sizing: unset;
  /*  You dont need a border or a set width on yours, but it makes the effect look better if the marquee width is smaller than the number of items in your marquee  */
  width: 100%;
}
.marquee-items {
  display: flex;
  flex-shrink: 0;
  height: 100%; /* This line is extremely important to prevent bugs on some browsers such as FireFox */
  min-width: 100%;
  position: relative;
}
/* Changes to this class will only affect the children
of the marquee-items, and not all of their descendants.
Make changes here if you want spaces in-between the
marquee items or other effects and styles!*/
.marquee-items > * {
  margin: 0 0.2rem;
  height: 31px;
}
.paused {
  -webkit-animation-play-state: paused;
  -moz-animation-play-state: paused;
  -o-animation-play-state: paused;
  animation-play-state: paused;
}

/* mobile starts here */
@media only screen and (max-width: 1000px) {
  body {
    height: auto;
  }
  .flex {
    flex-wrap: wrap;
    justify-content: center;
  }
  #container {
    width: 90%;
  }
}

@media only screen and (max-width: 800px) {
  body {
    justify-content: flex-start;
    align-items: flex-start;
  }

  section,
  main {
    margin: 0.2rem;
  }
  main {
    width: 330px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  #sitedoll {
    min-width: 300px;
    max-width: 300px;
    background-position: 0 2rem;
  }
  #sitedoll,
  #status,
  #buttons,
  #button {
    width: 100%;
  }
}
