@import url('https://fonts.googleapis.com/css2?family=Caudex:ital,wght@0,400;0,700;1,400;1,700&display=swap');

@font-face {
    font-family: 'DOS-V';
    src: url(Px437_DOS-V_re_JPN12.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('/images/2.png');
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'DOS-V'
}

main {
    margin-top: 2em;
    width: 85%;
    background-color: #ebdab7;
    border: 1px solid black;

    display: flex;
    flex-direction: column;
    align-items: center;

    font-size: 2em;
}

#random_rainbow {
    background: linear-gradient(135deg, #330000, #ae0303);
    width:100%;
    display:flex;
    justify-content: center;
}

header {
    width: 100%;
    border: 1px solid black;
    
    display: flex;
    justify-content: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* gap: 10px; */
}

.box {
  border: 1px solid black;
  /* padding: 20px; */
  text-align: center;
}

.box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@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;
  }
}
.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;
  animation: flicker 0.15s infinite;
}
.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 {
    padding: 0.3em;
  animation: textShadow 1.6s infinite;
  position: relative;
  background-color: #c1c475;
  color: #330000;   
  text-shadow: 0px 0px 2px #663333;
  font-family:'DOS-V';
  font-size: 0.7em;
  box-shadow: inset 6px 6px 0px #575757;

  white-space: nowrap;
  width: 100%;
}
/* Note: thank you https://aleclownes.com/2017/02/01/crt-display.html the goat, I plagiarised your infamous crt code*/

/* .pre-nav {
    background-color: rgb(187, 154, 76);
    width: 100%;
    padding: 5px;

    color:rgb(128, 121, 121);
    display: flex;
    justify-content: center;
    border: 1px solid black;
} */
nav {
    border: 1px solid black;
    width: 100%;
    padding: 5px;
    background-color: #9e8c5f;
    display: flex;
    justify-content: center;
}
nav button {
    margin-right: 0.5em;
    font-size: 20px;

    font-family: inherit;
    border: none;
    outline: 1px dotted rgb(37, 37, 37);
    outline-offset: -4px;
    cursor: pointer;
    background: hsl(0deg 0% 75%);
    box-shadow:
        inset -1px -1px #292929,
        inset 1px 1px #fff,
        inset -2px -2px rgb(158, 158, 158),
        inset 2px 2px #ffffff;
    
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 30px;
}
nav button:active {
  box-shadow:
    inset -1px -1px #fff,
    inset 1px 1px #292929,
    inset -2px -2px #ffffff,
    inset 2px 2px rgb(158, 158, 158);
}

.meat {
    display: flex;
    width: 100%;
    min-height: 50vh;
}

.left {
    flex: 0 0 60%;
    border: 1px solid black;

    background-color: #614130;
}
.right {
    flex: 0 0 40%;
    border: 1px solid black;
    overflow:scroll;
}

#update_log {
    background: linear-gradient(135deg, #330000, #ae0303, #ffbb18);
    border: 5px solid #330000;

    display: flex;
    flex-direction: column;
    align-items: center;
    width:100%;
}
.aboutme {
    color: rgb(228, 228, 210);

    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 20px;
}
.about_disclaimer {
    display: flex;
}
.tablecontainer {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
.tablecontainer table, .tablecontainer td {
    border: 1px solid black;
    border-collapse: collapse;
    margin: 0.1em; 
    padding: 0.5em;
}
.tablecontainer td {
    background-color: #3a6436;
}
.td_style {
    background-color: #275127; color: #FBDF8C;
}