html {
  background-size:cover;
  &.notfound {
    background-image: repeating-conic-gradient(#712077 0% 25%, #24153f 0% 50%);
    background-position: 0 0, 55px 55px;
    background-size: 110px 110px;
    background-color: #24153f;
    background-repeat: repeat;
  }
  &.index {
    background-image: url("/assets/backgrounds/bgx.webp");
  }
  &.about {
    background-color: #000000;
  }
  &.blog {
    background-image: url("/assets/backgrounds/bg5.webp");
  }
  &.gallery {
    background-image: url("/assets/backgrounds/bg2.webp");
  }
  &.zines {
    background-image: repeating-conic-gradient(#712077 0% 25%, #24153f 0% 50%);
    background-position: 0 0, 55px 55px;
    background-size: 110px 110px;
    background-color: #24153f;
    background-repeat: repeat;
  }
  &.rss {
    background-color: #212738;
  }
}

body {
  color: #393030;
  font-family: "Xanh Mono", monospace;
  font-style: normal;
  font-size: 16px;
}

.flexbox {
  display: flex;
  flex-wrap: wrap;
  margin: auto;

  &.main {
    justify-content: center;
    max-width: 1100px;
    max-height: 95%;
  }

  &.even {
    justify-content: space-evenly;
  }
}

.panel {
  background-image: repeating-conic-gradient(#fff695 0% 25%, #ffc86a 0% 50%);
  background-position: 0 0, 22px 22px;
  background-size: 44px 44px;
  border: 2px #2A2E32;
  box-shadow: 0px 5px 5px -2px black;
  margin: auto;
  max-height: 840px;
  width: 1100px;
  overflow-y: auto;

  &.info {
    order: 1;
    height: 800px;
    width: 200px;
    padding: 20px;
    font-size: 12px;
  }

  &.index {
    order: 2;
    width: 800px;
    padding: 0px;
    height: 840px;
  }

  &.panelalt {
    background-color: #000000;
    background-image: none;
  }
}

.news {
  background-color: #271f0d;
  color: #ffffff;
  padding-top: 5px;
  padding-left: 5px;
  padding-right: 5px;

  &.inner {
    max-height: 200px;
    overflow: auto;
  }
}

.portal {
  background-color: #efe9e5;
  color: #393030;
  max-width: 350px;
  padding: 10px;
  border-style: inset;
  border-color: #2a3247;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
}

.title {
  background-color: #efe9e5;
  text-align: justify;
  margin-bottom: -5px;
}

.navbar {
  background-color: #271f0d;
  color: #ffffff;
  max-height: 64px;
  text-align: center;
  overflow: auto;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  justify-content: space-between;
  &.navalt {
    background-color: #ffffff;
  }
}

.staticbox {
  margin: 0 auto;
  background-color: #271f0d;
  color: #ffffff;
  font-family: "VT323", monospace;
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
  text-align: center;
}

.content {
  overflow-y: auto;
  overflow-x: hidden;
  padding-left: 20px;
  padding-right: 20px;
  height: 700px;
  &.index {
    padding-top: 20px;
  }
  &.contentflex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.centrebox {
  padding: 10px;
  background-color: #efe9e5;
  color: #393030;
  text-align: center;
  margin: 5px;
}

.blogcontainer {
  justify-content: right;
  align-items: right;
  flex-direction: column;
  padding-top: 10px;
  overflow: auto;
  margin: auto;
}

.post {
  width: 500px;
  text-align: right;
  padding: 20px;
  overflow: auto;
  background-color: #10161a;
  color: #eeeff0;
}

.gallerypane {
  margin: 5px;
  background-color: #131313;
  border: 1px solid rgb(0, 0, 0);
  float: left;
  text-align: center;
}
  
.gallerypane:hover {
  border: 1px solid #777;
}

.centre {
  text-align: center;
  background-color: #131313;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.column {
  flex: 100px;
}

.footer {
  background-color: #fff695;
  border: 2px #2A2E32;
  box-shadow: 0px 5px 5px -2px black;
  margin: auto;
  max-width: max-content;
  text-align: center;
  font-size: 12px;
  }

a {
  color: #8a80be; 
}

img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

textarea {
  background-color: #10161a;
  color: #eeeff0;
  border-style: none;
}

.marquee {
  margin: 0 auto;
  white-space: nowrap;
  overflow: hidden;
  background-color: #ff6f15;
}

.marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 60s linear infinite;
  color: #000000;
  font-family: "VT323", monospace;
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
}

video {
  width: 100%;
  height: auto;
}

@keyframes marquee {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100%, 0);
  }
}

@media only screen and (max-width: 1199px) {
  .panel.index {
    order: 1;  
    height: 700px;
  }
  .panel.info {
    order: 2;
    max-height: 140px;
    width: 760px;
  }
  .content.index {
    max-height: 560px;
  } 
}