@font-face {
  font-family: 'Matrix Sans';
  src: url('fonts/MatrixSans-Regular.ttf') format('truetype');
}

img {
  max-width: 50%;
  max-height: 40%;
}
pre {
    font-family: 'Matrix Sans';
    box-sizing: border-box
    border: 2px solid rgba(225, 228, 225, .4);
    border-left: 5px solid magenta;
    color: #03A062;
    page-break-inside: avoid;
    font-size: 15px;
    justify-content: center;
    align-items: center;
    margin: 0 10% 0 10%;
    max-width: 75%;
    overflow: auto;
    padding: 1em 1.5em;
    display: flex;
    word-wrap: break-word;
    -webkit-box-shadow:inset 0px 0px 0px 0.4em rgba(225, 228, 225, .4);
    -moz-box-shadow:inset 0px 0px 0px 0.4em rgba(225, 228, 225, .4);
    box-shadow:inset 0px 0px 0px 0.4em rgba(225, 228, 225, .4);
}

html {
	background-color: #1b1b1b;
}

#container {
  margin-top: 7vh;
  display: flex;
  flex-direction: row;
  height: 35vw;
}

#content {
  text-align: justify;
  text-justify: inter-word;
  font-size: 1.1em;
  padding: 0 30px 0 30px;
}

#ddos {
  margin: 0.5vh 0 -0.5vh 0;
}

#contitle {
  text-align: center;
  position: relative;
  top: 0.5vw;
  padding-bottom: 0.4vh;
  box-shadow: 0 1.5px 0 #FFBF0092;
}

#contitle:before {
  content: "~/";
}

#contitle:after {
  content: "/";
}

#by {
  text-align: right;
  position: absolute;
  right: 0.5vw;
  bottom: 0.3vh;
  font-size: 1.5vh;
  color: #09c921;
  text-shadow: 0 0;
}

#navmap {
  padding: 0 30px 0 30px;
  display: block;
}

.leftbar {
  /*background-color: rgba(9, 123, 120, .25);*/
  color: #FFBF00;
  background-color: rgba(255,176,0,.20);
  /*text-shadow: 0 0 1px #ffe59a, 0 0 9px #e6ac00, 0 0 10px #e6ac00, 0 0 15px #e6ac00;*/
  /*color: #f0fff8;
  text-shadow: 0 1 1px #80ffc0, 0 0 9px #00ff66, 0 0 10px #00ff66, 0 0 10px #00ff66;
  width: 70%*/
  margin-right: 0.8vw;
  margin-left: 3vw;
  flex: 0.7;
  float: left;
  outline: 10px outset;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  -webkit-scrollbar: none;
  outline-color: rgba(225, 228, 225, .4);
  /*  box-shadow: 5px 5px 20px 10px #FFBF00;*/
}
.leftbar::-webkit-scrollbar { width: 0 !important }

.rightbar {
  color: #FFBF00;
  background-color: rgba(255,176,0,.20);
  /*height: 95%*/
  /* width: 30% */
  overflow-y: scroll;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  -webkit-scrollbar: none;
  margin-left: 0.8vw;
  margin-right: 3vw;
  flex: 0.3;
  float: right;
  outline: 10px outset;
  outline-color: rgba(225, 228, 225, .4);
  /*
  outline: 1px solid green;
  */
}
.rightbar::-webkit-scrollbar { width: 0 !important }

#badges {
  text-align: center;
  align-items: center;
  text-decoration: none;
  height: 5%;
  width: 100%;
}

code {
  background-color: #272822;
  color: #f8f8f2;
  border-radius: 0.3em;
  padding: 4px 5px 6px;
  white-space: nowrap;
}

header > nav {
  /* Use this if centering logo
  margin-top: -49vh;
  */
  margin-top: -2em;
  font-size: 2vh;
  width: 100%;
}

body {
  color: green;
  font-family: 'Matrix Sans';
  text-shadow: 2px 2px 2px #333;
}

a:visited {
  text-decoration: none;
}

a {
  color: green;
  text-transform: uppercase;
  text-decoration: none;
  &:hover {
    color: magenta;
  }
}

header {
  text-align: center;
  box-sizing: border-box;
  margin-top: -1em;
}

#current {
  color: magenta;
}

#footer {
  text-align: center;
  position: flex;
  width: 100%;
  /*
  old behaviour, non sticky, small screens will lose footer by default
  position: relative;
  bottom: -13px;
  */
}

#title {
  text-align: center;
  font-size: 4vh;
  font-weight: bold;
}

.imgleft {
  float: left;
  padding: 0 15px 20px 30px;
}

.imgright {
  float: right;
  padding: 10px 30px 20px 15px;
}

.center {
  height: 98vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navmap {
  margin: 1vh 0 1vh 0;
  display: flex;
  color: green;
  flex-wrap: wrap;
}

.navmap>* {
  margin-top: 0.5vh;
  text-align: center;
  flex: 1 1 25%;
  font-weight: bold;
}

.landingpage {
  height: 94vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.landtext {
  height: 2vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 35px;
}

.noselect {
  cursor: default;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Message Board */
.message_board {
  background-color: #c0bbe730;
  display: flex;
  flex-flow: row wrap;
  margin: 0 2.7vw 0 2.7vw;
  gap: 1vh;
  height: 40vw;
  justify-content: center;
  overflow-y: scroll;
  outline: 10px outset;
  outline-color: rgba(225, 228, 225, .4);
  overflow-x: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  -webkit-scrollbar: none;
  /*  box-shadow: 5px 5px 20px 10px #FFBF00;*/
}
.message_board::-webkit-scrollbar { width: 0 !important }

.post {
  float: center;
  width: 40vw;
  text-align: left;
  display: flex;
  items-align: center;
  flex-direction: column;
  margin: 1vh 0 1vh 0;
  border-bottom: 0.5px solid #ccc;
  border-top: 0.5px solid #ccc;
  border-left: 0.5px solid #ccc;
  border-right: 0.5px solid #ccc;
}

.profilepic {
  float:left;
  margin-right: 10px;
}

.reply {
  float: left;
  color: gray;
}

.user {
  font-weight:bold;
  color:white;
  margin: 0.5vw 0.5vw 0.5vw 0.5vw;
  padding: 0.3vw 0.3vw 0.3vw 0.3vw;
  margin-bottom: 0.7vh;
}

.postnum {
  float: right;
  margin-right: 0.5vw;
}

.anonym {
  color: gray;
  margin: 0.5vw 0.5vw 0.5vw 0.5vw;
  padding: 0.3vw 0.3vw 0.3vw 0.3vw;
}

.anonym::after {
  content: " uploaded...";
}

.user::after {
  content: " (WIRED_USER) uploaded...";
}

.botstick {
  display: flex;
  flex-direction: column;
  margin-bottom: auto;
}

.userpro {
  font-weight:bold;
  color: red;
  margin-bottom: 0.7vh;
  margin: 0.5vw 0.5vw 0.5vw 0.5vw;
  padding: 0.3vw 0.3vw 0.3vw 0.3vw;
}

.userpro::after {
  content: " (PRO_USER) uploaded...";
}

.postcontent {
  color:#89c921;
  text-align: center;
  border-bottom: 0.5px solid #ccc;
  border-top: 0.5px solid #ccc;
  border-left: 0.5px solid #ccc;
  border-right: 0.5px solid #ccc;
  min-height: 4vh;
  items-align: center;
  margin: 0.5vw 0.5vw 0.5vw 0.5vw;
  padding: 0.3vw 0.3vw 0.3vw 0.3vw;
  flex: 1;
}

/* Information */
.marquee {
 height: 30px;
 margin-left: 4.8vh;
 margin-right: 4.8vh;
 overflow: hidden;
 position: flex;
 font-weight:bold;
 font-size: 16px;
 border-bottom: 0.5px solid #ccc;
 border-top: 0.5px solid #ccc;
 margin-top: 2vh;
 margin-bottom: -3vh;
}

.marquee p {
 position: flex;
 width: -100%;
 height: 100%;
 margin: 0;
 line-height: 30px;
 text-align: center;
 animation: marquee 30s linear infinite; /* Smooth horizontal scrolling */
}

@keyframes marquee {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

/* CRT filter,
 * This was taken from https://aleclownes.com/2017/02/01/crt-display.html
 * so all credit belongs to them. The flicker has been turned off for
 * reasons.
*/
@keyframes flicker {
  0% {
    opacity: 0.27861;
  }
  5% {
    opacity: 0.34769;
  }
  10% {
    opacity: 0.23604;
  }
  15% {
    opacity: 0.90626;
  }
  20% {
    opacity: 0.18128;
  }
  25% {
    opacity: 0.83891;
  }
  30% {
    opacity: 0.65583;
  }
  35% {
    opacity: 0.67807;
  }
  40% {
    opacity: 0.26559;
  }
  45% {
    opacity: 0.84693;
  }
  50% {
    opacity: 0.96019;
  }
  55% {
    opacity: 0.08594;
  }
  60% {
    opacity: 0.20313;
  }
  65% {
    opacity: 0.71988;
  }
  70% {
    opacity: 0.53455;
  }
  75% {
    opacity: 0.37288;
  }
  80% {
    opacity: 0.71428;
  }
  85% {
    opacity: 0.70419;
  }
  90% {
    opacity: 0.7003;
  }
  95% {
    opacity: 0.36108;
  }
  100% {
    opacity: 0.24387;
  }
}

@keyframes textShadow {
  0% {
    text-shadow: 0.4389924193300864px 0 1px rgba(0,30,255,0.5), -0.4389924193300864px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  5% {
    text-shadow: 2.7928974010788217px 0 1px rgba(0,30,255,0.5), -2.7928974010788217px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  10% {
    text-shadow: 0.02956275843481219px 0 1px rgba(0,30,255,0.5), -0.02956275843481219px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  15% {
    text-shadow: 0.40218538552878136px 0 1px rgba(0,30,255,0.5), -0.40218538552878136px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  20% {
    text-shadow: 3.4794037899852017px 0 1px rgba(0,30,255,0.5), -3.4794037899852017px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  25% {
    text-shadow: 1.6125630401149584px 0 1px rgba(0,30,255,0.5), -1.6125630401149584px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  30% {
    text-shadow: 0.7015590085143956px 0 1px rgba(0,30,255,0.5), -0.7015590085143956px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  35% {
    text-shadow: 3.896914047650351px 0 1px rgba(0,30,255,0.5), -3.896914047650351px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  40% {
    text-shadow: 3.870905614848819px 0 1px rgba(0,30,255,0.5), -3.870905614848819px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  45% {
    text-shadow: 2.231056963361899px 0 1px rgba(0,30,255,0.5), -2.231056963361899px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  50% {
    text-shadow: 0.08084290417898504px 0 1px rgba(0,30,255,0.5), -0.08084290417898504px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  55% {
    text-shadow: 2.3758461067427543px 0 1px rgba(0,30,255,0.5), -2.3758461067427543px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  60% {
    text-shadow: 2.202193051050636px 0 1px rgba(0,30,255,0.5), -2.202193051050636px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  65% {
    text-shadow: 2.8638780614874975px 0 1px rgba(0,30,255,0.5), -2.8638780614874975px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  70% {
    text-shadow: 0.48874025155497314px 0 1px rgba(0,30,255,0.5), -0.48874025155497314px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  75% {
    text-shadow: 1.8948491305757957px 0 1px rgba(0,30,255,0.5), -1.8948491305757957px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  80% {
    text-shadow: 0.0833037308038857px 0 1px rgba(0,30,255,0.5), -0.0833037308038857px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  85% {
    text-shadow: 0.09769827255241735px 0 1px rgba(0,30,255,0.5), -0.09769827255241735px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  90% {
    text-shadow: 3.443339761481782px 0 1px rgba(0,30,255,0.5), -3.443339761481782px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  95% {
    text-shadow: 2.1841838852799786px 0 1px rgba(0,30,255,0.5), -2.1841838852799786px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
  100% {
    text-shadow: 2.6208764473832513px 0 1px rgba(0,30,255,0.5), -2.6208764473832513px 0 1px rgba(255,0,80,0.3), 0 0 3px;
  }
}

.crt::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(18, 16, 16, 0.1);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}

.crt::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 2;
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
}

.crt {
  animation: textShadow 1.6s infinite;
}

.scanlines {
  background: repeating-linear-gradient(transparent, transparent 2px, black 3px, black 1px);
  background-size: auto 100%;
  background-position: center center;
  opacity: 1;
}
