:root {
  --text-color: #ffffff;
  --link-color: #f1c3ff;
  --bg-color: rgba(119, 128, 236, 0.29);
  --mainbg-color: #3e60bcb9;
  --border-color: #f1c3ff;
  --accent-color: #3e60bcb9;
}

body {
  background: var(--bg-color);
  background-image: url("/media2/lefty3.png");
  background-size: contain;
  color: var(--text-color);
  max-width: 900px;
  margin: 50px auto;
  padding: 5px;
  font-family: MS PGothic;
  font-size: 1rem;
  scrollbar-color: var(--bg-color) var(--mainbg-color);
  scrollbar-width: thin;
}
.container {
  position: fixed;
  width: 100%;
  min-height: 100%;
  left: 0;
  top: 0;
  background-image: url("");
  background-size: 100% 200%;
  background-position: top;
  opacity: 0.25;
  filter: saturate(2);
  z-index: -1;
}

::selection {
  background: var(--accent-color);
}

a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: bold;
}
a:hover {
  text-shadow: 1px 1px 10px var(--link-color);
  letter-spacing: 2px;
  font-style: italic;
}

hr {
  border: px dashed var(--border-color);
  border-bottom: 1px dashed var(--border-color);
  margin: 0 200px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
  font-family: MS PGothic;
  font-size: 1.2rem;
  font-style: italic;
  letter-spacing: 1px;
}
h1 {
  text-shadow: 1px 1px 5px var(--link-color);
  text-align: center;
  padding: 3px;
  text-transform: uppercase;
}
h2 {
  text-shadow: 1px 1px 5px var(--link-color);
}
h3 {
  border-bottom: 1px dashed var(--border-color);
  margin-right: 15px;
}

header,
nav,
main,
footer {
  border: 1px dashed var(--border-color);
  padding: 5px 20px;
  background: var(--mainbg-color);
}
header {
  height: 190px;
  background-image: url("https://animeman.us/media2/concrete_header2.png");
  background-position: center;
}
header h1 {
  margin: 15px;
  font-family: MS PGothic;
  font-size: 1.8rem;
  font-style: italic;
  text-align: right;
  vertical-align: text-bottom;
  background: none;
  text-transform: none;
}

footer {
  text-shadow: 1px 1px 10px var(--link-color);
  background: none;
  border: none;
  font-style: normal;
  text-align: center;
}

nav {
  padding: 0;
  border: none;
  flex-display: wrap;
  width: 29%;
  height: auto;
}
nav li,
nav ul {
  padding: 2px;
  margin: 0;
  list-style-type: none;
}
nav a {
  color: var(--link-color);
  letter-spacing: 1px;
  text-shadow: 1px 1px 10px var(--link-color);
  font-family: MS PGothic;
  font-size: 1.1rem;
  font-style: normal;
  padding: 0 10px;
  font-weight: normal;
}

nav li:hover {
  background: var(--accent-color);
}
nav h1 {
  padding: 3px 10px;
  margin: 0;
  background: var(--bg-color);
  color: var(--text-color);
  text-shadow: 1px 1px 1px var(--border-color);
  text-transform: lowercase;
  text-align: left;
    font-style: normal;
}

main {
  text-align: left;
  border-top: none;
  display: flex;
  padding: 0;
}

section {
  height: 600px;
  overflow: auto;
  width: 100%;
  margin: 15px;
}

#gradienttext {
    background: -webkit-linear-gradient(#caa4a1, #7780ec);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

blockquote {
    background-color: var(--accent-color);
    border-radius: 5px;
    padding: 10;
    margin: 10;
}

.padded-img {
	margin: 5px;  
}

.crt::before {
  content: " ";
  display: block;
  position: fixed;
  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;
}

@keyframes flicker {
  0% {
  opacity: 0.12;
  }
  5% {
  opacity: 0.09;
  }
  10% {
  opacity: 0.04;
  }
  15% {
  opacity: 0.05;
  }
  20% {
  opacity: 0.09;
  }
  25% {
  opacity: 0.06;
  }
  30% {
  opacity: 0.05;
  }
  35% {
  opacity: 0.05;
  }
}
.crt::after {
  content: " ";
  display: block;
  position: fixed;
  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;
}
@media screen and (max-aspect-ratio: 4/3) {
  body {
    margin: auto;
    padding:15px;
  }
  header {
    height: 190px;
  }
  main {
    display: block;
  }

  nav {
    width: 100%;
    border-left: none;
    border-bottom: 1px var(--border-color);
  }

  nav ul {
    display: grid;
    list-style-type: none;
  }

  section {
    width: 95%;
    height:auto;
    padding:15px;
    margin:15px auto;
  }
  .media {
    width: calc(20px + 200px);
    max-height: 50%
    }
}