:root {
  --border-color: #ffffff;
  --post-border: #0000ff;
  --border-thickness: 1.5px;
}




@font-face {
   font-family: "FiraCode";
   src: url("/Assets/Fonts/FiraCode.ttf");
}

@font-face {
   font-family: "FiraCodeBold";
   src: url("/Assets/Fonts/FiraCode-Bold.ttf");
}

@font-face {
   font-family: "FiraCodeSemiBold";
   src: url("/Assets/Fonts/FiraCode-SemiBold.ttf");
}


@keyframes border-dance {
  0% {
      background-position: left top, right bottom, left bottom, right top;
  }
  
  100% {
      background-position: left 15px top, right 15px bottom, left bottom 15px, right top 15px;
  }
}

body {
  background-color: black;
}

body, button {
  font-family: "FiraCode", Verdana, sans-serif;
  color: white;
}

h1 b {
  font-family: "FiraCodeSemiBold", Verdana, sans-serif;
  font-size: 8vmin;
}

h1 .subheader {
  font-size: 2vmin;
}

h2 {
  font-size: 4vmin;
}

h1, p {
  margin: 0;
}

h2 {
  margin: 0;
  margin-top: -5px;
}

h3 {
  width: auto;
}

button {
  background-color: #444444;
  color: white;
  border: solid white 2px;
  display: block;
}

body >div, body >button, body >p {
  margin-bottom: 15px;
}

body >button {
  border: none;
  background-image: linear-gradient(90deg, var(--border-color) 50%, transparent 50%), linear-gradient(90deg, var(--border-color) 50%, transparent 50%), linear-gradient(0deg, var(--border-color) 50%, transparent 50%), linear-gradient(0deg, var(--border-color) 50%, transparent 50%);
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  background-size: 15px var(--border-thickness), 15px var(--border-thickness), var(--border-thickness) 15px, var(--border-thickness) 15px;
  background-position: left top, right bottom, left bottom, right top;
  font-size: 32px;
}


button:hover {
  background-color: #333333;
  text-decoration: underline;
  cursor: pointer;
}

body >button:hover {
  animation: border-dance 0.5s infinite linear;
}

a {
  color: white;
  text-decoration: none;
}

p a {
  color: blue;
  text-decoration: underline;
}

#status a {
  text-decoration: underline;
}

p a:active {
  color: gray;
}

#posts {
  padding-left: 15px;
  border-left: solid white 4px;
}

.post {
  background-color: #444444;
  /*background-image: linear-gradient(90deg, var(--post-border) 50%, transparent 50%), linear-gradient(90deg, var(--post-border) 50%, transparent 50%), linear-gradient(0deg, var(--post-border) 50%, transparent 50%), linear-gradient(0deg, var(--post-border) 50%, transparent 50%);
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  background-size: 15px var(--border-thickness), 15px var(--border-thickness), var(--border-thickness) 15px, var(--border-thickness) 15px;
  background-position: left top, right bottom, left bottom, right top; */
  border: solid var(--post-border) 2px;
  color: white;
  font-size: 25px;
  width: fit-content;
  padding: 5px;
  max-width: 1400px;
}

.post h4, .post button {
  display: inline-block;
  margin: 0;
}

.post button {
  font-size: 26px;
  background: solid #444444;
}
 
.post.content {
  border: solid #ffffff 2px;
}

.small {
  font-size: 15px
}

.rainbow {
  background-image: linear-gradient(to left, violet, indigo, blue, green, yellow, orange, red);
  color: transparent;
  -webkit-background-clip: text;
  display: inline-block;
}


#progress {
  border: solid white 2px;
  width: 150px;
  display: inline-block;
  height: 12px;
  margin-bottom: -2px;
  background-color: #777777;
}

#progress:after {
    content: '\A';
    background: green;
    top: 0; bottom: 0;
    left: 0; 
    width: 0%;
}

#status {
  background-color: #000000;
  border: solid white 2px;
  color: white;
  width: fit-content;
  font-size: 20px;
  padding: 5px;
}
